/*
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
原則として、許可なしの再配布は禁止させていただきます。
また、無料でお使いになる場合は、【ＰＲ枠】のリンクは全て削除禁止です。
（※加工後の削除も禁止させていただいておりますのでご了承ください。）
PR枠の削除（有料プラン）に関するお問い合わせや、その他ご不明な点は、
http://www.s-hoshino.com/info.html、または、
https://www.megapx.com/contact.htmlのフォームよりお問い合わせください。
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
*/

@charset "utf-8";




html {
  height: 100%;
	scroll-padding-top: 140px; /* ヘッダーの高さに合わせて調整 */
}

body {
	color: #111;
	background-color: #FFFFFF;
	font-family: "游ゴシック", "Yu Gothic", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, Osaka, "ＭＳ ゴシック", "MS Gothic", sans-serif;
	word-wrap: break-word;
	padding-top:  140px;


}






.font_mincho {
	font-family: "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "游明朝", YuMincho, "Sawarabi Mincho", "HG明朝E",  "ＭＳ Ｐ明朝", "MS PMincho", serif;
}
.font_garamond {
	font-family: 'Cormorant Garamond', serif;
}
.font_raleway {
	font-family: 'Raleway', sans-serif;
}

section,
article {
	display: block;
}

img {
	vertical-align: top;
}

a img {
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
	-webkit-transition: 0.2s linear;
	-moz-transition: 0.2s linear;
	transition: 0.2s linear;
}

a:hover img {
	opacity: 0.7;
	filter: alpha(opacity=70);
	-ms-filter: "alpha( opacity=70 )";
}

li {
	list-style-type: none;
}

a {
	color: #43530e;
	-webkit-transition: 0.2s linear;
	-moz-transition: 0.2s linear;
	transition: 0.2s linear;
	text-decoration: none;
	}
a:hover {
	color: #000;
	
	
}

table {
	border-collapse: collapse;
}
table td {
	border-collapse: collapse;
}

.clfix:after{
  content: "."; 
  display: block; 
  height: 0; 
  font-size:0;	
  clear: both; 
  visibility:hidden;
}

/*
ヘッダー
-------------------------------------------*/
header {
	width: 100%;
	background-color: #FFF;
	position: fixed;
	z-index: 300;
	top: 0;
	
}

/* =======================================================
   style_p.css の最上部に、以下のCSSを追記
   ======================================================= */

header {
    position: relative;
}

header .h_btn a {
    position: absolute;
    top: 15px; 
    right: 10px;
    width: 160px;
}

header .h_tel a {
    position: absolute;
    top: 20px; 
    right: 190px;
}

@media screen and (min-width:1200px){
    header .h_btn a {
        right: 50%;
        margin-right: -600px;
    }
    header .h_tel a {
        right: 50%;
        margin-right: -400px;
    }
}

/* =======================================================
   これより下に、style_p.cssの既存のコードが続く
   ======================================================= */
.pankuzu {
	background-color: #F6F6F6;
	margin-bottom: 20px;
	font-size: 14px;
	line-height: 30px;
	color: #555;
	width: 100%;
	padding-top: 10px;
	padding-bottom: 10px;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #E5E5E5;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #FFF;
}

.pankuzu ul {
	width: 96%;
	max-width: 1100px;
	margin-right: auto;
	margin-left: auto;
}

.pankuzu li {
	display: inline-block;
}

.pankuzu li a {
	text-decoration: none;
	color: #999;
}

.pankuzu li a::after {
	content: ">";
	padding-left: 10px;
	padding-right: 10px;
}

.pankuzu li a:hover {
	color: #111;
}

.pankuzu li i {
	padding-right: 5px;
}



/*
メインコンテンツ
-------------------------------------------*/
h1 {
    font-size: 30px;
	  text-align: center;
	  margin:50px auto;
  }


.content {
	width: 100%;
	background-color: #FFF;
	padding-top: 50px;
	padding-bottom: 50px;
}
.cont_wrap {
	max-width: 1200px;
	width: 100%;
	margin-right: auto;
	margin-left: auto;
}

#top_slide {
	padding-top: 100px;
	background-color: #000;
	padding-bottom: 5px;
}

/*
#sub_top {
	background-color: #EEE;
	background-repeat: no-repeat;
	background-position: center center;
	height: 150px;
	line-height: 30px;
	padding-top: 270px;
	width: 100%;
	background-size: cover;
	text-align: center;
	font-family: 'Raleway', sans-serif;
	color: #FFF;
	font-size: 20px;
	letter-spacing: 1em;
	-moz-text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
	-webkit-text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
	-ms-text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
	text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
}
*/

.content h2 {
	font-size: 36px;
	line-height: 30px;
	margin-bottom: 30px;
	border-bottom-width: 5px;
	border-bottom-style: solid;
	border-bottom-color: #43530e;
	letter-spacing: 1px;
	color: #43530e;
	text-align: center;
	font-family: "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "游明朝", YuMincho, "Sawarabi Mincho", "HG明朝E",  "ＭＳ Ｐ明朝", "MS PMincho", serif;
	padding-top: 15px;
	padding-right: 10px;
	padding-bottom: 15px;
	padding-left: 10px;
	clear: both;
}

.content h2 span {
	font-family: "游ゴシック", "Yu Gothic", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, Osaka, "ＭＳ ゴシック", "MS Gothic", sans-serif;
	font-size: 50%;
	font-weight: normal;
}

.content h3 {
	font-size: 22px;
	line-height: 30px;
	margin-bottom: 30px;
	background-color: #F6F6F6;
	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	position: relative;
	margin-top: 80px;
	padding-top: 15px;
	padding-right: 10px;
	padding-bottom: 15px;
	padding-left: 44px;
	color: #111;
	font-family: "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "游明朝", YuMincho, "Sawarabi Mincho", "HG明朝E",  "ＭＳ Ｐ明朝", "MS PMincho", serif;
	clear: both;


}

.content h3::after {
	display: block;
	width: 3px;
	height: 20px;
	position: absolute;
	top: 20px;
	left: 20px;
	background-color: #43530e;
	content: '';
}

.content h3 span {
	font-size: 16px;
	color: #888;
	font-family: "游ゴシック", "Yu Gothic", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, Osaka, "ＭＳ ゴシック", "MS Gothic", sans-serif;
	padding-left: 15px;
}






.content h4 {
	font-size: 20px;
	color: #43530e;
	letter-spacing: 0.1em;
	padding: 10px;
	font-weight: bold;
	clear: both;
	margin-top: 40px;
	margin-right: 30px;
	margin-bottom: 20px;
	margin-left: 20px;
}


.content h5 {
  position: relative;
  display: inline-block;
  padding: 20px 65px;
  text-align: center;
	margin-left: 2rem;
}

