/*
Theme Name: 日本促通反復療法研究会
Description:
Theme URI:
Author:
Author URI:
Version:
License:
License URI:
*/

/* --------------------------
    variables
-------------------------- */
:root {
    --content-width: 1100px;
    --middle-width: 960px;
    --narrow-width: 800px;
    --wide-width: 1200px;
    --color: #333;
	--color-blue: #196593;
	--color-blue-pale: #e8f3f9;
	--color-blue-light: #d0e6f4;
	--color-blue-dull: #00587f;
	--color-blue-dark: #004060;
	--color-red: #d31c1c;
    --line-height: 1.75;
    --font-size: 16px;
    --font-size-sp: 14px;
    --letter-spacing: 0.1em;
    --font-family: 游ゴシック体, 'Yu Gothic', YuGothic, 'ヒラギノ角ゴシック ProN W3', 'Hiragino Kaku Gothic ProN', 'Meiryo UI', 'ＭＳ Ｐゴシック', sans-serif;
	--serif-font: '游明朝', 'YuMincho', 'ヒラギノ明朝 ProN W3', 'Hiragino Mincho ProN', 'HG明朝E', 'ＭＳ Ｐ明朝', 'ＭＳ 明朝', serif;
	--display-font: "M PLUS 1p", var(--font-family);
	--font-awesome: 'Font Awesome 6 Free';
	--header-height: 100px;
	--header-height-sp: 50px;
	--topbar-height: 30px;
}

/* --------------------------
    reset
-------------------------- */
* {
    margin: 0;
    padding: 0;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0;
    margin-inline-end: 0;
    padding-inline-start: 0;
    box-sizing: border-box;
}

*:before,
*:after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-feature-settings: 'palt';
    overflow-wrap: anywhere;
    line-break: strict;
	-webkit-text-size-adjust: 100%;
    font-size: var(--font-size);
    line-height: var(--line-height);
    letter-spacing: var(--letter-spacing);
	color: var(--color);
    font-family: var(--font-family);
    font-weight: 500;
    min-height: 100vh;
}

main {
    display: block;
}

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

input[type="image"],
video,
embed,
iframe,
marquee,
object {
    display: block;
    max-width: 100%;
    aspect-ratio: attr(width) / attr(height);
}

table {
    max-width: 100%;
    aspect-ratio: attr(width) / attr(height);
}

a {
    color: inherit;
    text-decoration: none;
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.25rem;
}

h3 {
    font-size: 1.25rem;
}

h4 {
    font-size: 1rem;
}

h5 {
    font-size: 0.75rem;
}

h6 {
    font-size: 0.75rem;
    font-weight: 500;
}

table {
    border-spacing: 0;
}

@media (max-width: 768px) {
    body {
        font-size: var(--font-size-sp);
    }
}

/* --------------------------
    common
-------------------------- */
.content-width {
    width: 100%;
    max-width: var(--content-width);
    margin: 0 auto;
}

.narrow-width {
    width: 100%;
    max-width: var(--narrow-width);
    margin: 0 auto;
}

.middle-width {
    width: 100%;
    max-width: var(--middle-width);
    margin: 0 auto;
}

.wide-width {
    width: 100%;
    max-width: var(--wide-width);
    margin: 0 auto;
}

.section-padding {
    padding: 4em 1em;
}

.section-padding-low {
    padding: 2em 1em;
}

.section-padding-full {
    padding: 4em 0;
}

.clearfix {
    clear: both;
}

.bg-blue {
	background-color: var(--color-blue-pale);
}

.heading {
	font-weight: 600;
	margin-bottom: 1em;
	display: flex;
	flex-flow: column;
}

.heading:before {
	content: attr(data-text);
	font-size: 0.5em;
	font-size: 2em;
	color: var(--color-blue);
	font-family: var(--display-font);
}

.heading.center {
	align-items: center;
}

.heading2 {
	color: var(--color-blue);
	margin-bottom: 1em;
}

.heading2:after {
	content: "";
	border-bottom: 1px solid var(--color-blue);
	width: 4em;
	display: block;
	margin-top: 1rem;
}

.button-wrap {
	margin-top: 2em;
}

.button-wrap.center {
	text-align: center;
}

.button-wrap.right {
	text-align: right;
}

.button {
	padding: 0.5lh 2.5lh 0.5lh 1.5lh;
	border-radius: 1.5lh;
	background-color: var(--color-blue);
	font-weight: 700;
	position: relative;
	display: inline-block;
	color: #fff;
}

.button:before {
	content: '\f138';
	font-family: var(--font-awesome);
	font-size: 1.25em;
	font-weight: 600;
	position: absolute;
	bottom: 50%;
    right: 0.5em;
    transform: translate(-50%, 50%);
}

.col2 {
	display: flex;
	justify-content: space-between;
	margin-bottom: 2em;
}

.col2 > * {
	width: calc(50% - 1em);
}

.col2 img {
	width: 100%;
}

.text-center {
	text-align: center;
	margin-bottom: 1em;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 2em 1em;
    }

    .section-padding-low {
        padding: 1em;
    }
    
    .section-padding-full {
        padding: 2em 0;
    }
	
	.col2 {
		flex-flow: column;
	}
	
	.col2 > * {
		width: 100%;
	}
	
	.col2 > * + * {
		margin-top: 2em;
	}
}


/* --------------------------
    header
-------------------------- */
/* header */
header {
	width: 100vw;
	height: var(--header-height);
	background-color: #fff;
	position: fixed;
	left: 0;
	z-index: 255;
	transition: height 0.3s ease, background-color 0.3s ease;
	padding: 0 2em;
	border-top: 4px solid var(--color-blue);
}

header.fixed {
	height: var(--header-height-sp);
	transition: height 0.3s ease, background-color 0.3s ease;
}

#header-content {
	display: flex;
	justify-content: space-between;
	width: 100%;
	position: relative;
	height: calc(100% - var(--topbar-height));
	transition: height 0.3s ease;
}

