/*コンテンツ（mainとsubを囲むブロック。１カラム時の場合はメインコンテツを囲むブロック。）
---------------------------------------------------------------------------*/
#contents {
	position: relative;
    z-index: 1;
	overflow: hidden;
	background: #fff;	/*背景色*/
	padding: 40px 0px;	/*上下、左右へのブロック内の余白*/
    padding-bottom: 300px;
}
/*contentsの中にあるinner*/
#contents .inner {
	padding: 40px 0px;	/*上下、左右へのブロック内の余白*/
}
/*h2タグ*/
#contents h2 {
	clear: both;
	margin-bottom: 20px;
	line-height: 1.5;
	font-size: 40px;	/*文字サイズ*/
	text-align: center;	/*文字をセンタリング*/
	color: #acd8b0;		/*文字色*/
    font-weight: bolder;
}

#contents h2.kyu_title {
/*	margin-bottom: 0 !important;*/
	font-size: 25px !important;	/*文字サイズ*/
	padding: 10px;		/*ボックス内の余白*/
	color: #000 !important;
    font-weight: bolder;
}
/*h2タグにclass="type1"を指定した場合*/
#contents h2.type1 {
	background: #333;	/*背景色（古いブラウザ用）*/
	background: url(../images/bg_company.jpg) no-repeat center center/cover;	/*背景画像の読み込み*/
	padding: 50px 0px;	/*上下、左右へのボックス内の余白*/
	color: #fff;	/*文字色*/
}
/*h2タグのspan（装飾用）タグ*/
#contents h2 span {
	display: block;
	font-size: 14px;	/*文字サイズ*/
	color: #000000;		/*文字色*/
	letter-spacing: 0.3em;	/*文字間隔を広くとる設定*/
}
/*h3タグ*/
#contents h3 {
	clear: both;
	margin-bottom: 20px;
	font-size: 24px;	/*文字サイズ*/
	border-bottom: 1px solid #ccc;
        font-weight: bolder;
}
/*h3タグの１文字目*/
#contents h3::first-letter {
	border-left: 3px solid #acd8b0;	/*左側の線の幅、線種、色*/
	padding-left: 20px;	/*線と文字との余白*/
}
/*h4タグ*/
.accordion h4 {
	clear: both;
	font-size: 20px;	/*文字サイズ*/
	border-bottom: 1px solid #ccc;
        font-weight: bolder;
    color: white;
    text-shadow: 2px 2px 2px black;
}
#contents h4 span {
    display: block;
    font-size: 14px;
    color: #000000;
    letter-spacing: 0.3em;
}
/*段落タグ*/
#contents p {
	padding: 0 20px 20px;
}
#contents h2 + p,
#contents h3 + p {
	margin-top: -10px;
}
/*section同士の余白*/
#contents section + section {
	margin-top: 100px;
}


@media screen and (max-width:800px){
#contents {
	position: relative;
    z-index: 1;
	overflow: hidden;
	background: #fff;	/*背景色*/
	padding: 40px 0px;	/*上下、左右へのブロック内の余白*/
    padding-bottom: 400px;
}
}

@media screen and (max-width:480px){
#contents {
	position: relative;
    z-index: 1;
	overflow: hidden;
	background: #fff;	/*背景色*/
	padding: 40px 0px;	/*上下、左右へのブロック内の余白*/
/*    padding-bottom: 300px;*/
}
#contents h2 {
	clear: both;
	margin-bottom: 20px;
	line-height: 1.5;
	font-size: 34px;	/*文字サイズ*/
	text-align: center;	/*文字をセンタリング*/
	color: #acd8b0;		/*文字色*/
    font-weight: bolder;
}
#contents h3 {
	clear: both;
	margin-bottom: 20px;
	font-size: 18px;	/*文字サイズ*/
	border-bottom: 1px solid #ccc;
        font-weight: bolder;
}
}

/*mainコンテンツ
---------------------------------------------------------------------------*/
/*mainブロック*/
.main {
	float: left;	/*左に回り込み*/
	width: 75%;		/*メインコンテンツの幅*/
}


