@charset "UTF-8";
@import url("grid.css");

body {
	font-family: 'Noto Sans JP', sans-serif;
}


:root {
	/* 色変更される場合は、#以降のカラーコードを変更してください IE非対応 */
	--base-color: #000;
	--link-color: #666;
	--linkhover-color: #fff;
	--back-color: #f9c7bd;
	--border-color: #ccc;
	--white-color: #fff;
}

* {
	overflow-wrap: break-word;
	word-wrap: break-word;
}

div.dt-container .dt-search {
	text-align: right;
	display: flex;
	align-items: center;
	justify-content: flex-end;
}






.resetcomment {
	font-size: 0.8em;
}

td.quote button {
	margin-bottom: 0;
}


img {
	max-width: 100%;
	height: auto;
	/*高さ自動*/
}

a {
	display: block;
	color: var(--base-color);
	text-decoration-line: none;
}

a:hover {
	/*color: var(--linkhover-color);*/
	opacity: 0.7;
}

.top .footer a.pbutton {
	background-color: #777;
	padding: 0.5em 1em;
	font-size: 0.9em;
}

.table_design .list a.paid {
	background-color: #ffd6d6;
	pointer-events: none;
	color: red;
	font-size: 16px;
	border-radius: 5px;
	border: 1px solid #666;
	padding: 0.5em 3em 0;
	height: 38px;
	min-width: 164px;

}


.registration_flow {
	margin-bottom: 0.5em;
}

.registration_flow ol {
	display: flex;
	justify-content: center;
	margin-bottom: 0;
	width: 1350px;
	margin: 0 auto;
}

.registration_flow ol span {
	/*margin: 0 auto;*/
	padding-top: 5px;
	/* 要素の上の余白調整 */
	width: 300px;
	/* 四角形の幅 */
	height: auto;
	/* 四角形の高さ */
	background: #fff;
	position: relative;
	border: 1px solid #ddd;
	display: inline-block;
	padding-top: 0;
	/* デフォルトがあれば0にする */
	margin-top: -0.3em;
	/* テキストだけ上に移動 */
}

.registration_flow ol li {
	margin: 0 0 0 4em;
	flex: 1;
	padding: 1.2em 1em;
	/* 上下の余白を減らす */
	width: 275px;
	color: #FF9589;
	line-height: 1.5;
	/* テキスト行の高さを狭める */
}

.registration_flow ol span:before {
	border-left: 26px solid #ddd;
	/* 右向きの三角形を作るため左のボーダーに色を付ける */
	border-top: 33px solid transparent;
	/* 上のボーダーを透過に指定 */
	border-bottom: 33px solid transparent;
	/* 下のボーダーを透過に指定 */
	content: "";
	position: absolute;
	left: 148px;
	/* 一旦中央へ寄せる */
	top: -1px;
	margin-left: 150px;
	/* 四角形の幅の半分右へ移動する */
}

.registration_flow ol span:after {
	border-left: 25px solid #fff;
	/* 右向きの三角形を作るため左のボーダーに色を付ける */
	border-top: 2em solid transparent;
	/* 上のボーダーを透過に指定 */
	border-bottom: 2em solid transparent;
	/* 下のボーダーを透過に指定 */
	content: "";
	position: absolute;
	left: 147px;
	/* 一旦中央へ寄せる */
	top: 0px;
	margin-left: 150px;
	/* 四角形の幅の半分右へ移動する */
}

.registration_flow ol span.current {
	font-weight: bold;
	background-color: #F1F1F1;
	color: var(--back-color);
}

.registration_flow ol span.current:after {
	border-left: 25px solid #F1F1F1;
}






.registration_flow ol span:nth-last-child(1) {
	z-index: 1;
}

.registration_flow ol span:nth-last-child(2) {
	z-index: 2;
}

.registration_flow ol span:nth-last-child(3) {
	z-index: 3;
}

.registration_flow ol span:nth-last-child(4) {
	z-index: 4;
}


.registration .cont {
	min-width: 1300px;
	width: 80%;
	margin: 0 auto;
	text-align: center;
}

.registration .cont a {
	display: block;
	margin: 2em auto 0;
}



.table_design .list a {
	background: #ccc;
	border: 1px solid #666;
	width: 9em;
	padding: 0.1em 0.3em;
	margin: 0 auto;
	border-radius: 6px;
}


a.postcode {
  background: linear-gradient(135deg, #8bc34a, #81c784); /* 優しいグリーン */
  padding: 0.4em 1em;      /* ← ボタンの高さ・幅を小さく */
  border-radius: 20px;     /* 丸みを強調してやさしい感じ */
  margin-left: -0.2em;
  margin-top: 5px;
  text-align: center;
  color: #fff;
  font-size: 0.8em;        /* 文字も少し小さめ */
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15); /* 控えめな影 */
  transition: all 0.25s ease-in-out;
  border: none;
}

