@charset "utf-8";

/* CSS Document */

/* reset *************************************************************/
body {line-height:1; margin:0; font-family:arial,sans-serif;}
h1, h2, h3, h4, h5, h6, p {margin:0; font-weight:normal; display:block;}
article,footer,header {display:block;}
ul,li {list-style:none; padding:0;margin:0;}
dl,dt,dd {padding:0; margin:0;}
table,tr,td {border:0;padding:0;margin:0;}
a {color:#3c68c3;}
img {vertical-align:baseline; border:0; padding:0; margin:0;}
div {margin:0;padding:0;}
button {background: transparent;border: 0; outline: none;}
/* //reset *************************************************************/

/* ----------------- 全体の設定 ----------------- */

input {
    font-size: 1.2rem;
    padding: 5px;
    width: 100%;
    border-bottom: 1px solid #7f7f7f;
    border-radius: 5px;
}

input:disabled {
    background-color: #f5f5f5;
    color: #2c2c2c;
    cursor: not-allowed;
    opacity: 0.6;
    border: 1px solid #ccc;
}

input:focus {
    border-bottom: 1px solid #007bff;
    outline: none;
}

select, textarea {
    font-size: 1.2rem;
    padding: 5px;
    width: 100%;
    border: 1px solid #7f7f7f;
    border-radius: 5px;
}

select:focus, textarea:focus {
    border: 1px solid #007bff;
    outline: none;
}

#basic-main-body {
    font-family: Arial, sans-serif;
    max-width: 1400px;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    padding: 0;
    width: 90%;
    margin: 0 auto;
    margin-top: 45px;
    padding-top: 20px;
}

.display-block {
    display: block;
}
/* ----------------- 全体の設定 ----------------- */

/* ----------------- ハンバーガーメニュー ----------------- */
#manage-basic-header	{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
	overflow: hidden;
	height: 25px;
	padding: 20px;
	border-bottom:  1px solid #666666;
	background: none repeat scroll 0 0 #404040;
	background-position: 10px center;
	background-repeat: no-repeat;
    z-index: 10000;
}

#manage-basic-header a {
	color: #999999;
	text-decoration: none;
}

#manage-basic-header a:hover	{
	color: #FFFFFF;
	text-decoration: none;
}

#manage-basic-header div#header_navi	{
	overflow: hidden;
	float: right;
	color: #999999;
	padding-left:17px;
	background: url(/img/icon/gear.png) no-repeat left -2px;
}

#manage-basic-menu-wrapper {
	position: fixed;
	top: 40px;
	left: -250px;
	height: 100vh;
	width: 250px;
	opacity: 1;
	transition: all 0.5s ease-out;
	background-color: #FFF;
	z-index: 2;
}

#manage-basic-menu-wrapper.nav-menu-open {
	left: 0;
}

#manage-basic-menu-overlay{
	position: fixed;
	top: 40px;
	z-index: 1;
	width: 100vw;
	height: 100vh;
	visibility: hidden;
	opacity: 0;
	background: rgba(0,0,0,0.6);
	transition: all 0.5s ease-out;
}

#manage-basic-menu-overlay.overlay-on,
#loaderOverLay.overlay-on{
	visibility: visible;
	opacity: 1;
}

#loaderOverLay{
	position: fixed;
	top: 0px;
	z-index: 1;
	width: 100vw;
	height: 100vh;
	visibility: hidden;
	opacity: 0;
	background: rgba(0,0,0,0.8);
	transition: all 0.5s ease-out;
}

/* ハンバーガーアイコンの設置スペース */
.drawer_open {
    display: flex;
	height: 100%;
    justify-content: space-between;
	align-items: center;
	position: relative;
}

#hamburger-menu-line-wrapper {
	display: flex;
	justify-content: space-around;
	align-items: flex-start;
	flex-direction: column;
	cursor: pointer;
    height: 25px;
}


#hamburger-menu-line-wrapper span {
	content: '';
	display: block;
	height: 3px;
	width: 30px;
	border-radius: 3px;
	background: #FFF;
	transition: 0.5s;
	margin: 2.5px;
}

