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

/* ========　全体　======== */
body {
    /*width: 767px;*/
    width: 100%;
    height: auto;
}

/* ========　ヘッダー　======== */
header {
    width: 100%;
    border-top: 4px solid F29600;
    height: 100%;
    min-width: auto;
}
.br-smart {
    display: block;
}
#header {
    width: 100%;
    margin: 0 auto;
    padding-bottom: 30px;
}
#header_left {
    padding-top: 30px;
    float: none;
    text-align: center;
}
#header_left img{
    max-width: 353px;
    width: 80%;
}

#header_right {
    text-align: center;
    float: none;
    display: none;
}
#header_right img{
}
#header_right .time p{
}


/* ======== メニュー ======== */
#menu {
    width: 100%;
    min-width: 100%;
    height: 100%;
    /*margin-top: 30px;*/
    /*margin-bottom: 0px;   */
    background-image: none;
    background-position: center;
    background-repeat: no-repeat;
    /*padding-bottom: 20px;*/
}

#menu_area {
    width: 100%;
    margin: 0 auto;
    height: 100%;
}

#menu_area #menu_link {
    width: 100%;
    display: none;
}
#menu_area #menu_link_smart {
    display: block;
}

#menu_link_smart dt {
    display:block;
    height:50px;
    cursor:pointer;
    color: #fff;
    background: #000000;
    line-height:50px;
    padding-left:5%;
    text-align:left;
}
#menu_link_smart dd {
    height:50px;
    line-height:50px;
    padding-left: 12%;
    text-align: left;
    display:none;
    background: #000000;
    border-top: 1px solid #fff;
}
#menu_link_smart dd a {
    color: #fff;
    height: 100%;
    width: 100%;
    display: block;
}

 /* ========　フッター　======== */

#contents #page-top,
#contents_index #page-top {
    width: 100%;
    height: 36px;
    margin-top: 30px;
}

footer {
    width: 100%;
    background-color: #e6e6e6;
    bottom: 0;
    height: 100%;
    min-width: 100%;
}
#footer {
    min-width: 100%;
    width: 100%;
    height: 100%;
    margin-top: auto;
    margin-bottom: 0;
    text-align: center;
    position: relative;
    /*position: absolute;*/
    bottom: 0;
}

#footer-link {
    display: none;
    width: 100%;
    margin: 0 auto;
    padding-top: 20px;
    text-align: center;
    /*position: absolute;
    bottom: 0;*/
}

#footer-link ul  {
    width: 53%;
    margin: auto;
    text-align: center;	
    /*position: absolute;
    bottom: 0;*/
}

#footer #footer-link li:not(:last-of-type){
    border-right: 0.5px solid #000;
}

#footer #footer-link li{
    text-align: center;
    display: table-cell;
    vertical-align: middle;
    font-size: x-small;
    /*position: absolute;
    bottom: 0;*/
}


#footer #footer-link li a{
    text-align: center;
    color: #000;
    padding: 0px 20px;
    font-size: 75%;
    vertical-align: middle;
    white-space: none;
    margin:auto -50%;
    /*position: absolute;
    bottom: 0;*/
}

#footer-imag {
    width: 100%;
}

#footer-imag_left {
    width: 20%;
    text-align: center;
    float: none;
    display: inline-block;
    padding-top: 30px;
}

#footer-imag_left img {
    width: 80%;
    max-width: 342px;
}

#footer-imag_right {
    width: 100%;
    padding-top: 30px;
    text-align: center;
    float: none;
    display: inline-block;
}
#footer-imag_right img {
    padding-top: 20px;
}
#footer-imag_right p{
    width: 100%;
    float: none;
    font-size: 100%;
}


/* ========　HOME　======== */
.mainimg_index img {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    margin: 0 auto;
    display: block;
}
#contents, #contents_index {
    width: 95%;
}

.cocntents_left {
    width: 100%;
    padding-top: 15px;
    display: inline-block;
    margin-right: 0px;
}
.cocntents_right {
    width: 100%;
    display: inline-block;
    text-align: center;
}
.cocntents_right img {
    width: 200px;
}
.cocntents_left .strong .left {
    width: 100%;
    display: inline-block;
    line-height: 1.7;
    padding: 0 0 30px 0;
}
.cocntents_left .strong .right {
    width: 100%;
    text-align: center;
    display: inline-block;
}


/* ========　コンテンツ　======== */
#contents_index #page-top,
#contents #page-top {
    width: 100%;
    margin-top: 30px;
}
#contents_index #page-top a,
#contents #page-top a {
    width: auto;
    display: block;
    float: none;
}
#contents_index #page-top img,
#contents #page-top img {
    height: auto;;
}
#footer_con {
    background-color: #26896D;
    /*position: absolute;
    bottom: 0;*/
}