/* ホバー時 */
a.postcode:hover {
  background: linear-gradient(135deg, #aed581, #9ccc65);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* 押した時 */
a.postcode:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}


.table_design .list a:hover {
	color: #aaa;
}


a img {
	margin-bottom: 1rem;
}

a img:hover {
	opacity: 0.8;
}

p {
	line-height: 200%;
}

.blueback {
	background-color: var(--back-color);
	color: var(--white-color);
	padding: 1rem;
}

.underline {
	border-bottom: 3px solid var(--back-color);
	padding-bottom: 0.5rem;
}

.center {
	text-align: center;
}

html {
	height: 100%;
}

html {
	min-height: 100%;
	/*height: auto !important;*/
	height: 100%;
}

body {
	position: relative;
	min-height: 100%;
}

.center {
	text-align: center;
	width: 100%;
}

h3,
h4 {
	font-weight: bold;
	font-size: 1.2em;
}

h3 span {
	margin-left: 1em;
	color: #ed2024;
}

.modaltop_explanation {
  margin-bottom: 1em;
  padding-bottom: 1em;
  border-bottom: 1px solid #efefef;
  text-align: center;   /* 中央揃え */
  margin-right: 61px;
}

.modaltop_explanation span {
  display: block;   /* 幅いっぱいに使う */
  color: red;
  font-weight: bold;
  text-decoration: underline;
}

.modaltop_explanation p {
	font-size: 0.9em;
	line-height: 1.8;
}

.modaltop .modal__content {
	/*max-height:25em;*/
	/*border:1px solid #ccc;*/
}
.modaltop_kakunin {
	width: 100%;
	text-align: center;
}
.modaltop_kakunin button {
	margin-top: 1em;
	color: #333;
}
.modal__content h3,
.modaltop_explanation h3 {
	font-weight: bold;
	font-size: 1.4em;
	background-color: #e3eef4;
	padding: 0.3em 0.6em;
}
.modal__content h4 {
	font-weight: bold;
	font-size: 1.2em;
}
.modal__content p {
	margin-left: 1em;
	margin-bottom: 0;
	font-size: 0.9em;
}
.modal__content div p {
	font-size: 0.8em;
	margin-left: 3em;
}

.modal__content div.xlsx_drop_area p {
	margin-left: 0;
}

.modal__content ol li {
	margin-bottom: 0;
	list-style-position: outside;
	font-size: 1em;
}

.modal__content ul li ul {
	padding-left: 1em;
	font-size: 1em;
}

.modal__content ul li ul li {
	list-style: disc;
	font-size: 0.9em;
}

.modal__content ul li ul.marumoji li {
	list-style: none;
	margin-bottom: 0;
	font-size: 0.9em;
	text-indent: -1.2em;
}

.modal__content ul li ul.dice {
	font-size: 0.9em;
	margin: 0;
	list-style-position: inside;
	margin-left: 1em;
}

.modal__content ul li ul.dice li {
	padding: 0;
}

.modal__content div.madoguchi ul {
	font-size: 0.9em;
	margin: 0;
}

.modal__content div.madoguchi ul li {
	/*list-style:none;*/
	padding: 0;
	list-style-position: inside;
	margin-left: 1em;
}

.modal__content div.madoguchi p {
	margin: 1em 1em;
}

.modal__content .right {
	width: 100%;
	text-align: right;
}

.modal__content a {
	display: inline-block;
	color: var(--back-color);
	font-weight: bold;
	text-decoration: underline;
}

.cancelbutton:hover {
	/*opacity:0.7;*/
}

.grapharea {
	overflow-y: auto;
	height: 95%;
	width: 80%;
	min-width: 600px;
	margin: 0 auto;
}

.graph_highstress {
	margin-left: 10%;
}

.graph_examinationrate {
	/*width:50%;*/
}

.graph_examinationrate h2,
.graph_highstress h2 {
	margin-bottom: 0;
}

.graph_cautionary {
	background-color: #fff;
	border: 1px solid #ccc;
	padding: 0.5em 1em;
}

.graph_cautionary p,
.graph_cautionary ul,
.graph_cautionary a,
.graph_cautionary span {
	font-size: 0.9em;
}

div.backbutton {
	width: 100%;
	/*text-align:center;*/
	text-align: right;
}


.downloadarea {
	display: flex;
	justify-content: center;
}

.downloadarea div {
	width: 30%;
	margin-right: 1em;
	margin-bottom: 1em;
	text-align: center;
}

.downloadarea img {
	border: 1px solid #ccc;
	width: 95%;
}

.downloadarea p {
	margin-bottom: 0.3em;
}

body.top main {
	background-image: url("../img/newregistration_background.png");
	background-repeat: no-repeat;
	background-size: cover;
}

body.top div.header {
	background: #fff;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1em 2em;
	min-width: 1300px;
}

body.top h1 {
	margin: 0;
	font-size: 4rem;
}

body.top h1 {
	color: var(--back-color);
	font-weight: bold;
	font-size: 6rem;
}

body.top h1 span,
.login_form_top h1 span {
	color: #999;
	font-size: 4rem;
	margin-left: 0.5em;
}

.head h1 span {
	font-size: 2.5rem;
}

body.top div.header ul {
	display: flex;
	list-style-type: none;
	margin: 0;
}

body.top div.header ul li {
	margin-left: 1em;
	margin-bottom: 0;
}

body.top div.header ul li a {
	/*background-color:var(--back-color);*/
	background-color: #e7f2fa;
	/*color:#fff;*/
	color: #005491;
	font-weight: bold;
	padding: 0.4em 0.8em;
	border-radius: 0.5em;
	line-height: 100%;
	border: 2px solid var(--back-color);
}

.button {
	background-color: #ccc;
	color: #000;
	margin-left: 0.5em;
	border-radius: 5px;
	border: 1px solid #666;
}

.button2 {
	background-color: #eee;
	color: #333;
	margin-left: auto;
	border-radius: 5px;
	border: 1px solid #666;
	font-size: 0.9em;
	font-weight: bold;
	padding: 0.5em 0.5em;
	height: 2em;
}

.button2:hover {
	color: #ccc;
	background-color: #efefef;
}

.note {
	font-size: 0.95em;
	line-height: 160%;
	margin-top: 0.5em;
}

.note a {
	color: var(--back-color);
	font-weight: bold;
}

p.red {
	color: red;
	margin-bottom: 1em;
}



/*ヘッダー
-------------------------------------*/
header {
	background-color: var(--back-color);
	position: absolute;
	left: 0;
	width: 20em;
	min-height: 910px;
	height: 100%;
	max-width: 350px;
}

.wrapper {
	display: flex;
	flex-direction: column;
	min-height: 100%;
}

.head {
	display: flex;
	flex-direction: row;
	padding: 1rem 0 0 0;
}

.head h1 {
	padding: 1rem 0 0;
	text-align: center;
	width: 100%;
	margin-bottom: 0.5rem;
	line-height: 80%;
}

.head h1 a {
	color: #fff;
	font-weight: bold;
	font-size: 3rem;
	margin-top: 0.2em;
}

.login .head h1 a:hover {
	opacity: 0.6;
}

.login_form_top h1 {
	color: var(--back-color);
	font-weight: bold;
	font-size: 3em;
}

.login h2 {
	text-align: center;
	padding-top: 1em;
	color: var(--back-color);
	font-weight: bold;
}

input[type="checkbox"] {
	width: auto;
	padding: 3px;
	margin: 5px 0;
}

.wrapper form {
	width: 100%;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	/* 自身のサイズの半分だけ移動して完全中央に */
}

.registration .wrapper form {
	margin: 0 auto;
	width: 100%;
	max-width: 1350px;
	position: static;
	transform: unset;
}

.telbox {
	margin-left: auto;
	font-size: 3.0rem;
	padding: 1rem 0 0 0;
}

.menu {
	background-color: var(--back-color);
	height: 80%;
	margin-bottom: 5em;
}



nav ul {
	/*display: flex;*/
	/*flex-direction: row;*/
	/*justify-content: space-around;*/
	list-style: none;
	margin-bottom: 0;
}

nav li {
	flex: 1 0 auto;
	margin-bottom: 0;
}

nav li a {
	text-decoration: none;
	color: var(--white-color);
	border: 2px solid #fff;
	border-radius: 0.8em;
	margin: 0.6em 0.3em 0;
	font-weight: bold;
	position: relative;
}

nav li.current a,
.sidemenu .current a {
	background-color: #fff;
	color: #fff;
}

nav li a span {
	position: absolute;
	top: 35%;
}

nav a:hover {
	background-color: var(--linkhover-color);
	color: var(--back-color);
}

nav a {
	padding: 1.8rem 1.8rem;
	display: block;
}









/* 左サイドのヘッダーのボタン部分のスタイル */

ul.header-nav li a {
	background-color: #f2aa9c;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	padding: 1.3em 0.8em;
	/* 上下の余白を少し減らす */
	font-size: 19px;
	line-height: 1.1;
	/* ← 行の高さを詰める */
	border-radius: 1.2em;
	/* ← ここを追加・強くする */
}

ul.header-nav li a:hover {
	background-color: #fff;
	opacity: 1;
	transform: translateY(-5px);
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* 通常/訪問済みは白文字 */
nav a:link,
nav a:visited {
	color: #fff;
}

/* ホバー時は“白いピル＋文字ピンク＋影”に */
nav a:hover,
nav a:focus-visible,
nav a:active {
	color: #f2aa9c;
	background: #fff;
	border-radius: 16px;
	/* ピル型 */
	box-shadow: 0 10px 18px rgba(242, 170, 156, .30);
	transform: translateY(-3px);
}

/* 影が切れていたら親のoverflowを解除 */
nav li {
	overflow: visible;
}

/* 選択中のタブを固定（hoverしても変えない） */
ul.header-nav li.current>a,
ul.header-nav li.current>a:hover,
ul.header-nav li.current>a:focus {
	background: #fff;
	color: #f2aa9c !important;
	/* ここで強制 */
	box-shadow: none;
	/* 浮かせないなら */
	transform: none;
	border-radius: 1.2em;
	/* ピル形維持（任意） */
}

/* もしSVGアイコンが白くなるなら併せて固定 */
ul.header-nav li.current>a svg,
ul.header-nav li.current>a svg * {
	fill: #f2aa9c !important;
}




/* アイコンの箱（通常/hover/current すべてで同じ） */
ul.header-nav li:nth-child(1) a::before,
ul.header-nav li:nth-child(1) a:hover::before,
ul.header-nav li:nth-child(1).current>a::before {
	display: inline-block;
	width: 20px;
	/* アイコン実寸を固定 */
	height: 20px;
	margin-right: 1em;
	/* ← ここが消えていたので明示 */
	vertical-align: middle;
	/* ベースライン調整 */
}

/* 画像だけを差し替える */
ul.header-nav li:nth-child(1) a::before {
	content: url("../img/icon01-01.svg");
}

ul.header-nav li:nth-child(1) a:hover::before,
ul.header-nav li:nth-child(1).current>a::before {
	content: url("../img/icon01-01-p.svg");
}





/* アイコンの箱（通常/hover/current すべてで同じ） */
ul.header-nav li:nth-child(2) a::before,
ul.header-nav li:nth-child(2) a:hover::before,
ul.header-nav li:nth-child(2).current>a::before {
	display: inline-block;
	width: 20px;
	/* アイコン実寸を固定 */
	height: 20px;
	margin-right: 1em;
	/* ← ここが消えていたので明示 */
	vertical-align: middle;
	/* ベースライン調整 */
}

/* 画像だけを差し替える */
ul.header-nav li:nth-child(2) a::before {
	content: url("../img/icon01-02.svg");
}

ul.header-nav li:nth-child(2) a:hover::before,
ul.header-nav li:nth-child(2).current>a::before {
	content: url("../img/icon01-02-p.svg");
}





/* アイコンの箱（通常/hover/current すべてで同じ） */
ul.header-nav li:nth-child(3) a::before,
ul.header-nav li:nth-child(3) a:hover::before,
ul.header-nav li:nth-child(3).current>a::before {
	display: inline-block;
	width: 20px;
	/* アイコン実寸を固定 */
	height: 20px;
	margin-right: 1em;
	/* ← ここが消えていたので明示 */
	vertical-align: middle;
	/* ベースライン調整 */
}

/* 画像だけを差し替える */
ul.header-nav li:nth-child(3) a::before {
	content: url("../img/icon01-03.svg");
}

ul.header-nav li:nth-child(3) a:hover::before,
ul.header-nav li:nth-child(3).current>a::before {
	content: url("../img/icon01-03-p.svg");
}






/* アイコンの箱（通常/hover/current すべてで同じ） */
ul.header-nav li:nth-child(4) a::before,
ul.header-nav li:nth-child(4) a:hover::before,
ul.header-nav li:nth-child(4).current>a::before {
	display: inline-block;
	width: 20px;
	/* アイコン実寸を固定 */
	height: 20px;
	margin-right: 1em;
	/* ← ここが消えていたので明示 */
	vertical-align: middle;
	/* ベースライン調整 */
}

/* 画像だけを差し替える */
ul.header-nav li:nth-child(4) a::before {
	content: url("../img/icon01-04.svg");
}

ul.header-nav li:nth-child(4) a:hover::before,
ul.header-nav li:nth-child(4).current>a::before {
	content: url("../img/icon01-04-p.svg");
}





/* アイコンの箱（通常/hover/current すべてで同じ） */
ul.header-nav li:nth-child(5) a::before,
ul.header-nav li:nth-child(5) a:hover::before,
ul.header-nav li:nth-child(5).current>a::before {
	display: inline-block;
	width: 20px;
	/* アイコン実寸を固定 */
	height: 20px;
	margin-right: 1em;
	/* ← ここが消えていたので明示 */
	vertical-align: middle;
	/* ベースライン調整 */
}

/* 画像だけを差し替える */
ul.header-nav li:nth-child(5) a::before {
	content: url("../img/icon01-05.svg");
}

ul.header-nav li:nth-child(5) a:hover::before,
ul.header-nav li:nth-child(5).current>a::before {
	content: url("../img/icon01-05-p.svg");
}







/* アイコンの箱（通常/hover/current すべてで同じ） */
ul.header-nav li:nth-child(6) a::before,
ul.header-nav li:nth-child(6) a:hover::before,
ul.header-nav li:nth-child(6).current>a::before {
	display: inline-block;
	width: 20px;
	/* アイコン実寸を固定 */
	height: 20px;
	margin-right: 1em;
	/* ← ここが消えていたので明示 */
	vertical-align: middle;
	/* ベースライン調整 */
}

/* 画像だけを差し替える */
ul.header-nav li:nth-child(6) a::before {
	content: url("../img/icon01-06.svg");
}

ul.header-nav li:nth-child(6) a:hover::before,
ul.header-nav li:nth-child(6).current>a::before {
	content: url("../img/icon01-06-p.svg");
}





@media screen and (min-width: 768px) {

	/* PC時はMENUボタンを非表示 */
	#open,
	#close {
		display: none !important;
	}

	#navi {
		display: block !important;
	}
}