#line-01 {
	transform: none;
}

#line-03 {
	transform: none;
}

#line-01.haburger-menu-linw-is-open {
	transform: rotate(45deg);
	position: absolute;
}

#line-03.haburger-menu-linw-is-open {
	transform: rotate(-45deg);
	position: absolute;
}

#line-02.haburger-menu-linw-is-open {
	background: rgba(255, 255, 255, 0);
}
/* ----------------- ハンバーガーメニュー ----------------- */


/* ----------------- メニュー ----------------- */
/* 全体のサイドバー設定 */
#manage-basic-menu-wrapper {
    position: fixed;
	top: 40px;
	left: -340px;
	opacity: 1;
	transition: all 0.5s ease-out;
    width: 300px;
    height: 100vh;
    background-color: #2c3e50;
    color: #ecf0f1;
    display: flex;
    flex-direction: column;
    padding: 20px 10px;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
}

/* ヘッダー */
#manage-menu-container-header {
    font-size: 1.5em;
    margin-bottom: 15px;
    border-bottom: 2px solid #34495e;
    padding-bottom: 10px;
    color: #ecf0f1;
}

/* メニューリスト */
.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.side-bar-menu-group {
    margin-bottom: 15px;
}

.side-bar-menu-group-title {
    font-weight: bold;
    font-size: 1.2em;
    color: #bdc3c7;
    padding: 10px 0;
    border-bottom: 1px solid #34495e;
}

.sub-menu {
    list-style: none;
    padding-left: 10px;
    margin-top: 10px;
}

.side-bar-menu-item {
    margin: 8px 0;
}

/* リンクのスタイル */
.side-bar-menu-link {
    color: #ecf0f1;
    text-decoration: none;
    font-size: 1em;
    padding: 8px;
    display: block;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.side-bar-menu-link:hover {
    background-color: #34495e;
}
/* ----------------- メニュー ----------------- */


/* ----------------- Basic Table ----------------- */
.manage-basic-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    margin: 0 auto;
}

.manage-basic-table th {
    background-color: #007bff;
    border: 1px solid #ccc;
    color: #fff;
    font-weight: bold;
    padding: 10px;
}

.manage-basic-table td {
    border: 1px solid #ccc;
    padding: 10px;
}
/* ----------------- Basic Table ----------------- */


/* ----------------- Login form ----------------- */
#login-form-wrapper {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
}

#legister-form-wrapper {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 0%);
    width: 400px;
}

#login-form-content {
    background-color: #fff;
    border-radius: 5px;
    margin: 0 auto;
    padding: 20px 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

#login-form-head {
    text-align: center;
}

#login-form-body {
    margin: 0 auto;
    width: 90%;
}

#login-form-body label {
    display: block;
    font-size: 16px;
}

#login-form-body input,
#login-form-body select {
    display: block;
    width: 95%;
    font-size: 1.3rem;
    margin: 5px auto;
    padding: 5px;
}

#login-form-body select {
    width: 98%;
}

#login-form-body input[type="checkbox"] {
    width: 50%;
    margin-left: 30px;
    width: 20px;
    height: 20px;
}

#password-input {
    position: relative;
}

#icon-eye {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

#login-form-body input[type="submit"] {
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    padding: 10px;
    width: 100%;
}
/* ----------------- Login form ----------------- */

.display-flex {
    display: flex;
}

.flex-column {
    flex-direction: column;
}

.flex-row {
    flex-direction: row;
}

.flex-wrap {
    flex-wrap: wrap;
}

.justify-content-center {
    justify-content: center;
}

.justify-content-start {
    justify-content: flex-start;
}

.justify-content-end {
    justify-content: flex-end;
}

.justify-content-between {
    justify-content: space-between;
}

.justify-content-around {
    justify-content: space-around;
}

.aligin-items-stretch {
    align-items: stretch;
}

.aligin-items-start {
    align-items: flex-start;
}

.aligin-items-end {
    align-items: flex-end;
}

.aligin-items-center {
    align-items: center;
}

