@import url('https://fonts.googleapis.com/css2?family=Inknut+Antiqua:wght@300;400;500;600;700;800;900&display=swap');

/*リセットCSS　■■■■■■■■■■■■■■■■■■■■■■■■■*/

/* Eric Meyer’s Reset CSS */
*,
*::before,
*::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html,
body {
	height: 100%;
}

body {
	font-family: sans-serif;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

ul,
ol {
	list-style: none;
}

a {
	text-decoration: none;
}

table {
	border-collapse: collapse;
}

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

input,
button,
textarea {
	border: none;
	outline: none;
	font-family: inherit;
	font-size: inherit;
}


/*基準　■■■■■■■■■■■■■■■■■■■■■■■■■*/

body {
	background-color: #ffff99;
	font-family:  'Noto Sans JP', sans-serif;
}

/*ヘッダー　■■■■■■■■■■■■■■■■■■■■■■■■■*/

header {
	width: 100%;
	height: 80px;
	background-color: limegreen;
}

.header_title {
	font-family: "Inknut Antiqua", serif;
	font-size: 2rem;
	color: #F0FFF0;
	height: 35 px;
	margin: 0 auto;
	padding-top: 5px;
	padding-left: 40px;
}

.header_sub-title {
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 0.8rem;
	text-align: center;
	height: 100%;
	margin: 0;
}

.grp-name {
	font-size: 0.8rem;
	position: absolute;
	top: 10px;
	right: 20px;
	display: inline-block;
	padding: .5em;
	line-height: 1;
	color: #fff;
	text-decoration: none;
}

.white {
	height: 5px;
	width: 100%;
	background-color: #fff;
	float: left;
}

.fukidashi {
	position: absolute;
	top: 6px;
	left: 293px;
	background-color: #3498db;
	color: white;
	padding: 3px 5px;
	border-radius: 8px;
	max-width: 170px;
	font-size: 0.6rem;
}

.fukidashi::after {
	content: "";
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 0;
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-top: 6px solid #3498db;
}


/*ヘッダーメニュー　■■■■■■■■■■■■■■■■■■■■■■■■■*/

.menu {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	width: 100%;
	height: 40px;
	position: absolute;
	top: 42px;
}

input.menu_item {
    font-size: 0.8rem;
    min-width: 110px;
    height: 24px;
    display: flex; /* ここを追加 */
    align-items: center; /* ここを追加 */
    margin-right: 20px;
    /* padding-top: 3px; /* これを削除 */
    padding-left: 4px;
    padding-right: 4px;
    color: #fff;
    text-decoration: none;
    background-color: #48D1CC;
    border: none;
    border-radius: 20px 0 0 20px;
    cursor: pointer;
    text-align: left;
}

input.menu_item::before {
	content: '●';
	color: #fff;
}

input.menu_item:hover {
	background-color: rgba(72, 209, 204, 0.5);
	color: white;
}
span.menu_selected {
    font-size: 0.8rem;
    min-width: 110px;
    height: 24px;
    display: flex; /* ここを追加 */
    align-items: center; /* ここを追加 */
    margin-right: 20px;
    padding-left: 4px;
    padding-right: 4px;
    border: none;
    border-radius: 20px 0 0 20px;
    cursor: pointer;
    text-decoration: none;
    color: orange;
    background-color: #E0FFFF;
    text-align: left; 
}
span.menu_selected:hover {
	pointer-events: none;
}

/*ハンバーガーメニュー*************/

.hamburger-menu {
	font-size: 30px;
	cursor: pointer;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 50px;
	height: 40px;
	position: absolute;
	top: 40px;
	right: 0;
	padding-right: 10px;
}

@media (min-width: 1100px) {
	.hamburger-menu {
		display: none;
	}
}

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

	.menu {
		display: none;
		flex-direction: column;
	}

	.menu.open {
		display: flex;
		position: absolute;
		top: 250px;
		right: 0px;
		width: 130px;
		box-shadow: none;
		padding: 0;
		margin: 0;
	}

	.menu_item {
		margin-right: 0;
		margin-bottom: 3px;
		width: 130px;
	}

	.menu_selected {
		margin-bottom: 3px;
		margin-right: 0;
		width: 130px;
	}
}

/*ボタン　■■■■■■■■■■■■■■■■■■■■■■■■■*/

.button {
	font-size: 0.8rem;
	font-weight: 600;
    min-width: 80px;
    min-height: 32px;
    text-align: center;
    border-radius: 1px;
    color: #ffffff;
    background-color: #ffa620;
    padding-left: 5px;
    padding-right: 5px;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.3);
}