header.fixed #header-content {
	height: 100%;
	transition: height 0.3s ease;
}

#topbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: var(--topbar-height);
	width: 100%;
}

header.fixed #topbar {
	display: none;
}

#topbar > h1 {
	font-size: 10px;
}

 #header-logo > img {
	height: 60px;
	 transition: height 0.3s ease;
}

header.fixed #header-logo > img {
	height: 46px;
	transition: height 0.3s ease;
}

#header-menu {
	list-style-type: none;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	height: 100%;
	width: 100%;
	font-weight: 600;
	white-space: nowrap;
	font-family: var(--display-font);
	font-size: 0.875em;
	height: 100%;
}

#header-menu > li + li {
	margin-left: 1.5em;
}

#header-menu > li {
	display: flex;
	align-items: center;
	height: 100%;
}

#header-menu > li > a {
	display: flex;
    align-items: center;
    height: 100%;
    position: relative;
}

#header-menu > li.menu-item-has-children > a {
	display: flex;
	align-items: center;
}

#header-menu > li.menu-item-has-children > a:after {
	content: '';
	display: block;
    border-top: 5px solid var(--color-blue);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
	margin-left: 0.5em;
}

#header-menu > li > a:hover {
	color: var(--color-blue);
	transition: all 0.2s ease;
}

#header-menu > li > a[href="#"] {
	pointer-events: none;
}

#header-menu > li.current-menu-item > a,
#header-menu > li:hover > a {
	color: var(--color-blue);
} 

#header-menu > li.current-menu-item > a:before,
#header-menu > li:hover > a:before {
	content: '';
	display: block;
	width: 100%;
	border-bottom: 4px solid var(--color-blue);
	position: absolute;
	bottom: 0;
	left: 0;
}

header.fixed #header-menu > li.current-menu-item > a:before,
header:hover #header-menu > li.current-menu-item > a:before,
header.fixed #header-menu > li:hover > a:before,
header:hover #header-menu > li:hover > a:before {
	border-bottom: 4px solid var(--color-blue);
}

#header-menu > li > ul {
	opacity: 1;
    pointer-events: auto;
    bottom: 0;
}

#header-menu > li > ul {
	list-style-type: none;
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	max-width: var(--content-width);
	background-color: #fff;
	opacity: 0;
	padding: 1em 2em;
	pointer-events: none;
	position: absolute;
	bottom: 1em;
	left: 50%;
	transform: translate(-50%, 100%);
	z-index: 1;
	transition: opacity 0.2s ease, bottom 0.2s ease;
}

#header-menu > li > ul:before {
	content: '';
	display: block;
	width: 100vw;
	height: 100%;
	background-color: #fff;
	position: absolute;
	top: 0;
	left: 50%;
	transform: translate(-50%);
	z-index: -1;
	transition: opacity 0.2s ease, bottom 0.2s ease;
}

#header-menu > li:hover > ul {
	opacity: 1;
	pointer-events: auto;
	bottom: 0;
}

#header-menu > li > ul > li {
	width: calc(100% / 3 - 0.5em);
}

#header-menu > li > ul > li:not(:nth-of-type(3n)) {
	margin-right: calc(1.5em / 2);
}

#header-menu > li > ul > li:nth-of-type(n+4) {
	margin-top: calc(1.5em / 2);
}

#header-menu > li > ul > li > a {
	display: block;
	width: 100%;
	height: 100%;
	background-color: var(--color-blue-pale);
	padding: 1em 1em 1em 3.5em;
	border-radius: 0.5em;
	position: relative;
	transition: background-color 0.2s ease;
}

#header-menu > li > ul > li > a:hover,
#header-menu > li > ul > li.current-menu-item > a {
	background-color: var(--color-blue-light);
	transition: background-color 0.2s ease;
}

#header-menu > li > ul > li > a:before {
    content: '\f138';
    font-family: var(--font-awesome);
    font-size: 1.25em;
    font-weight: 600;
	color: var(--color-blue);
    position: absolute;
    bottom: 50%;
    left: 1em;
    transform: translate(0%, 50%);
}

@media (max-width: 1200px) {
	header {
		height: var(--header-height-sp);
		padding: 0 var(--header-height-sp) 0 1em;
	}

	#topbar {
		display: none;
	}

	#header-content {
		height: 100%;
	}
	
	#header-logo {
		width: 180px;
	}

	#header-logo > img {
		height: 46px;
	}

	#header-menu {
		display: none;
	}
	
	#header-contact {
		width: var(--header-height-sp);
	}
	
	#header-contact > i {
		font-size: 1.5em;
		transition: all 0.3s ease;
	}
	
	#header-contact > span {
		display: none;
	}
}

/* drawer */
#drawer {
	display: none;
	height: calc(var(--header-height-sp) - 4px);
	pointer-events: none;
	aspect-ratio: 1 / 1;
}

#drawer-toggle {
	width: calc(var(--header-height-sp) - 4px);
	background-color: var(--color-blue-dark);
	aspect-ratio: 1 / 1;
	position: absolute;
	top: 0;
	right: 0;
	z-index: 1;
	pointer-events: auto;
	transition: all 0.3s ease;
}

header.fixed #drawer-toggle {
	width: calc(var(--header-height-sp) - 4px);
	transition: all 0.3s ease;
}

#drawer-toggle:before {
	content: '';
	display: block;
	width: 50%;
	border-top: 1px solid #fff;
	position: absolute;
	top: 40%;
	left: 25%;
	transition: all 0.2s ease;
}

#drawer-toggle:after {
	content: '';
	display: block;
	width: 50%;
	border-top: 1px solid #fff;
	position: absolute;
	bottom: 40%;
	right: 25%;
	transition: all 0.2s ease;
}

#drawer-flag {
	display: none;
}