#footer_con p {
	color: #fff;
    clear: both;
    text-align: center;
    padding-top: 40px;
    margin-bottom: 0px;
    font-size: 11px;
    /*position: absolute;
    bottom: 0;*/
}
#contents {
    width: 95%;
    /*height: 1010px;*/
    margin: 20px auto;
    margin-bottom: 0;
    clear: both;
}
#contents b {
    font-weight: bold;
    font-size: 120%;
}
#contents p {
    color: #FFFFFF;
    font-size: 120%;
    margin-bottom: 30px;
}

#contact_link {
    margin: 40px 0;
    text-align: center;
}

#contact_link img {
    width: 100%;
    text-align: center;
}

#contents_main {
    width: 65%;
    float: left;
}
#contentes_right {
    width: 27%;
    float: right;
}

#profile1 {
    margin: 40px auto;  
    width: 100%;
}

#profile1 p{
    width: 100%;
    color: #000;
    padding-bottom: 10px;
    background-image: url("../img/page_ttl_line.png");
    background-position: bottom left;
    background-repeat: no-repeat;
    margin: 40px auto;
}
#profile img.rinen {
    max-width: 95%;
}

#profile2,
#profile3{
    margin: 40px 0px 0px 0px;
	width: 100%;
    padding-top: 15px;
    display: inline-block;
    margin-right: 0px;
}

#profile2 p,
#profile3 p{
    width: 100%;
    /*height: 60px;*/
    color: #000;
    /*margin: 40px 0px 0px -30px;   */
    background-image: url("../img/page_ttl_line.png");
    background-position: bottom;
    background-repeat: no-repeat;
    margin: 40px auto 20px auto;
    font-weight: bold;
}

#profile3 .bisiness_main1 #contents_chara,
#profile3 .bisiness_main3 #contents_chara,
#profile3 .bisiness_main5 #contents_chara {
    width: 100%;
    /*display: table-cell;*/
    display: inline-block;
    /*font-size: 80%;*/
}

#profile3 .bisiness_main1 #contents_chara h1,
#profile3 .bisiness_main3 #contents_chara h1,
#profile3 .bisiness_main5 #contents_chara h1 {
    width: 100%;
    height: auto;
    float: none;
    font-size: 100%;
}

#profile3 .bisiness_main1 #contents_img,
#profile3 .bisiness_main3 #contents_img,
#profile3 .bisiness_main5 #contents_img {
    width: 100%;
    height: 100%;
    float: none;
    text-align: center;
    padding-top: 30px;
}

#profile3 .bisiness_main1 #contents_img img,
#profile3 .bisiness_main3 #contents_img img,
#profile3 .bisiness_main5 #contents_img img {
    margin: auto;
}

#profile3 .bisiness_main2 #contents_chara,
#profile3 .bisiness_main4 #contents_chara {
    width: 100%;
    display: table-cell;
    /*font-size: 80%;*/
}

#profile3 .bisiness_main2 #contents_chara h1,
#profile3 .bisiness_main4 #contents_chara h1 {
    width: 100%;
    height: auto;
    float: none;
    font-size: 100%;
}

#profile3 .bisiness_main2 #contents_img,
#profile3 .bisiness_main4 #contents_img {
    width: 100%;
    height: auto;
    float: none;
    text-align: center;
/*	margin: auto 40px;*/
}

#profile3 .bisiness_main2 #contents_img img,
#profile3 .bisiness_main4 #contents_img img {
    margin: auto;
    padding-top: 30px;
}

#profile3 .bisiness_main1 p,
#profile3 .bisiness_main2 p,
#profile3 .bisiness_main3 p,
#profile3 .bisiness_main4 p {
    color: #86b0ed;
    font-weight: bold;
    border-bottom: 0.5px dashed;
    background-image: none;
    margin: 40px auto 20px auto;
}
#mainimg {
    width: 100%;
}
#mainimg_area {
    height: 100%;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    margin: 0 auto;
    background: url(../img/page_header_bg _smart.png) no-repeat center left;
    background-size: 100%;
    text-align: -webkit-center;
    /*margin: 25px auto;*/
}
#mainimg_area p {
    font-size: 175%;
    font-weight: bold;
    text-align: left;
    padding: 30px 0;
    width: 95%;
    /*margin-left: 20px;*/
    padding-left: 5%;
    /*color: #f16f37;*/
    /*height: auto;*/
    /*display: table-cell;*/
    /*vertical-align: middle;*/
    /*text-align: center;*/
}