.aligin-items-baseline {
    align-items: baseline;
}

.aligin-content-stretch {
    align-content: stretch;
}

.aligin-content-start {
    align-content: flex-start;
}

.aligin-content-end {
    align-content: flex-end;
}

.aligin-content-center {
    align-content: center;
}

.aligin-content-between {
    align-content: space-between;
}

.aligin-content-around {
    align-content: space-around;
}

.text-1 {
    font-size: 1rem;
}

.text-1-5 {
    font-size: 1.5rem;
}

.text-2 {
    font-size: 2rem;
}

.text-3 {
    font-size: 3rem;
}

.text-4 {
    font-size: 4rem;
}

.margin-top-5 {
    margin-top: 5px;
}

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

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

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

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

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

.margin-btm-5 {
    margin-bottom: 5px;
}

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

.margin-btm-15 {
    margin-bottom: 15px;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.font-weight-bold,
.bold {
    font-weight: bold;
}

.margin-5 {
    margin: 5px;
}

.margin-10 {
    margin: 10px;
}

.margin-15 {
    margin: 15px;
}

.margin-20 {
    margin: 20px;
}

.margin-30 {
    margin: 30px;
}

.padding-5 {
    padding: 5px;
}

.padding-10 {
    padding: 10px;
}

.padding-15 {
    padding: 15px;
}

.padding-20 {
    padding: 20px;
}

.padding-30 {
    padding: 30px;
}

.padding-right-5 {
    padding-right: 5px;
}

.padding-right-10 {
    padding-right: 10px;
}

.padding-right-15 {
    padding-right: 15px;
}

.padding-left-5 {
    padding-left: 5px;
}

.padding-left-10 {
    padding-left: 10px;
}

.padding-left-20 {
    padding-left: 20px;
}

.padding-left-30 {
    padding-left: 30px;
}

.padding-left-40 {
    padding-left: 40px;
}

.padding-left-50 {
    padding-left: 50px;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.height-100-percent {
    height: 100%;
}

.under-line-dash {
    border: 1px dashed #3b3b3b;
}

.estimate-long-input {
    font-size: 1.3rem;
    padding: 5px;
}

#estimate-title-input {
    font-size: 1.5rem;
    padding: 5px;
    width: 100%;
}

.estimate-basic-select {
    font-size: 1.5rem;
    padding: 5px 20px;
}

#estimate-overview-textarea {
    font-size: 1.5rem;
    padding: 5px;
    width: 100%;
}

.estimate_personnel_cost_work_container {
    padding: 10px;
    border-bottom: 1px solid #ccc;
}

.estimate-transport-input-container {
    max-width: 150px;
}


/* -------------------- TOPページのメニュー -------------------- */
.menu-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    background-color: #f5f5f5;
}

.menu-group {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 16px;
    width: calc(33.333% - 20px); /* 3列のレイアウト */
    min-width: 250px;
    flex-grow: 1;
}

.menu-group-title {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 10px;
    border-bottom: 2px solid #ddd;
    padding-bottom: 8px;
}

.menu-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.menu-item {
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.menu-link {
    text-decoration: none;
    color: #0073e6;
    font-weight: bold;
    display: block;
}

.menu-link:hover {
    color: #005bb5;
}

.menu-item:hover {
    background-color: #f0f8ff;
}
/* -------------------- TOPページのメニュー -------------------- */

/* -------------------- ボタン関係 -------------------- */
.button-container {
    margin: 20px 0;
}

button,
.btn,
.button-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
}

.delete-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #dc3545;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
}

.button-link:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

.delete-btn:hover {
    background-color: #c82333;
    transform: scale(1.05);
}

.delete-button {
    display: inline-block;
    padding: 8px 16px;
    background-color: #dc3545;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.delete-button:hover {
    background-color: #c82333;
    transform: scale(1.05);
}


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

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

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

.red-text {
    color: red;
}

.personnel_cost_work_key {
    min-width: 20px;
}

.personnel_cost_work_label {
    width: 200px;
}

.estimate-small-input {
    font-size: 1.3rem;
    padding: 5px;
    max-width: 100px;
}

