﻿@charset "utf-8";

@font-face {
	font-family: 'nse-r';
	src: url('fonts/NotoSerifJP-Regular.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}

.nse-r {
	font-family: 'nse-r' !important;
}

/* phototanka
--------------------------- */

.phototanka {
	width: 100%;
	margin-bottom: 20px;
}

.textarea {
	width: 1000px;
	margin: 0 auto;
}

.phototanka h1 {
	padding: 0.5em;
	/*文字まわり（上下左右）の余白*/
	margin-top: 50px;
	text-align: center;
	font-weight: bold;
	background-color: #d7edef;
}

.phototanka h2 {
	text-align: left;
	margin: 40px 0 20px;
	padding: 10px 0;
	font-weight: bold;
	border-bottom: 1px solid #d7edef;
}

.phototanka h3 {
	width: auto;
	margin: 10px 0 10px 0;
	padding: 0 10px;
	font-weight: bold;
	display: inline-block;
	color: #01807f;
	border-bottom: 3px double #01807f;
}

.phototanka p {
	width: 100%;
	margin-bottom: 20px;
}

p.phototanka.lead {
	font-weight: 500;
	text-align: center;
}


#set_phototanka {
	list-style: square;
	padding: 0 0 20px 20px;
}

#phototanka_list li {
	width: 300px;
	height: 280px;
	margin: 0 16px 16px;
	float: left;
}

#phototanka_list li:last-child {
	height: auto;
}

#phototanka_list li h3 {
	padding: 0;
}

#phototanka_list li dt {
	line-height: 1.2em;
}

#phototanka_list li dd {
	line-height: 1.2em;
	margin: 10px 0;
}

#phototanka_list li a {
	line-height: 1.2em;
}

.judge-profile {
	display: flex;
	align-items: flex-start;
	gap: 1.5rem;
	margin-top: 1rem;
	flex-wrap: wrap;
	/* 小さい画面で折り返し */
}

.judge-profile dt {
	flex: 0 0 200px;
	/* 画像幅（PC） */
}

.judge-profile img {
	width: 100%;
	height: auto;
	border-radius: 8px;
}

.judge-profile dd {
	flex: 1;
	font-size: 0.95rem;
	line-height: 1.6;
	text-align: justify;
}


.button a {
	background: #d7edef;
	border-radius: 9999px;
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	max-width: 450px;
	padding: 10px;
	margin: 10px 0;
	color: #333333;
	text-decoration: none;
	transition: 0.3s ease-in-out;
	font-weight: 500;
}

.button a:hover {
	background: #005655;
	color: #FFF;
}

body {
	vertical-align: middle;
	padding: 50px 0;
	text-align: center;
}



/* SP Layout
/*
/*----------------------------------------------*/

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

	/* PCでは横並び */
	.phototanka-flex {
		display: flex;
		align-items: flex-start;
		gap: 20px;
	}

	.phototanka-text {
		flex: 1;
	}

	.phototanka-image {
		flex: 0 0 auto;
	}

	.phototanka img.phototanka {
		width: 400px;
		max-width: 100%;
		height: auto;
	}
}

/* --- スマホ対応 --- */
@media (max-width: 640px) {
	.textarea {
		width: auto;
		margin: 0 15px;
		text-align: justify;
	}

	.judge-profile {
		flex-direction: column;
		align-items: center;
		text-align: left;
	}

	.judge-profile dt {
		flex: none;
		width: 60%;
		max-width: 250px;
	}

	.judge-profile dd {
		width: 100%;
		font-size: 0.9rem;
		text-align: justify;
	}

	.phototanka-image {
		margin-top: 20px;
		/* テキスト下に余白を追加 */
		text-align: center;
		/* 中央寄せ */
	}

	.phototanka-image img.phototanka {
		width: 100%;
		max-width: 100%;
		height: auto;
	}
}