#drawer-flag:checked + #drawer-toggle:before {
	top: calc(50% - 0.5px);
	transform: rotate(30deg);
	transition: all 0.5s ease;
}

#drawer-flag:checked + #drawer-toggle:after {
	bottom: calc(50% - 0.5px);
	transform: rotate(-30deg);
	transition: all 0.5s ease;
}

#drawer-content {
	opacity: 0;
	pointer-events: none;
	height: 100vh;
	overflow: auto;
	position: relative;
	transition: all 0.5s ease;
}

#drawer-flag:checked ~ #drawer-content {
	opacity: 1;
	pointer-events: auto;
	transition: all 0.5s ease;
}

#drawer-content:before {
	content: '';
	display: block;
	width: 100%;
	background-color: #fff;
	height: 100svh;
	position: fixed;
	top: 0;
	left: 0;
	transition: all 0.5s ease;
	border-top: 4px solid var(--color-blue);
}

#drawer-flag:checked ~ #drawer-content:before {
	transition: all 0.5s ease;
}

#drawer-content > div:first-of-type {
	width: 100%;
	height: 100vh;
	background-color: #fff;
	padding-top: calc(var(--header-height-sp) - 4px);
	overflow-y: scroll;
	position: fixed;
	left: 0;
}

#mobile-menu {
	list-style-type: none;
	color: var(--color);
	font-size: 1em;
}

#mobile-menu > li  > a {
	display: block;
	padding: 1em 3em 1em 2em;
	font-size: clamp(1em, 2vw, 1.5em);
	position: relative;
}

#mobile-menu > li > a:hover {
	background-color: #f5f5f5;
}

#mobile-menu > li  > a:before {
	content: '';
	display: block;
	border-top: 4px solid transparent;
	border-bottom: 4px solid transparent;
	border-left: 4px solid var(--color);
	position: absolute;
	right: 1.5em;
	top: 50%;
	transform: translateY(-50%);
}

#mobile-menu li.current-menu-item > a,
#mobile-menu li > a:hover {
	background-color: var(--color-blue-pale);
}


@media (max-width: 1200px) {
	#drawer {
		display: block;
		height: calc(var(--header-height-sp) - 4px);
		width: calc(var(--header-height-sp) - 4px);
	}

	#drawer-toggle {
		width: calc(var(--header-height-sp) - 4px);
		transition: all 0.3s ease;
	}
}


/* --------------------------
    footer
-------------------------- */
#fixed-banner {
	display: flex;
	position: fixed;
	width: 8rem;
	height: 8rem;
	bottom: 3rem;
	right: 3rem;
	flex-flow: column;
	align-items: center;
	justify-content: center;
	color: #fff;
	background-color: var(--color-blue-dark);
	border: 1px solid #fff;
	border-radius: 4rem;
	z-index: 2;
	font-weight: 700;
	transition: all 0.3s ease;
}

#fixed-banner:hover {
	opacity: 0.9;
    transition: all 0.3s ease;
}

#fixed-banner > a {
	display: flex;
	flex-flow: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	font-size: 0.875em;
}

#fixed-banner > a > i {
	font-size: 2rem;
	margin-bottom: 0.75rem;
}

#fixed-banner > a > span {
	line-height: 1.25;
}


@media (max-width: 768px) {
	#fixed-banner {
		width: 100%;
		height: 3em;
		bottom: 0;
		right: 0;
		border-top: 1px solid #fff;
		border-radius: inherit;
	}
	
	#fixed-banner > a {
		flex-flow: row;
	}
	
	#fixed-banner > a br {
		display: none;
	}
	
	#fixed-banner > a > i {
		margin-bottom: 0;
		margin-right: 0.5em;
		font-size: 2em;
	}
}

/* part contact */

footer {
	color: #fff;
	background-color: var(--color-blue);
	font-size: 0.875em;
}

footer > div {
	display: flex;
	flex-flow: column;
	align-items: center;
}

footer > div > div:first-of-type {
	font-size: 2em;
	font-weight: 600;
	margin-bottom: 1em;
}

footer > div > p {
	text-align: center;
}

footer > div > div.regional-meeting {
	font-size: 1.5em;
	margin-top: 1em;
	font-weight: 600;
}

footer > div .national-conference-list {
	list-style-type: none;
	display: flex;
	margin-top: 1em;
}

footer > div .national-conference-list > li {
	margin: 0.25em 1em;
}

/* footer > div .national-conference-list > li > a:before {
	content: "-";
	margin-right: 0.5em;
	font-weight: 600;
} */

footer > div > .button-wrap2 {
	display: flex;
	justify-content: space-between;
	margin-top: 2em;
	width: 100%;
	max-width: var(--narrow-width);
}

footer > div > .button-wrap2 > a {
	padding: 1.5em 4em 1.5em 2em;
	background-color: var(--color-blue-dark);
	font-size: 1.25em;
	font-weight: 600;
	width: calc(50% - 1em);
	display: flex;
	justify-content: center;
	position: relative;
}

footer > div > .button-wrap2 > a:before {
	content: '\f138';
    font-family: var(--font-awesome);
    font-weight: 600;
    position: absolute;
    bottom: 50%;
    right: 1em;
    transform: translate(-50%, 50%);
}

@media (max-width: 768px) {
	footer > div .national-conference-list {
		flex-flow: column;
		align-items: center;
	}
	
	footer > div > .button-wrap2 {
		flex-flow: column;
	}
	
	footer > div > .button-wrap2 > a {
		width: 100%;
	}
	
	footer > div > .button-wrap2 > a + a {
		margin-top: 0.5em;
	}
}

#copyright {
	background-color: var(--color-blue-dull);
	height: 4em;
	font-size: 0.875em;
	display: flex;
	justify-content: center;
	align-items: center;
}

@media (max-width: 768px) {
	#copyright {
		height: 7em;
        padding: 1em 1em 5em 1em;
	}
}

/* --------------------------
    archive
-------------------------- */
/* archive */
.archive-list {
    list-style-type: none;
}

