/* 基本ボックス（枠線付き、パディング） */
.c-box {
    padding: 20px 1.5em;
    margin: 0 10px 40px 10px;
    border: 1px solid  rgb(0,101,180);
    width: 85%;
}

.c-box--borderless{
    padding: 0 2em;
    border: none;
    width: 90%;
}
.c-box--white{
    padding: 2rem 2rem 1.5rem 2rem;
    margin-bottom: 1rem;
    background-color: white;
    background-color: white;
    width: 100%;
    box-sizing: border-box;
}

/* お問い合わせボックス */
.c-box--contact {
    padding: 0.5em 1.5em;
    margin: 0;
    border: 1px solid  rgb(0,101,180);
    max-width: 460px;
}
.c-box--contact-wide {
    padding: 0.5em 1.5em;
    margin: 0;
    border: 1px solid  rgb(0,101,180);
    max-width: 560px;
}

/* 薄灰色 各丸影付きボックス */
.c-box--pdf {
	background-color: #f2f2f2; 
	border-radius: 8px;
	box-shadow:
		0 4px 8px rgba(0,0,0,0.05),
		8px 0 12px rgba(0,0,0,0.1);
	font-size: 26px;
	color: rgb(71,69,69);
	padding: 1em 3em 1em 1em;
	margin: 1em 0;
	width: 100%;
	display: inline-block;
	box-sizing: border-box;
}

.c-box--pdf a {
	display: block;
	width: 100%;
	position: relative;
	padding-right: 0;
	text-decoration: none;
	color: inherit;
}

.c-box--pdf a::after {
	content: "";
	display: block;
	position: absolute;
	top: 50%;
	right: -1.5em;
	transform: translateY(-50%);
	width: 36px;
	height: 36px;
	background-image: url('/hp/common_image/icon/icon-pdf.svg');
	background-size: contain;
	background-repeat: no-repeat;
}
.c-box--pdf a:hover {
    color: rgb(0, 101, 180);
}
.c-box--pdf a:hover::after {
    color: rgb(0, 101, 180);
}

@media screen and (max-width: 1200px) {
	.c-box--pdf {
		flex: 0 0 100%; /* 1列表示に */
		font-size: 24px;
	}

	.c-box--pdf a::after {
		width: 30px;
		height: 30px;
	}
}

/* 薄灰色 各丸影付きボックス */
.c-box--excel-small {
	display: inline-block;
	width: 100%;
	color: rgb(71,69,69);
	padding: 8px 2em 8px 1em;
	background-color: #f2f2f2; 
	border: 1px solid #ddd;
	box-sizing: border-box;
}

.c-box--excel-small a {
	display: block;
	width: 100%;
	position: relative;
	padding-right: 0;
	text-decoration: none;
	color: inherit;
}

.c-box--excel-small a::after {
	content: "";
	display: block;
	position: absolute;
	top: 50%;
	right: -1.5em;
	transform: translateY(-50%);
	width: 26px;
	height: 26px;
	background-image: url('/hp/common_image/icon/icon-excel.svg');
	background-size: contain;
	background-repeat: no-repeat;
}
.c-box--excel-small a:hover {
    color: rgb(0, 101, 180);
}
.c-box--excel-small a:hover::after {
    color: rgb(0, 101, 180);
}


/* 新着情報ボックス 白背景 */
.c-box--news {
	width: 100%;
	line-height: 2rem;
}
.c-box--news__item {
	display: flex;
	margin-bottom: 1em;
	box-sizing: border-box;
}
.c-box--news__date {
	width: 170px;
	min-width: 170px;
	color: #0065B4;
	font-weight: bold;
	padding: 1.5rem 0 1.5rem 1.5rem;
	vertical-align: top;
	box-sizing: border-box;
}
.c-box--news__detail {
	padding: 1.5rem 1rem 1.5rem 0;
	box-sizing: border-box;
}
.c-box--news .c-box--news__item {
	background-color: rgb(235, 245, 247);
}
.u-bg-even .c-box--news__item {
	background-color: #fff;
}

@media screen and (max-width: 600px) {
	.c-box--news__date {
		width: 148px;
		min-width: 148px;
	}
}
/* ────────────────────────────────────
   ② .c-box--news-bgwhite を付与した場合は白背景に
──────────────────────────────────── */
.c-box--news.c-box--news-bg-even .c-box--news__item {
  background-color:  rgb(221, 238, 243);
}
@media screen and (max-width:1200px) {
	.c-box--news__date {
		padding: 1rem 0 1rem 1rem;
	}
	.c-box--news__detail {
		padding: 1rem 1rem 1rem 0;
	}
}

/* 左右分割レイアウト 垂直方向中央表示 */
.c-box--split {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	padding: 10px 0;
}
/* 　 垂直方向上寄せ表示   */
.c-box--split--top {
	align-items: flex-start;
}
.c-box--split__left {
	margin-right: 12px;
}
.c-box--split__right {
    text-align: left;
    flex: 1;
}

@media (max-width: 768px) {
    .c-box--split {
        flex-direction: column;
    }
    .c-box--split__right {
        text-align: left;
        margin-top: 10px;
    }
}