@media screen and (max-width: 768px) {
	.head {
		flex-direction: column;
		text-align: left;
		margin-bottom: 20px;
	}

	.telbox {
		margin-left: 0;
		text-align: center;
	}

	.head #open,
	#close {
		position: absolute;
		top: 20px;
		right: 12px;
	}

	nav ul {
		flex-direction: column;
	}

	/*nav li {
	padding-top: 0;
	border-bottom: 1px solid var(--border-color);
	margin-bottom: 0;
}*/
	/* スマホ時はMENUボタンを表示 */
	#open {
		display: block;
		background: url(../img/button.png);
		background-repeat: no-repeat;
		background-size: contain;
		width: 50px;
		height: 50px;
		border: none;
		position: absolute;
		top: 20px;
		right: 12px;
	}

	#close {
		display: block;
		background: url(../img/button2.png);
		background-repeat: no-repeat;
		background-size: contain;
		width: 50px;
		height: 50px;
		border: none;
		position: absolute;
		top: 20px;
		right: 12px;
	}

	/* スマホ時はメニューを非表示 */
	/*#navi {
    display: none;
}*/
}

/*メイン画像
-------------------------------------*/
.mainimg img {
	width: 100vw;
}

/*メインコンテンツ
-------------------------------------*/
form {
	text-align: center;
	margin-bottom: 0;
}

.login form a {
	display: inline-block;
	/*color:var(--back-color);*/
	text-decoration: underline;
}

.login form a.postcode {
	text-decoration: none;
}

.login form a.kiyaku,
.login form a.button {
	text-decoration: none;
}

.login form button a {
	color: #333;
	text-decoration: none;
}

.passwordlink {
	margin-top: 1.9em;
	margin-bottom: 0.3em;
	text-align: center;
	font-size: 0.7em;
}

.passwordlink a {
	color: #FF9589;
	/* 青色 */
	text-decoration: none;
	font-weight: bold;
	transition: color 0.3s, text-decoration 0.3s;
}

.passwordlink a:hover {
	color: #FF9589;
	/* ホバー時に濃い青 */
	text-decoration: underline;
}


/*プライバシーポリシーの編集
-------------------------------------*/

.note {
	font-size: 0.85em;
	color: #555;
	line-height: 1.6;
	text-align: center;
	margin: 2em 0 1em;
}

.note a {
	color: #FF9589;
	/* ブルー系リンク */
	text-decoration: underline;
	font-weight: bold;
	transition: color 0.3s;
}

.note a:hover {
	color: #FF9589;
}



/*ログインボタンの編集
-------------------------------------*/
.login_form_btm {
	padding: 10px 0;
	background-color: #F7F7F7;
	margin: 10px 0;
}

.login .login_form_btm {
	background-color: #fff;
}

.login_form_btm input {
	border: 1px solid #ccc;
	height: 38px;
	padding: 6px 10px;
	border-radius: 5px;
	width: 18em;
}

.login_form_btm input:focus {
	border: 2px solid #000;
	border-radius: 5px;
}



p.logincheckbox {
	margin-bottom: 0;
	line-height: 120%;
}

p.logincheckbox label {
	display: inline;
	font-weight: normal;
	font-size: 0.8em;
}

p.logincheckbox input {
	width: auto;
}

.login button.login {
	background-color: #ccc;
	font-size: 1.2em;
	height: 2.5em;
	width: 10em;
}

.login button:hover,
.login button a:hover {
	color: #efefef;
}

.login .backbutton {
	text-align: center;
}

.login .backbutton button {
	background-color: #fff;
}

input {
	width: 200px;
	padding: 3px;
	margin: 5px 0;
	margin-right: 0.5em;
}

label,
input {
	margin-left: 1em;
}

.modal__content input {
	margin-left: 0;
}

main {
	margin-left: 17em;
	margin-right: 1em;
	/*width:100%;*/
	height: 100%;
	height: 100vh;
}

.login main {
	margin-left: 0;
	margin-right: 0;
	height: 100vh;
	min-height: 100%;
}

.login .wrapper {
	min-width: 1300px;
	display: block;
	height: 100%;
	position: relative;
}

.officeinfo {
	padding: 0.5em 1em 0.5em 1em;
	font-size: 1.1em;
	margin-top: -0.2em;
}

.selectoffice {
	margin-bottom: -4em;
	/* ← -4emから少し浅くして、近づけすぎないように調整 */
}

.enddate {
	display: flex;
	align-items: center;
	gap: 0.2em;
	/* ← 文字間の余白を少し詰める */
}

.datetitle {
	font-weight: 570;
	/* bold と同じ太さ */
	font-size: 1.3em;
	margin: 0;
	margin-top: -0.4em;
	/* ← 日付タイトルを少し下に */
	margin-bottom: 0.8em;
	/* ← 日付タイトルを少し下に */
	color: #666666;
}

