@charset "utf-8";

/*画面の幅が640pxまでの場合に適用するCSS */
@media screen and ( max-width:980px )
{
/*===================================================
					共通CSS
===================================================*/
	.footer-bottom-links__link:visited {
		color: #3c3c3c;
	}
	.fs-l-header {
		padding-top: 20%;
	}
	.fs-l-main {
		margin-top: 80px!important;
	}
	.fs-c-heading--page {
		margin: 0!important;
		padding: 0!important;
	}

	.mainImg_pc {
		display: none;
	}
	.mainImg_sp {
		display: block;	
		margin-bottom: 10%;
	}

	.itemBox {
		width: 98%;
		margin-left: 1%;
	}
	.conceptBox .conTitle {
		font-size: 20px;
	}

	.conceptBox {
		width: 96%;
		margin-left: 2%;
	}
	.display_sp {
		display: block;
	}

	.display_pc {
		display: none;
	}

	.conceptBox .conceptTxt {
		line-height: 1.7em;
		width: 96%;
		margin-left: 2%;
		text-align: left;
	}


	.galleryImg {
		width: 100%;
		margin-bottom: 10%;
	}

	.menu_container {
		width: 100%;
		margin: 0 auto 13%;
	}
	
	.article_txt {
		width: 96%;
		margin: 0 auto 8%;
		text-align: left;

	}

	.gallery_container {
		display: block;
	}

	.gallery_item01 {
		width: 100%;
		margin-bottom: 3%;
	}


	.item01_container2 {
		display: block;

	}


	.item01_container2 .item01_item01,
	.item01_container2 .item01_item02 {
		width: 100%;
		display: contents;
	}


	.item01_item02 .shosaiBox2 {
		margin-bottom: 10%;
	}

	


	/* grid レスポンシブ */
	.grid_container {
		display: grid;
		grid-template-columns: 1fr;
		gap: 32px;
	}

	/* 各要素を自動配置に戻す！ */
	.grid_item01,
	.grid_item02,
	.grid_txt {
		grid-column: auto;  /* ← これが超重要！ */
	}

	.grid_item01 {
		justify-self: start;
		width: 80%;
	}

	.grid_item02 {
		justify-self: end;
		margin-top: 0;
		width: 80%;
	}

	.gridBox {
		margin-bottom: 10%;
	}

	.normalBox {
		width: 100%;
		margin-bottom: 10%;
	}

	.normal_container {
		gap: 0;
	}

	.normal_item01 img {
		width: 92%;
	}

	.normal_item02 {
		justify-self: start;
	}


	.profileBox__area {
		width: 100%;
		box-sizing: border-box;
	}

	.profile_container {
		display: grid;
		grid-template-columns: 1fr;
		padding: 10% 5% 15%;
		gap: 5%;
	}

	.profile_item01 {
		width: 60%;
		margin: 0 auto;
	}


	.prp_name,
	.prp_txt {
		text-align: center;
	}
	

	.prp_txt2 {
		width: 90%;
		margin: 0 auto 3%;
	}

	.sns {
		width: 90%;
		margin-left: 5%;
	}

	.bnr {
		width: 100%;
	}
	
	.linkBtn_wh {
		width: 70%;
	}

/*===================================================
			    btn
===================================================*/

	.linkBtn {
		width: 50%;
		margin: 5% auto 20%;
		padding: 10px 0;
	}

	.linkBtn2 {
		width: 50%;
		margin: 5% auto 10%;
	}



/*===================================================
			    戻る CSS
===================================================*/
	.pagetop{
		height: 40px;
		width: 40px;
	}
	.pagetop__arrow {
		height: 7px;
		width: 7px;
	}
/*===================================================
			    	Footer CSS
===================================================*/
	
	.fs-l-footer {
		margin-top: 0!important;
	}
	.footer {
		margin-top: 1.0vw!important;
	}
}