table.table1 {
    width: 100%;
    height: auto;
    /*white-space: nowrap;*/
    font-size: 90%;
}

table.table1 td.border{
    /*size: 90%;*/
    border-bottom: 1px dashed;
}
.table1 tr {
    font-size: 90%;
}

.table1 td {
    vertical-align: middle;
    padding-right: 15px;
    padding-left: 15px;
    padding-top: 10px;
    padding-bottom: 10px;
/*	text-align: center;*/
}

.table1 td:nth-child(1){
    width: 80px;
    font-size: 100%;
    padding: 10px 10px;
    font-weight: bold;
    background-color: #e6e6e6;
}

#contents form table tbody td input {
    height: 25px;
    width: 90%;
    display: block;
    margin: 10px auto 20px auto;
}
#contents form table tbody td textarea {
    height: 150px;
    width: 90%;
    display: block;
    margin: 10px auto 20px auto;
}

.business_mkb {
    display: block;
}

.business_mkb_cell {
    display: block;
}
/*各ボックスの設定*/
#main section.list article {
	border: 1px solid #CCC;	/*枠線の幅、線種、色*/
	border-radius: 6px;		/*角丸のサイズ*/
	margin-bottom: 15px;	/*ボックス間のスペース*/
	background-image: -webkit-gradient(linear, left top, left bottom, from(#FFF), to(#e3e3e3));	/*グラデーション*/
	background-image: -webkit-linear-gradient(#FFF, #e3e3e3);	/*同上*/
	background-image: linear-gradient(#FFF, #e3e3e3);			/*同上*/
	-webkit-box-shadow: 0px 2px 5px #CCC, 0px 0px 0px 1px #FFF inset;	/*影の設定。右・下・ぼかし幅・色の設定, ＋内側への影を右・下・ぼかし幅・距離・色を設定*/
	box-shadow: 0px 2px 5px #CCC, 0px 0px 0px 1px #FFF inset;			/*同上*/
}
#main section.list article a {
	padding: 10px;	/*ボックス内の余白*/
	text-decoration: none;
	display: block;
	overflow: hidden;
	-webkit-transition: 0.5s;	/*マウスオン時の移り変わるまでの時間設定。0.5秒。*/
	transition: 0.5s;			/*マウスオン時の移り変わるまでの時間設定。0.5秒。*/
}
/*マウスオン時*/
#main section.list article a:hover {
	background-color: #f6f1b2;	/*背景色*/
	color: #333;				/*文字色*/
}
/*ボックス内の段落タグ設定*/
#main section.list article p {
	padding: 0px;
	margin-left: 220px;	/*左の写真とのバランスをとって設定*/
}
/*ボックス内の写真設定*/
#main section.list article figure img {
	float: left;			/*画像を左へ回り込み*/
	background-color: #ffffff00;	/*画像の背景色。ここでは枠線と画像の間の色になります。*/
	padding: 5px;			/*余白。ここに上の行で設定した背景色が出ます。*/
	border: 1px solid #ffffff00;	/*枠線の幅、線種、色*/
}
/*ボックス内のh4タグ設定*/
#main section.list article h4 {
	padding: 2px 0px 2px 10px;	/*上、右、下、左側への余白*/
	font-size: 100%;
	border-bottom: 1px solid #CCC;	/*下側の線の幅、線種、色*/
	border-left: 3px solid #038b0f;	/*左側の線の幅、線種、色*/
	margin-bottom: 0.5em;
	color: #000;	/*文字色*/
}
/*simpleタイプ（※ボックス内の部分的な箇所にリンクを設定する場合）
---------------------------------------------------------------------------*/
/*各ボックスの設定*/
#main section.list.simple article {
	padding: 10px;
	overflow: hidden;
}
#main section.list.simple article a {
	padding: 0px;
	display: inline;
	text-decoration: underline;
}
/*マウスオン時*/
#main section.list.simple article a:hover {
	background-color: transparent;
	color: #ff4500;
}
/*ボックス内の写真設定*/
#main section.list.simple article figure a:hover img {
	background-color: #ffffff00;
	border: 1px solid #ffffff00;
}
div.right {
    text-align: right; 
}
/*20230410-add
---------------------------------------------------------------------------*/
h2 span {
    display: inline-block;
  }
/*20230410追加*/
.text-image {
    position: relative;
    width: 500px;
  }
  
  .text-image img {
    width: 100%;
  }
  
  .text-image p {
    position: absolute;
    top: 90%;
    left: 5%;
    font-size: 10px;
    color: #050505;
  }