.archive-list > li {
    padding: 1rem 0;
}

.archive-list > li:first-of-type {
    padding-top: 0;
}

.archive-list > li + li {
    border-top: 1px solid #ddd;
}

.archive-list > li > a {
    display: block;
}

.archive-list > li > a > article {
    display: flex;
    align-items: center;
}

.archive-list > li > a > article > .thumb {
    width: 30%;
    padding-top: 20%;
    background-color: #eee;
    margin-right: 2em;
    position: relative;
}

.archive-list > li > a > article > .thumb > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
}

.archive-list > li > a > article > .info {
    width: calc(70% - 2em);
}

.archive-list > li > a > article > .info > time {
    display: block;
    font-size: 1em;
    margin-bottom: 0.5em;
	font-family: var(--display-font);
	font-weight: 600;
}

.archive-list > li > a > article > .info > .category {
    margin-bottom: 0.5em;
}

.archive-list > li > a > article > .info > .category > span {
    display: inline-block;
    font-size: 10px;
    padding: 0.25em 0.5em;
    margin: 0 0.5em 0.5em 0;
    background-color: var(--color-blue-dull);
    color: #fff;
}

.archive-list > li > a > article > .info > h3 {
    font-size: 1rem;
    margin-bottom: 0.5em;
}

.archive-list > li > a > article > .info > p {
    font-size: 0.75em;
    margin-top: 1em;
}

@media (max-width: 768px) {
    .archive-list > li > a > article {
        flex-flow: column;
    }
    
    .archive-list > li > a > article > .info {
        width: 100%;
    }
    
    .archive-list > li > a > article > .thumb {
        width: 100%;
        padding-top: calc(100% / 3 * 2);
        margin-right: 0;
        margin-bottom: 1em;
    }
}

/* archive pagination */
#pagination {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

#pagination > * {
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
    letter-spacing: 0;
    width: 3em;
    height: 3em;
    background: #eee;
    color: var(--color);
    margin: 0 0.5em;
    transition: all 0.3s ease;
}

#pagination > span,
#pagination > a:hover {
    background: var(--color);
    color: #fff;
    transition: all 0.3s ease;
}

/* --------------------------
    page
-------------------------- */
/* page header */
#page-header {
	width: 100%;
	min-height: 350px;
	position: relative;
	background-color: var(--color-blue-pale);
	padding-top: var(--header-height);
}

#page-header:before {
	display: flex;
    justify-content: space-between;
    align-items: center;
    width: calc(100% - 6rem);
    height: 100%;
    min-height: 350px;
    border-radius: 1rem;
    background: var(--gradient-blue);
    padding: 2rem 3rem;
}

#page-header > div {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	height: 100%;
	padding: calc(100px + 1em) 4em 1em 4em;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
}

#page-header > div > h2 {
	font-size: clamp(1.25em, 2vw, 1.75em);
	color: var(--color-blue-dull);
	max-width: calc(50% - 1rem);
}

#breadcrumb {
	display: flex;
	flex-wrap: wrap;
	list-style-type: none;
	font-size: 0.75em;
	margin-top: 1em;
	max-width: calc(50% - 1rem);
}

#breadcrumb > li {
	display: flex;
	align-items: center;
}

#breadcrumb > li + li:before {
	content: '';
	display: block;
	border-top: 4px solid transparent;
	border-left: 4px solid var(--color-blue-dark);
	border-right: 4px solid transparent;
	border-bottom: 4px solid transparent;
	margin: 0 0.5em 0 1em;
/* 	filter: drop-shadow(0 0 0.5em #000) drop-shadow(0 0 0.5em #000); */
}

@media (max-width: 1200px) {
	#page-header {
		width: 100%;
		padding-top: var(--header-height-sp);
	}

	#page-header > div {
		padding: calc(50px + 1em) 1em 1em 1em;
		align-items: center;
		text-align: center;
		flex-flow: column;
		justify-content: center;
	}
	
	#page-header > div > h2 {
		max-width: 100%;
	}
	
	#breadcrumb {
		max-width: 100%;
		justify-content: center;
	}
}

@media (max-width: 768px) {
	#page-header {
		width: 100%;
		padding-top: 0;
		min-height: calc(100vw / 2);
	}
}


/* --------------------------
    single
-------------------------- */
/* single */
#single-date {
    display: block;
    font-size: 1em;
    font-weight: 700;
    margin-bottom: 2em;
}

.single-content *:not(h2):not(h3):not(h4):not(h5):not(h6) + h2:not(.plain),
.single-content *:not(h2):not(h3):not(h4):not(h5):not(h6) + h3:not(.plain),
.single-content *:not(h2):not(h3):not(h4):not(h5):not(h6) + h4:not(.plain),
.single-content *:not(h2):not(h3):not(h4):not(h5):not(h6) + h5:not(.plain),
.single-content *:not(h2):not(h3):not(h4):not(h5):not(h6) + h6:not(.plain) {
	margin-top: 2em;
}

.single-content h1:not(.plain),
.single-content h2:not(.plain) {
    margin-bottom: 1em;
	display: flex;
	align-items: center;
	font-size: clamp(1.25em, 2.5vw, 1.75em);
}

.single-content h1:not(.plain):before,
.single-content h2:not(.plain):before {
	content: '';
	display: block;
	width: 1.25em;
	height: 1.25em;
	background: linear-gradient(110deg, var(--color-blue) 50%, var(--color-blue-dark) 0);
	margin-right: 0.5em;
}

.single-content h3:not(.plain) {
    margin-bottom: 1em;
	font-size: clamp(1.125em, 2vw, 1.5em);
}