/*画面幅910px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width:910px){

/*セクション2
---------------------------------------------------------------------------*/
.c2 .l {
	order: -1;
}
.c2 .text {
	width: 90%;
	padding: 0 3%;
}
.c2 {
	display: flex;			/*flexボックスを使う指定*/
	flex-direction: column;	/*子要素を縦並びにする*/
}
.c2 {
	/*flex-direction: row;			子要素を横並びにする*/
	justify-content: space-between;	/*並びかたの種類の指定*/
	align-items: center;			/*垂直揃えの指定。天地中央に配置されるように。*/
	
	margin-left: -6%;
	margin-right: -6%;
}
.r {text-align: right !important;}

.c2 .image {
	order: -1;
}
.c2 .image {
	width: 100%;
}
.c2 .image.r {
	overflow: hidden;
	/*margin-right: -6%;	画像を画面枠ギリギリまで移動する*/
	border-radius: 100px 0px 0px 100px;	/*角を丸くする指定。左上、右上、右下、左下への順番。*/
}
.c2 .image.l {
	overflow: hidden;
	/*margin-left: -6%;	画像を画面枠ギリギリまで移動する*/
	border-radius: 0px 100px 100px 0px;	/*角を丸くする指定。左上、右上、右下、左下への順番。*/
}
figure {margin: 0;}
.list2 figure {
	width: 20%;			/*画像の幅*/
	margin-right: 20px;	/*画像の右側に空けるスペース*/
}
 .img-staff {
    border: none;
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    margin-bottom: 10px;
}
 .img-consulting  {
    border: none;
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    margin-bottom: 10px;
}    
    /*セクション3
---------------------------------------------------------------------------*/
.list-container {
/*    float: none;*/
	display: flex;		/*flexボックスを使う指定*/
	flex-wrap: wrap;	折り返す指定*/
}
.list-container .list {
	margin-bottom: 30px;	/*ボックス同士の上下間に空けるスペース*/
	padding: 20px;			/*ボックス内の余白*/
	background: #fff;		/*背景色*/
	color: #000000;			/*文字色*/
	box-shadow: 5px 5px 20px rgba(0,0,0,0.1);	/*ボックスの影。右へ、下へ、ぼかし幅、0,0,0は黒の事で0.1は色が10%出た状態。*/
	position: relative;
}
.list-slide .list {
	margin: 10px;	/*画像の外側に空けるスペース*/
}
.list-container .list {
/*    float:left;*/
	display: flex;					/*flexボックスを使う指定*/
	justify-content: space-between;	/*並びかたの種類の指定*/
	flex-direction: column;			/*子要素を縦並びにする*/
	width: 100%;						/*幅。３列になります。*/
	margin-right: 2%;
}
.list-container .list:nth-of-type(3n) {
	margin-right: 0;
}


}

/*画面幅550px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width:550px){

/*セクション4
---------------------------------------------------------------------------*/
.flo1{
/*    float: left;*/
    margin-right: 20px;
    margin-bottom: 40px;
}  
}


/*画面幅911px以上の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (min-width:911px){
/*セクション2
---------------------------------------------------------------------------*/
.c2 .l {
	order: -1;
}
.c2 .text {
	width: 40%;
	padding: 0 3%;
}
.c2 {
	display: flex;			/*flexボックスを使う指定*/
	flex-direction: column;	/*子要素を縦並びにする*/
}
.c2 {
	flex-direction: row;			/*子要素を横並びにする*/
	justify-content: space-between;	/*並びかたの種類の指定*/
	align-items: center;			/*垂直揃えの指定。天地中央に配置されるように。*/
	
	margin-left: -6%;
	margin-right: -6%;
}
.r {text-align: right !important;}