.date {
	color: #e64848;
	font-weight: 570;
	/* bold と同じ太さ */
	font-size: 1.4em;
	margin: 0;
	margin-top: -0.4em;
	/* ← 赤い文字も一緒に下に */
	margin-bottom: 0.8em;
	/* ← 日付タイトルを少し下に */
}

main .subheader {
	display: flex;
	/*padding-top:0.5em;*/
}

.explanation1 {
	display: flex;
	align-items: flex-start;
	width: 100%;
	margin-top: 1em;
}

.explanation1 a {
	margin-left: auto;
}

main .subheader .submenu {
	margin-left: auto;
}

.submenu ul {
	display: flex;
	justify-content: right;
	list-style: none;
	margin-top: 1.4em;
	margin-bottom: 0;
}

/* 上部メニュー（ボタンっぽく） */
.submenu ul li a {
	margin-left: 1em;
	background-color: #fff;
	border: 1px solid #cecece;
	color: #666666;
	min-width: 9em;
	text-align: center;
	padding: 0.3em 1em;
	margin-top: -13px;
	font-size: 0.7em;
	font-weight: 500;
	/* bold と同じ太さ */
	border-radius: 4px;
	transition: all 0.3s ease;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* ホバー効果（上部メニュー用） */
.submenu ul li a:hover {
	background-color: #f2aa9c;
	color: #fff;
	border-color: #f2aa9c;
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* 下3つのリンクは今まで通りシンプルなまま */
.submenu ul.cascademenu li a {
	background-color: transparent;
	border: none;
	color: #666666;
	text-decoration: underline;
	min-width: auto;
	text-align: right;
	padding: 0 0.1em;
	font-size: 0.7em;
	margin-top: -30px;
}

.flow ul {
	display: flex;
	flex-direction: row;
	justify-content: center;
	list-style-type: none;
	width: 100%;
	height: 185px;
	margin-bottom: 0;
	margin-top: 1em;
}

.contentsarea a.border {
	border: 1px solid #ccc;
	display: inline-block;
}

.flow ul li p span {
	display: none;
}

.selectoffice select {
	margin-left: 1em;
	border-radius: 0.5em;
}

.selectoffice {
	display: inline-flex;
	align-items: center;
	position: relative;
}

/*.selectoffice::after {
    position: absolute;
top:1.5em;
    right: 15px;
    width: 10px;
    height: 7px;
    background-color: #535353;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    content: '';
    pointer-events: none;
}*/
.selectoffice p {
	font-weight: bold;
}

.selectoffice select {
	appearance: none;
	min-width: 25vw;
	height: 2.8em;
	padding: .4em calc(.8em + 30px) .4em .8em;
	border: 1px solid #d0d0d0;
	border-radius: 0.5em;
	background-color: #fff;
	color: #333333;
	font-size: 1em;
	cursor: pointer;
}

.contents {
	min-height: 80vh;
}

body.contents .contents {
	min-height: 80%;
}

.registration section {
	height: 100%;
}

body.contents section.contents .contentsarea {
	width: 100%;
	min-height: 35em;
	/*overflow: auto;*/
	overflow: hidden;
}



.emphasis {
	font-weight: bold;
	padding: 1em;
	-webkit-text-stroke: 3px #fff;
	text-stroke: 3px #fff;
	/*縁取り文字や袋文字*/
	paint-order: stroke;
	margin-bottom: 0;
}

p.emphasis,
div.emphasis {
	/*line-height:0%;*/
	padding-top: 6em;
	font-size: 1.5em;
	color: #FF9589;
}

.login p.emphasis {
	padding-top: 4em;
	line-height: 0%;
	font-size: 2.5em;
	color: var(--back-color);
}



.flow00 {
	background-image: url("../img/img00.png");
}

.flow01 {
	background-image: url("../img/img01.png");
}

.flow02 {
	background-image: url("../img/img02.png");
}

.flow03 {
	background-image: url("../img/img03.png");
}

.flow04 {
	background-image: url("../img/img04.png");
}

.flow05 {
	background-image: url("../img/img05.png");
}

.flow06 {
	background-image: url("../img/img06.png");
}

.flow00-2 {
	background-image: url("../img/img00-2.png");
}

.flow00-3 {
	background-image: url("../img/img00-3.png");
}

.flow00-4 {
	background-image: url("../img/img00-4.png");
}

.flow00-5 {
	background-image: url("../img/img00-5.png");
}

.flow00-6 {
	background-image: url("../img/img00-6.png");
}



.contentsarea {
	height: 19em;
	background-color: rgba(255, 255, 255, 0.8);
	background-blend-mode: lighten;
	background-position: center;
	background-repeat: no-repeat;
	background-size: 530px;
	margin-bottom: 0;
}

.none a {
	opacity: 0.3;
	pointer-events: none;
}

.table-scroll {
	/*overflow-x: auto;*/
	overflow: auto;
	height: 29em;
}

.flow00 .table-scroll {
	overflow-x: auto;
	height: auto;
}

.flow00 .info_table input {
	width: 100%;
	min-width: auto;
}

.flow00 .info_table input#tel,
.flow00 .info_table input#postcode {
	font-size: 1.3em;
	color: #FF9589;
}

thead {
	position: sticky;
	top: 0;
	padding-top: 1em;
	z-index: 4;
	border-top: 2px solid var(--base-color);
}

.table_design .list a {
	background: #ccc;
	border: 1px solid #666;
	width: 9em;
	padding: 0.3em 0.5em;
	margin: 0 auto;
	border-radius: 6px;
}

.table_design .list a:hover {
	color: #aaa;
}

main button {
	color: #000;
	background-color: #ccc;
	margin-left: 0.5em;
	border-radius: 5px;
	border: 1px solid #666;
}

main button:hover {
	color: #aaa;
	opacity: 0.7;
}

main button.incapable {
	pointer-events: none;
	opacity: 0.3;
}

.table_design {
	border-collapse: collapse;
	min-width: 700px;
	width: 100%;
	font-weight: bold;
	text-align: center;
}

.table_design th,
.table_design td {
	padding: .5em 1em;
	text-align: center;
	background-color: #fff;
}

.table_design td {
	border: 1px solid #ccc;
}

.table_design th {
	background: var(--back-color);
	color: #fff;
	border-right: 2px solid #fff;
	/*border-top: 2px solid var(--back-color);*/
}

.table_design th:last-of-type {
	border-right: 2px solid var(--back-color);
}

.table_design th:hover {
	cursor: pointer;
	background: #52a8e9;
}

.table_design input[type="checkbox"] {
	width: 1em;
	height: 1em;
	border: 1px solid #000;
	vertical-align: -5px;
}

.checkbox {
	display: flex;
}

.checkbox label {
	font-size: 0.7em;
	margin-bottom: 0;
	margin-left: 0.5em;
}

.checkbox input {
	margin-left: 1em;
}

.table_design tbody tr th:nth-child(4) {
	min-width: 15em;
}



.info_table {
	background-color: #fff;
	/*border:1px solid #ccc;*/
	width: 80%;
	margin: 0 auto;
}

.flow00 .info_table {
	background-color: #fff;
	width: 80%;
	margin: 0 auto;
}

.info_table tr {
	border: 0.3em solid #fff;
}

.info_table th {
	background-color: #ddd;
	width: 15em;
	min-width: 200px;
	padding: 1em;
	border: 0;
}

.info_table td {
	padding: 0.3em 1em;
	border: 0;
	/*align-items: center;*/
	vertical-align: middle;
}

.info_table input {
	width: 100%;
	/*min-width:600px;*/
}

.info_table label {
	/*width:12em;*/
	min-width: 150px;
	font-size: 0.75em;
	text-align: right;
	margin-right: 1em;
	margin-top: 0.8em;
}

#postcode {
	max-width: 20em;
}

.info_table select {
	width: 100%;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	margin-left: 1em;
	font-size: 0.9em;
}




.selectbox_area {
	position: relative;
	margin: 0em 0em 0em 0em;
	float: left;
	min-width: 15em;

}