.estimate-basic-input {
    font-size: 1.3rem;
    padding: 5px;
    max-width: 150px;
}

.estimate-semi-long-input {
    font-size: 1.2rem;
    padding: 5px;
    max-width: 250px;
}

.estimate-document-basic-input {
    font-size: 1.2rem;
    padding: 5px;
    text-decoration: none;
    width: 100%;
}

.input-no-border {
    border: none;
    outline: none;
}

input:invalid {
    background-color: rgb(255, 255, 0);
}

textarea:invalid {
    background-color: rgb(255, 255, 0);
}

.g-table-small-row-item {
    min-width: 200px;
}

.g-table-basic-row-item {
    min-width: 300px;
}

.step-flow-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 30px;
}

.step-flow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 80%;
    max-width: 1000px;
}

.step {
    text-align: center;
    position: relative;
    flex: 1;
}

.circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #FFF;
    color: #4CAF50;
    border: #4CAF50 2px solid;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    margin: 0 auto 10px;
    text-decoration: none;
}

.label {
    font-size: 14px;
    color: #333;
}

.step::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-150%);
    width: 50%;
    height: 2px;
    background-color: #4CAF50;
    z-index: -1;
}

.step.current .circle {
    background-color: #4CAF50;
    color: #FFF;
}

.step:first-child::before {
    content: none;
}


/* -------------------- 基本的なフォームのCSS -------------------- */
.form-contaienr-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.form-container {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 500px;
    box-sizing: border-box;
}

.form-container div {
    margin-bottom: 20px;
}

.form-container label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-container input,
.form-container select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

.form-container select {
    font-size: 1.3rem;
}

.form-container button {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.form-container button:hover {
    background-color: #0056b3;
}

.form-container a {
    display: block;
    text-align: center;
    margin-top: 10px;
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.form-container a:hover {
    color: #0056b3;
}

@media (max-width: 600px) {
    .form-container {
        padding: 20px;
        width: 90%;
    }

    .form-container button,
    .form-container input {
        font-size: 14px;
        padding: 8px;
    }

    .form-container label {
        font-size: 14px;
    }

    .form-container a {
        font-size: 14px;
    }
}
/* -------------------- 基本的なフォームのCSS -------------------- */

/* -------------------- 基本的な成功画面のCSS -------------------- */
.details-container-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.details-container {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 500px;
    box-sizing: border-box;
}

.details-container div {
    margin-bottom: 20px;
}

.details-container p {
    margin: 0;
    padding: 8px 0;
    border-bottom: 1px solid #ccc;
}

.details-container p:first-child {
    font-weight: bold;
    color: #333;
}

.details-container a {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 10px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.details-container a:hover {
    background-color: #0056b3;
}

@media (max-width: 600px) {
    .details-container {
        padding: 20px;
        width: 90%;
    }

    .details-container p {
        font-size: 14px;
    }

    .details-container a {
        font-size: 14px;
        padding: 8px 16px;
    }
}

/* --------------- 見積書フォーマット用CSS --------------- */

.estimate-pdf-page {
    margin: 0 auto;
    padding: 20px;
    page-break-after: always !important;
    size: A4 landscape !important;
}

@media print {
    .estimate-pdf-page {
        page-break-after: always !important;
        size: A4 landscape !important;
        margin: 0 !important;
    }
}

#main-cover-page {
    height: 190mm;
    display: flex;
    justify-content: center;
    align-items: center;
}


#main-cover-image {
    width: 80%;
    height: 80%;
}

#main-cover {
    padding: 50px;
    size: A4 landscape;
}

#pdf-reverce-page {
    height: 190mm;
    size: A4 landscape;
}

#pdf-reverce-page-content {
    height: 100%;
    display: flex;
    align-items: end;
}

#pdf-reverce-page-image {
    width: 30%;
}

#main-cover-title {
    font-size: 1.8rem;
    font-weight: bold;
    text-align: center;
    border-bottom: 1px solid #333;
    padding-bottom: 5px;
}

#main-cover-left {
    width: 60%;
}