.single-content h3:not(.plain):after {
	content: "";
	display: block;
	margin-top: 0.5em;
	height: 3px;
	background: linear-gradient(90deg, var(--color-blue) 4em ,#ccc 2em);
	width: 100%;
}

.single-content h4:not(.plain) {
    margin-bottom: 1em;
	padding: 0.5em 1em;
	position: relative;
	font-size: clamp(1em, 2vw, 1.25em);
	background-color: #f7f7f9;
	border-radius: 1.5px;
}

.single-content h4:not(.plain):before {
	content: '';
	display: block;
	width: 3px;
	height: 100%;
	border-radius: 1.5px;
	background-color: var(--color-blue);
	position: absolute;
	top: 0;
	left: 0;
}

.single-content h5:not(.plain) {
    margin-bottom: 1em;
	font-size: 1em;
	color: var(--color-blue);
}

.single-content h6:not(.plain) {
    margin-bottom: 1em;
	font-size: 1em;
	color: var(--color-blue);
}

.single-content hr:not(.plain) {
    display: block;
    border: none;
    border-top: 2px solid #bbb;
    margin: 4em 0;
}

.single-content ul:not(.plain) {
    background-color: #f7f7f9;
    padding: 2em 2em 2em 3em;
    margin-bottom: 3em;
}

.single-content ol:not(.plain) {
    background-color: #f7f7f9;
    padding: 2em 2em 2em 3em;
    margin-bottom: 3em;
}

.single-content ul:not(.plain) > li + li,
.single-content ol:not(.plain) > li + li {
    margin-top: 0.5em;
}

.single-content blockquote:not(.plain) {
    background-color: #f7f7f9;
    padding: 2em;
    margin-bottom: 2em;
}

.single-content strong:not(.plain) {
    color: var(--color-red);
}

.single-content p:not(.plain) {
    text-align: justify;
    margin-bottom: 1em;
}

.single-content dl:not(.plain) {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 3em;
}

.single-content dl:not(.plain) > dt {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40%;
    background-color: var(--color-blue-light);
	margin-top: 2px;
    padding: 1em 2em;
    font-weight: 700;
}

.single-content dl:not(.plain) > dd {
    width: 60%;
     background-color: var(--color-blue-pale);
    margin-top: 2px;
    padding: 1em 2em;
}

.single-content img:not(.plain) {
    height: auto;
    margin-bottom: 2em;
}

.single-content img:not(.plain).alignleft {
    float: left;
    margin: 0 2em 2em 0;
}

.single-content img:not(.plain).alignright {
    float: right;
    margin: 0 0 2em 2em;
}

.single-content img:not(.plain).aligncenter {
    margin: 0 auto 2em auto;
}

.single-content figure.aligncenter:not(.plain) {
	margin: 0 auto 2em auto;
}

.single-content figure.alignleft:not(.plain) {
	float: left;
	margin: 0 2em 2em 0;
}

.single-content figure.alignright:not(.plain) {
	float: right;
	margin: 0 0 2em 2em;
}

.single-content figure:not(.plain) > figcaption {
	font-size: 0.75em;
	margin-top: 1em;
	text-align: justify;
}

.single-content a:not(.plain) {
    text-decoration: underline;
    transition: all 0.3s ease;
	color: var(--color-blue);
}

.single-content a:not(.plain):hover {
    opacity: 0.7;
    transition: all 0.3s ease;
}

.single-content mark:not(.plain) {
	background: linear-gradient(to top, #f7d675 50%, transparent 50%);
}

.single-content small:not(.plain) {
    font-size: 0.75em;
}

.single-content .table-wrap {
	position: relative;
}

.single-content .table-wrap + .table-wrap {
	margin-top: 3em;
}

.single-content figcaption {
	font-size: 0.875em;
	margin-top: 1em;
}

@media (max-width: 900px) {
	.single-content .table-wrap {
		overflow-x: scroll;
	}
	
	.single-content .table-wrap:before {
		content: 'スクロールできます';
		display: flex;
		justify-content: center;
		align-items: center;
		width: 100%;
		height: 100%;
		padding-top: 7em;
		background-color: rgba(0, 0, 0, 0.2);
		pointer-events: none;
		color: #fff;
		font-weight: 700;
		font-size: 0.75em;
		letter-spacing: 0;
		position: absolute;
		top: 0;
		left: 0;
		z-index: 1;
	}
	
	.single-content .table-wrap:after {
		content: '\f0a6';
		display: block;
		color: #fff;
		pointer-events: none;
		font-family: var(--font-awesome);
		font-weight: 700;
		font-size: 3em;
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		animation: swipe 2s ease-in-out infinite;
		z-index: 1;
	}
	
	.single-content .table-wrap.hide:before,
	.single-content .table-wrap.hide:after {
		display: none;
	}

	@keyframes swipe {
		0% {
			opacity: 0;
			margin-left: 1em;
		}
		50% {
			opacity: 1;
			margin-left: 0;
		}
		100% {
			opacity: 1;
			margin-left: 0;
		}
	}
}

@media (max-width: 768px) {
	.single-content h1:not(.plain),
	.single-content h2:not(.plain) {
	}
	
	.single-content h3:not(.plain) {
	}
	
	.single-content hr:not(.plain) {
		margin: 2em 0;
	}

	.single-content ul:not(.plain) {
		padding: 1em 1em 1em 2em;
	}
	
	.single-content ol:not(.plain) {
		padding: 1em 1em 1em 3em;
		margin-bottom: 2em;
	}
	
	.single-content blockquote:not(.plain) {
		padding: 1em;
	}
	
	.single-content dl:not(.plain) {
		flex-flow: column;
	}
	
	.single-content dl:not(.plain) > dt {
		width: 100%;
		padding: 1em;
	}
	
	.single-content dl:not(.plain) > dd {
		width: 100%;
		padding: 1em;
	}

	.single-content img.aligncenter:not(.plain),
	.single-content img.alignleft:not(.plain),
	.single-content img.alignright:not(.plain) {
		float: none;
		margin: 0 auto 2em auto;
	}
	
	.single-content figure.alignleft:not(.plain),
	.single-content figure.alignright:not(.plain),
	.single-content figure.aligncenter:not(.plain) {
		float: none;
		margin: 0 auto 2em auto;
	}

	.single-content figure.alignleft:not(.plain) > img,
	.single-content figure.alignright:not(.plain) > img,
	.single-content figure.aligncenter:not(.plain) > img {
		margin: 0 auto;
	}
}

/* single pagination */
#single-pagination {
    list-style-type: none;
    display: flex;
    border-top: 2px solid #ddd;
    border-bottom: 2px solid #ddd;
    padding: 1rem 0;
    margin-top: 2rem;
}

#single-pagination > li {
    width: 50%;
}