.c2 .image {
	order: -1;
}
.c2 .image {
	width: 60%;
}
.c2 .image.r {
	overflow: hidden;
	/*margin-right: -6%;	画像を画面枠ギリギリまで移動する*/
	border-radius: 100px 0px 0px 100px;	/*角を丸くする指定。左上、右上、右下、左下への順番。*/
}
.c2 .image.l {
	overflow: hidden;
	/*margin-left: -6%;	画像を画面枠ギリギリまで移動する*/
	border-radius: 0px 100px 100px 0px;	/*角を丸くする指定。左上、右上、右下、左下への順番。*/
}
figure {margin: 0;}
.list2 figure {
	width: 20%;			/*画像の幅*/
	margin-right: 20px;	/*画像の右側に空けるスペース*/
}


/*セクション3
---------------------------------------------------------------------------*/
.list-container {
	display: flex;		/*flexボックスを使う指定*/
	flex-wrap: wrap;	/*折り返す指定*/
}
.list-container .list {
	margin-bottom: 30px;	/*ボックス同士の上下間に空けるスペース*/
	padding: 20px;			/*ボックス内の余白*/
	background: #fff;		/*背景色*/
	color: #000000;			/*文字色*/
	box-shadow: 5px 5px 20px rgba(0,0,0,0.1);	/*ボックスの影。右へ、下へ、ぼかし幅、0,0,0は黒の事で0.1は色が10%出た状態。*/
	position: relative;
}
.list-slide .list {
	margin: 10px;	/*画像の外側に空けるスペース*/
}
.list-container .list {
/*    float:left;*/
	display: flex;					/*flexボックスを使う指定*/
	justify-content: space-between;	/*並びかたの種類の指定*/
	flex-direction: column;			/*子要素を縦並びにする*/
	width: 27%;						/*幅。３列になります。*/
	margin-right: 2%;
}
.list-container .list:nth-of-type(3n) {
	margin-right: 0;
}

/*セクション4
---------------------------------------------------------------------------*/
.flo1{
    float: left;
    margin-right: 20px;
    margin-bottom: 40px;
}
.img-staff {
    border: none;
    max-width: 100%;
    width:260px;
    height: 240px;
    height: auto;
    vertical-align: middle;
/*    margin-bottom: 10px;*/
}
.img-consulting {
    border: none;
    max-width: 100%;
    width:350px;
    height: auto;
    height: auto;
    vertical-align: middle;
/*    margin-bottom: 10px;*/
}
}



/*ギャラリー
---------------------------------------------------------------------------*/

.art-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3列固定 */
  gap: 24px;
}

/* スマホ対応 */
@media (max-width: 600px) {
  .art-gallery {
    grid-template-columns: repeat(2, 1fr); /* スマホ: 2列 */
  }
}

@media (max-width: 400px) {
  .art-gallery {
    grid-template-columns: 1fr; /* 超小さい画面: 1列 */
  }
}
.art-item {
  display: flex;
  flex-direction: column; /* 縦並び */
  align-items: center;    /* 中央揃え */
}

.frame {
  width: 90%;
  aspect-ratio: 1 / 1; /* 正方形 */
  overflow: hidden;
  border: 8px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.caption {
  margin-top: 8px;
  padding: 12px 16px;
  text-align: center;
  width: 80%;
  border: 2px solid #ccc;   /* 枠線 */
  background: #f9f9f9;      /* 薄い背景色 */
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.1); /* ちょっと彫り込み感 */
  font-family: "Times New Roman", serif; /* おしゃれっぽい書体 */
}

.caption h3 {
  font-size: 16px;
  margin: 0 0 4px;
}

.caption p {
  font-size: 14px;
  margin: 0;
  color: #1d1d1d;
}
/* モーダル背景 */
.modal {
  display: none; /* ← これが正解！最初は非表示 */
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.7);
  align-items: center;
  justify-content: center;
}

.modal-box {
  background: #fff;
  padding: 16px;
  border-radius: 8px;
  max-width: 80%;
  max-height: 80%;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  text-align: center;
}

.modal-content {
  max-width: 100%;
  max-height: 50vh; /* ← 画面の半分くらいに収める */
  display: block;
  margin: 0 auto 12px;
}

