@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

/* =========================================================
   Modern base (2026)
   - modern reset
   - responsive container
   - accessibility (focus-visible)
   - utility set (minimum)
========================================================= */

/* -----------------------------
   CSS Variables / Theme
----------------------------- */
:root{

	--text: #0f172a;
	--muted: #475569;
	--bg: #ffffff;
	--border: #e2e8f0;

	--link: #2563eb;
	--link-hover: #1d4ed8;

	--radius: 12px;
	--shadow: 0 10px 30px rgba(15, 23, 42, .08);

	--container: 1200px;
	--gutter: 16px;

	--focus: 2px solid rgba(37, 99, 235, .9);
	--focus-offset: 3px;
}

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

html{
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	/*scroll-behavior: smooth;*/
}

body{
	margin: 0;
	min-height: 100svh;
	font-family: "Noto Sans JP", sans-serif;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
	color: var(--text);
	background: var(--bg);
	line-height: 1.6;
	letter-spacing: .02em;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	background: #F5F6FB;
}

body .roboto{
	font-family: "Roboto", sans-serif;
}

/* Headings: “勝手にデカい余白”は付けない（余白はレイアウト側で管理） */
h1,h2,h3,h4,h5,h6{
	margin: 0;
}

/* block elements */
p,ul,ol,dl,dd,figure,blockquote{
	margin: 0;
	padding: 0;
}

ul,ol{
	list-style: none;
}

/* media */
img,svg,video,canvas{
	display: block;
	max-width: 100%;
	height: auto;
}

table{
	border-collapse: collapse;
	border-spacing: 0;
}

/* form controls */
input,button,textarea,select{
	font: inherit;
	color: inherit;
}

button{
	cursor: pointer;
}

textarea{
	resize: vertical;
}

/* links */
a{
	color: var(--link);
	text-decoration: none;
	text-underline-offset: .2em;
}

a:hover{
	color: var(--link-hover);
	text-decoration: underline;
}

/* ✅ outline を消さない。キーボード操作のときだけ見せる */
:focus{
	outline: none;
}
:focus-visible{
	outline: var(--focus);
	outline-offset: var(--focus-offset);
}

/* selection */
::selection{
	background: rgba(37, 99, 235, .2);
}


/* -----------------------------
   Layout helpers
----------------------------- */
.container{
	width: 100%;
	max-width: 1104px;
	margin: 52px auto 0;
	padding: 0 20px 100px;
}

.container.pb_min{
	padding-bottom: 16px;
}

/* 旧 #wrapper 互換（必要ならHTML側で置き換え）
   既存で #wrapper が残ってても崩れにくくする */
#wrapper{
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

/* -----------------------------
   Utility (minimum)
----------------------------- */
.u-hidden{
	display: none !important;
}

.u-visually-hidden{
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.u-text-left{ text-align: left !important; }
.u-text-center{ text-align: center !important; }
.u-text-right{ text-align: right !important; }

.u-flex{ display: flex !important; }
.u-inline-flex{ display: inline-flex !important; }
.u-items-center{ align-items: center !important; }
.u-justify-center{ justify-content: center !important; }
.u-justify-between{ justify-content: space-between !important; }
.u-flex-col{ flex-direction: column !important; }
.u-gap-8{ gap: 8px !important; }
.u-gap-12{ gap: 12px !important; }
.u-gap-16{ gap: 16px !important; }

.u-relative{ position: relative !important; }
.u-absolute{ position: absolute !important; }

/* hover helper (必要なときだけ使う) */
.u-hover{
	transition: opacity .2s ease;
}
.u-hover:hover{
	opacity: .8;
}

._hover {
	opacity: 1;
	transition: opacity 0.3s ease; /* 0.3秒で滑らかに変化 */
}

._hover:hover {
	opacity: 0.7; /* 不透明度70%（0〜1で指定） */
}

/* -----------------------------
   Optional: Card base
----------------------------- */
.card{
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	background: #fff;
}

nav{

	border-bottom: 1px solid #D2D4E6;
	background: #FFF;
	position: relative;
}

nav a{
	color: #5F5F5F;
	font-size: 20px;
	font-weight: 700;
}

nav a:hover{
	color: #5F5F5F;
}

nav .container-fluid{
	max-width: 1280px;
	margin: 0 auto;
	position: relative;
	padding:17px 24px;
}

nav .container-fluid #navbar{
	position: absolute;
	top: 0;
	display: flex;
	justify-content: space-between;
	width: calc(100% - 260px);
	left: 240px;
	height: 100%;
}

nav .container-fluid #navbar.admin{
	width: calc(100% - 360px);
	left: 340px;
}

nav .container-fluid #navbar .navbar-nav{
	display: flex;
	width: 486px;
	height: 100%;
}

nav .container-fluid #navbar .navbar-nav.navbar-right{
	width: 100px;
}