#single-pagination > li + li {
    border-left: 2px solid #ddd;
}

#single-pagination > li > a {
    display: block;
    color: var(--main-color);
    padding: 1rem 3rem;
    position: relative;
}

#single-pagination > li:first-of-type > a:before {
    content: '';
    display: block;
    border-top: 0.3rem solid transparent;
    border-left: 0.3rem solid transparent;
    border-right: 0.3rem solid var(--color);
    border-bottom: 0.3rem solid transparent;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

#single-pagination > li:last-of-type > a:before {
    content: '';
    display: block;
    border-top: 0.3rem solid transparent;
    border-left: 0.3rem solid var(--color);
    border-right: 0.3rem solid transparent;
    border-bottom: 0.3rem solid transparent;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

@media (max-width: 768px) {
    #single-pagination {
        flex-flow: column;
        padding: 0;
    }

    #single-pagination > li {
        width: 100%;
    }

    #single-pagination > li + li {
        border-left: none;
    }

    #single-pagination > li:first-of-type:empty {
        border-top: 2px solid #ddd;
    }
}

/* link card */
.link-card {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background-color: var(--color-blue-pale);
	border: 1px solid var(--color-blue-light);
	border-radius: 0.5em;
	padding: 2em 4em 1em 1em;
	margin-bottom: 2em;
	position: relative;
	transition: all 0.3s ease;
}

.link-card:hover {
	opacity: 0.7;
	transition: all 0.3s ease;
}

.link-card:before {
	content: 'あわせて読みたい';
	display: block;
	background-color: var(--color-blue);
	border-radius: 0.25em;
	padding: 0.25em 1em;
	font-size: 0.75em;
	font-weight: 700;
	color: #fff;
	position: absolute;
	left: 1em;
	top: 0;
	transform: translateY(-25%);
}

.link-card[target="_blank"]:before {
	content: '外部サイト';
}

.link-card[data-text]:before {
	content: attr(data-text);
}

.link-card:after {
	content: '';
	display: block;
    width: 1.5em;
    height: 1em;
    background-image: var(--icon-arrow);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
	position: absolute;
	right: 2em;
	top: 50%;
	transform: translateY(-50%);
	transition: all 0.3s ease;
}

.link-card:hover:after {
	right: 1.5em;
	transition: all 0.3s ease;
}

.link-card > img {
	width: 128px;
	aspect-ratio: 600 / 315;
	object-fit: cover;
	object-position: center;
	border-radius: 0.25em;
}

.link-card > div {
	text-decoration: underline;
	font-weight: 700;
	font-size: 0.875em;
	color: var(--color-blue-dark);
}

.link-card > img + div {
	width: calc(100% - 128px - 2em);
}

* + .link-card {
	margin-top: 2em;
}

/* --------------------------
    top
-------------------------- */
#top-main-banner {
	aspect-ratio: 16 / 9;
	position: relative;
}

#top-main-banner:before {
	content: '';
	display: block;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
}

#top-main-banner > h2 {
	color: #fff;
	display: flex;
	flex-flow: column;
	align-items: center;
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 1;
	font-weight: 600;
	transform: translate(-50%, -50%);
	max-width: calc(100vw - 2rem);
	width: 100%;
}

#top-main-banner > h2 > span {
	font-size: clamp(1.5em, 3.5vw, 2.5em);
}

#top-main-banner > h2 > span + span {
	font-size: clamp(1em, 2.5vw, 1.75em);
}

#top-main-slider .swiper-slide {
	aspect-ratio: 16 / 9;
	background-color: #eee;
	position: relative;
}

#top-main-slider .swiper-slide > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	filter: brightness(0.8);
}

@media (max-width: 768px) {
	#top-main-banner {
		aspect-ratio: 1 / 1;
	}
	
	#top-main-banner > h2 {
		font-size: clamp(1em, 3vw, 2em);
		white-space: nowrap;
	}
	
	#top-main-banner > h2 > span + span {
		font-size: clamp(1.25em, 2.5vw, 1.75em);
	}
	
	#top-main-slider .swiper-slide {
		aspect-ratio: 1 / 1;
	}
}

#news-list {
	list-style-type: none;
}

#news-list > li {
	padding: 1em 3em 1em 2em;
	background-color: #fff;
	position: relative;
}

#news-list > li:before {
	content: '';
	display: block;
    border-top: 0.5em solid transparent;
    border-left: 0.5em solid var(--color-blue);
    border-bottom: 0.5em solid transparent;
    position: absolute;
    top: 50%;
    right: 1lh;
    transform: translateY(-50%);
}

#news-list > li + li {
	margin-top: 0.5em;
}

#news-list > li > a > article {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

#news-list > li > a > article > div {
	width: 9rem;
}

#news-list > li > a > article > div > time {
	color: var(--color-blue);
	font-family: var(--display-font);
	font-weight: 600;
	letter-spacing: 0em;
    font-size: 1.125em;
}

#news-list > li > a > article > h3 {
	width: calc(100% - 10rem);
	font-weight: 500;
	font-size: 1em;
}

@media (max-width: 768px) {
	#news-list > li {
		padding: 1em 3em 1em 1em;
	}
	
	#news-list > li > a > article {
		flex-flow: column;
	}
	
	#news-list > li > a > article > div {
		width: 100%;
	}
	
	#news-list > li > a > article > h3 {
		width: 100%;
		font-size: 1.25em;
	}
}