.modal-caption {
  font-size: 14px;
  color: #333;
  line-height: 1.4;
}
.close {
  position: absolute;
  top: 20px; right: 35px;
  color: #fff;
  font-size: 36px;
  font-weight: bold;
  cursor: pointer;
}



/*フッター
---------------------------------------------------------------------------*/
footer {
	clear: both;
/*    position: relative;*/
    z-index: 1;
        position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
	font-size: 14px;		/*文字サイズ*/
	background: #acd8b0;	/*背景色*/
	color: #000;	/*文字色*/
	text-align: center;
}
#footermenu a {color: #000;}
#footermenu a:hover {color: #000;}
footer .pr {display: block;font-size: 80%;}


/*ボックス全体*/
#footermenu {
    overflow: hidden;
    padding: 20px 0;
    position: relative; /* 相対位置指定 */
}

#footermenu::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../images/footer_logo.png) no-repeat 98% center/30%;
    opacity: 0.2; /* ロゴの透明度を調整 */
    z-index: -1;
}





#footermenu a {
    text-decoration: none;
    opacity: 0.7;
}

#footermenu a:hover {
    opacity: 1;
}

@media (min-width: 710px) {     
    #footermenu ul {
        float: left;
        width: 22%;
        padding-right: 1%;
        padding-left: 1%;
        text-align: left;
        line-height: 1.7;
    }
}

/*見出し*/
#footermenu li.title, #footermenu li.title a {
	opacity: 1;	/*透明度。100%色がついた状態。*/
	font-size: 16px;	/*文字サイズ*/
    font-weight: bolder;
}

/*コピーライト*/
#copyright {
	clear: both;
	text-align: center;
	background: #a5a5a5;	/*背景色*/
    padding: 5px 0;
    font-size: 16px;
    color:white;
    font-weight: bolder;
}
#copyright a {
    text-decoration: none;
    color: white;
}

#copyright a:hover {
    color: #fff;
}
/*
 @media screen and (max-width:480px){
     #footermenu::after {
    background: url(../images/footer_logo.png) no-repeat 98% center/70%;
} 
}
*/
@media (max-width: 709px) {	  
    #footermenu::after {
        background: url(../images/footer_logo.png) no-repeat 98% center/70%;
    }
	#footermenu ul {
	  float: none;
	  width: 100%;
      height:150px;
	}

	#footermenu .inner {
		display: block;
	  }
	
	  #footermenu ul {
		float: left; /* 横並びのためにfloatを再適用 */
		width: 50%; /* 横に2つ並ぶように幅を50%に設定 */
		box-sizing: border-box; /* パディングとボーダーを幅に含める */
          margin-top: 10px;
	  }
	  
  }

/********** 電話番号表示 **********/
/*641px～PC　PC上では見えないようにする*/
@media screen and (min-width:641px){
	.footer_area{
		display: none;
}	
}

/*スマホ～641pxの幅サイズまで*/
@media screen and (max-width:640px){
.footer_area {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba( 0, 0, 0, 0.6 );
	z-index: 10000;
    height: 80px;
}
.footer_area .footer_area_inner {
    position: relative;
    width: 80%;
    margin: 0px auto;
    padding: 10px 0;
	margin-right: 0px;
    margin-bottom: -25px;
}
.footer_area .footer_area_inner .footer_area_inner_btn {
    width: 85%;
    padding: 11px 0;
    font-size: 20px;
    font-weight: bold;
    margin-left: 15px;
	line-height: 1.3;
    
}
.inquiry_btn {
    background-color: #acd8b0;
    -webkit-border-radius: 3px;
    display: inline-block;
    text-align: center;
    text-decoration: none;
	width: 80%;
    padding: 5px 0;
    font-size: 18px;
    font-weight: bold;
}
.inquiry_btn:link, .inquiry_btn:visited {
    color: #FFFFFF !important;
}
.footer_area_inner span{
	color: #fff;
}
#siteBottom{
	margin-bottom: 85px;
}
}