/* セレクトボックス項目の後に"▼"を追加 */
.selectbox_area::after {
	pointer-events: none;
	/*矢印部分をクリックを可能にする*/
	position: absolute;
	color: #999;
	top: 50%;
	right: 0.5em;
	transform: translateY(-50%);
	/*▼を上に移動*/
	content: "▼";
}

.input {
	display: flex;
	align-items: flex-start;
}

label.required:after {
	content: "*";
	color: red;
}

.required span {
	background-color: red;
	color: #fff;
	font-weight: bold;
	font-size: 0.6em;
	padding: 0.1em 0.1em 0;
	min-width: 45px;
	/*height:2em;*/
	text-align: center;
	display: block;
	border-radius: 0.5em;
	margin-top: 0.8em;
}

.required span:after {
	content: "";
}

.required input,
.required select {
	background-color: #ffe8e8;
}

form p.req {
	text-align: left;
	width: 80%;
	margin: 0 auto -0.5em;
	color: red;
	font-weight: bold;
	font-size: 0.7em;
	display: block;
}

.submitarea {
	display: flex;
	justify-content: flex-end;
	/*align-items: flex-start;*/
	align-items: center;
}

.submitarea a.kiyaku {
	background-color: #666;
	color: #fff;
	margin-right: 0.5em;
	padding: 0 1.5em;
	font-weight: bold;
	font-size: 0.7em;
	border-radius: 0.5em;
	margin-bottom: 0;
	line-height: 160%;
	height: auto;
}

.submitarea a.kiyaku:hover {
	opacity: 0.7;
	color: #999;
}

.submitarea label {
	font-weight: normal;
}

/* フィルター機能 */
#test-filterInput {
	margin-bottom: 10px;
	padding: 8px;
	width: 20em;
	box-sizing: border-box;
}

.sort.desc:after {
	content: "▼";
}

.sort.asc:after {
	content: "▲";
}

.attention2 {
	color: #999;
	font-size: 0.7em;
	margin-right: 1em;
}

.attention2 p {
	margin-bottom: 0;
	margin-left: -0.2em;
	line-height: 100%;
}

.topposition {
	/*margin-top:-2em;*/
}

.contentsarea .downloadbutton {
	margin-bottom: 0;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	/* ← 高さ揃える */
	flex-wrap: nowrap;
	/* ← 折り返さないように明示 */
	gap: 2em;
	/* ← 左右に余白が欲しい場合 */
}

.downloadbutton {
	width: auto;
	background-color: #fff;
	/*position: sticky;*/
	/*top: 0;*/
	padding-top: 0.5em;
}

button.mainbutton,
a.mainbutton {
	background-color: #fff6f5;
	border: 3px solid #FF9589;
	font-size: 1.6em;
	margin-bottom: 28px;
	padding: 0.4em;
	height: auto;
	min-width: 10em;
	color: #FF9589;
	margin-left: 0.7em;
	border-radius: 11px;
	text-align: center;
	font-weight: bold;
	transition: all 0.3s ease;
}

a.mainbutton {
	max-width: 10em;
	padding: 0.8em 0.5em;
}

button.mainbutton:hover,
a.mainbutton:hover {
	background-color: #fff;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
	opacity: 1;
	color: #FF9589 !important;
}

button.mainbutton:disabled {
	opacity: 0.5;
	cursor: not-allowed;
	background-color: #eee;
	color: #aaa;
}


.estimate-note {
	font-size: 22px;
	font-weight: bold;
	color: #FF9589;
	margin-bottom: 0.4em;
	margin-left: 0.7em;
	margin-top: -15px;
	margin-bottom: 5px;
	line-height: 1.6;
}

/* リンクボタン */
.link-button {
	background-color: #fff;
	color: #333;
	font-weight: bold;
	font-size: 19px;
	margin-top: -3.2em;
	border: 1px solid #b3b3b3;
	padding: 0.4em 1.3em;
	border-radius: 9px;
	text-decoration: none;
	display: inline-block;
	transition: all 0.3s ease;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.link-button:hover {
	background-color: #f2aa9c;
	color: #fff;
	border-color: #f2aa9c;
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}









tbody.list {
	overflow-x: auto;
}

.contentsarea div.search {
	text-align: right;
	margin-bottom: 0;
	position: relative;
}

.contentsarea div.search input {
	position: absolute;
	bottom: 0;
	right: 0;
}

.explanation {
	padding-top: 1em;
}

.graph_aging {
	display: flex;
}

.graph_aging div {
	flex: 1;
	margin-right: 2em;
}

.graph {
	/*display:flex;*/
	/*justify-content:center;*/
}

.graph .graph_analysis {
	max-width: 570px;
}

.graph1 {
	display: flex;
}

.graph1 .graph_analysis {
	max-width: 650px;
}

.graph2 .graph_analysis h2 {
	width: 100%;
	/*margin:0 auto 1em;*/
}

.graph3 {
	width: 100%;
	margin-top: 1em
}

.graph3 .graph_analysis {
	margin: 0 auto;
	margin-bottom: 1em;
}

.graph_doughnut_chart {
	width: 400px;
}

.graph_chart {
	width: 100%;
	max-width: 600px;
}

.contents h2 {
	font-size: 1.2em;
	font-weight: bold;
	width: 100%;
	background-color: #e3eef4;
	padding: 0.5em;
}

.graph2 {
	/*	margin-top:2em;*/
}

.graph_scatter {
	display: flex;
	/*justify-content:center;*/
}

.graph_scatter div.shudanlist {
	/*text-align:center;*/
	width: 35%;
}

div.shudanlist table {
	background-color: #fff;
	width: 100%;
	font-size: 0.9em;
	border: 1px solid #333;
}

div.shudanlist table span {
	font-size: 60%;
}

div.shudanlist table tr,
div.shudanlist table td,
div.shudanlist table th {
	border: 1px solid #333;
	text-align: center;
}

div.shudanlist table th {
	padding: 0 0.5em;
	background-color: #90ee90;
}

div.shudanlist table .yellow {
	background-color: #ffffe0;
}

div.shudanlist table td,
div.shudanlist table th {
	padding: 5px;
}

div.shudanimg2 {
	margin-right: 5%;
}

.graph_scatter img {
	vertical-align: top;
	max-width: 340px;
}

.graph_examinationrate,
.graph_doughnut_chart {
	margin-right: 1em;
}

.download_area {
	display: flex;
	justify-content: center;
	align-items: center;
}

.download_area select,
.download_area a {
	width: 30%;
	margin: 0.2em 0.5em;
	border: 2px solid var(--back-color);
	text-align: center;
	border-radius: 0.6em;
	font-weight: bold;
	/*color:var(--back-color);*/
}

.download_area select {
	/*background:var(--back-color);*/
	/*color:#fff;*/
}

.download_area select:hover {
	opacity: 0.5;
}

.download_area a {
	padding: 4px 10px;
	background: #e7f2fa;
	color: #005491;
}





.download_area a:hover {}

/* セレクトボックスのフォーカス時のブラウザが付加する枠線を非表示 */
:focus {
	outline: none;
}

/* ::after要素をabsoluteで表示するために記載 */
.download_area {
	position: relative;
	margin: 0em 0em 0em 0em;
}

.download_area select:hover {
	cursor: pointer;
}

.date_selectbox {
	/*元々の<select>のスタイルを削除 */
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	/*background:#e7f2fa;*/
	background-color: var(--back-color);
	color: #fff;
}



/*新着情報
-------------------------------------*/
.news h2 {
	background-color: var(--back-color);
	color: var(--white-color);
	padding: 1rem;
}

.news li {
	list-style-type: none;
	border-bottom: 1px solid var(--border-color);
	padding: 0.5rem 0;
}




/*フッター
-------------------------------------*/
footer {
	background-color: var(--back-color);
	padding: 5rem 0;
	color: var(--white-color);
}

footer h5 {
	border-bottom: 2px solid var(--white-color);
}

.footer {
	text-align: center;
	background-color: var(--back-color);
	color: #fff;
	width: 100%;
	position: sticky;
	top: 100vh;
}

.login .footer {
	/*position:absolute;*/
	/*bottom:0;*/
	width: 100%;
	min-width: 1300px;
}

.login .footer p {
	padding-top: 0.5em;
	padding-bottom: 0.5em;
	margin-bottom: 0;
}

.top .footer {
	background-color: transparent;
	text-align: right;
	min-width: 1300px;
}

.top .footer a {
	background-color: var(--back-color);
	width: auto;
	display: inline-block;
	color: #fff;
	font-weight: bold;
	padding: 0.7em 1em;
	border-radius: 0.7em;
	border: 1px solid #fff;
	margin-bottom: 1em;
	margin-right: 1em;
}

.top .footer a:hover {
	background-color: #73c1fb;
	opacity: 1;
}



/*コピーライト、フッターエリア
-------------------------------------*/
.copyright {
	text-align: center;
	padding: 0;
	margin-top: 2em;
	/*background-color: var(--white-color);*/
	width: 100%;
	position: absolute;
	bottom: 0;
	color: #fff;
}

.copyright p {
	border-top: 1px solid #fff;
	margin-top: 0.5em;
	padding-top: 1em;
	margin-bottom: 0.5em;
}

.copyright a {
	color: #fff;
	display: inline-block;
}

.sidemenu a {
	display: block;
	background-color: #f2aa9c;
	border: 2px solid #fff;
	border-radius: 20px;
	margin: 0.6em 0.3em 0;
	font-weight: bold;
	color: var(--white-color);
	font-size: 18px;
	line-height: 1.1;
	text-decoration: none;
	padding: 1.3em 0.9em 1.3em 2.7em;
	text-align: left;
	transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
}








/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop {
	position: fixed;
	bottom: 15px;
	right: 15px;
}

#pagetop a {
	display: block;
	background: var(--back-color);
	color: var(--white-color);
	width: 50px;
	padding: 10px 5px;
	text-align: center;
	font-size: 0.7em;
}