/* 左右分割レイアウト 左側タイトル部 青背景、影付き */
.c-box--feature{
	display:flex;
	flex-wrap:wrap;
	margin-bottom:10px;
	border-radius:8px;
	overflow:hidden;
	box-shadow:0 4px 6px rgba(0,0,0,.08);
}
.c-box--feature__title{
	flex:0 0 240px;
	padding:1.6rem 1.2rem;
	background:#0065B4;
	color:#fff;
	text-align:center;
	display:flex;
	justify-content:center;
	align-items:center;
	font-size:1.6rem;
	line-height:1.4;
}
.c-box--feature__list{
	flex:1 1 300px;
	margin:0;
	padding: 0.5rem 1.5rem;
	list-style:disc;
}
.c-box--feature__list li{
	line-height:1.7;
	margin-left: 20px;
}

/* SP：縦積み */
@media (max-width:768px){
	.c-box--feature{	flex-direction:column;	}
	.c-box--feature__title{	flex:none;	}
	.c-box--feature__list{
		flex:0 1 auto;
	}
}

/* 薄灰背景 タイトル/バージョン/PDF・Word  */
.c-box--form {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background-color: #f3f3f3;
	padding: 1rem;
	font-size: 1.2rem;
	margin-bottom: 1em;
}
.c-box--form__title {
	flex: 1;
	margin-right: 1rem;
}
.c-box--form__left {
	display: flex;
	justify-content: space-between;
    justify-content: flex-start;
    position: relative;
	align-items: center;
	width: 80%;
}
.c-box--form__version {
	text-align: right;
	flex-shrink: 0;
	margin-left: auto;
	font-size: 1rem;
}
.c-box--form__right {
	text-align: right;
	display: flex;
	padding-right: 1em;
	flex-direction: column;
	justify-content: center;
}
.c-box--form__right a {
	font-size: 1rem;
	margin: 0.2em 0;
}



/*  薄青背景―タイトル帯  */
.c-box--info {
	width: 100%;
	background-color: rgb(235, 245, 247); /* #EBF5F7 */
	box-sizing: border-box;
}

.c-box--info__title {
	background-color: rgb(187, 221, 230); /* #BBDDE6 */
	color: rgb(0, 101, 180); /* #0065B4 */
	font-weight: bold;
	padding: 0.5em 2em;
}
.c-box--info__title::before {
	content: "■";
	display: inline-block;
	margin-right: 0.5em;
	/* 必要に応じて色やサイズなどを調整 */
}
.c-box--info__body {
	padding: 1rem 2rem;
}
.c-box--info__body p {
	margin: 0;
}

@media (max-width: 768px) {
	.c-box--info__body {
		padding: 1rem 0.75rem;
	}
}




/*  番号-写真-解説 レイアウト */
.c-box--photo-list {
	display: flex;
	align-items: stretch;	/* 子要素の高さを伸ばす */
	background: rgb(242, 242, 242);
	border-radius: 8px;
	padding: 30px 12px;
	margin-bottom: 24px;
}
.c-photo-list__number {
	font-size: 20px;
	font-weight: bold;
	width: 50px;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
}
.c-photo-list__image {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 200px;
	margin-right: 30px;
}
.c-photo-list__image img {
	max-width: min(100%, 187px);
	height: auto;
}
/* テキスト情報部分 */
.c-photo-list__info {
	flex: 1;
	align-self: flex-start;
}
@media (max-width: 768px) {
	.c-box--photo-list {
		padding: 14px;
		flex-direction: column;
		align-items: center;
	}
	.c-photo-list__number {
		margin-bottom:10px;
	}

	.c-photo-list__image {
		justify-content: center;
		margin-right: 0;
		margin-bottom: 10px;
	}
	.c-photo-list__info {
		padding: 1em;
		align-self: stretch;
	}
}



/* announce用ボックス */
.c-box--announce{
	position: relative;
	box-sizing: border-box;
	width: 85%;
	margin: 0 auto 40px;
	padding: 30px;
	background: rgb(242,242,242);
}
.c-box--announce::before,
.c-box--announce::after{
	content: "";
	position: absolute;
	width: 0;
	height: 0;
	pointer-events: none;
}
/* 左上：上辺・左辺から50pxのライン外側を nkblue で塗り */
.c-box--announce::before{
	top: 0;
	left: 0;
	border-top: 40px solid var(--color-nkblue, #0065B4);
	border-right: 40px solid transparent;
}
/* 右下：下辺・右辺から50pxのライン外側を nkblue で塗り */
.c-box--announce::after{
	right: 0;
	bottom: 0;
	border-bottom: 40px solid var(--color-nkblue, #0065B4);
	border-left: 40px solid transparent;
}
@media (max-width: 768px) {
	.c-box--announce{
		width: 95%;
		padding: 20px 15px;
	}
	.c-box--announce::before{
		border-top: 30px solid var(--color-nkblue, #0065B4);
		border-right: 30px solid transparent;
	}
	.c-box--announce::after{
		border-bottom: 30px solid var(--color-nkblue, #0065B4);
		border-left: 30px solid transparent;
	}


}