@charset "utf-8";

/* === 基本リセット === */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
	font-family: "Noto Sans JP", Arial, sans-serif;
	font-size: 15px;
	line-height: 1.75;
	color: #232323;
	position: relative;
	padding-bottom: 20px;
	background: linear-gradient(
		to bottom,
		#f5faff 0%,
		#e6f3ff 25%,
		#d5ebfc 50%,
		#c2e1f9 75%,
		#a9d4f5 100%
	);
	background-attachment: fixed;
}

.noto-sans-jp-<uniquifier> {
	font-family: "Noto Sans JP", sans-serif;
	font-optical-sizing: auto;
	font-weight: <weight>;
	font-style: normal;
}

a { word-break: break-all; }
a:link { color: #01387c; }
a:visited { color: #01387c; }
a:hover { color: #c9cb48; }
a:active { color: #c9cb48; }

/* === コンテナ（PC/スマホ共通）=== */
.container {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;

    display: flex;
    justify-content: center;
    align-items: stretch;

    background-color: #fff;

    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.12),
        0 8px 20px rgba(0, 0, 0, 0.08);

    position: relative;
}

.sidebar, main {
	min-width: 0;
	display: flex;
	flex-direction: column;
	position: relative;
	z-index: 1;
}

.sidebar {
	width: 230px;
	background: #256FBF;
	background: linear-gradient(180deg,rgba(37, 111, 191, 1) 0%, rgba(116, 186, 249, 1) 100%);
	color: #232323;
	font-weight: 700;
	position: relative;
	padding-top: 50px;
	z-index: 10;
}

.sidebar ul { list-style: none; }


/* 通常メニュー */
.sidebar a {
    position: relative;
    display: block;
    padding: 10px 5px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    background-color: transparent;
    isolation: isolate;
    overflow: hidden;
    transition: color 0.35s ease;
}

/* 白帯アニメーション */
.sidebar a::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #fff;
    z-index: -1;

    transform: scaleX(0);
    transform-origin: left center;

    transition: transform 0.45s
        cubic-bezier(0.22, 1, 0.36, 1);
}

/* マウスオーバー */
.sidebar a:hover::before {
    transform: scaleX(1);
}

.sidebar a:hover {
    color: #232323;
}

/* 現在選択中のメニュー */
.sidebar a.active::before {
    transform: scaleX(1);
}

.sidebar a.active {
    color: #232323;
}

/* 選択中メニュー（赤文字） */
.sidebar a.active2::before {
    transform: scaleX(1);
}

.sidebar a.active2 {
    color: #b30622;
}

/* 参加登録などの紫色メニュー */
.sidebar a.regist {
    background-color: #01387c;
    color: #fff;
}

/* 紫色メニューの白帯 */
.sidebar a.regist:hover::before {
    transform: scaleX(1);
}

.sidebar a.regist:hover {
    color: #01387c;
}

/* 無効メニュー */
.sidebar a.deactive {
    background-color: transparent;
}

.sidebar a.deactive::before {
    display: none;
}

/* 動きを減らす設定への対応 */
@media (prefers-reduced-motion: reduce) {
    .sidebar a,
    .sidebar a::before {
        transition: none;
    }
}

main {
	width: 730px;
	background: url("../images/bg.webp") no-repeat;
	background-size: 100%;
	background-color: #fff;
	position: relative;
}

/* === ロゴ & メニューボタン === */
.logo {
	max-width: 100%;
	width: 179px;
	height: auto;
	display: block;
	object-fit: contain;
	flex-shrink: 1;
	margin: 0 auto 15px;
}

.menu-btn {
	font-size: 36px;
	line-height: 1;
	cursor: pointer;
	background: none;
	border: none;
	color: #fff;
	position: fixed;
	top: 15px;
	right: 15px;
	z-index: 9998;
	display: block;
}

/* 【PC表示時のみロゴ最大幅を制限】 */
@media screen and (min-width: 769px) {
	.logo { max-width: 200px; }
	.menu-btn { display: none; }
}

#top_bottom_area {
	margin: min(1033px, 141.506849%) 20px 30px 20px;
	padding: 15px;
	opacity: 0.9;
}
#whatsnew h2 {
	font-weight: 700;
	line-height: 1.3;
	border-bottom: 3px solid;
	border-image: linear-gradient(90deg,rgba(37, 111, 191, 1) 0%, rgba(116, 186, 249, 1) 100%);
	border-image-slice: 1;
	color: #232323;
	text-align: left;
}
.info-icon {
	display: inline-block;
	background: linear-gradient(90deg,rgba(37, 111, 191, 1) 0%, rgba(116, 186, 249, 1) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}
#whatsnew_list li {
	margin: 10px 0 0 0;
	list-style: none;
	list-style-position: inside;
	color: #232323;
	padding-left: 5.4em;
	text-indent: -5.3em;
}
.whatsnew_day {
	color: #01387c;
	font-weight: 700;
}
#whatsnew_a:link { color: #1d3152; }
#whatsnew_a:visited { color: #1d3152; }
#whatsnew_a:hover { color: #fff; }
#whatsnew_a:active { color: #fff; }