#event-list {
	display: flex;
	list-style-type: none;
	flex-wrap: wrap;
}

#event-list > li {
	width: calc(100% / 3 - 1em);
}

#event-list > li:not(:nth-of-type(3n)) {
	margin-right: calc(3em / 2);
}

#event-list > li:nth-of-type(n + 4) {
	margin-top: 2em;
}

#event-list > li .thumb {
	aspect-ratio: 3 / 2;
	margin-bottom: 1em;
}

#event-list > li .thumb > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

#event-list > li h3 {
	font-weight: 500;
	font-size: 1em;
}

@media (max-width: 768px) {
	#event-list {
		flex-flow: column;
	}
	
	#event-list > li {
		width: 100%;
	}
	
	#event-list > li:not(:nth-of-type(3n)) {
		margin-right: 0;
	}
	
	#event-list > li + li {
		margin-top: 1em;
	}
	
	#event-list > li h3 {
		font-size: 1.25em;
	}
}

#top-about > div {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

#top-about > div > div {
	width: calc(50% - 1em);
}

#top-about > div > figure {
	width: calc(50% - 1em);
}

@media (max-width: 768px) {
	#top-about > div {
		flex-flow: column-reverse;
	}
	
	#top-about > div > div {
		width: 100%;
		margin-top: 2em;
	}
	
	#top-about > div > figure {
		width: 100%;
	}
}

#top-other ul {
	list-style-type: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

#top-other ul > li {
	width: calc(50% - 1em);
	border-radius: 0.5em;
	box-shadow: 0 0 0.5em rgba(0, 0, 0, 0.1);
	overflow: hidden;
}

#top-other ul > li > a {
	display: block;
	aspect-ratio: 3 / 1;
	position: relative;
}

#top-other ul > li > a:before {
	content: '\f105';
	font-family: var(--font-awesome);
	color: #fff;
	font-size: 1em;
	font-weight: 600;
	position: absolute;
	bottom: 1em;
	right: 1em;
	background-color: var(--color-blue);
	width: 2em;
	height: 2em;
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 2px solid #fff;
	padding-left: 0.125em;
}

#top-other ul > li > a > span {
	position: absolute;
	top: 50%;
	right: 3em;
	transform: translate(0%, -50%);
	padding: 0.125lh 1lh 0.125lh 1lh;
	background-color: var(--color-blue);
	color: #fff;
	font-weight: 600;
	font-size: 1.25em;
	border-radius: 2rem;
	border: 2px solid #fff;
}

#top-other ul > li:nth-of-type(n + 3) {
	margin-top: 1em;
}

@media (max-width: 768px) {
	#top-other ul > li {
		width: 100%;
	}
	
	#top-other ul > li + li {
		margin-top: 1em;
	}
	
	#top-other ul > li > a > span {
		font-size: 1em;
	}
	
	#top-other ul > li > a:before {
		font-size: 0.875em;
	}
}

/* --------------------------
    contact
-------------------------- */
.grecaptcha-badge {
	z-index: 254;
}

.contactform dl {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	margin-bottom: 1rem;
}

.contactform dl > dt {
	padding: 1em 4em 1em 2em;
	position: relative;
	width: 20em;
	background-color: var(--color-blue);
	color: #fff;
	margin-top: 2px;
	display: flex;
	justify-content: center;
	align-items: center;
	font-weight: 600;
}

.contactform dl > dd {
	padding: 1em 2em;
	width: calc(100% - 20em);
	background-color: var(--color-blue-pale);
	margin-top: 2px;
}

.contactform dl > dt.required:after {
	content: '必 須';
	display: block;
	font-size: 10px;
	line-height: 1;
	letter-spacing: 0;
	padding: 0.5em 1em;
	background: var(--color-blue-dark);
	color: #fff;
	position: absolute;
	right: 1rem;
	top: 50%;
	transform: translateY(-50%);
	border-radius: 3px;
}

.contactform dl > dt:not(.required):after {
	content: '任 意';
	display: block;
	font-size: 10px;
	line-height: 1;
	letter-spacing: 0;
	padding: 0.5em 1em;
	background-color: #fff;
	color: var(--color-blue);
	position: absolute;
	right: 1rem;
	top: 50%;
	transform: translateY(-50%);
	border-radius: 3px;
}

.contactform > dl > dd input[type=text],
.contactform > dl > dd input[type=email],
.contactform > dl > dd input[type=tel],
.contactform > dl > dd textarea {
	display: block;
	width: 100%;
	border-radius: 3px;
	border: none;
	border: 1px solid #bbb;
	padding: 0.5em 1em;
	background-color: #fff;
}

.contactform > dl > dd select {
	display: block;
	border-radius: 3px;
	border: none;
	background-color: #fff;
	border: 1px solid #bbb;
	padding: 0.5em 1em;
}

.contactform > dl > dd input[type=date] {
	width: 30%;
	display: block;
	border-radius: 3px;
	border: none;
	background-color: #fff;
	border: 1px solid #bbb;
	padding: 0.5em 1em;
}

.contactform > dl > dd input[type=number] {
	display: block;
	border-radius: 3px;
	border: none;
	background-color: #fff;
	border: 1px solid #bbb;
	padding: 0.5em 1em;
}

.contactform > dl > dd input.inline {
	display: inline-block;
}

.contactform > dl > dd input.readonly {
	background-color: transparent;
	border: none;
}

.contactform > dl > dd input.readonly:focus {
	outline: none;
}

.agreement-wrap {
	text-align: center;
	margin-bottom: 1rem;
}

.contactform input[name=agreement] {
	appearance: none;
	-webkit-appearance: none;
	border: none;
}

.contactform input[name=agreement] + span {
	display: flex;
	justify-content: center;
	align-items: center;
}