#pagetop a:hover {
	background: var(--back-color);
}

/*パンくずリスト
-----------------------------------*/
.breadcrumb {
	margin: 0 0 1em 0;
	padding: 0;
}

.breadcrumb li {
	list-style-type: none;
}

.breadcrumb li a {
	display: inline-block;
	color: var(--link-color);
}











.layernone {
	display: none;
}

.layer {
	/*background: rgba(0, 0, 0, .2);*/
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 5;
	opacity: 0;
	visibility: hidden;
	/*transition: opacity 1s linear, visibility 1s linear, z-index 1s linear;*/
}

.layer.is-open {
	/*z-index: 999;*/
	opacity: 1;
	/*visibility: visible;*/
	/*overflow-y:auto;*/
}

.layer.is-open .modal {
	opacity: 1;
	visibility: visible;
}

.modal__button-wrap {
	position: absolute;
	right: -10px;
	top: -20px;
	display: inline-flex;
}

button.close-button {
	position: relative;
	width: 39px;
	height: 39px;
	background: #333;
	border-radius: 50%;
	padding: 0;
	border: transparent;
	cursor: pointer;
}

button.close-button span {
	width: 25px;
	height: 2px;
	background: #fff;
	display: inline-block;
	position: absolute;
	left: calc(50% - 12px);
	top: 50%;
	border-radius: 20px;
}

button.close-button span:nth-child(1) {
	transform: rotate(45deg) translate(-1px, -1px);
}

button.close-button span:nth-child(2) {
	transform: rotate(-45deg) translate(1px, -1px);
}

.modal {
	position: relative;
	margin-right: auto;
	margin-left: auto;
	width: 60%;
	min-width: 440px;
	opacity: 0;
	visibility: hidden;
	/*transition:  visibility .7s linear, opacity .7s linear;*/
}

.modal__inner {
	margin-top: 125px;
	margin-bottom: 125px;
	position: relative;
	margin-left: auto;
	margin-right: auto;
	background: #fff;
	box-shadow: 3px 4px 4px rgba(0, 0, 0, 0.25);
	border-radius: 13px;
	display: block;
	padding: 21px 8px 21px;
	height: auto;
}

.modal__content {
	padding-top: 15px;
	padding-bottom: 23px;
	max-height: 70vh;
	padding: 0.5em 3em;
	font-size: 1em;
}

.modal__content ul {
	list-style: none;
}

.modal__content ul.waku {
	height: 43vh;
	display: block;
	overflow-y: scroll;
	border: 1px solid #ccc;
	margin-bottom: 0.5em;
}

.modal__content ul li {
	padding: 0.5em;
}

.modal__content ul li span {
	color: red;
	font-weight: bold;
	text-decoration: underline;
}

.modal__content ul li h4 {
	font-weight: bold;
	/*font-size:1em;*/
	margin-bottom: 0.5em;
}

.modal__content ul li h5 {
	font-weight: bold;
	font-size: 1em;
	margin: 1em 0.5em 0;
}

.modal__content ul li label {
	display: inline-block;
	width: 5em;
}

.modal__content ul li input {
	width: 30em;
}

.modal__content ul li select {
	width: 10em;
}

.modal__content ul.list {
	list-style: circle;
	margin-left: 3em;
}

.modal__content ul.list li {
	padding: 0;
}

.modal__content ul.list a,
.modal__content ul.list span {
	display: inline;
}

.modal__content ul.list span,
.precautions span {
	color: var(--back-color);
	font-weight: bold;
}

.modal__content ul.list a {
	color: var(--back-color);
	font-weight: bold;
	text-decoration: underline;
}

.modal__button-area {
	max-width: 843px;
	margin-right: auto;
	margin-left: auto;
	margin-top: 17px;
	padding-top: 15px;
}

button.okbutton {
	background-color: var(--back-color);
	color: #fff;
}

button.okbutton:hover {
	opacity: 0.7;
	color: #fff;
}

table.dataTable {
	text-align: center;
}

@media screen and (max-width: 1600px) {
	.flow ul li:nth-child(6) {
		background-size: 100%;
	}

	.home p.datetitle,
	.datetitle {
		font-size: 0.8em;
	}

	.home p.emphasis {
		font-size: 1.25em;
	}

	p.emphasis,
	div.emphasis {
		font-size: 1.25em;
	}

	.downloadarea div.sampleimg {
		width: 40%;
	}

	.flow ul li p {
		height: 162px;
		min-height: 162px;
	}

	.flow ul li {
		min-width: 135px;
	}

	.graph_doughnut_chart {
		width: 300px;
	}

	.graph_chart {
		width: auto;
		max-width: 500px;
	}

	.graph1 .graph_analysis {
		max-width: 600px;
	}

	.graph_scatter img {
		max-width: 310px;
		width: 100%;
	}

	div.shudanlist table {
		font-size: 0.9em;
	}


	.graph1 {
		width: 100%;
	}

	.graph2 .graph_analysis h2 {
		width: 100%;
		/*margin:0 auto 1em;*/
	}

	.graph3 {
		width: 100%;
	}

	.downloadarea div {
		width: 50%;
	}

	.download_area select,
	.download_area a {
		font-size: 0.8em;
	}

	.flow ul li {
		margin: 0 1em;
	}

	.attention {
		font-size: 0.8em;
	}

	button.mainbutton,
	a.mainbutton {
		font-size: 1em;
		min-width: 10em;
	}

	.enddate p.date {
		font-size: 1.7em;
	}

	.contentsarea div.search input {
		height: 1.4em;
		font-size: 0.8em;
	}

	.table_design {
		font-size: 0.75em;
	}

	.attention2,
	a.postcode {
		font-size: 0.6em;
		width: 11em;
	}

	a.postcode {
		margin-left: auto;
	}

	.flow00 .info_table {
		width: 98%;
	}

	.info_table th {
		font-size: 0.8em;
	}

	#postcode {
		font-size: 1.4em;
		width: 12em;
	}

	.contentsarea div.cont p {
		font-size: 0.6em;
	}

	.info_table label {
		font-size: 0.7em;
		min-width: 140px;
		margin-right: 0;
	}

	.info_table th {
		width: 9em;
	}

	.info_table td {
		padding: 0.3em 0.5em;
	}

	form p.req {
		width: auto;
	}

	.flow00 .info_table input {
		font-size: 1em;
	}

	.flow00 .info_table input#tel {
		font-size: 1.3em;
	}
}


@media screen and (max-height: 600px) {
	.wrapper form {
		position: static;
		transform: none;
	}

	.login .footer {
		position: static;
	}

	.modal__inner {
		margin-top: 0;
	}

}