main.other {
	width: 730px;
	background: url("../images/other-bg.webp") no-repeat;
	background-size: 100%;
	background-color: #fff;
}

#text_area {
	margin: min(400px, 54.794521%) 20px 0px 20px;
	padding: 25px 20px 20px 20px;
	color: #232323;
	background: rgba(255,255,255,0.95);
}
#text_area p {
	margin: 1em 0;
}
#text_area ol {
	padding-left: 1.5em;
}
#text_area ul {
	padding-left: 1.5em;
}
#text_header h1 {
	margin-top: -5px;
	padding: 10px 0;
	text-align: center;
	line-height: 1.3;
	color: #fff;
	font-weight: 700;
	background: #256fbf;
	background: linear-gradient(90deg,rgba(37, 111, 191, 1) 0%, rgba(116, 186, 249, 1) 100%);
}
#text_area h2 {
	margin: 1.5em 0 1em 0;
	padding: .5em .75em;
	background: #c2dff1;
	background: linear-gradient(90deg,rgba(226, 240, 255, 1) 0%, rgba(255, 255, 255, 1) 100%);
	border-left: 6px solid #256fbf;
	color: #232323;
	font-weight: 700;
	font-size: x-large;
}
#underconstruction {
	margin: 100px 0px;
	text-align: center;
}
#underconstruction h2 {
	padding: 0;
	border: 0;
	background: none;
	background-color: none;
	font-size: x-large;
	font-size: 27px;
	color: #256fbf;
}
#underconstruction h5 {
	margin-top: 0px;
	font-size: 15px;
	font-weight: 400;
	color: #256fbf;
}
h3 {
	padding: .1em 0;
	border-bottom: solid 3px #74baf9;
	position: relative;
}
h3:after {
	position: absolute;
	content: " ";
	display: block;
	border-bottom: solid 3px #256fbf;
	bottom: -3px;
	width: 20%;
}
h4 {
	padding: .25em 0 .25em .5em;
	border-left: 6px solid #256fbf;
}
.kome {
	list-style: none;
	padding-left: 0.1em;
	margin-left: 1em;
}
.kome li {
	text-indent: -1.2em;
}
table.standard {
	width: 100%;
	background-color: #d4eed1;
	text-align: left;
	border-collapse: collapse;
	border-spacing: 0;
	margin-top: 30px;
	margin-left: auto;
	margin-right: auto;
}
table.standard td, table.standard th {
	border: 1px solid #bcbcbc;
	padding: 10px;
}
table.standard td:nth-child(even) {
	background: #fff;
}
table.standard thead {
	background: #ff87b1;
}
table.standard thead th {
	font-weight: bold;
	color: #fff;
	text-align: center;
}
.greeting_header {
	display: flex;
	align-items: flex-end;
	font-weight: 700;
	text-align: right;
}
.chairman_text {
	margin: 0 0 0 auto;
}
.chairman_pic_area {
	margin-left: 15px;
}
.chairman_pic {
	max-width: 170px;
	height: auto;
	margin: 0 0 0 auto;
}
table.outline {
	width: 100%;
	text-align: left;
	border-collapse: collapse;
	border-spacing: 0;
}
table.outline th {
	padding: 10px;
	border-bottom: solid 4px #01387c;
	color: #083388
}
table.outline td {
	padding: 10px;
	border-bottom: solid 1px #01387c;
}
.btn, a.btn, button.btn {
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.5;
	position: relative;
	display: inline-block;
	padding: 1rem 4rem;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
	text-align: center;
	vertical-align: middle;
	text-decoration: none;
	letter-spacing: 0.1em;
	color: #212529;
	border-radius: 0.5rem;
	margin: 10px;
	width: 80%;
}
a.btn-border1 {
	color: #fff;
	border: 2px solid #ff0000;
	border-radius: 0;
	background: #ff0000;
	padding: 1rem 4rem;
}
a.btn-border1:hover {
	color: #ff0000;
	background: #fff;
	padding: 1rem 4rem;
}
a.btn-border2 {
	color: #fff;
	border: 2px solid #0000ff;
	border-radius: 0;
	background: #0000ff;
	padding: 1rem 4rem;
}
a.btn-border2:hover {
	color: #0000ff;
	background: #fff;
	padding: 1rem 4rem;
}
a.btn-border3 {
	color: #fff;
	border: 2px solid #ff87b1;
	border-radius: 0;
	background: #ff87b1;
	padding: 1rem 4rem;
}
a.btn-border3:hover {
	color: #ff87b1;
	background: #fff;
	padding: 1rem 4rem;
}
a.btn-border4 {
	color: #fff;
	border: 2px solid #de9c00;
	border-radius: 0;
	background: #de9c00;
	padding: 1rem 4rem;
}
a.btn-border4:hover {
	color: #de9c00;
	background: #fff;
	padding: 1rem 4rem;
}
.footer {
	grid-area: footer;
	padding: 20px;
	background: #fff;
}
#footer_office {
	display: -webkit-flex;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	text-align: left;
	margin: 1vw;
	margin-left: auto;
	margin-right: auto;
}
#footer_office-left, #footer_office-right {
	padding: 0 15px;
	flex: 1;
}
.office_1st-line {
	font-weight: bold;
	color: #01387c;
}
#footer_office a:hover {
	color: #c9cb48;
}
#footer_office a:active {
	color: #c9cb48;
}
#footer_copy {
	padding: 0 0 15px 0;
	background: #fff;
	font-size: .8em;
	text-align: center;
	font-family: "Helvetica", "Arial";
}

