﻿@charset "utf-8";

#pankuzu {
	max-width: 1240px;
	padding: 47px 20px 50px;
	margin: auto;
}

#pankuzu ol {
	display: flex;
	flex-wrap: wrap;
	padding: 0;
	margin-bottom: 0;
}

#pankuzu li {
	position: relative;
	list-style: none;
	margin: 0 30px 10px 0;
	font-size: 1.5rem;

}

#pankuzu li::after {
	content: '';
	position: absolute;
	top: 1px;
	right: -16px;
	bottom: 0;
	width: 6px;
	height: 6px;
	margin: auto;
	border-top: 1px solid #333;
	border-right: 1px solid #333;
	transform: rotate(45deg);
}

#pankuzu li:last-child {
	margin-right: 0;
}

#pankuzu li:last-child:after {
	display: none;
}

#pankuzu a {
	color: #333;
}

#pankuzu li:last-child a {
	text-decoration: none;
	pointer-events: none;
}

#pankuzu a:hover {
	text-decoration: none;
}

.ttl_area {
	display: flex;
	/* height: 270px; */
	padding: 0 20px;
	/* background: #ddd; */
}


.page_ttl {
	
	font-size: 3.5rem;
	line-height: 5.2rem;
	text-align: center;
	padding: 0 0 10px;
	margin: auto;
	position: relative;


}

.page_ttl::after {
	position: absolute;
	content: "";
	width: 40px;
	height: 4px;
	bottom: 0;
	left: 0;
	right: 0;
	background: #D83155;
	border-radius: 5px;
	margin: auto;
}

.content_area {
	max-width: 1040px;
	padding: 50px 20px 160px;
	margin: auto;
}

.content_area>*:first-child {
	margin-top: 0;
}

.content_area>*:last-child {
	margin-bottom: 0;
}

.pl_list {
	display: flex;
	flex-wrap: wrap;
	margin-bottom: -15px;
}

.pl_item {
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	color: #FFF !important;
	text-align: center;
	text-decoration: none;
	width: calc((100% - 40px) / 3);
	min-height: 70px;
	padding: 7px calc(22px + 2.2%);
	margin: 0 20px 15px 0;
	background-color: #F2889E;
	transition: all .3s ease;
	position: relative;
	border-radius: 3px;
}

.pl_item::after {
	position: absolute;
	content: "";
	width: 22px;
	height: 22px;
	right: 6.25%;
	background: #FFF url(/niigata-hellowork/content/contents/jmc_arrow_p.svg) no-repeat center / 7.11px 7.44px;
	border-radius: 50%;
	transition: all .3s ease;
	transform: rotate(90deg);
}

.pl_item:nth-child(3n) {
	margin-right: 0;
}

.pl_item:hover {
	color: #fff !important;
	background-color: #D83155;
}

a {
	color: #333;
	text-decoration: underline;
}

a:visited {
	color: #333;
	text-decoration: underline;
}

a:hover {
	text-decoration: none;
}

a[target="_blank"] {
	padding-right: 20px;
	background: url(/niigata-hellowork/content/contents/jmc_popup_p.svg) no-repeat center right;
}

/* フォームのリンクボタンのみ外部リンクアイコンをつけない */
a.link_btn[target="_blank"] {
    padding-right: 0;
    background: #D83155;
}
/* ここまで */


a.non[target="_blank"] {
	padding-left: 0;
	background: none;
}

a[href$=".doc"],
a[href$=".docx"] {
	padding-right: 25px;
	background: url(/niigata-hellowork/content/contents/jmc_icon_word.svg) no-repeat center right;
}

a[href$=".xls"],
a[href$=".xlsx"] {
	padding-right: 25px;
	background: url(/niigata-hellowork/content/contents/jmc_icon_excel.svg) no-repeat center right;
}

a[href$=".pptm"],
a[href$=".pptx"] {
	padding-right: 25px;
	background: url(/niigata-hellowork/content/contents/jmc_icon_pp.svg) no-repeat center right;
}

a[href$=".pdf"] {
	padding-right: 25px;
	background: url(/niigata-hellowork/content/contents/jmc_icon_pdf.svg) no-repeat center right;
} 