@media screen and (max-height: 750px) {

	.modal__inner {
		margin-top: 5%;
	}

}


/* 右端に寄せるコンテナ */
.btn-row {
	display: flex;
	justify-content: flex-end;
	/* ← 右寄せ */
	gap: 12px;
	margin-top: -30px;
	/* 好みで調整 */
	margin-right: 20px;
}

/* 登録ボタンの見た目（確認ボタンと共通） */
#btn_update_company {
	background-color: #bdbdbd;
	border: 3px solid #afafaf;
	color: #fff;
	font-size: 1em;
	font-weight: bold;
	padding: .6em 1em;
	height: 45px;
	border-radius: 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: .2s ease-in-out;
	text-align: center;
	min-width: 120px;
	/* 押しやすさ＆レイアウト安定 */
}

#btn_update_company:hover {
	background: #fff;
	color: #818181 !important;
	box-shadow: 0 4px 10px rgba(0, 0, 0, .15);
}




/* すべてのバックドロップ（黒）を viewport 固定＆低いレイヤに統一 */
.layer_base,
.layer_base2,
.layer_base3,
.layer_base4,
.layer_base5,
.layer_base6 {
	position: fixed !important;
	inset: 0 !important;
	background: rgba(0, 0, 0, .45) !important;
	z-index: 9000 !important;
	/* ← 黒は常にここ */
	width: auto !important;
	height: auto !important;
}

/* すべてのモーダル本体を黒より前面へ */
.layer[class*="js-modal"] {
	position: fixed !important;
	inset: 0 !important;
	display: none !important;
	/* is-open で表示 */
	place-items: center !important;
	z-index: 9100 !important;
	/* ← 黒(9000)より高い */
	pointer-events: none !important;
	/* 外側クリック無効 */
}

.layer[class*="js-modal"].is-open {
	display: grid !important;
}

.layer[class*="js-modal"] .modal {
	pointer-events: auto !important;
}

/* 枠（念のためさらに前面） */
.layer[class*="js-modal"] .modal__inner {
	position: relative !important;
	z-index: 9110 !important;
	background: #fff;
	border-radius: 10px;
}

/* 非表示制御はこれでOK（従来通り） */
.layernone {
	display: none !important;
}


/* 見積もり作成と名簿登録の共通テーブルスタイル */

/* ラッパ（任意）：このテーブルを包んでいる div に class="table-scroll" がある前提 */
.table-scroll #mytable {
	border-collapse: separate !important;
	/* 角丸を有効化 */
	border-spacing: 0 !important;
	overflow: hidden !important;
	border-radius: 12px !important;
	margin-left: 1px;
}

/* ヘッダ */
.table-scroll #mytable thead th {
	background: #f2aa9c !important;
	color: #fff !important;
	font-weight: 700 !important;
	text-align: center !important;
	padding: 14px 5px !important;
	border-bottom: 2px solid #d7e2ee !important;
}

/* 行・セル */
.table-scroll #mytable tbody td {
	padding: 4px 12px !important;
	vertical-align: middle !important;
	border-top: 1px solid #eef2f6 !important;
}

.table-scroll #mytable tbody tr:nth-child(even) {
	background: #fbfdff !important;
}

.table-scroll #mytable tbody tr:hover {
	background: #f6fbff !important;
}

/* ヘッダの左右だけ角丸 */
.table-scroll #mytable thead th:first-child {
	border-top-left-radius: 12px !important;
}

.table-scroll #mytable thead th:last-child {
	border-top-right-radius: 12px !important;
}

/* 3列目ボタン（見積書）—縦横ど真ん中に */
.table-scroll #mytable tbody td:nth-child(3) a,
.table-scroll #mytable tbody td:nth-child(3) button{
  display: inline-flex !important;
  align-items: center !important;      /* 縦中央 */
  justify-content: center !important;  /* 横中央 */

  height: 36px !important;             /* 好みで 34–40px くらいに */
  padding: 0 14px !important;          /* 左右だけ余白。上下は 0 */
  line-height: 1 !important;           /* ベースラインのズレ防止 */
  vertical-align: middle !important;
  box-sizing: border-box !important;

  /* 既存の見た目 */
  background: #74d3ff !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 9999px !important;    /* ぷるっと丸 */
  font-weight: 700 !important;
}

/* 3列目（見積書）の幅はそのまま固定 */
#mytable colgroup col:nth-child(3),
.table-scroll #mytable thead th:nth-child(3),
.table-scroll #mytable tbody td:nth-child(3){
  width: 140px !important;
  min-width: 140px !important;
  max-width: 140px !important;
}



/* ▼ 4列目（支払い）の幅を強制 */
#mytable colgroup col:nth-child(4),
.table-scroll #mytable thead th:nth-child(4),
.table-scroll #mytable tbody td:nth-child(4) {
  width: 170px !important;      /* ← 好きな値に調整 */
  min-width: 170px !important;
  max-width: 170px !important;
  padding: -2px 4px !important;  /* ヘッダやセル内の余白も縮小 */
  text-align: center !important;
}

/* ▼ ボタン自体（支払い済み） */
.table-scroll #mytable.dataTable tbody tr td:nth-child(4) > a,
.table-scroll #mytable.dataTable tbody tr td:nth-child(4) > button,
.table-scroll #mytable.dataTable tbody tr td:nth-child(4) > span,
.table-scroll #mytable.dataTable tbody tr td:nth-child(4) > input[type="button"],
.table-scroll #mytable.dataTable tbody tr td:nth-child(4) > input[type="submit"],
.table-scroll #mytable.dataTable tbody tr td:nth-child(4) > .btn {
  display: inline-block !important;
  background-color: #FF9589 !important;
  color: #fff !important;
  border: 0 !important;
  padding: 9px 20px !important;  /* ← 横幅を抑えめに */
  margin-top: 5px;
  border-radius: 12px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  line-height: 1.2 !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
  min-width: 90px !important;    /* ← 列幅に合わせて最小値も調整 */
}


/* 5列目：見積削除ボタンを縦横ど真ん中＆ぷるっと */
.table-scroll #mytable tbody td:nth-child(5) a,
.table-scroll #mytable tbody td:nth-child(5) button{
  display: inline-flex !important;
  align-items: center !important;      /* 縦中央 */
  justify-content: center !important;  /* 横中央 */
  height: 36px !important;             /* 好みで 34–40px */
  padding: 0 16px !important;          /* 左右だけ余白 */
  line-height: 1 !important;           /* 下ズレ防止 */
  vertical-align: middle !important;
  box-sizing: border-box !important;
  min-width: 120px !important;
  margin-top: 11px !important;

  /* 見た目（半透明グレーのぷるっと質感） */
  background: linear-gradient(180deg,
    rgba(241, 241, 241, 0.815) 0%,
    rgba(227,227,227,.84) 100%) !important;
  color: #666 !important;
  border: 1px solid rgba(255,255,255,.45) !important;
  border-radius: 9999px !important;
  box-shadow:
    0 5px 10px rgba(0,0,0,.10),
    inset 0 1px 0 rgba(219, 219, 219, 0.55),
    inset 0 -10px 16px rgba(255,255,255,.08) !important;
  transition: transform .18s ease, filter .18s ease, box-shadow .10s ease !important;
}

/* ホバー時のぷるっと */
.table-scroll #mytable tbody td:nth-child(5) a:hover,
.table-scroll #mytable tbody td:nth-child(5) button:hover{
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow:
    0 12px 24px rgba(0,0,0,.14),
    inset 0 1px 0 rgba(255,255,255,.60),
    inset 0 -10px 16px rgba(255,255,255,.10) !important;
}

/* 支払い済みは削除ロック（既存指定を維持） */
.table-scroll #mytable tbody td:nth-child(5) button.none,
.table-scroll #mytable tbody td:nth-child(5) a.none{
  pointer-events: none !important;   /* クリック無効 */
  user-select: none !important;
  cursor: not-allowed !important;
  opacity: .55 !important;
  box-shadow: none !important;
  backdrop-filter: saturate(110%) blur(2px);
  -webkit-backdrop-filter: saturate(110%) blur(2px);
}