#upper-btn {
	font-size: 38px;
	color: #01387c !important;
	text-align: right;
}
#upper-btn a {
	color: #01387c !important;
}
html {
	scroll-behavior: smooth;
}
.go-top {
	opacity: 0.5;
	position: fixed;
	bottom: 20px;
	right: 20px;
	z-index: 10000;
	font-size: 1.3em;
	color: #01387c;
}
.go-top:hover{
	opacity: 1;
}

/* === レスポンシブ対応（スマホ表示時）=== */
@media screen and (max-width: 768px) {
	.container { 
		flex-direction: row-reverse; 
		padding-left: 0;
		width: 100%;
	}

	main { 
		width: 100%; 
		margin: 0 auto; 
		box-shadow: none;
	}

	.logo {
		max-height: 40px;
		margin-right: auto;
	}

	/* ハンバーガーメニューボタン */
	.menu-btn {
		position: fixed;
		top: 15px;
		right: 15px;
		left: auto;
		z-index: 9998;
		display: block;
		transform: none;
	}

	/* サイドバー */
	.sidebar {
		position: fixed;
		top: 0;
		right: 0;
		width: 230px;
		bottom: 0;
		z-index: 9997;

		transform: translateX(100%);
		transition: transform 0.3s ease-in-out,
					visibility 0s linear 0.3s;

		display: flex;
		flex-direction: column;

		visibility: hidden;
		pointer-events: none;
	}

	/* メニューを開いた状態 */
	body.menu-open .sidebar {
		transform: translateX(0);
		visibility: visible;
		pointer-events: auto;
		transition-delay: 0s;
	}

	/* オーバーレイは全画面を確実に覆うように設定 */
	body.menu-open::after {
		content: '';
		position: fixed;
		inset: 0;
		background: rgba(0,0,0,0.5);
		z-index: 9996;
    }
	
	#footer_office {
		justify-content: left;
		text-align: left;
	}
	#footer_office-left, #footer_office-right {
		flex: none;
	}
	#footer_office-right {
		margin-top: 0;
	}
	#footer_copy {
		text-align: left;
		padding: 0 2rem 1rem 2rem;
	}
	.greeting_header {
		text-align: left;
	}
	.btn, a.btn, button.btn {
		padding: 1rem 1rem;
	}
	#leaves {
		display: none;
	}
}

/* 【PC/タブレット】幅が 769px 以上の場合 */
@media screen and (min-width: 769px) {
	.container { 
		flex-direction: row; 
		justify-content: center; 
	}
	main { margin-left: 0; margin-right: 0; }

	/* PC表示時のみサイドバーをスクロール追従 */
	.sidebar {
		position: sticky;
		top: 0;
		align-self: flex-start;
		height: 100vh;
		overflow-y: auto;
	}
}

/* スマートフォンの横方向オーバーフロー対策 */
@media screen and (max-width: 768px) {

	html,
	body {
		width: 100%;
		max-width: 100%;
		overflow-x: hidden;
	}

	@supports (overflow: clip) {
		html,
		body {
			overflow-x: clip;
		}
	}

}

/* ========================================
   Abstract Wave 背景アニメーション
======================================== */

body {
    isolation: isolate;
}

/* 背景ウェーブの表示領域 */
.abstract-wave {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 65vh;
    overflow: hidden;
    pointer-events: none;
    z-index: -1;
    opacity: 0.65;
}

/* SVGのレスポンシブ設定 */
.abstract-wave svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* ウェーブ共通設定 */
.wave-layer {
    transform-box: view-box;
    animation: abstract-wave-flow linear infinite;
    will-change: transform;
}

/* 各レイヤーの移動速度 */
.wave1 {
    animation-duration: 55s;
}

.wave2 {
    animation-duration: 75s;
}

.wave3 {
    animation-duration: 95s;
}

/* 左から右への穏やかな移動 */
@keyframes abstract-wave-flow {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0%);
    }
}

/* コンテンツを背景より前面に配置 */
.container {
    z-index: auto;
}

/* スマートフォンでは非表示 */
@media screen and (max-width: 768px) {
    .abstract-wave {
        display: none;
    }
}

/* アニメーション軽減設定 */
@media (prefers-reduced-motion: reduce) {
    .wave-layer {
        animation: none;
        will-change: auto;
    }
}