a.none {
	padding-right: 0;
	background: none;
}

h2 {
	font-size: 2.4rem;
	font-weight: 500;
	line-height: 1.666;
	padding: 0 4px;
	margin: 50px 0 20px;
	position: relative;

}

h2::after {
	position: absolute;
	content: "";
	width: 100%;
	height: 1px;
	bottom: 0;
	left: 0;
	background-color: #D83155;
}

h3 {
	font-size: 1.8rem;
	font-weight: bold;
	line-height: 1.625;
	margin: 45px 0 15px;
}

h4 {
	font-size: 1.6rem;
	font-weight: bold;
	line-height: 1.6;
	margin: 45px 0 15px;
}

h5 {
	font-size: 1.6rem;
	font-weight: 500;
	line-height: 1.6;
	margin: 35px 0 10px;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

/* a img {
	pointer-events: none;
} */

.alignleft {
	margin-right: auto;
}

.aligncenter {
	margin: auto;
}

.alignright {
	margin-left: auto;
}

.txt_center {
	text-align: center;
}

.txt_right {
	text-align: right;
}

p {
	margin-bottom: 20px;
}

ul,
ol {
	padding-left: 20px;
	margin-bottom: 20px;
}

ul>li {
	list-style: disc;
}

ol>li {
	list-style: decimal;
}

ul.note>li {
	list-style-type: none;
}

ul.note>li::before {
	display: inline-block;
	content: '※';
	/* width: 14px; */
	margin-left: -20px;
}

li {
	margin-bottom: 5px;
}

table {
	table-layout: fixed;
	width: 100%;
	margin-bottom: 20px;
	border-top: 1px solid #CCC;
	border-left: 1px solid #CCC;

}

th,
td {
	padding: 14px 28px;
	border-bottom: 1px solid #CCC;
	border-right: 1px solid #CCC;

	line-height: 2.7rem;
	vertical-align: top;
}

th {
	width: 250px;
	background: #F8F8F8;
	font-weight: bold;
	text-align: left;
}

td *:last-child {
	margin-bottom: 0;
}

.column_2,
.column_3,
.column_4 {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.column_2>div {
	width: calc((100% - 20px) / 2);
	margin-bottom: 20px;
}

.column_2>div.img_box {
	width: calc(50% - 59px);
	overflow: hidden;
	border-radius: 24px;
}

.column_2>div.txt_box {
	width: calc(50% + 39px);
}

.column_3>div {
	width: calc((100% - 80px) / 3);
	margin-bottom: 20px;
}

.column_4>div {
	width: calc((100% - 120px) / 4);
	margin-bottom: 20px;
}

.link_btn {
	display: block;
	font-weight: bold;
	line-height: 1.6;
	text-align: center;
	text-decoration: none;
	color: #fff !important;
	max-width: 250px;
	padding: 19px 0;
	margin: auto;
	background: #D83155;
	border-radius: 80px;
	transition: background 0.3s;
}

a.link_btn:hover {
	background: #F2889E;
}


/* link btn　別デザイン */
.page_btn {
	display: inline-block;
}

.page_btn_link {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	font-size: 1.8rem;
	font-weight: bold;
	line-height: 1;

	color: #222 !important;
	text-decoration: none;
	position: relative;
}

.page_btn_link::before {
	display: block;
	content: "";
	width: 40px;
	height: 40px;
	margin-right: 15px;
	background: #F2889E url(/niigata-hellowork/content/contents/jmc_arrow_w.svg) no-repeat center / 12px 13px;
	border-radius: 50%;
	transition: all .3s ease;
}

.page_btn_link span {
	padding: 7px 0px;
	position: relative;
}

.page_btn_link span::after {
	position: absolute;
	left: 0;
	content: '';
	width: 100%;
	height: 1px;
	background: #222;
	bottom: -1px;
	transform: scale(0, 1);
	transform-origin: right top;
	transition: transform 0.2s;
	/*変形の時間*/
}

.page_btn_link:hover::before {
	background-color: #D83155;
}

.page_btn_link:hover span::after {
	transform: scale(1, 1);
	/*ホバー後、x軸方向に1（相対値）伸長*/
	transform-origin: left top;
	/*左から右に向かう*/
}

.map,
.movie_wrap {
	position: relative;
	width: auto;
	height: 0;
	padding-bottom: 56.25%;
	margin: 0 auto;
	overflow: hidden;
}

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

.f_bnr_area .f_link_index h2{
	font-size: 3.2rem;
    font-weight: bold;
    letter-spacing: 0.4rem;
    text-align: left;
    /* margin: 0 0 62px; */
    color: #D83155;
}
.f_bnr_area .f_link_index h2::after{
	content: none;
}
.f_bnr_area .f_link_index h3{
	font-weight: bold;
    letter-spacing: 0;
    text-align: left;
    /* margin: 0 0 62px; */
    display: flex;
    align-items: center;
}



@media screen and (max-width:1024px) {
	.pl_item {
		font-size: 1.5rem;
		padding: 7px 30px;
	}

	.pl_item::after {
		width: 20px;
		height: 20px;
		right: 8px;
	}
}

@media screen and (max-width:767px) {
	#pankuzu {
		padding: 9px 20px 23px;
	}

	#pankuzu li {
		font-size: 1.1rem;
		margin: 0 19px 10px 0;
	}

	#pankuzu li::after {
		right: -12px;
	}

	.page_ttl {
		font-size: 2.4rem;
	}

	.content_area {
		padding: 45px 20px 75px;
	}

	.pl_list {
		margin-bottom: -15px;
	}

	.pl_item {
		font-size: 1.4rem;
		width: calc((100% - 10px) / 2);
		min-height: 60px;
		padding: 7px 24px;
		margin: 0 10px 15px 0 !important;
	}

	.pl_item:nth-child(2n) {
		margin-right: 0 !important;
	}

	.pl_item::after {
		width: 16px;
		height: 16px;
		right: 6px;
	}

	a[href$=".doc"],
	a[href$=".docx"] {
		background-position: center right 1px;
		background-size: 17px auto;
	}

	a[href$=".xls"],
	a[href$=".xlsx"] {
		background-position: center right 1px;
		background-size: 17px auto;
	}

	a[href$=".pptm"],
	a[href$=".pptx"] {
		background-position: center right 1px;
		background-size: 17px auto;
	}

	a[href$=".pdf"] {
		background-position: center right 1px;
		background-size: 17px auto;
	}

	h2 {
		margin-top: 40px;
		font-size: 2rem;
		padding: 0 4px 6px;
	}

	h3 {
		font-size: 1.6rem;
		margin-top: 40px;
	}

	h4 {
		font-size: 1.5rem;
		margin-top: 30px;
	}

	h5 {
		font-size: 1.5rem;
		margin-top: 25px;
	}

	p {
		font-size: 1.3rem;
		line-height: 2.4rem;
	}

	ul,
	ol {
		font-size: 1.3rem;
	}

	ul.note>li::before {
		margin-left: -17px;
	}

	li {
		margin-bottom: 4px;
		line-height: 2rem;
	}



	th,
	td {
		padding: 17px 12px 18px;
		font-size: 1.3rem;
		line-height: 2.4rem;
	}

	th {
		width: 100px;
	}

	.column_2>div,
	.column_4>div {
		width: calc((100% - 20px) / 2);
	}

	.column_2>div.img_box {
		width: 100%;
		margin: 0 0 15px;
		border-radius: 15px;
	}

	.column_2>div.img_box img {
		width: 100%;
	}

	.column_2>div.txt_box {
		width: 100%;
		margin-bottom: 0;
	}

	.column_3>div {
		width: calc((100% - 40px) / 3);
	}

	.link_btn {
		width: 245px;
		padding: 18px 0 19px;
		font-size: 1.4rem;
	}

	/* link btn 別デザイン */
	.page_btn_link {
		font-size: 1.4rem;
	}

	.page_btn_link::before,
	.page_btn_link::after {
		width: 35px;
		height: 35px;
		background-size: 12px auto;
		margin-right: 15px;
	}

}