nav .container-fluid #navbar .navbar-nav li{
	height: 100%;
}
/*
nav .container-fluid #navbar .navbar-nav li:nth-child(1){
	width: 76px;
}
nav .container-fluid #navbar.alcielo .navbar-nav li:nth-child(1){
	width: 120px;
}
nav .container-fluid #navbar .navbar-nav li:nth-child(2){
	width: 104px;
}
nav .container-fluid #navbar .navbar-nav li:nth-child(3){
	width: 160px;
}
*/
nav .container-fluid #navbar .navbar-nav li a{
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--Black, #000);
	font-size: 14px;
	font-style: normal;
	font-weight: 700;
	height: 100%;
	text-decoration: none;
	position: relative;
	white-space: nowrap;
}

nav .container-fluid #navbar .navbar-nav li a:before{
	content: "";
	display: block;
	width: 100%;
	height: 4px ;
	background: #E5E5E5;
	position: absolute;
	left: 0;
	bottom: 0;
}

nav .container-fluid #navbar .navbar-nav li.active a{
	color: #5666BE;
}

nav .container-fluid #navbar .navbar-nav li.active a:before{
	background: #5666BE;
}

nav .container-fluid #navbar .navbar-nav.navbar-right li a:before{
	display: none;
}

nav .container-fluid #navbar .navbar-nav.navbar-right li a{
	color: #4D547B;
	font-size: 14px;
	font-weight: 500;
}


/* -----------------------------
   スマホ用のメニューボタン（≡）
   768px以下のときだけ表示する
----------------------------- */
.nav_toggle{
	display: none;
	position: absolute;
	top: 50%;
	right: 16px;
	width: 40px;
	height: 40px;
	padding: 0;
	border: none;
	border-radius: 6px;
	background: none;
	transform: translateY(-50%);
	cursor: pointer;
	z-index: 2;
}

.nav_toggle:hover{
	background: #F3F4FB;
}

/* 3本線 */
.nav_toggle span{
	display: block;
	position: absolute;
	left: 9px;
	width: 22px;
	height: 2px;
	border-radius: 2px;
	background: #4D547B;
	transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}

.nav_toggle span:nth-child(1){ top: 13px; }
.nav_toggle span:nth-child(2){ top: 19px; }
.nav_toggle span:nth-child(3){ top: 25px; }

/* メニューが開いているときは「×」にする */
nav.is-open .nav_toggle span:nth-child(1){
	top: 19px;
	transform: rotate(45deg);
}

nav.is-open .nav_toggle span:nth-child(2){
	opacity: 0;
}

nav.is-open .nav_toggle span:nth-child(3){
	top: 19px;
	transform: rotate(-45deg);
}


/* -----------------------------
   スマホのときのナビ（768px以下）
   「≡」ボタンを出して、メニューは nav に is-open が付いたときだけ下に開く
----------------------------- */
@media screen and (max-width: 1000px) {

	nav{
		padding: 0;	/* 右側は「≡」ボタンの分をあける */
	}

	nav .navbar-brand{
		font-size: 16px;
	}

	.nav_toggle{
		display: block;
	}

	/* メニュー全体：ナビのすぐ下に、画面の幅いっぱいで開く */
	nav .container-fluid #navbar{
		display: none;
		position: absolute;
		top: 100%;
		left: 0 !important;
		width: 100% !important;
		height: auto;
		flex-direction: column;
		padding: 8px 0;
		border-bottom: 1px solid #D2D4E6;
		background: #FFF;
		box-shadow: 0 8px 16px rgba(77, 84, 123, 0.12);
		z-index: 1000;
	}

	nav.is-open .container-fluid #navbar{
		display: flex;
	}

	/* メニューの項目を縦に並べる */
	nav .container-fluid #navbar .navbar-nav{
		flex-direction: column;
		width: 100% !important;
		height: auto;
		margin: 0;
		padding: 0;
	}

	nav .container-fluid #navbar .navbar-nav li{
		width: 100% !important;
		height: auto;
	}

	nav .container-fluid #navbar .navbar-nav li a{
		justify-content: flex-start;
		height: auto;
		padding: 14px 24px !important;
		font-size: 15px;
	}

	/* 選択中の印は、下線ではなく左の縦線にする */
	nav .container-fluid #navbar .navbar-nav li a:before{
		top: 0;
		bottom: auto;
		width: 4px;
		height: 100%;
		background: transparent;
	}

	nav .container-fluid #navbar .navbar-nav li.active a{
		background: #F3F4FB;
	}

	nav .container-fluid #navbar .navbar-nav li.active a:before{
		background: #5666BE;
	}

	/* ログアウトは区切り線の下に置く */
	nav .container-fluid #navbar .navbar-nav.navbar-right{
		margin-top: 8px;
		padding-top: 8px;
		border-top: 1px solid #F3F4FB;
	}

	/* アルシエロの印刷ボタン（ナビの中にある場合） */
	nav .container-fluid #navbar .print_btn{
		align-self: flex-start;
		margin: 8px 24px;
	}
}


