/*==================================================
	タブレットのみ適応
==================================================*/
@media only screen and (max-width: 768px) and (min-width: 641px){
	.dsp_smt { display: none; }
	#footer .contact .txt span {
		display: inline-block;
		margin-left: 10px;
	}
	/* トップメニュー */
	#top_menu {
		padding-top: 50px;
	}
	#top_menu .box {
	position: relative;
	}
	#top_menu dl dt {
		position: absolute;
		top: 0;
		left: 0;
		width: 30%;
	}
	#top_menu h3.sub,
	#top_menu dl dd {
		margin-left: 33%;
	}
	#top_menu dl {
		min-height: 160px;
	}
	/* トップメニュー2 */
	#top_menu2 .box {
	width: 280px;
	}

}
/*==================================================
	タブレット・スマホに適応
==================================================*/
@media only screen and (max-width: 768px) {
	.dsp_hp { display: none; }

	/* ヘッダ */
	#header {
		overflow: hidden;
		height: auto;
		padding: 0;
		background: #fff;
	}
	#header h1 {
		width: 100%;
		font-size: 10px;
		line-height: 1;
	}
	#header p.title {
		float: left;
		height: 50px;
		padding-left: 10px;
	}
	#header p.title img {
		width: auto;
		max-height: 25px;
	}
	#sticky {
		position: relative;
		z-index: 9997;
	}
	#sticky.sticky {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		background: #fff;
		box-shadow: 0 0 5px rgba(0,0,0,0.2);
	}
	/* お問い合わせ */
	#header .contact {
		position: relative;
	}
	#header .contact .tel,
	#header .contact .btn {
		position: absolute;
		top: 0;
		right: 90px;
		display: block;
		width: 24px;
		height: 50px;
		padding: 0 11px;
		/* 縦方向中央揃え */
		display: -webkit-flex;
		display: flex;
		-webkit-align-items: center; /* 縦方向中央揃え（Safari用） */
		align-items: center; /* 縦方向中央揃え */
		-webkit-justify-content: center; /* 横方向中央揃え（Safari用） */
		justify-content: center; /* 横方向中央揃え */
	}
	#header .contact .btn {
		right: 44px;
	}
	#header .contact .txt,
	#header .contact .tel span,
	#header .contact .btn span {
		display: none;
	}
	/* コンテナ */
	#container h3.sub {
		margin-bottom: 20px;
		font-size: 20px;
	}
	.main {
		padding-left: 15px;
		padding-right: 15px;
	}
	#main, #navi {
		clear: both;
		padding-bottom: 30px;
	}
	/* フッター */
	#footer .contact .txt,
	#footer .contact .tel,
	#footer .contact .btn {
		text-align: center;
	}
	#footer .contact .tel {
		margin-bottom: 5px;
	}
	#footer .contact a img {
		width: 30px;
	}
	#footer .contact .tel a {
		font-size: 26px;
	}
	#footer .box {
		padding: 30px 0;
	}
	#footer .box dl dt{
		margin-bottom: 20px;
		text-align: center;
	}
	#footer .box dl dt img {
		max-width: 200px;
	}
	#footer .box dl dd .txt {
		text-align: center;
		line-height: 2em;
	}
	#copyright {
		height: 30px;
		line-height: 30px;
	}
	/* パンくずリスト */
	#page_navi {
		margin-bottom: 20px;
		padding-top: 15px;
		font-size: 11px;
	}
	/* 枠のマージン・パディング */
	.mb { margin-bottom: 40px; }
	.pt { padding-top: 40px; }
	.pb { padding-bottom: 40px; }
	/* アンカーリンク用上部スペース */
	.pad_anchor {
		margin-top: -50px;
		padding-top: 50px;
	}
	/*--------------------------------------------------
		トップページ
	--------------------------------------------------*/
	/* トップメッセージ */
	#top_msg::before {
		background-size: 150px;
	}
	/* メニューコンテンツ */
	#top_menu .box {
		width: auto;
	}
	#top_menu .box+.box {
		margin-top: 50px;
	}
	#top_menu .in {
		flex-flow: column;
	}
	/* メニューコンテンツ2 */
	#top_menu2 .box {
		margin: 40px auto;
		padding: 30px 20px;
		height: calc(100% - 80px );
	}
	#top_menu2 .box .txt {
		line-height: 2em;
	}

	#visit .head{
		font-size:18px;
	}
	#visit .head1{
		font-size:14px;
	}
	#visit .service .detail .insurance,
	#visit .service .detail .welfare{
		width:49%;
	}
	#visit .service .detail table{
		width:100%;
	}
	
	#visit .gallery p{
		width:24%;
	}
	#visit .price{

	}
	#visit .price table{
		background-color:#FFF;
		width:100%;
	}

	#senior p.intro{
		font-size:18px;
	}
	#senior .housing{
		margin-bottom:30px;
	}
	#senior .housing .detail > div.palace,
	#senior .housing .detail > div.haitsu{
		width:49%;
		box-sizing:border-box;
	}
	#senior .housing .detail > div > p{
		font-size:18px;
		height:40px;
	}
	#senior .housing .detail > div > div.more{
		padding:15px;
		box-sizing:border-box;
	}
	#senior .price .detail .fee{
		width:55%;
	}
	#senior .price .detail .image {
		width: 43%;
	}
	#senior .price .detail{
		margin-bottom:30px;
	}
	#senior .access .detail > div{
		width:49%;
	}
	#senior .access .office{
		flex-direction:column;
		-webkit-flex-direction:column;
	}
	#senior .access .office .map,
	#senior .access .office .map iframe{
		width:100%;
	}
	#senior .access .office .map{
		margin-bottom:15px;
	}
	#senior .access .office .address{
		width:100%;
	}
	#senior .access .round{
		font-size:18px;
	}
	/*--------------------------------------------------
		会社案内・アクセス・採用情報
	--------------------------------------------------*/
	#about {
		background-size: 30% auto;
		-webkit-background-size: 30% auto;
	}
	/*--------------------------------------------------
		お問い合せ
	--------------------------------------------------*/
	#contact {
		background-size: 30% auto;
		-webkit-background-size: 30% auto;
	}
	#mailform .tbl {
		border-bottom: 1px solid #BBB;
	}
	#mailform .tbl th,
	#mailform .tbl td {
		display: block;
		width: auto;
		border-bottom: none;
	}
	#mailform .tbl input[type="text"],
	#mailform .tbl textarea {
		font-size: 120%;
	}
	#mailform .btn input {
		width: 120px;
	}

/*------------------------------------------------*/
}