/*ページの上部へボタン「↑」設定
---------------------------------------------------------------------------*/
@keyframes scroll {0% {opacity: 0;}100% {opacity: 1;}}
body .nav-fix-pos-pagetop a {display: none;}
body.is-fixed-pagetop .nav-fix-pos-pagetop a {
    display: block;
    text-decoration: none;
    text-align: center;
    width: 50px;
    line-height: 50px;
    z-index: 100;
    position: fixed;
    bottom: 100px;
    right: 3%;
    background: rgba(172, 216, 176, 0.6); /* 背景色に透明度を指定 */
    color: #fff;
    border: 2px solid #fff;
    border-radius: 25px;
    animation-name: scroll;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    font-size:30px;
    font-weight: bolder;
}


/*マウスオン時*/
body.is-fixed-pagetop .nav-fix-pos-pagetop a:hover {
	background: #000000;	/*背景色*/
}


/*画面幅800px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width:800px){

.anchor {
    padding-top: 10px;
    margin-top: -10px;
}
/*メインメニュー
---------------------------------------------------------------------------*/
/*アニメーションのフレーム設定。全100コマアニメーションだと思って下さい。透明度(opacity)0%から透明度100%にする指定。*/
@keyframes menu1 {
	0% {opacity: 0;}
	100% {opacity: 1;}
}
/*スマホ用メニューブロック*/
#menubar-s {
    display: block;
    overflow-y: auto; /* 垂直方向のスクロールバーを追加 */
    position: fixed;
    z-index: 100;
    top: 0;
    width: 100%;
	height:	    90vh;
	overflow:	auto;
/*    padding-bottom: 250px;*/
    background: rgba(0, 0, 0, 0.8);
    border-top: 1px solid #fff;
    animation-name: menu1;
    animation-duration: 0.5s;
    animation-fill-mode: both;
}

#menubar-s ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

#menubar-s ul li a {
    display: block;
    text-decoration: none;
    padding: 10px 15px;
    border-bottom: 1px solid #fff;
    color: #fff;
    font-size: 14px;
}

#menubar-s ul li span {
    display: block;
    font-size: 10px;
    color: #000000;
}

#menubar-s li.sub {
    margin-left: 30px;
    border-top: none;
}



/*PC用メニューを非表示にする*/
#menubar {display: none;}

/*３本バーアイコン設定
---------------------------------------------------------------------------*/
/*３本バーブロック*/
#menubar_hdr {
	display: block;
	position: fixed;z-index: 100;
	top: 8px;		/*上から8pxの場所に配置*/
	right: 10px;	/*右から10pxの場所に配置*/
	border-radius: 50%;	/*円形にする*/
	border: 1px solid #fff;
}
/*アイコン共通設定*/
#menubar_hdr.close,
#menubar_hdr.open {
	width: 50px;	/*幅*/
	height: 50px;	/*高さ*/
}
/*三本バーアイコン*/
#menubar_hdr.close {
	background: #acd8b0 url(../images/icon_menu.png) no-repeat center top/50px;	/*背景色、背景画像の読み込み、画像の上半分（３本マーク）を表示。幅は50px。*/
}
/*閉じるアイコン*/
#menubar_hdr.open {
	background: #acd8b0 url(../images/icon_menu.png) no-repeat center bottom/50px;	/*背景色、背景画像の読み込み、画像の下半分（×マーク）を表示。幅は50px。*/
}

/*fixmenu設定（メニューが画面上部に到達した際のスタイル）
---------------------------------------------------------------------------*/
/*fixmenuから折りたたみメニューになるのでリセット。*/
body.is-fixed-menu #contents {
	margin-top: 0px;
}

/*main,subコンテンツ
---------------------------------------------------------------------------*/
.main,.sub {
	float: none;
	width: auto;
}

/*その他
---------------------------------------------------------------------------*/
body.s-n .sub,body.s-n #footermenu {display: none;}
.big1 {font-size: 20px;}
.w50 {overflow: hidden;width: auto;}
.fl {float: none;}
.fr {float: none;}
.panorama-img {width: 450px !important;height: 300px !important;}

}