.button:hover {
    text-decoration: none;
    cursor: pointer;
    cursor: hand;
    background-color: rgba(255, 166, 32, 0.5);
}

.button:focus {
    text-decoration: none;
    cursor: pointer;
    cursor: hand;
    background-color: #ffa620; 
    outline: none; 
}

.button:active {
    background-color: #ff8c00; 
}

.button:focus-visible {
  background-color: #ffa620;
  opacity: 0.8;
  outline: none;
}

/*一覧のボタン　■■■■■■■■■■■■■■■■■■■■■■■■■*/

.list-btn {
	color: white;
	border: 0.5px solid #ccc;
	padding: 3px;
	font-size: 0.8rem;
	background-color: #ffa620;
	border-radius: 3px;
}

.list-btn:hover {
	text-decoration: none;
	cursor: pointer;
	cursor: hand;
	background-color: rgba(255, 166, 32, 0.5);
}

.list-btn:focus {
	text-decoration: none;
	cursor: pointer;
	cursor: hand;
	background-color: rgba(255, 166, 32, 0.5);
}

/*メッセージ　■■■■■■■■■■■■■■■■■■■■■■■■■*/

.error-msg {
	display: flex;
	align-items: center;
	justify-content: center;
	grid-gap: 0 .7em;
	margin: 0 auto;
	padding: 1em;
	border-radius: 5px;
	background-color: #ffebee;
	color: #333333;
}

.error-msg::before {
	width: 24px;
	height: 24px;
	content: '';
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12.8659 3.00017L22.3922 19.5002C22.6684 19.9785 22.5045 20.5901 22.0262 20.8662C21.8742 20.954 21.7017 21.0002 21.5262 21.0002H2.47363C1.92135 21.0002 1.47363 20.5525 1.47363 20.0002C1.47363 19.8246 1.51984 19.6522 1.60761 19.5002L11.1339 3.00017C11.41 2.52187 12.0216 2.358 12.4999 2.63414C12.6519 2.72191 12.7782 2.84815 12.8659 3.00017ZM10.9999 16.0002V18.0002H12.9999V16.0002H10.9999ZM10.9999 9.00017V14.0002H12.9999V9.00017H10.9999Z' fill='%23f06060'%3E%3C/path%3E%3C/svg%3E");
}

.error-msg p {
	margin: 0;
	padding: 0 0 0 .7em;
	border-left: 1px solid #f06060;
}


.complete-msg {
	display: flex;
	align-items: center;
	justify-content: center;
	grid-gap: 0 .7em;
	margin: 0 auto;
	padding: 1em;
	border-radius: 5px;
	background-color: #ecffe9;
	color: #333333;
}

.complete-msg::before {
	width: 16px;
	height: 8px;
	border-bottom: 3px solid #86d67c;
	border-left: 3px solid #86d67c;
	transform: rotate(-45deg) translate(2.5px, -2.5px);
	content: '';
}

.complete-msg p {
	margin: 0;
	padding: 0 0 0 .7em;
	border-left: 1px solid #86d67c;
}

/*アイコン　■■■■■■■■■■■■■■■■■■■■■■■■■*/

/****検索虫眼鏡******/
.dli-search {
	display: inline-block;
	vertical-align: middle;
	color: white;
	line-height: 1;
	width: 0.7em;
	height: 0.7em;
	border: 0.17em solid currentColor;
	border-radius: 50%;
	box-sizing: content-box;
	position: relative;
	font-weight: 700;
}

.dli-search::before {
	content: '';
	position: absolute;
	top: calc(85.35534% + 0.07071em);
	left: calc(85.35534% + 0.07071em);
	width: 0.336em;
	height: 0.1em;
	background: currentColor;
	border-radius: 0 0.1em 0.1em 0;
	transform: translateY(-50%) rotate(45deg);
	transform-origin: left center;
}

/****ログインユーザー******/
.dli-user-circle-fill {
	display: inline-block;
	vertical-align: middle;
	color: ghostwhite;
	line-height: 0.8;
	position: relative;
	width: 1em;
	height: 1em;
	border: 0.1em solid currentColor;
	border-radius: 50%;
	box-sizing: content-box;
	overflow: hidden;
	color: ghostwhite;
}

.dli-user-circle-fill>span {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	margin: auto;
	transform: translateY(-0.15em);
	/* 少し上に */
}

.dli-user-circle-fill>span::before,
.dli-user-circle-fill>span::after {
	content: '';
	display: block;
	margin: 0 auto;
	background: currentColor;
	box-sizing: border-box;
}

.dli-user-circle-fill>span::before {
	width: 0.425em;
	height: 0.425em;
	border-radius: 50%;
	margin-bottom: 0.05em;
}

