@charset "utf-8";
/*-------------------------------------------

居宅介護支援事業所
ケアサポートセンターまりあ
【トップページ用】

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

h2 {
	font-size: 1.85em;
	font-weight: 300;
	letter-spacing: 4px;
	text-align: center;
}

/*------------------------------
◆メインビジュアル
------------------------------*/
#main_visual {
	position: relative;
	margin-top: 0;
	height: 350px;
	background:	url(../images/bg_mainvisual001.png) center bottom no-repeat,
				#fffef8;
}
#main_visual .visual_home {
	position: absolute;
	width: 100%;
	bottom: 2px;
	text-align: center;
	z-index: 20;
}
#main_visual .visual_msg {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 65px;
	margin: auto;
	z-index: 10;
}
#main_visual .visual_wing {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 30px;
	margin: auto;
	z-index: 5;
}

/*------------------------------
◆プロローグ
------------------------------*/
#sec_prologue {
}
#sec_prologue h3 {
	font-size: 1.6em;
	font-weight: 300;
	letter-spacing: 2px;
	text-align: center;
}
.sec_example {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}
#sec_prologue .example {
	height: 255px;
	text-align: center;
}
#sec_prologue .example p {
	margin: 0 auto;
	padding-top: 110px;
}
#sec_prologue .example.type001 {
	background: url(../images/prologue_type001.png) top center no-repeat;
}
#sec_prologue .example.type002 {
	padding-top: 15px;
	background: url(../images/prologue_type002.png) top center no-repeat;
}
#sec_prologue .example.type003 {
	background: url(../images/prologue_type003.png) top center no-repeat;
}
#sec_prologue .example.type004 {
	padding-top: 15px;
	background: url(../images/prologue_type004.png) top center no-repeat;
}
#sec_prologue .prologue {
	text-align: center;
	line-height: 1.75em;
}
#sec_prologue .prologue .prologue_msg {
	margin-top: 30px;
}
#sec_prologue .prologue_menu {
	width: 785px;
	margin-top: 35px;
	margin-left: auto;
	margin-right: auto;
}
#sec_prologue .prologue_menu .prologue_menu_support {
	float: left;
	width: 375px;
}
#sec_prologue .prologue_menu .prologue_menu_service {
	float: right;
	width: 375px;
}

/*------------------------------
◆フッター
------------------------------*/
.fb-page {
	width: 100%!important;
}

/*-----------------------------------------------------------------
Media Queries
-----------------------------------------------------------------*/
@media screen and (max-width: 1079px) {

/*------------------------------
◆メインビジュアル
------------------------------*/
#main_visual {
	margin-top: -5px;
}

/*------------------------------
◆プロローグ
------------------------------*/
.sec_example {
	width: 540px;
}
#sec_prologue h2 {
	font-size: 1.6em;
}
#sec_prologue h3 {
	font-size: 1.3em;
	line-height: 1.5em;
}
}

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

/*------------------------------
◆メインビジュアル
------------------------------*/
#main_visual {
	height: 350px;
}
#main_visual .visual_home img {
	max-width: 70%;
}
#main_visual .visual_msg {
	top: 50px;
}
#main_visual .visual_msg img {
	max-width: 80%;
}
#main_visual .visual_wing img {
	max-width: 80%;
}

}

@media screen and (max-width: 784px) {
	
/*------------------------------
◆プロローグ
------------------------------*/
.sec_example {
	width: 98%;
	margin-bottom: 50px;
}
#sec_prologue .example {
	height: auto;
}
#sec_prologue .example p {
	padding-top: 130px;
	font-size: 0.95em;
}
#sec_prologue .example.type001 {
	background: url(../images/prologue_type101.png) top center no-repeat;
}
#sec_prologue .example.type002 {
	padding-top: inherit;
	background: url(../images/prologue_type102.png) top center no-repeat;
}
#sec_prologue .example.type003 {
	background: url(../images/prologue_type103.png) top center no-repeat;
}
#sec_prologue .example.type004 {
	padding-top: inherit;
	background: url(../images/prologue_type104.png) top center no-repeat;
}
#sec_prologue .prologue .prologue_msg {
	font-size: 0.9em;
}
#sec_prologue .prologue_menu {
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}
#sec_prologue .prologue_menu .prologue_menu_support {
	float: none;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
	max-width: 375px;
	margin-bottom: 15px;
}
#sec_prologue .prologue_menu .prologue_menu_service {
	float: none;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
	max-width: 375px;
}
.br_example {
	display: none;
}


}

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

/*------------------------------
◆メインビジュアル
------------------------------*/
#main_visual {
	height: 250px;
}
#main_visual .visual_home img {
	max-width: 50%;
}
#main_visual .visual_msg {
	top: 25px;
}
#main_visual .visual_msg img {
	max-width: 90%;
}
#main_visual .visual_wing img {
	max-width: 90%;
}

/*------------------------------
◆プロローグ
------------------------------*/
#sec_prologue h2 {
	font-size: 1.45em;
}
#sec_prologue .example p {
	text-align: left;
}
#sec_prologue .example.type001 {
	background: url(../images/prologue_type101.png) top center no-repeat;
}
#sec_prologue .example.type002 {
	padding-top: inherit;
	background: url(../images/prologue_type102.png) top center no-repeat;
}
#sec_prologue .example.type003 {
	background: url(../images/prologue_type103.png) top center no-repeat;
}
#sec_prologue .example.type004 {
	padding-top: inherit;
	background: url(../images/prologue_type104.png) top center no-repeat;
}
.br_example {
	display: none;
}
}

/*------------------------------
◆インスタグラム
------------------------------*/
.insta-wrap {
  margin-top: 20px;
}
.insta-header {
  margin-bottom: 10px;
}
.insta-header a {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #333;
}
.insta-logo {
  margin-bottom: 5px;
  width: 35px;
  vertical-align: bottom;
}
.insta-title {
  margin: 0;
  padding-left: 10px;
  font-size: 1rem;
  font-weight: 600;
}
.insta-block {
  display: flex;
  flex-wrap: wrap;
}
.insta-block-item {
  position: relative;
  margin: 0 3px 3px 0;
  width: calc( 100% / 3 - 3px * 2 / 3 );
  overflow: hidden;
}
.insta-block-item:nth-of-type(3n+3) {
  margin-right: 0;
}
.insta-block-item a {
  position: relative;
  display: block;
}
.insta-block-item a::before {
  display: block;
  content: "";
  padding-top: 100%;
}
.insta-pict {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  vertical-align: bottom;
}
.insta-videodata > img {
  position: absolute;
  bottom: 3px;
  right: 7px;
  width: 15px;
  z-index: 5;
}
.insta-videodata::after {
  position: absolute;
  bottom: 0;
  right: 0;
  content: '';
  display: block;
  width: 30px;
  height: 20px;
  background: rgba( 0, 0, 0, 0.5 );
  border-radius: 5px 0 0 0;
  z-index: 4;
}