/* 6列目ボタン（領収書）—縦横ど真ん中に固定 */
.table-scroll #mytable tbody td:nth-child(6) a,
.table-scroll #mytable tbody td:nth-child(6) button{
  display: inline-flex !important;
  align-items: center !important;      /* 縦中央 */
  justify-content: center !important;  /* 横中央 */

  height: 36px !important;             /* 34–40pxで好みに調整 */
  padding: 0 18px !important;          /* 左右だけ余白。上下は 0 */
  line-height: 1 !important;           /* ベースラインの影響をなくす */
  vertical-align: middle !important;   /* 行内での位置も安定 */
  margin-top: 11px;
  background: #74d3ff !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 9999px !important;    /* pill 形状 */
  font-weight: 700 !important;
  box-sizing: border-box !important;
}

/* 非アクティブ */
.table-scroll #mytable tbody td:nth-child(6) button.none,
.table-scroll #mytable tbody td:nth-child(6) a.none{
  pointer-events: none !important;
  user-select: none !important;
  cursor: not-allowed !important;
  opacity: .55 !important;
  box-shadow: none !important;
}



/* 共通ホバー */
.table-scroll #mytable tbody td a:hover,
.table-scroll #mytable tbody td button:hover {
	filter: brightness(1.05);
}

.table-scroll #mytable tbody td a:active,
.table-scroll #mytable tbody td button:active {
	transform: translateY(1px);
}

/* ボタン列の中央寄せ */
.table-scroll #mytable.dataTable tbody td.employee_number {
	text-align: center !important;
	vertical-align: middle !important;
}




/* =========================================================
   最終列（employee_number）のボタンを “ぷるっと” に統一
   ========================================================= */

/* ボタン本体（a / button / input / .btn） */
.table-scroll #mytable.dataTable tbody td.employee_number > a,
.table-scroll #mytable.dataTable tbody td.employee_number > button,
.table-scroll #mytable.dataTable tbody td.employee_number > input[type="button"],
.table-scroll #mytable.dataTable tbody td.employee_number > input[type="submit"],
.table-scroll #mytable.dataTable tbody td.employee_number > .btn {
  display: inline-flex !important;
  align-items: center !important;         /* 縦中央 */
  justify-content: center !important;     /* 横中央 */

  min-width: 120px !important;
  height: 40px !important;                /* 好みで 36–42px */
  padding: 0 14px !important;             /* 左右だけ余白 */
  box-sizing: border-box !important;
  margin-top: 10px!important;
  /* 文字系 */
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 18px !important;             /* 既存 19px が大きければ調整 */
  text-decoration: none !important;

  /* ぷるっと質感（共通） */
  border-radius: 9999px !important;
  border: 1px solid rgba(255,255,255,.45) !important;
  backdrop-filter: saturate(120%) blur(4px);
  -webkit-backdrop-filter: saturate(120%) blur(4px);
  box-shadow:
    0 5px 10px rgba(0,0,0,.12),
    inset 0 1px 0 rgba(255,255,255,.55),
    inset 0 -10px 16px rgba(255,255,255,.10) !important;
  transition: transform .18s ease, filter .18s ease, box-shadow .10s ease !important;

  /* 列カラー（ブルー系グラデ—領収書と揃える） */
  background: linear-gradient(180deg,
    rgba(134,217,255,.90) 0%,
    rgba(104,201,251,.80) 100%) !important;

  cursor: pointer !important;
}

/* ホバーで ぷるっ */
.table-scroll #mytable.dataTable tbody td.employee_number > a:hover,
.table-scroll #mytable.dataTable tbody td.employee_number > button:hover,
.table-scroll #mytable.dataTable tbody td.employee_number > input[type="button"]:hover,
.table-scroll #mytable.dataTable tbody td.employee_number > input[type="submit"]:hover,
.table-scroll #mytable.dataTable tbody td.employee_number > .btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow:
    0 12px 24px rgba(0,0,0,.16),
    inset 0 1px 0 rgba(255,255,255,.60),
    inset 0 -10px 16px rgba(255,255,255,.12) !important;
}

/* クリックで “プニッ” */
.table-scroll #mytable.dataTable tbody td.employee_number > a:active,
.table-scroll #mytable.dataTable tbody td.employee_number > button:active,
.table-scroll #mytable.dataTable tbody td.employee_number > input[type="button"]:active,
.table-scroll #mytable.dataTable tbody td.employee_number > input[type="submit"]:active,
.table-scroll #mytable.dataTable tbody td.employee_number > .btn:active {
  transform: translateY(0) scale(.98);
}

/* 非アクティブ（none クラス）の見た目＆ロック */
.table-scroll #mytable.dataTable tbody td.employee_number > a.none,
.table-scroll #mytable.dataTable tbody td.employee_number > button.none,
.table-scroll #mytable.dataTable tbody td.employee_number > input[type="button"].none,
.table-scroll #mytable.dataTable tbody td.employee_number > input[type="submit"].none,
.table-scroll #mytable.dataTable tbody td.employee_number > .btn.none {
  pointer-events: none !important;
  user-select: none !important;
  cursor: not-allowed !important;
  opacity: .55 !important;
  box-shadow: none !important;
  backdrop-filter: saturate(110%) blur(2px);
  -webkit-backdrop-filter: saturate(110%) blur(2px);
}

/* （必要なら）最終列セル幅の固定 */
#mytable colgroup col:last-child,
.table-scroll #mytable thead th:last-child,
.table-scroll #mytable tbody td.employee_number {
  width: 160px !important;      /* 好みで調整 */
  min-width: 160px !important;
  max-width: 160px !important;
  text-align: center !important;
}




/* ▼ 枠（カード）— 中だけで縦スクロールにする */
#mytable_wrapper {
	margin-left: 20px;
	/* 左側の余白を自動にして右寄せ */
	background: #fff;
	border: 1.5px solid #f6b3a9;
	border-radius: 5px;
	padding: 9px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
	max-width: 100%;
	/* ←ここを追加 */
	max-height: 480px;
	/* 好きな値に調整。例: 480px */
	overflow-y: auto;
	/* 枠内だけで縦スクロール */
	overflow-x: hidden;
	/* 横スクロールは出さない */
	box-sizing: border-box;
}

/* ▼ テーブルは幅内に収め、セルは折り返す */
#mytable {
	width: 100%;
	table-layout: fixed;
	/* 列幅を自動割り当てしてはみ出し抑制 */
	border-collapse: separate;
	border-spacing: 0;
}


/* テーブル：これ以下に縮まない最小幅を決め */
#mytable {
	width: 100%;
	min-width: 1200px;
	/* ← 好きな基準幅に。例: 1100px */
	table-layout: fixed;
}



/* =========================================================
   共通のぷるっと質感（3/4/5/6 列のボタンに適用）
   ========================================================= */
.table-scroll #mytable tbody td:nth-child(3) a,
.table-scroll #mytable tbody td:nth-child(3) button,
.table-scroll #mytable.dataTable tbody tr td:nth-child(4) > a,
.table-scroll #mytable.dataTable tbody tr td:nth-child(4) > button,
.table-scroll #mytable.dataTable tbody tr td:nth-child(4) > span,
.table-scroll #mytable.dataTable tbody tr td:nth-child(4) > input[type="button"],
.table-scroll #mytable.dataTable tbody tr td:nth-child(4) > input[type="submit"],
.table-scroll #mytable.dataTable tbody tr td:nth-child(4) > .btn,
.table-scroll #mytable tbody td:nth-child(5) a,
.table-scroll #mytable tbody td:nth-child(5) button,
.table-scroll #mytable tbody td:nth-child(6) a,
.table-scroll #mytable tbody td:nth-child(6) button {
  /* ぷるっと感：角丸＋少し厚みのあるパディングに変更 */
  border-radius: 9999px !important;
  padding: 8px 16px !important;

  /* 半透明ガラス調：バックドロップ＋薄いボーダー */
  border: 1px solid rgba(255,255,255,.45) !important;
  backdrop-filter: saturate(120%) blur(4px);
  -webkit-backdrop-filter: saturate(120%) blur(4px);

  /* ツヤ（内側ハイライト）＋ふわっと影 */
  box-shadow:
    0 5px 10px rgba(0,0,0,.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -10px 16px rgba(255,255,255,.10) !important;

  transition: transform .18s ease, filter .18s ease, box-shadow .10s ease !important;
  will-change: transform;
}