.dli-user-circle-fill>span::after {
	width: 0.85em;
	height: 0.34em;
	border-bottom: 0;
	border-radius: 50% / 100% 100% 0 0;
}

/*その他　■■■■■■■■■■■■■■■■■■■■■■■■■*/

div.flex-c {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	justify-content: center;
}

div.flex-e {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	justify-content: flex-end;
}

div.flex-s {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	justify-content: flex-start;
}

div.flex-sb {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	justify-content: space-between;
}

input[readonly]:focus {
	outline: none;
	/* フォーカス時のアウトラインを消す */
}

span.red {
	color: #E60033;
}

span.orange {
	color: #fe7e01;
}

span.yellow {
	color: #FFF100;
}

span.blue {
	color: #33ccff;
}

.color-white {
	color: #fff;
}

.text-align-l {
	text-align: left;
}

.text-align-r {
	text-align: right;
}

.text-align-c {
	text-align: center;
}

.width-400-px {
	width: 400px;
}

.width-10-per {
	width: 10%;
}

.width-20-per {
	width: 20%;
}

.width-30-per {
	width: 30%;
}

.width-35-per {
	width: 35%;
}

.width-40-per {
	width: 40%;
}

.width-50-per {
	width: 50%;
}

.width-60-per {
	width: 60%;
}

.width-65-per {
	width: 65%;
}

.width-70-per {
	width: 70%;
}

.width-80-per {
	width: 80%;
}

.width-90-per {
	width: 90%;
}

.width-100-per {
	width: 100%;
}


.width-40-px {
	width: 40px;
}


.min-width-300-px {
	width: 300px;
}

.min-width-350-px {
	width: 350px;
}

.min-width-400-px {
	width: 400px;
}

.margin-t-10 {
	margin-top: 10px;
}

.margin-t-20 {
	margin-top: 20px;
}

.margin-t-30 {
	margin-top: 30px;
}

.margin-t-40 {
	margin-top: 40px;
}

.margin-t-50 {
	margin-top: 50px;
}

.margin-t-60 {
	margin-top: 60px;
}

.margin-l-10 {
	margin-left: 10px;
}

.margin-l-20 {
	margin-left: 20px;
}

.margin-l-30 {
	margin-left: 30px;
}

.margin-l-40 {
	margin-left: 40px;
}

.margin-l-50 {
	margin-left: 50px;
}

.margin-l-60 {
	margin-left: 60px;
}

.margin-r-10 {
	margin-right: 10px;
}

.margin-r-16 {
	margin-right: 16px;
}

.margin-r-17 {
	margin-right: 17px;
}

.margin-r-18 {
	margin-right: 18px;
}

.margin-r-19 {
	margin-right: 19px;
}

.margin-r-20 {
	margin-right: 20px;
}

.margin-r-30 {
	margin-right: 30px;
}

.margin-r-40 {
	margin-right: 40px;
}

.margin-r-50 {
	margin-right: 50px;
}

.margin-r-60 {
	margin-right: 60px;
}

.margin-b-10 {
	margin-bottom: 10px;
}

.margin-b-20 {
	margin-bottom: 20px;
}

.margin-b-30 {
	margin-bottom: 30px;
}

.margin-b-40 {
	margin-bottom: 40px;
}

.margin-b-50 {
	margin-bottom: 50px;
}

.margin-b-60 {
	margin-bottom: 60px;
}

/*ダイアログ確認用■■■■■■■■■■■■■■■■■■■■■■■■*/

/* ダイアログの基本スタイル */
.dialog {
	display: none;
	/* 初期状態では非表示 */
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: rgba(0, 0, 0, 0.5);
	/* 背景を薄く暗く */
	z-index: 1001;
	/* オーバーレイよりも上に表示 */
	width: 300px;
	padding: 20px;
	border-radius: 8px;
	z-index: 1000;
}

/* ダイアログ内のコンテンツ */
.dialog-content {
	background-color: #fff;
	padding: 20px;
	text-align: center;
	border-radius: 8px;
}

.dialog p {
	margin: 0 0 20px;
}

button.dialog-btn {
	padding: 10px 20px;
	margin: 5px;
	border-radius: 5px;
	cursor: pointer;
	border: none;
}

button#confirm_btn {
	background-color: #4CAF50;
	color: white;
}

button#cancel_btn {
	background-color: #f44336;
	color: white;
}

/* ボタンのホバー効果 */
button:hover {
	opacity: 0.8;
}

/*オーバーレイ*/
.overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	/* 半透明の黒 */
	z-index: 1000;
	/* ダイアログより前面に表示 */
	display: none;
	/* 初期状態で非表示 */
}