#customer-name-wrapper {
    width: 70%;
    border-bottom: 1px solid #333;
    height: 50px;
    line-height: 60px;
    padding-left: 30px;
}

#customer-name-wrapper p {
    font-weight: bold;
    font-size: 1.5rem;
}

#main-cover-estimate-amount-wrapper {
    padding: 0px 15px;
    border: 1px solid #333;
    height: 60px;
    line-height: 60px;
    margin-right: 40px;
}

#main-cover-estimate-amount {
    font-size: 1.2rem;
}

#main-cover-estimate-amount-notice {
    font-size: 0.8rem;
    font-weight: bold;
    color: red;
}

#main-cover-right {
    width: 35%;
}

#detail-image-wrapper {
    height: 20%;
    margin-bottom: 10px;
}

.detail-container {
    margin-bottom: 10px;
    font-size: 0.8rem;
}

#detail-image {
    width: 80%;
}

#main-cover-sign-wrapper {
    margin-top: 20px;
}

#main-cover-sign-left {
    width: 70px;
    height: 70px;
    border: 2px solid #333;
}

#main-cover-sign-right {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 20%;
}

#company-seal {
    width: 80px;
}

#main-cover-sign-right {
    border-left: none;
}

#main-cover-overview-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    margin: 0 auto;
}

#main-cover-overview-table tr {
    height: 35px;
    line-height: 35px;
}

#main-cover-overview-table th,
#main-cover-overview-table td {
    border-bottom: 1px solid #333;
    padding-top: 10px;
    padding-bottom: 3px;
    font-size: 0.9rem;
}

#main-cover-overview-table input,
#customer-name-wrapper input,
#main-cover-estimate-content-table input {
    padding: 0;
    border: none;
    outline: none;
    font-size: 0.9rem;
}

#main-cover-estimate-content-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    margin: 0 auto;
    font-size: 0.9rem;
}

#main-cover-estimate-content-table th,
#main-cover-estimate-content-table td {
    border: 1px solid #333;
    padding: 5px;
}

#main-cover-article-left {
    width: 5%;
    border: 1px solid #333;
}

#main-cover-article-right {
    width: 95%;
    border: 1px solid #333;
}

#main-cover-article-left {
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
}

#main-cover-article-left div {
    width: 100%;
}

#main-cover-article-special-report-title {
    font-size: 1.5rem;
    font-weight: bold;
}

#main-cover-article-special-report-wrapper {
    height: 100%;
    width: 100%;
}

.main-cover-article-special-report {
    font-size: 0.9rem;
    line-height: 1.3rem;
    white-space: pre-wrap;
    word-wrap: break-word;
    width: 100%;
    height: 100%;
}

.estimate-amount-detail-page {
    font-size: 0.9rem;
}

.estimate-amount-detail-page-content {
    width: 95%;
}

.estimate-amount-detail-page-title {
    font-size: 1.4rem;
    font-weight: bold;
    text-align: center;
    padding-bottom: 5px;
    margin-bottom: 15px;
}

.estimate-amount-detail-page-title span{
    border-bottom: 1px solid #333;
}

.estimate-amount-detail-page-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    margin: 0 auto;
    border: 2px solid #333;
}

.estimate-amount-detail-page-table th,
.estimate-amount-detail-page-table td {
    border: 1px solid #333;
    font-size: 0.9rem;
    height: 35px;
    padding: 3px;
}

.estimate-amount-detail-page-table th {
    border-bottom: 2px solid #333;
}
/* --------------- 見積書フォーマット用CSS --------------- */

.estimate-detail-page-input-container-wrapper {
    margin: 0 auto;
    width: 100%;
}

.estimate-setting-page-input-wrapper {
    margin: 20px;
}

.estimate-setting-page-long-input {
    width: 100%;
    font-size: 1.2rem;
    padding: 5px;
    margin: 0 auto;
    display: block;
}

.estimate-setting-page-input {
    min-width: 500px;
    font-size: 1.2rem;
    padding: 5px;
}