.content h5:before,
.content h5:after {
  position: absolute;
  top: calc(50% - 3px);
  width: 50px;
  height: 6px;
  content: '';
  border-top: solid 2px #000;
  border-bottom: solid 2px #000;
}

.content h5:before {
  left: 0;
}

.content h5:after {
  right: 0;
}




.content p {
	font-size: 16px;
	line-height: 1.8;
	padding: 10px;
	margin-bottom: 15px;
	margin-top: 15px;
	margin-right: auto;
	margin-left: 1.5rem;
}




.youto {
    font-size: 20px !important;
}


.content .ul_news li {
	line-height: 30px;
	padding-top: 20px;
	padding-bottom: 20px;
	border-bottom-width: 1px;
	border-bottom-style: dotted;
	border-bottom-color: #CCC;
	font-size: 16px;
	padding-right: 10px;
	padding-left: 10px;
}
.content .ul_news li span.news_date {
	color: #999;
	padding-right: 20px;
}

.content .ul_news li span.news_icon {
	color: #FFF;
	padding-left: 10px;
	display: inline-block;
	padding-right: 10px;
	background-color: #FF6600;
	margin-right: 10px;
	font-weight: bold;
	font-size: 14px;
}

.content .ul_news li span.news_icon.cl_02 {
	background-color: #009999;
}

.img_center {
	display: block;
	margin-left: auto;
	margin-right: auto;
	padding-bottom: 20px;
}

.img_left {
	float: left;
	padding-right: 30px;
	padding-left: 30px;
	padding-bottom: 30px;
	marigin:30px,auto;
}
.img_right {
	float: right;
	/*display: block;*/
	padding-right: 30px;
	padding-left: 30px;
	padding-bottom: 20px;
	margin:30px,auto;
}

.content .img_left p {
	font-size: 12px;
	margin: 0px;
}

.align-right { /* 右寄せにする p タグのスタイル */
  text-align: right;
}



.anchor {
  /* scroll-margin-top: 140px; は削除 */
}




/*
お問い合わせ部分
-------------------------------------------*/
.btn a {
	font-size: 20px;
	font-weight: bold;
	color: #FFF;
	text-align: center;
	border: 5px solid #43530e;
	text-decoration: none;
	display: block;
	width: 90%;
	background-color: #43530e;
	margin-right: auto;
	margin-left: auto;
	line-height: 30px;
	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	padding-top: 15px;
	padding-bottom: 15px;
	position: relative;
	max-width: 500px;
	margin-top:30px;
}
.btn a i {
	padding-right: 10px;
	font-size: 120%;
}
.btn a:hover {
	color: #43530e;
	background-color: #FFF;
	border-top-color: #43530e;
	border-right-color: #43530e;
	border-bottom-color: #43530e;
	border-left-color: #43530e;
}


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


/*-----トップへ戻るボタン------*/


/*
フッター
-------------------------------------------*/


/*
各種テーブル
-------------------------------------------*/

.tbl_left {
  border-collapse: collapse;
  width: 100%;
}
 
.tbl_left th,
.tbl_left td {
  border: 1px solid #987;  
  padding: 10px;
}
 
.tbl_left th {
  background: #F4F3F2;
  text-align: left;
  width: 30%;
}
 
.tbl_left td {
	background: #fff;	
}

.tbl_left th.tbl_center2,
.tbl_left td.tbl_center2 {
 text-align:center;		
	}



@media only screen and (max-width: 800px) {
	.tbl_left tr{
	margin-left: 5px;
	display: block;
    width: 96%;
	}
.tbl_left th,
  .tbl_left td {
    display: block;
    width: 96%;
  }
  
  .tbl_left tr:first-child {
    border-top: 1px solid #987;  
  }
  
  .tbl_left th,
  .tbl_left td {
    border-top: none;
  }
	
	
}

/*================================================
 * テーブル　上項目横並び
 ================================================*/

.row-head {
  border-collapse: collapse;
  vertical-align: middle;
  width: 100%;
  table-layout:fixed;
}
 
.row-head th,
.row-head td {
  border: 1px solid #987; 
  padding: 8px;
  text-align: center;
}
 
.row-head th {
  background: #f4f3f2;
}

.row-head td {
	background: #fff;
}
 
.row-head td.bt {
	background: #f4f3f2;
	text-align: center;
}


.row-head label {
  line-height: 34px;
  margin: 0;
}

.row-head td img{
	margin:3px;
}
 
.row-head th.wide01{
	width:20%;
}



.row-head th.wide05{
	width:10%x;
}





@media only screen and (max-width: 800px) {
  .row-head thead {
    display: none;
	  
  }
  
	.row-head tr{ 
	margin:10px;
	display: block;
    width: 96%;
	}
	
  .row-head td {
	 
    display: block;
    width: 96%;
  }
  
  .row-head tr {
    border: 1px solid #987;
    border-radius: 1px;
    box-shadow: 3px 3px rgba(0, 0, 0, .1);
    margin-bottom: 20px;
    padding:0 ;
  }
  
  .row-head td {
    border: none;
    border-bottom: 1px solid #987;
    display: flex;
    justify-content: space-between;
    text-align: left;
	  background: #fff;
  }
  .row-head td:last-child {
    border-bottom: none;
  }
  .row-head td::before {
    content: attr(data-label);
    display: inline-block;
    font-weight: bold;
    float: left;
    text-align: left;
    padding-right: 20px;
    white-space: nowrap;
  }
  
  .row-head td.bt-area::before {
    display: none;
  }
  .row-head td.bt-area a {
    background: #43530e;
    border-radius: 5px;
    color: #fff;
    display: inline-block;
    flex: 1;
    height: 40px;
    margin: 0 2px;
    overflow: hidden;
    width: auto;
  }
  .row-head td.bt-area a::before {
    align-items: center;
    content: attr(data-label);
    display: flex;
    font-size: 14px;
    height: 100%;
    justify-content: center;
    line-height: 40px;
    width: 100%;
  }
  

  
}

/*================================================
 * テーブル　上項目横並び幅狭め2
 ================================================*/

.row-head2 {
  border-collapse: collapse;
  vertical-align: middle;
  width:85%;
  table-layout:fixed;
}
 
.row-head2 th,
.row-head2 td {
  border: 1px solid #987;  
  padding: 8px;
}
 
.row-head2 th {
  background: #f4f3f2;
}
 
.row-head2 label {
  line-height: 34px;
  margin: 0;
}

.row-head2 td img{
	margin:3px;
}
 
.row-head2 th.wide01{
	width:25%;
}




