/*==================================================

	Site: Japan Surfing History Archives
	URI: shaj.or.jp
	Author:       Dee Inagaki [Deegraphics]
	Author URI:   https: //deegraphics.net/
	Template:     Academic
	Version:      1.0.0

================================================== */
/* #BODY
================================================== */
body {
	font-family: '游明朝', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', serif;
	font-weight: normal;
	line-height: 1.7;
	color: #21121a;
	background: #FFFFFF;
	text-rendering: optimizeLegibility !important;
	-webkit-text-size-adjust: 100%;
	-webkit-font-smoothing: antialiased !important;
}
/* #COMMON SET
================================================== */
img {
	border: 0px;
	vertical-align: middle;
	max-width: 100%;
	height: auto;
}
.c2c {
	background: #c2c;
}
/* FLUID FONT SIZE
================================================== */
/* Fluid font size variables, for browsers that support clamp */
@supports (font-size: clamp(1rem, 1vw, 1rem)) {
	:root {
		--font-size-sm: clamp(0.8rem, 0.17vw + 0.76rem, 0.89rem);
		--font-size-base: clamp(1rem, 0.34vw + 0.91rem, 1.19rem);
		--font-size-md: clamp(1.25rem, 0.61vw + 1.1rem, 1.58rem);
		--font-size-lg: clamp(1.56rem, 1vw + 1.31rem, 2.11rem);
		--font-size-xl: clamp(1.95rem, 1.56vw + 1.56rem, 2.81rem);
		--font-size-xxl: clamp(2.44rem, 2.38vw + 1.85rem, 3.75rem);
		--font-size-xxxl: clamp(3.05rem, 3.54vw + 2.17rem, 5rem);
	}
}
/* Fallback variables for browsers that don't support clamp */
@supports not (font-size: clamp(1rem, 1vw, 1rem)) {
	:root {
		--font-size-sm: 0.8rem;
		--font-size-base: 1rem;
		--font-size-md: 1.25rem;
		--font-size-lg: 1.56rem;
		--font-size-xl: 1.95rem;
		--font-size-xxl: 2.44rem;
		--font-size-xxxl: 3.05rem;
	}
	@media screen and (min-width: 1280px) {
		:root {
			--font-size-sm: 0.89rem;
			--font-size-base: 1.19rem;
			--font-size-md: 1.58rem;
			--font-size-lg: 2.11rem;
			--font-size-xl: 2.81rem;
			--font-size-xxl: 3.75rem;
			--font-size-xxxl: 5rem;
		}
	}
}
/* LINK 
================================================== */
a {
	color: #343a40;
}
/* TYPOGRAPHY
================================================== */
.sans-serif {
	font-family: sans-serif;
}
.jp {
	text-align: justify;
	word-break: break-all;
	text-justify: inter-character;
}
#en .jp {
	text-align: justify;
	word-break: keep-all;
	text-justify: inter-word;
}
/* WordPressエディタ用 */
body.block-editor-page {
	font-family: sans-serif;
	line-height: 1.8;
	padding: 2rem;
}
/* HEADER
================================================== */
.navbar-brand {
	width: 60vw;
}
.title {
	text-align: center;
}
.menu-item {
	font-family: sans-serif;
	padding-left: 24px;
	padding-right: 24px;
}
.nav-link {
	padding-top: 12px;
}
.navbar-expand-md .navbar-nav .nav-item:first-child {
	padding-left: 0;
}
.navbar-expand-md .navbar-nav .nav-item:last-child {
	padding-right: 0;
}
.home .menu-item-home,
.page-id-29 .menu-item:nth-child(2),
.page-id-31 .menu-item:nth-child(3),
.page-id-27 .menu-item:nth-child(4),
.page-id-25 .menu-item:nth-child(5),
.page-id-33 .menu-item:nth-child(1),
.page-id-39 .menu-item:nth-child(2),
.page-id-35 .menu-item:nth-child(3),
.page-id-37 .menu-item:nth-child(4),
.page-id-41 .menu-item:nth-child(5),
.page-item-29,
.page-item-31,
.page-item-27,
.page-item-25 {
	padding-left: 2rem;
	background-image: url(https://shaj.or.jp/wp-content/themes/SHAJ/img/activeFinger.png);
	background-repeat: no-repeat;
	background-position: left;
	background-size: 2rem;
}
/* LANGUAGE SWITCH
================================================== */
/* --- 言語スイッチャーの全体的な調整 --- */
.navbar-nav .lang-item-4 {
	margin-top: 2rem;
}
/* lang-item クラスが付いたli要素をターゲット */
.navbar-nav .lang-item {
	width: 90px;
	margin-bottom: 1rem;
	background-image: none;
	margin-left: 1rem;
	background-color: #f0f0f0;
	border-radius: 8px;
	padding: 5px;
	font-family: serif;
}
.navbar-nav .lang-item a {
	padding-top: 6px;
}
/* --- 各言語のリンク（日本語、English）の調整 --- */
/* nav-link クラスに加えて、lang-item 内の a タグをターゲットにする */
.navbar-nav .lang-item .nav-link {
	color: #030303;
	border: none;
	border-radius: 8px;
	text-align: center;
	min-width: 80px;
	display: inline-block;
}
/* ホバースタイル */
.navbar-nav .lang-item .nav-link:hover {
	background-color: #ffffff;
	color: #000;
}
/* --- 現在選択中の言語のスタイル --- */
/* current-lang クラスが付いたli要素のaタグターゲット */
.navbar-nav .lang-item.current-lang .nav-link {
	background-color: #2b2b2b;
	color: #fff;
	border: none;
	cursor: default;
}
/* 現在選択中の言語のホバー時は、色が変わらないようにする*/
.navbar-nav .lang-item.current-lang .nav-link:hover {
	background-color: #494949;
	color: #fff;
}
/* CONTENTS
================================================== */
.explain {
	line-height: 2 !important;
}
#en .explain {
	line-height: 1.7 !important;
}
/* DL LIST */
dl.profileList {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	max-width: 400px;
	border: none;
}
dl.profileList dt {
	padding: 5px 0;
	width: 7rem;
}
dl.profileList dd {
	margin-bottom: 0;
	padding: 5px 0;
	width: calc(100% - 7rem);
}
#en dl.profileList {
	max-width: 500px;
}
#en dl.profileList dt {
	padding: 5px 0;
	width: 9rem;
}
#en dl.profileList dd {
	margin-bottom: 0;
	padding: 5px 0;
	width: calc(100% - 9rem);
}
/* FOOTER
================================================== */
footer {
	text-align: center;
}
/* SPLIDE
================================================== */
/* プログレスバーのスタイル */
.carousel-progress {
	background-color: #ddd;
}
.carousel-progress-bar {
	background-color: #222;
	height: 3px;
	transition: width 1000ms ease;
	width: 0;
}
.splide__slide {
	display: flex;
	justify-content: center;
}
.splide__arrow:focus-visible {
	outline: none;
}
/* #Media Queries
=============================================== */
/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {}
/* Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) {}
/* Large devices (desktops, 992px and up)*/
@media (min-width: 992px) {
	.navbar-nav .lang-item-4 {
		margin-top: 0;
	}
	.navbar-nav .lang-item {
		width: inherit;
		margin-bottom: 0;
	}
	.gallery {
		padding-left: 0;
		padding-right: 0;
	}
}
/* Extra large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) {}
/* XX-Large devices (larger desktops, 1400px and up)*/
@media (min-width: 1400px) {}