.estimate-setting-page-basic-select {
    min-width: 514px;
    font-size: 1.2rem;
    padding: 5px;
}

.estimate-setting-page-input-label {
    min-width: 150px;
}

.estimate-setting-page-text-area {
    min-width: 1000px;
    height: 200px;
    font-size: 1.2rem;
    line-height: 1.6rem;
    padding: 5px;
}

.estimate-detail-basic-input,
.estimate-detail-basic-select {
    display: block;
    margin: 0 auto;
    font-size: 0.9rem;
    padding: 0.3rem 0.1rem;
}

#gtable-profit-cost {
    color: #999999;
}

#building-basic-info-popup-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease-out;
}

#building-basic-info-popup-wrapper.is-active {
    opacity: 1;
    visibility: visible;
}

#building-basic-info-popup {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 500px;
    box-sizing: border-box;
}

#building-basic-info-popup input,
#building-basic-info-popup select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

/*
G表を進める中で建物毎にタブ分けしたい時に使えるCSS
今は時間がないので実装していない
 */
.tab-label {
    display: block;
    float: left;
}

.tab-label-heading:not(:last-of-type) .tab-label{
    margin-right: 2px!important;
}

input[name="tab-radio"] {
    display: none;
}

.tab-label{
    background-color: #b4bdbf!important;
    color: #525252!important;
    cursor: pointer!important;
    font-size: 16px!important;
    padding: 10px 20px!important;
    transition: .3s;
}

.tab-label:hover{
    opacity: .7!important;
}

input:checked + h2 > .tab-label{
    color: #000!important;
    background-color: #e2e8eb!important;
    transition: .3s;
}

.tab-panel{
    background-color: #e2e8eb;
    height: 170px;
    clear: both;
    display: none; /*パネルを非表示*/
}

#tab-a:checked ~ .panel-a,
#tab-b:checked ~ .panel-b,
#tab-c:checked ~ .panel-c,
#tab-d:checked ~ .panel-d,
#tab-e:checked ~ .panel-e,
#tab-f:checked ~ .panel-f,
#tab-g:checked ~ .panel-g,
#tab-h:checked ~ .panel-h,
#tab-i:checked ~ .panel-i,
#tab-j:checked ~ .panel-j,
#tab-k:checked ~ .panel-k,
#tab-l:checked ~ .panel-l,
#tab-m:checked ~ .panel-m,
#tab-n:checked ~ .panel-n,
#tab-o:checked ~ .panel-o,
#tab-p:checked ~ .panel-p,
#tab-q:checked ~ .panel-q,
#tab-r:checked ~ .panel-r,
#tab-s:checked ~ .panel-s,
#tab-t:checked ~ .panel-t,
#tab-u:checked ~ .panel-u,
#tab-v:checked ~ .panel-v,
#tab-w:checked ~ .panel-w,
#tab-x:checked ~ .panel-x,
#tab-y:checked ~ .panel-y,
#tab-z:checked ~ .panel-z {
    display: block;
}

.tab-panel div{
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
}

/* 見積書検索 */
.search-info-bar {
    display: flex;
    gap: 15px;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.search-info-item {
    color: #333;
    font-weight: 500;
    padding: 8px 12px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    min-width: 120px;
    text-align: center;
}

.search-info-bar .search-info-item:not(:empty) {
    display: inline-block;
}

#basic-popup-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    opacity: 0;
	visibility: hidden;
    transition: all 0.6s ease;
}

#basic-popup-wrapper.is-active {
	opacity: 1;
    visibility: visible;
}

.basic-popup {
    min-width: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background-color: #f5f5f5;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    margin: auto;
}

.basic-popup form {
    width: 100%;
}

.basic-popup-form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.basic-popup-form-group label {
	text-align: left;
	font-size: 16px;
	margin-left: 15px;
	margin-bottom: 5px;
	color: #555;
	font-weight: 500;
}

.basic-popup-form-input {
    width: 90%;
    padding: 10px;
	margin: 0 auto;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.basic-popup-form-half-input {
    width: 40%;
    padding: 10px;
	margin: 0 auto;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
}