@media only screen and (max-width: 800px) {
  .row-head2 thead {
    display: none;
  }
  
  .row-head2 tr,
  .row-head2 td {
    display: block;
    width: auto;
  }
  
  .row-head2 tr {
    border: 1px solid #987;
    border-radius: 5px;
    box-shadow: 3px 3px rgba(0, 0, 0, .1);
    margin-bottom: 20px;
    padding: 8px 8px 0;
  }
  
  .row-head2 td {
    border: none;
    border-bottom: 1px solid #987;
    display: flex;
    justify-content: space-between;
    text-align: right;
  }
  .row-head2 td:last-child {
    border-bottom: none;
  }
  .row-head2 td::before {
    content: attr(data-label);
    display: inline-block;
    font-weight: bold;
    float: left;
    text-align: left;
    padding-right: 20px;
    white-space: nowrap;
  }
  
  .row-head2 td.bt-area::before {
    display: none;
  }
  .row-head2 td.bt-area a {
    background: #43530e;
    border-radius: 5px;
    color: #fff;
    display: inline-block;
    flex: 1;
    height: 40px;
    margin: 0 2px;
    overflow: hidden;
    width: auto;
  }
  .row-head2 td.bt-area a::before {
    align-items: center;
    content: attr(data-label);
    display: flex;
    font-size: 14px;
    height: 100%;
    justify-content: center;
    line-height: 40px;
    width: 100%;
  }
}


	


/*
FAQ
-------------------------------------------*/

.content dl.faq {
	margin-bottom: 30px;
	padding-top: 10px;
	padding-right: 10px;
	padding-bottom: 20px;
	padding-left: 10px;
	border-bottom-width: 1px;
	border-bottom-style: dotted;
	border-bottom-color: #CCC;
}
.content dl.faq dt {
	font-size: 22px;
	line-height: 30px;
	position: relative;
	font-family: "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "游明朝", YuMincho, "Sawarabi Mincho", "HG明朝E",  "ＭＳ Ｐ明朝", "MS PMincho", serif;
	padding-top: 10px;
	padding-right: 20px;
	padding-bottom: 10px;
	padding-left: 50px;
	background-color: #F6F6F6;
	color: #111;
	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
}
.content dl.faq dt span {
	font-size: 20px;
	font-weight: bold;
	color: #FFF;
	background-color: #0085B2;
	text-align: center;
	display: block;
	width: 50px;
	padding-top: 10px;
	height: 40px;
	border-radius: 50%;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	position: absolute;
	top: -20px;
	left: -10px;
	z-index: 10;
}
.content dl.faq dt span::before{
	content: "";
	position: absolute;
	bottom: -5px;
	right: -3px;
 	margin-left: -12px;
  border-right: 12px solid transparent;
  border-top: 20px solid #0085B2;
  border-left: 12px solid transparent;
 	z-index: 0;
	transform: rotate(-40deg);
}
.content dl.faq dd {
	padding-top: 10px;
	padding-right: 20px;
	padding-bottom: 10px;
	padding-left: 20px;
}

.content dl.faq dd::after {
    content: "";
    display: block;
    clear: both;
}



/*
豆知識
-------------------------------------------*/

.mame ul {
    list-style: none; /* デフォルトのリストマークを無効化 */
    padding: 0;
}

.mame ul li {
    position: relative;
    border-bottom: 1px dotted #ccc; /* 1pxの点線、色は#ccc */
    padding-bottom: 10px;
    margin: auto 2rem 10px;
    padding-left: 30px; /* アイコンの分余白を作る */
}

.mame ul li::before {
    content: url("../product/images/mame.png"); /* 好きなアイコンや文字を指定 */
    position: absolute;
    left: 0;
    top: 0;
    color: #555; /* アイコンの色 */
    font-size: 25px; /* アイコンのサイズ */
    line-height: 1.5; /* アイコンの縦位置調整 */
}

.mame ul li::after {
    content: "";
    display: block;
    clear: both;
}

.mame img {
    margin-bottom: 50px; /* お好みの余白に調整 */
}


/*
お客様の声
-------------------------------------------*/

.mame_v ul {
    list-style: none; /* デフォルトのリストマークを無効化 */
    padding: 0;
}

.mame_v ul li {
    position: relative;
    border-bottom: 1px dotted #ccc; /* 1pxの点線、色は#ccc */
    padding-bottom: 10px;
    margin: auto 2rem 10px;
    padding-left: 30px; /* アイコンの分余白を作る */
}

.mame_v ul li::before {
    content: url("../product/images/mame_v.png"); /* 好きなアイコンや文字を指定 */
    position: absolute;
    left: 0;
    top: 0;
    color: #555; /* アイコンの色 */
    font-size: 20px; /* アイコンのサイズ */
    line-height: 1.5; /* アイコンの縦位置調整 */
}



.mame_v img {
    margin-bottom: 50px; /* お好みの余白に調整 */
}

.news-title {
    border-bottom: 1px solid #ccc; /* 下線の色・太さを調整 */
    padding-bottom: 5px; /* 線との間隔を作る */
    margin-bottom: 10px; /* 次の段落との余白 */
}



/*
グーグルマップ
-------------------------------------------*/

.g_map_base {
	background-color: #FFF;
	padding-right: 20px;
	padding-bottom: 20px;
	padding-left: 20px;
}

.g_map {
position: relative;
padding-bottom: 56.25%;
padding-top: 30px;
height: 0;
overflow: hidden;
}
 
.g_map iframe,
.g_map object,
.g_map embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}

/*
実績一覧
-------------------------------------------*/
ul.works_list {
	display: block;
	margin-left: auto;
	margin-right: auto;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	width: 100%;
	max-width: 1400px;
	padding: 30px;
	display: -webkit-box;
	display: -moz-box;
	display: -webkit-flexbox;
	display: -moz-flexbox;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: -moz-flex;
	display: flex;
	-webkit-box-lines: multiple;
	-moz-box-lines: multiple;
	-webkit-flex-wrap: wrap;
	-moz-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-justify-content: space-between;
	justify-content: space-between;
}