.contactform input[name=agreement] + span:hover {
	cursor: pointer;
}

.contactform input[name=agreement] + span:before {
	content: '';
	display: inline-block;
	width: 3rem;
	height: 3rem;
	border: 1px solid #aaa;
	border-radius: 3px;
	background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB2ZXJzaW9uPSIxLjEiIGZvY3VzYWJsZT0iZmFsc2UiCgkgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiIHZpZXdCb3g9IjAgMCA1MTIgNTEyIgoJIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDUxMiA1MTI7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPHN0eWxlIHR5cGU9InRleHQvY3NzIj4KCS5zdDB7ZmlsbDojQUFBQUFBO30KPC9zdHlsZT4KPHBhdGggY2xhc3M9InN0MCIgZD0iTTE3My45LDQzOS40TDcuNSwyNzNjLTEwLTEwLTEwLTI2LjIsMC0zNi4ybDM2LjItMzYuMmMxMC0xMCwyNi4yLTEwLDM2LjIsMEwxOTIsMzEyLjdMNDMyLjEsNzIuNgoJYzEwLTEwLDI2LjItMTAsMzYuMiwwbDM2LjIsMzYuMmMxMCwxMCwxMCwyNi4yLDAsMzYuMkwyMTAuMSw0MzkuNEMyMDAuMSw0NDkuNCwxODMuOSw0NDkuNCwxNzMuOSw0MzkuNEwxNzMuOSw0MzkuNHoiLz4KPC9zdmc+Cg==);
	background-size: 50%;
	background-position: center;
	background-repeat: no-repeat;
	margin-right: 1rem;
	background-color: #fff;
}

.contactform input[name=agreement]:checked + span:before {
	content: '';
	display: inline-block;
	width: 3rem;
	height: 3rem;
	border: 1px solid #333;
	border-radius: 3px;
	background-image: url(data:image/svg+xml;base64,PHN2ZyBhcmlhLWhpZGRlbj0idHJ1ZSIgZm9jdXNhYmxlPSJmYWxzZSIgZGF0YS1wcmVmaXg9ImZhcyIgZGF0YS1pY29uPSJjaGVjayIgY2xhc3M9InN2Zy1pbmxpbmUtLWZhIGZhLWNoZWNrIGZhLXctMTYiIHJvbGU9ImltZyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgNTEyIDUxMiI+PHBhdGggZmlsbD0iY3VycmVudENvbG9yIiBkPSJNMTczLjg5OCA0MzkuNDA0bC0xNjYuNC0xNjYuNGMtOS45OTctOS45OTctOS45OTctMjYuMjA2IDAtMzYuMjA0bDM2LjIwMy0zNi4yMDRjOS45OTctOS45OTggMjYuMjA3LTkuOTk4IDM2LjIwNCAwTDE5MiAzMTIuNjkgNDMyLjA5NSA3Mi41OTZjOS45OTctOS45OTcgMjYuMjA3LTkuOTk3IDM2LjIwNCAwbDM2LjIwMyAzNi4yMDRjOS45OTcgOS45OTcgOS45OTcgMjYuMjA2IDAgMzYuMjA0bC0yOTQuNCAyOTQuNDAxYy05Ljk5OCA5Ljk5Ny0yNi4yMDcgOS45OTctMzYuMjA0LS4wMDF6Ij48L3BhdGg+PC9zdmc+);
	background-size: 50%;
	background-position: center;
	background-repeat: no-repeat;
}

.contactform .submit-wrap {
    text-align: center;
    display: flex;
    flex-flow: column;
    align-items: center;
}

.contactform .submit-wrap > input[type=submit] {
	width: 100%;
	max-width: 280px;
	border: none;
	color: #fff;
	background-color: var(--color-blue);
	padding: 1rem 2rem;
	cursor: pointer;
}

.contactform .submit-wrap > input[type=submit]:hover {
	opacity: 0.7;
}

.contactform .submit-wrap > input[type=submit]:disabled {
	background-color: #ddd;
	cursor: not-allowed;
}

.submit-wrap > spa {
	display: none !important;
}

.ajax-loader {
	display: block;
	margin: auto;
}

@media (max-width: 768px) {
	.contactform dl > dt {
		width: 100%;
	}
	
	.contactform dl > dd {
		width: 100%;
	}
}

/* --------------------------
    organization
-------------------------- */
.organization-table {
	width: 100%;
	border-right: 1px solid var(--color-blue-dull);
	table-layout: fixed;
}

.organization-table > thead th {
	padding: 1em 2em;
	background-color: var(--color-blue-dull);
	color: #fff;
}

.organization-table > thead th + th {
	border-left: 1px solid #fff;
}

.organization-table > tbody th {
	padding: 1em 2em;
	background-color: var(--color-blue-pale);
	border-bottom: 1px solid var(--color-blue-dull);
	border-left: 1px solid var(--color-blue-dull);
}

.organization-table > tbody td {
	padding: 1em 2em;
	border-bottom: 1px solid var(--color-blue-dull);
	border-left: 1px solid var(--color-blue-dull);
}

@media (max-width: 768px) {
	.organization-table {
		min-width: 800px;
	}
	
	.organization-table > thead th {
		padding: 0.5em 1em;
	}
	
	.organization-table > tbody th {
		padding: 0.5em 1em;
	}
	
	.organization-table > tbody td {
		padding: 0.5em 1em;
	}
}

@media (max-width: 425px) {
	.organization-table {
		min-width: 457px;
	}
}

/* --------------------------
    research-society
-------------------------- */
#about-name {
	text-align: center;
	margin-top: 0.5em;
	font-weight: 700;
}

#about-name > span {
	font-size: 1.5em;
	font-family: var(--serif-font);
	margin-left: 0.5em;
}

.youtube-wrap {
	margin-top: 2em;
}

.youtube-wrap > iframe {
	width: 100%;
	aspect-ratio: 16 / 9;
}