ul.works_list li {
	width: 23%;
	position: relative;
	text-align: center;
	margin-bottom: 30px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

ul.works_list li .works_icon {
	position: absolute;
	top: 5px;
	left: 5px;
	font-weight: bold;
	padding-left: 10px;
	padding-right: 10px;
	color: #FFF;
	background-color: #D11444;
	z-index: 50;
}

ul.works_list li a {
	display: block;
	padding: 20px;
	background-color: #F4F3F0;
	text-decoration: none;
	color: #333;
	border: 1px solid #DDDAD5;
}
ul.works_list li a img {
	width: auto;
	width: 100%;
	height: 150px;;
	object-fit: cover;
}
ul.works_list li a:hover img {
	opacity: 1.0;
	filter: alpha(opacity=100);
	-ms-filter: "alpha( opacity=100 )";
	-webkit-filter:brightness(1.5);
    -moz-filter:brightness(1.5);
    -ms-filter:brightness(1.5);
    filter:brightness(1.5);
}

ul.works_list li a span {
	display: block;
	padding-top: 10px;
	font-size: 14px;
	letter-spacing: 1px;
}

ul.works_list li a:hover {
	color: #000;
	background-color: #FFF;
}



/*リストマークをつける
------------------------------------------------*/


.listmark li{
	list-style:disc;
	margin: 0 1rem 0 2rem;
}




/*
スライダー
-------------------------------------------*/


/*
トップピックアップバナー
-------------------------------------------*/



@media screen and (min-width : 1102px ){
body {
	font-size: 16px;
}
.sm-slider, .sm-slider::after {
	top: 100px !important;
}
/*
ヘッダー
-------------------------------------------*/


.menu_btn,
.btn_close {
	display: none;
}

/*
PCグローバルナビ
-------------------------------------------*/


/*
サブトップ
-------------------------------------------*/
	/*
#sub_top.faq {
	background-image: url(../img/sub_top_faq.jpg);
}
#sub_top.works {
	background-image: url(../img/sub_top_works.jpg);
}
#sub_top.contact {
	background-image: url(../img/sub_top_contact.jpg);
}
#sub_top.company {
	background-image: url(../img/sub_top_company.jpg);
}
#sub_top.sample {
	background-image: url(../img/sub_top_sample.jpg);
}
#sub_top.products {
	background-image: url(../img/sub_top_products.jpg);
}
	*/
	
.no_pc {
	display: none;
}

}
/*(/960～)*/


@media screen and (min-width:1200px){


}
/*(/1200～)*/

@media screen and (max-width : 958px ){

body {
	font-size: 16px;
	 padding-top: 0;  /* ヘッダーの高さ分の余白を削除 */
}

img {
	max-width: 100% !important;
	height: auto;
	width /***/:auto;
	margin-left:auto;
	margin-right:auto;
}

.content h4 {
	margin-right: 10px;
	margin-left: 10px;
}

ul.works_list li {
	width: 32%;
}


/*
#sub_top {
	height: 100px;
	padding-top: 120px;
	letter-spacing: 0.5em;
	font-size: 18px;
}
	*/

/*
メニューボタン
-------------------------------------------*/

.menu_btn {
	display: block;
	height: 30px;
	width: 40px;
	text-align: center;
	padding-top: 5px;
	padding-bottom: 5px;
	position: fixed;
	z-index: 5000;
	top: 5px;
	right: 5px;
	border-radius: 3px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
}
.menu_btn:hover {
	cursor: pointer;
}

.menu_btn span {
	width: 28px;
	height: 2px;
	display: block;
	position: absolute;
	left: 50%;
	top: 50%;
	margin-left: -14px;
	background-color: #555;
}
.menu_btn span {
    transition: all 0.3s;
    transform: rotate(0deg);
	-webkit-transform: rotate(0deg);  
    -moz-transform: rotate(0deg);    
  }
.menu_btn span.top {
    transform: translateY(-8px);
	-webkit-transform: translateY(-8px);  
    -moz-transform: translateY(-8px);    
  }
.menu_btn span.bottom {
    transform: translateY(8px);
	-webkit-transform: translateY(8px);  
    -moz-transform: translateY(8px);    
}


.menu_btn:hover span.top {
    transform: translateY(-10px);
	-webkit-transform: translateY(-10px);  
    -moz-transform: translateY(-10px);    
}
.menu_btn:hover span.bottom {
    transform: translateY(10px);
	-webkit-transform: translateY(10px);  
    -moz-transform: translateY(10px);    
}


.menu_btn.opened  span.middle {
    background: rgba(255, 255, 255, 0);
	 transform: translateX(30px);
	 -webkit-transform: translateX(30px);  
    -moz-transform: translateX(30px);    
}
.menu_btn.opened  span.top {
    transform: rotate(-45deg) translateY(0px);
	-webkit-transform: rotate(-45deg) translateY(0px);  
    -moz-transform: rotate(-45deg) translateY(0px);    
}
.menu_btn.opened  span.bottom {
    transform: rotate(45deg) translateY(0px);
	-webkit-transform: rotate(45deg) translateY(0px);  
    -moz-transform: rotate(45deg) translateY(0px);    
}

/*
グローバルナビ
-------------------------------------------*/

body.fixed {
	overflow: hidden;
}

/*
アコーディオン
--------------------------------------------------*/



/*
メニューシャドウ
-------------------------------------------*/
.bg_bl {
	background-color: #FFF;
	height: 100%;
	width: 100%;
	opacity: 0.80;
	filter: alpha(opacity=80);
	-ms-filter: "alpha( opacity=80 )";
	display: block;
	position: fixed;
	z-index: 2000;
}


/*
ヘッダー
-------------------------------------------*/
.sm-slider, .sm-slider::after {
	top: 50px !important;
}


/*
サブトップ
-------------------------------------------*/
	/*

#sub_top.faq {
	background-image: url(../img/sub_top_faq_sp.jpg);
}
#sub_top.works {
	background-image: url(../img/sub_top_works_sp.jpg);
}
#sub_top.contact {
	background-image: url(../img/sub_top_contact_sp.jpg);
}
#sub_top.company {
	background-image: url(../img/sub_top_company_sp.jpg);
}
#sub_top.sample {
	background-image: url(../img/sub_top_sample_sp.jpg);
}
#sub_top.products {
	background-image: url(../img/sub_top_products_sp.jpg);
}
	*/

.no_sp {
	display: none;
}
	
  /* パンくずリストの上に余白ができないように調整 */
  .pankuzu {
    margin-top: 52px;  /* パンくずリストの上の余白を削除 */
  }	
	

}
/*(/～960)*/
















@media screen and (max-width:640px){
	
h1{
		font-size: 20px;
		
}	
	
.content h2 {
	font-size: 24px;
}

.content {
	padding-top: 20px;
	padding-bottom: 20px;
}

.content p {
	margin-bottom: 20px;
	margin-top: 10px;
	margin-right: 10px;
	margin-left: 10px;
}

ul.works_list {
	padding: 10px;
}

ul.works_list li {
	width: 48%;
}

ul.works_list li a {
	padding: 10px;
}

.img_left,
.img_right {
	float: none;
	display: block;
	margin-left: auto;
	margin-right: auto;
	padding-left: 10px;
	padding-right: 10px;
	padding-bottom: 10px;
	-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
}

	/*
#sub_top {
	font-size: 16px;
}
*/


}
/*(/～640)*/

@media screen and (max-width:460px){

input,
textarea {
	max-width: 300px !important;
}

.content table.table_01 th,
.content table.table_01 td {
	width: 100% !important;
	display: block;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.content table.table_01 th {
	background-color: #F6F6F6;
}




}
/*(/～460)*/


/*
エフェクト
-------------------------------------------*/
.effect {
	opacity: 0;
	filter: alpha(opacity=0);
	-ms-filter: "alpha( opacity=0 )";
	transform: translateY(20px);
	-webkit-transform: translateY(20px);  
    -moz-transform: translateY(20px); 
	-webkit-transition: 1.0s ease-out;
	-moz-transition: 1.0s ease-out;
	transition: 1.0s ease-out;
}
.effect.d_02 {
transition-delay:0.2s;
-webkit-transition-delay:0.2s;
}
.effect.d_04 {
transition-delay:0.4s;
-webkit-transition-delay:0.4s;
}
.effect.d_06 {
transition-delay:0.6s;
-webkit-transition-delay:0.6s;
}
.effect.d_08 {
transition-delay:0.8s;
-webkit-transition-delay:0.8s;
}
.effect.start {
	opacity: 1;
	filter: alpha(opacity=100);
	-ms-filter: "alpha( opacity=100 )";
	transform: translateY(0px);
	-webkit-transform: translateY(0px);  
    -moz-transform: translateY(0px);    
}
.content p.check {
	color: #FF3333;
}
.content p.p_st {
	font-size: 20px;
	color: #CA28B1;
}

/*------------------------------*/

.content .box_att {
	margin-top: 30px;
}

.content .box_att h2 {
	font-weight: normal;
	font-size: 24px;
	color: #0F688B;
}
.content .box_att p {
	font-size: 14px;
	margin: 0px;
	color: #0F688B;
}


/*製品ページ4列-3列-2列
-------------------------------------------*/
.flex-parent {
  width:100%;
  display:flex;
  flex-wrap:wrap; /*折り返し*/
	margin-bottom: 60px;

}
.flex-child {
  width:23.46%;
  display:flex;
  flex-direction:column;
  border:1px solid #ccc;
  box-sizing:border-box;
  border-radius:8px;
  margin-top:40px;
	background: #fff;
margin-right: 1%;
}
.flex-grandchild-img {
  width:100%;
  height:auto;
  position:relative;
}
.flex-grandchild-img::after {
  display:block;
  content:'';
  width:100%;
  height:0;
  padding-top:64%;
}
.flex-grandchild-img img {
  display:block;
  width:100%;
  height:auto;
  position:absolute;
  top:0;left:0;
  border-radius:8px 8px 0 0;
  margin-top:5px;
}
.flex-grandchild-inner {
  display:flex;
  flex-direction:column;
  flex-grow:1;
  width:100%;
}
.flex-grandchild-inner p.child {
  display:flex;
  align-items:center;
  min-height:56px;
  color:#000;
  font-size:2.0rem;
  font-weight: bold;
  line-height:1.6;
  padding:3px 0;
  margin:0 20px;
  box-sizing:border-box;
  border-bottom:1px solid #ccc;
}
.flex-grandchild-innerText span {
    color:red;
  font-size:1.0rem;
  font-weight: bold;
}

.flex-grandchild-inner p.child2 {
  display:flex;
  align-items:center;
  min-height:56px;
  color:#000;
  font-size:1.2rem;
  font-weight: bold;
  line-height:1.6;
  padding:3px 0;
  margin:0 20px;
  box-sizing:border-box;
  border-bottom:1px solid #ccc;
}

.flex-grandchild-innerText {
  flex-grow:1;
	margin:0 2px;
  padding:10px 12px;
  box-sizing:border-box;
}

.flex-grandchild-innerText p {
  flex-grow:1;
	margin:0 2px;
  padding:10px 12px;
  box-sizing:border-box;
}


.flex-grandchild-innerLink {
  width:100%;
  height:auto;
}
.flex-grandchild-innerLink a {
  width:90%;
  height:48px;
  margin:10px auto 20px auto;
  display:flex;
  justify-content:center;
  align-items:center;
  color:#000;
  font-weight:bold;
  text-decoration:none;
  background:#f5f5f5;
  border-radius:8px;
}
@media screen and (max-width: 1360px) {
  .flex-parent {
    width:90%;
    max-width:initial;
    height:auto;
    margin:0 auto;
  }
}
@media screen and ( max-width : 1280px ){
  .flex-child {
    width:32%;
    display:flex;
    flex-direction:column;
    border:1px solid #ccc;
    box-sizing:border-box;
    border-radius:8px;
  }
  .flex-child:nth-of-type(n+3) {
    margin-top:40px;
  }
}


@media screen and (max-width: 768px) {
  .flex-child {
    width:49%;
    display:flex;
    flex-direction:column;
    border:1px solid #ccc;
    box-sizing:border-box;
    border-radius:8px;
  }
  .flex-child:nth-of-type(n+3) {
    margin-top:40px;
  }
}

@media screen and (max-width: 480px) {
  .flex-parent {
    width:90%;/*全体の幅を90%に*/
  }
}
　
.flex-parent2 {
  width:100%;
  display:flex;
  flex-wrap:wrap; /*折り返し*/
}
.flex-child2 {
  width:23.46%;
  display:flex;
  flex-direction:column;
  border:1px solid #ccc;
  box-sizing:border-box;
  border-radius:8px;
  margin-top:40px;
	background: #fff;
margin-right: 1%;
}
.flex-grandchild2-img {
  width:100%;
  height:auto;
  position:relative;
}
.flex-grandchild2-img::after {
  display:block;
  content:'';
  width:100%;
  height:0;
  padding-top:64%;
}
.flex-grandchild2-img img {
  display:block;
  width:100%;
  height:auto;
  position:absolute;
  top:0;left:0;
  border-radius:8px 8px 0 0;
  margin-top:5px;
}
.flex-grandchild2-inner {
  display:flex;
  flex-direction:column;
  flex-grow:1;
  width:100%;
}
.flex-grandchild2-inner p.child2 {
  display:flex;
  align-items:center;
  min-height:56px;
  color:#000;
  font-size:2.0rem;
  font-weight: bold;
  line-height:1.6;
  padding:3px 0;
  margin:0 20px;
  box-sizing:border-box;
  border-bottom:1px solid #ccc;

}



.child3 {
    color:#000;
  font-size:1.2rem;
  font-weight: bold;
	margin:0 20px;
	padding-top:15px;
}

.child3 span {
  color:#FF0000;
  font-weight: bold;
	font-size:1rem;
}

.flex-grandchild2-innerText {
  flex-grow:1;
	margin:1 20px;
  padding:5px 10px;
  box-sizing:border-box;
	line-height: 2.0;
}
.flex-grandchild2-innerLink {
  width:100%;
  height:auto;
}
.flex-grandchild2-innerLink a {
  width:90%;
  height:48px;
  margin:10px auto 20px auto;
  display:flex;
  justify-content:center;
  align-items:center;
  color:#000;
  font-weight:bold;
  text-decoration:none;
  background:#f5f5f5;
  border-radius:8px;
}
@media screen and (max-width: 1360px) {
  .flex-parent2 {
    width:90%;
    max-width:initial;
    height:auto;
    margin:0 auto;
  }
}
@media screen and ( max-width : 1280px ){
  .flex-child2 {
    width:32%;
    display:flex;
    flex-direction:column;
    border:1px solid #ccc;
    box-sizing:border-box;
    border-radius:8px;
  }
  .flex-child2:nth-of-type(n+3) {
    margin-top:40px;
  }
}


@media screen and (max-width: 768px) {
  .flex-child2 {
    width:49%;
    display:flex;
    flex-direction:column;
    border:1px solid #ccc;
    box-sizing:border-box;
    border-radius:8px;
  }
  .flex-child2:nth-of-type(n+3) {
    margin-top:40px;
  }
}

@media screen and (max-width: 480px) {
  .flex-parent2 {
    width:90%;/*全体の幅を90%に*/
  }
}


/*製品ページ3列-2列
-------------------------------------------*/
.flex-parent3 {
  width:100%;
  display:flex;
  flex-wrap:wrap; /*折り返し*/
	

}
.flex-child3 {
  width:32%;
  display:flex;
  flex-direction:column;
  border:1px solid #ccc;
  box-sizing:border-box;
  border-radius:16px;
  background: #fff;
	margin-top:40px;
	margin-right: 1%
}
.flex-grandchild3-img {
  width:100%;
  height:auto;
  position:relative;
}
.flex-grandchild3-img::after {
  display:block;
  content:'';
  width:100%;
  height:0;
  padding-top:64%;
}
.flex-grandchild3-img img {
  display:block;
  width:100%;
  height:100%;
  position:absolute;
  top:0;left:0;
  border-radius:16px 16px 0 0;
}
.flex-grandchild3-inner {
  display:flex;
  flex-direction:column;
  flex-grow:1;
  width:100%;
}
.flex-grandchild3-inner p.child2 {
  display:flex;
  align-items:center;
  min-height:56px;
  color:#000;
  font-size:2.0rem;
	font-weight: bold;
  line-height:1.6;
  padding:5px 0;
  margin:0 10px;
  box-sizing:border-box;
  border-bottom:1px solid #ccc;
}
.flex-grandchild3-inner h3 img {
  display:block;
  width:12.5%;height:auto;
  margin-right:8px;
}
.flex-grandchild3-innerText {
  flex-grow:1;
  padding:5px 10px;
  box-sizing:border-box;
}
.flex-grandchild3-innerLink {
  width:100%;
  height:auto;
}
.flex-grandchild3-innerLink a {
  width:90%;
  height:48px;
  margin:10px auto 20px auto;
  display:flex;
  justify-content:center;
  align-items:center;
  color:#000;
  font-weight:bold;
  text-decoration:none;
  background:#f0f0f0;
  border-radius:8px;
}
@media screen and (max-width: 1360px) {
  .flex-parent3 {
    width:90%;
    max-width:initial;
    height:auto;
    margin:0 auto;
  }
}
@media screen and ( max-width : 1280px ){
  .flex-child3 {
    width:49%;
    display:flex;
    flex-direction:column;
    border:1px solid #ccc;
    box-sizing:border-box;
    border-radius:16px;
  }
  .flex-child3:nth-of-type(n+3) {
    margin-top:40px;
  }
}
@media screen and (max-width: 896px) {
  .flex-child3 {
    width:100%;
    display:flex;
    flex-direction:row;
    border:1px solid #ccc;
    box-sizing:border-box;
    border-radius:16px;
  }
  .flex-child3:nth-of-type(n+2) {
    margin-top:40px;
  }
  .flex-grandchild3-img img {
    display:block;
    width:auto;
    height:auto;
    object-fit:cover;
    position:absolute;
    top:0;left:0;
    border-radius:16px 0 0 16px;/*角丸変更*/
  }
  .flex-grandchild3-inner h3 {
    padding:10px 0;
  }
  .flex-grandchild3-innerText {
    min-height:120px;
    overflow:hidden;
    display:-webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp:4;/* 4行以上は省略 */
  }
}
@media screen and (max-width: 786px) {
  .flex-parent3 {
    width:70%;
    margin:0 auto;
  }
  .flex-child3 {
    flex-direction:column;
  }
  .flex-grandchild3-img img {
    border-radius:16px 16px 0 0;/*角丸変更*/
  }
}
@media screen and (max-width: 480px) {
  .flex-parent3 {
    width:90%;/*全体の幅を90%に*/
  }
}


/* 2カラム（スマートフォンでは1カラム) */
.twoCol {
	display: -ms-flexbox;
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	-ms-flex-pack: justify;
	-webkit-box-pack: justify;
	-webkit-justify-content: censpace-betweenter;
	justify-content: space-between;
	-ms-flex-wrap: wrap;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	position:relative;
	overflow:hidden;
	margin-bottom:60px;
	align-items: flex-start; /* 追加 */
}
.twoCol .inner {
	position: relative;
	overflow:hidden;
	display: -ms-flexbox;
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	-ms-flex-align: center;
	-webkit-box-align: center;
	-webkit-align-items: center;
	align-items: flex-start; /* 上揃えに変更 */
	-ms-flex-pack: justify;
	-webkit-box-pack: justify;
	-webkit-justify-content: censpace-betweenter;
	justify-content: space-between;
	-ms-flex-direction: column-reverse;
	-webkit-box-direction: reverse;
	-webkit-flex-direction: column-reverse;
	 flex-direction: column; /* column-reverse を削除 */
	width: 47%;
	width: calc((480 / 980) *100%);
	height: auto;
	margin:0 0 20px 0;
}
.twoCol .inner div:nth-child(2n+1) {
	clear:both;
}
.twoCol .inner .image {
	width: 100%;
	min-height: 0%;
}
.twoCol .inner img {
	width:100%;
    height:auto;
	margin-bottom:5px;
	margin-top:20px;
}
.twoCol .inner p {
	width: 90%; /* 幅を狭めて右側に余白を作る */
	margin-bottom: 0;
	text-align: justify;
	 margin-right: 10px; /* 右側の余白を追加 */
	margin-left:1px;
}

@media screen and (max-width:767px) {
	.twoCol {
		display: block;
		margin-bottom:20px;
	}
	.twoCol .inner {
		width :95%;
		margin:10px;
	}
	.twoCol .inner .image img{
	max-width: 97%;
	height: auto;
	}
	
}

/* 3カラム（スマートフォンでは1カラム) */
.threeCol {
	display: -ms-flexbox;
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	-ms-flex-pack: justify;
	-webkit-box-pack: justify;
	-webkit-justify-content: censpace-betweenter;
	justify-content: space-between;
	-ms-flex-wrap: wrap;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	position: relative;
	overflow: hidden;
	margin-bottom:60px;	
}

.threeCol::after{
  content:"";
  display: block;
  width:32.14%;
}

.threeCol .inner {
	position: relative;
	overflow: hidden;
	display: -ms-flexbox;
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	-ms-flex-align: center;
	-webkit-box-align: center;
	-webkit-align-items: center;
	align-items: center;
	-ms-flex-pack: justify;
	-webkit-box-pack: justify;
	-webkit-justify-content: censpace-betweenter;
	justify-content: space-between;
	-ms-flex-direction: column-reverse;
	-webkit-box-direction: reverse;
	-webkit-flex-direction: column-reverse;
	flex-direction: column;
	justify-content: flex-start; /* 縦方向上揃え */
    align-items: flex-start; /* 横方向左揃え（必要に応じて） */
	width: 32.14%;
	width: calc((315 / 980) *100%);
	margin: 0 0 20px 0;
}
.threeCol .inner:nth-child(3n+1) {
	clear:both;
}
.threeCol .inner h4 {
	width: 100%;
	margin-top: 0.5em;
	text-align: left;
}
.threeCol .inner p {
	margin-bottom: 0;
	text-align:left;
	margin-left:1px;
	word-wrap: break-word; /* 長い単語の折り返し */
    overflow-wrap: break-word; /* より強力な折り返し */
}
.threeCol .inner .image {
	width: 100%;
	/*min-height: 0%;*/}
.threeCol .inner img {
	width: 97%;
    height:auto;
	margin-bottom:3px;
	margin-top: 10px;
    
}
.threeCol .inner .btn {
	margin-top: auto;
	padding-top: 20px;
}
.threeCol .inner .text {
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translateY(-50%) translateX(-50%);
	transform: translateY(-50%) translateX(-50%);
	font-size: 16px;
	font-weight: bold;
	color: #fff;
	text-align: center;
	vertical-align: middle;
	pointer-events: none;
}

.threeCol .inner .boxstyle {
	border:solid 0.5px #778899;
		padding:0.5em 1.5em;	    
		background-color:#ffffff;
		box-sizing:border-box;
		
}

.threeCol .inner .title {
	font-size: 1.5rem;
		font-weight: bold;
		margin-top:0.8em;
		margin-left: 0.2em;
}

.threeCol .inner .title span{
	font-size: 1.0rem;
		font-weight: bold;
		margin-top:2em;
		margin-left: 0.2em;
}

.threeCol .inner .comment{
	font-size: 1.0rem;
	margin: 0.5em;
}



@media screen and (max-width:767px) {
	.threeCol {
		display: block;
		margin-bottom: 20px;
	}
	.threeCol .inner {
		width : 100%;
		margin: 0 0 10px 5px;
	}
	.threeCol .inner .image img{
	max-width: 96%;
	height: auto;
	}
	
	.threeCol .inner .boxstyle {
		width:98%;		
	}
}


/* 4カラム（スマートフォンでは2カラム) */
.fourCol {
	display: -ms-flexbox;
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	-ms-flex-pack: justify;
	-webkit-box-pack: justify;
	-webkit-justify-content: censpace-betweenter;
	justify-content: space-between;
	-ms-flex-wrap: wrap;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	position: relative;
	overflow: hidden;
	margin-bottom: 60px;
}

.fourCol::after{
  content:"";
  display: block;
  width:23.46%;
}

.fourCol .inner {
	position: relative;
	overflow: hidden;
	display: -ms-flexbox;
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	-ms-flex-align: center;
	-webkit-box-align: center;
	-webkit-align-items: center;
	align-items: center;
	-ms-flex-pack: justify;
	-webkit-box-pack: justify;
	-webkit-justify-content: censpace-betweenter;
	justify-content: space-between;
	-ms-flex-direction: column-reverse;
	-webkit-box-direction: reverse;
	-webkit-flex-direction: column-reverse;
	flex-direction: column;
	width: 23.46%;
	width: calc((230 / 980) *100%);
	margin: 0 0 20px 0;
}
.fourCol .inner .image {
	width: 100%;
	min-height: 0%;
	margin-left:0.5rem;
    
}
.fourCol .inner img {
	width: 96%;
    height:auto;
	margin:3px;
	
}

.fourCol .inner .boxstyle {
	border:solid 0.5px #778899;
		padding:1.5em;	    
		background-color:#ffffff;
		box-sizing:border-box;
	   
		
}

.fourCol .inner .title {
	font-size: 1.0rem;
		font-weight: bold;
		margin-top:0.8em;
		margin-left: 0.2em;
}

.fourCol .inner .title span{
	font-size: 0.8rem;
		font-weight: bold;
		margin-top:2em;
		margin-left: 0.2em;
}

.fourCol .inner .comment{
	font-size: 0.8rem;
	margin: 0.5em;
}



@media screen and (max-width:640px) {
	.fourCol {
		display: block;
		margin-bottom: 20px;
	}
	.fourCol .inner {
		box-sizing: border-box;
		width: 48%;
		margin: 0.2em;
	}
	.fourCol .inner:nth-child(odd) {
		clear: both;
		float: left;
		padding: 0 5px 10px 0;
	}
	.fourCol .inner:nth-child(even) {
		float: right;
		padding: 0 0 10px 5px;
	}
	.fourCol .inner.boxstyle {
		box-sizing: border-box;
		width: 50%;
		margin: 0.5em;
	}
	.fourCol .inner .title {
	font-size: 1.2em;
		font-weight: bold;
		margin-top:0.8em;
		margin-left: 0.2em;
}

.fourCol .inner .title span{
	font-size: 0.5em;
		font-weight: bold;
		margin-top:2em;
		margin-left: 0.2em;
}
}
	

/*画像保存禁止
-------------------------------------------*/
img {
	pointer-events:none;
}
	

/*年表
	------------------------------------*/

.history {
  position: relative;
  margin: 0 auto;
  padding: 0 15px;
}
@media only screen and (min-width: 768px) {
  .history {
    width: 1000px;
  }
}
.history:before {
  content: "";
  width: 1px;
  height: 100%;
  background: orange;
  position: absolute;
  transform: translateX(-50%);
}
@media only screen and (min-width: 768px) {
  .history:before {
    left: 50%;
  }
}
.history .history__item {
  position: relative;
  display: flex;
  padding: 0 0 35px 20px;
}
@media only screen and (min-width: 768px) {
  .history .history__item {
    padding: 0;
  }
}
@media only screen and (min-width: 768px) {
  .history .history__item:nth-of-type(2n) {
    justify-content: flex-end;
  }
}
.history .history__item:before {
  content: "";
  width: 8px;
  height: 8px;
  background: orange;
  position: absolute;
  border-radius: 50%;
  left: 0;
  transform: translateX(-50%);
}
@media only screen and (min-width: 768px) {
  .history .history__item:before {
    left: 50%;
    top: 0;
    width: 10px;
    height: 10px;
  }
}
.history .history__item:last-child {
  padding-bottom: 15px;
}
@media only screen and (min-width: 768px) {
  .history .history__item:last-child {
    padding-bottom: 0;
  }
}
.history .history__item:last-child:after {
  content: "";
  width: 6px;
  height: 6px;
  background: none;
  position: absolute;
  transform: translateX(-50%) rotate(-45deg);
  border-left: 1px solid orange;
  border-bottom: 1px solid orange;
  bottom: 0;
  left: 0;
}
@media only screen and (min-width: 768px) {
  .history .history__item:last-child:after {
    left: 50%;
    width: 8px;
    height: 8px;
  }
}
.history .history__inner {
  max-width: 450px;
}
.history .history__iamge {
  line-height: 1;
  margin: 0;
  padding: 0;
}
.history .history__iamge img {
  box-shadow: 0 0 15px rgba(30, 29, 29, 0.33);
  display: block;
}
.history .history__text {
  letter-spacing: 0.05em;
}
.history__text__year{
	font-weight: bold;
	margin-top:10px;
	font-size: 1.5rem;
}
.history__text__year span{
		font-size: 0.8rem;
	}
	

@media only screen and (min-width: 768px) {
  .history .history__text {
    margin-top: 15px;
  }
	
}



/* お知らせ（一般事業主） */
.information {
	margin-bottom: 80px;
}

.information dt {
	clear: both;
	float: left;
	margin: 0 0 0 30px; 
	padding: 10px 0;
	vertical-align: top;
	border-bottom: none;
}

.information dd {
	margin: 0 0 0 30px;
	padding: 10px 0 10px 8em;
	vertical-align: top;
	border-bottom: none;
}

@media screen and (max-width:767px) {
	.information {
		margin-bottom: 40px;
	}

	.information dt {
		float: none;
		margin: 10px 20px;
		padding: 10px 0 0 0;
		vertical-align: top;
		border-bottom: none;
	}

	.information dd {
		margin: 10px 20px;
		padding: 0 0 10px 0;
		vertical-align: top;
		border-bottom: none;
	}
}

/*目次 */
.nav-wrap {
    position: relative;
}

.scroll-nav {
    width: 100%;
    background: #fff;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.scroll-nav ul {
    /* 変更点1: flexboxの適用 */
    display: flex;
    justify-content: space-around; /* 要素間に均等なスペースを配置 */
    /* 変更点2: 下線の追加 */
    border-bottom: 4px solid red;
    padding-bottom: 10px;
    /* その他既存のスタイル */
    max-width: 1060px;
    min-width: 770px;
    height: 40px;
    line-height: 40px;
    margin: 0 auto;
    list-style: none;
    padding: 0; /* padding-rightは不要になったため削除 */
}

.scroll-nav ul li {
    /* 変更点3: widthの削除とflex-growの追加 */
    width: auto; /* width指定を削除 */
    text-align: center;
    flex-grow: 1; /* 各要素が均等に幅を占めるようにする */
    float: none; /* floatは不要になったため削除 */
}

.scroll-nav ul li a {
    /* 変更点4: background-imageとpadding-bottomの削除 */
    background-image: none; /* <a>タグの背景画像は不要 */
    padding-bottom: 0;
    /* その他既存のスタイル */
    display: inline;
    color: #000;
    text-decoration: none;
    transition: background-size 0.3s ease;
}

.scroll-nav ul li:hover a {
    /* hover時のスタイルは必要に応じて調整 */
    /* 例: 文字色を変えるなど */
    color: #000; /* 例として文字色を青に変更 */
	font-weight:bold;
}



@media only screen and (min-width: 771px) {
    .scroll-nav ul {
        padding: 0;
    }

    .scroll-nav ul li {
        /* widthの指定は不要になったため削除 */
    }

    .next-btn {
        display: none;
    }
}

/*サイズ　全長などコメント*/
.sub{
	margin-left: 1.0rem;
}


/*youtube レスポンシブ*/
.youtube {
    position: relative;
    width: 98%;
    padding-top: 56.25%; /* 16:9のアスペクト比 */
    height: 0;
	margin: auto;
}

.youtube iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/*ランキング*/

.rankings-container {
  display: flex; /* 横並びにする */
  justify-content: flex-start; /* 左寄せに変更 */
  align-items: flex-start; /* 縦方向の配置 (上揃え) */
}

.rankings-container > div {
    margin: 0 10px; /* div間に左右10pxの間隔 */
}


.ranking {
  counter-reset: rank;
	margin-left: 10px;
}

.ranking li::before {
  counter-increment: rank;
  content: counter(rank) "位";
  padding-right: 10px;
}

.ranking li {
    margin: 5px 2px;; /* li要素間の縦方向の間隔を調整 */
	padding-left: 1rem;
}

.rankings-container > div{ /* h5を含むdivへのスタイル */
    margin: 0 10px; /* ranking同士の間隔を調整 */
}

/* 画面幅が767px以下になった時のスタイル */
@media (max-width: 767px) {
  .rankings-container {
    flex-direction: column; /* 縦並びにする */
    align-items: center; /* 中央揃え (必要に応じて) */
  }

  .rankings-container > div {
    width: 90%; /* 幅を調整 (必要に応じて) */
    margin: 10px 0; /* 上下のマージンを調整 */
  }
}

/*比率が崩れるのを防ぐ*/
.threeCol .inner .image img { height: auto; }
.fourCol .inner .image img { height: auto; }


/*画像保存禁止
-------------------------------------------*/
img {
	pointer-events:none;
}

.attention-red {
    color: #ff0000; /* 赤色 */
}


/* --------------------------------- */
/* 必須CSS：コンテナと再生ボタンのスタイル */
/* --------------------------------- */
.youtube-container {
    /* 画面全体に広げる (親要素の幅に依存) */
    width: 100%; 
    /* 必須：固定の高さを削除 */
    height: 0;
    
    /* 必須：アスペクト比16:9を維持するためのpadding-bottom (高さ: 56.25% = 9 / 16) */
    padding-bottom: 56.25%;
    
    
    /* サムネイル画像の設定に必要なプロパティ */
    background-color: #000;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}


/* --------------------------------- */
/* 2. 子要素（ボタンと<iframe>）の調整 */
/* --------------------------------- */
/* 再生ボタンと、クリック後に生成される<iframe>に適用 */
.youtube-container .play-button,
.youtube-container iframe {
    /* 親の padding で確保した領域に広げるために絶対位置指定 */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* 再生ボタンのスタイル */
.play-button {/* 中央配置のための transform は iframe と分ける */
    /* top, left, width, height: 100% は上記のブロックで指定済み */
    transform: none; /* 上記の 100% 設定と競合するためリセット */
    
    /* 再生ボタンのSVGアイコンをインラインで設定 */
    background: url('../product/images/youtube_play_button.svg') no-repeat center;
    background-size: 68px 48px; /* アイコンのサイズを固定 */
    opacity: 0.8;
}

/* ホバー時の視覚的フィードバック */
.youtube-container:hover .play-button {
    opacity: 1; 
}


