@charset "UTF-8";

html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-style: normal;
	font-family:-apple-system,BlinkMacSystemFont,"Helvetica Neue","游ゴシック Medium",YuGothic,YuGothicM,"Hiragino Kaku Gothic ProN",メイリオ,Meiryo,sans-serif;
}

* { margin: 0; padding: 0; box-sizing:border-box;}
html {
	height: 100%;
}
a{
	text-decoration: none;
}
li{
	list-style:none;
}
.center{text-align: center;}
.right{text-align: right;}
.button-danger{background: #666 !important;color: #fffe79 !important;}

header{margin-bottom: 1rem;}
header h1{
	background:#000000;
	color:#fff;
	font-size: 0.9rem;
	padding:0.5rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
header .logout{
	float:right;
	font-size: 0.7rem;
	color: #fff;
	border: 1px solid #fff;
	padding: 0.2rem;
}
header img{
	margin: 10px;
	height: 40px;
}
footer{
	min-height: 5rem;
}

#global_menu{
	background: #eee;
	display: flex;
	justify-content: center;
	align-items: center;
}
#global_menu a{
	background:#fff;
	padding: 0.2rem;
	margin: 0.2rem;
	font-weight: 700;
	color: #000;
}

#message.updated{
	position:fixed;
	left:0;
	bottom:0;
	width:100%;
	text-align:center;
	z-index:9999;
	background: #ff92126e;
	padding: 1.6rem;
	backdrop-filter:blur(3px);
	color: #000;
	font-weight:700;
	font-size: 1.2rem;
}
#message.hide-message {
  transition: all 0.6s ease;
  transform: translateY(100%);
  opacity: 0;
}

.pagination {
  margin: 2em 0;
  text-align: center;
}
.pagination .page-numbers {
  display: inline-block;
  margin: 0 5px;
  padding: 5px 10px;
  border: 1px solid #ccc;
  text-decoration: none;
}
.pagination .current {
  font-weight: bold;
  background: #eee;
}

.workspace img.ico{
	width: 30px;
	height: 30px;
	object-fit: contain;
	vertical-align: middle;
}

.workspace table{
	border-collapse: collapse;
	width: 98%;
	margin: 1%;
}
.workspace table th{
	white-space:nowrap;
}
.workspace table th,
.workspace table td{
	border: 1px solid #666;
	padding: 0.2rem 0.5rem;
	font-size: 0.8rem;
}
.workspace table:not(.info_table) tr:nth-child(even) td{
	background:#EDEDED;
}
.acf-field-repeater{
	width:100%;
	overflow:auto;
}
table.acf-table td:not(.acf-row-handle){
	min-width:120px;
}

/*ローダー*/
.loader,
.loader:before,
.loader:after {
  background: #007fff;
  -webkit-animation: load1 1s infinite ease-in-out;
  animation: load1 1s infinite ease-in-out;
  width: 1em;
  height: 4em;
}
.loader {
  color: #007fff;
  text-indent: -9999em;
  margin: 88px auto;
  position: fixed;
  font-size: 11px;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
  top: 40vh;
  left: calc(50vw - 11px);
}
.loader:before,
.loader:after {
  position: absolute;
  top: 0;
  content: '';
}
.loader:before {
  left: -1.5em;
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}
.loader:after {
  left: 1.5em;
}
@-webkit-keyframes load1 {
  0%,
  80%,
  100% {
    box-shadow: 0 0;
    height: 4em;
  }
  40% {
    box-shadow: 0 -2em;
    height: 5em;
  }
}
@keyframes load1 {
  0%,
  80%,
  100% {
    box-shadow: 0 0;
    height: 4em;
  }
  40% {
    box-shadow: 0 -2em;
    height: 5em;
  }
}

#loading_cover{
	position: fixed;
	width: 100%;
	height: 100%;
	background: #ffffffbd;
	z-index: 9999;
}
.loading_text{
	text-align:center;
	position:relative;
	top: 47vh;
}


.tab-container {
  margin-top: 2em;
  border: 1px solid #ccc;
  border-radius: 6px;
  overflow: hidden;
}

.tab-menu {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  background: #f5f5f5;
  border-bottom: 1px solid #ccc;
}

.tab-menu li {
  flex: 1;
  text-align: center;
  padding: 1em;
  cursor: pointer;
  border-right: 1px solid #ccc;
  font-weight: bold;
  transition: background 0.2s ease;
}

.tab-menu li:last-child {
  border-right: none;
}

.tab-menu li.active {
  background: #fff;
  border-bottom: 2px solid #0073aa;
  color: #0073aa;
}

.tab-content {
  display: none;
  padding: 0.5rem;
  background: #fff;
}

.tab-content.active {
  display: block;
}

.acf-form-submit input[type=submit],
.acf-form-submit a,
#submit-btn{
	background: #0783be;
	color: #fff;
	font-size: 1.6rem;
	display: block;
	border: none;
	margin: 0rem;
	padding: 0.5rem;
	width: 100%;
	text-align:center;
	margin-bottom:5px;
}
.acf-form-submit input[type=submit]:disabled,
#submit-btn:disabled{
	background: #ccc;
	color: #fff;
}

.estimate-summary{
	display: flex;
	flex-wrap: wrap;
	width: 98%;
	margin: 1rem auto;
}
.estimate_class{
	width: 98%;
	display: flex;
	border: 1px solid #666666;
	margin: 0 auto;
}
.estimate_class .quote-table{
	width:100%;
}
.estimate_class h4{
	 writing-mode: vertical-rl;
	 padding: 0.5rem;
	 background: #eee;
	 display: flex;
	 border: 1px solid #666;
	 margin-bottom: -1px;
	 justify-content: center;
}
.estimate_class li{
	list-style: none;
	display: inline-block;
}
.quote-table .title{
	width:100%;
	background:#eee;
}

.quote-table table{
	margin: 0;
	width: 100%;
}
.quote-totalamount{
	width: 98%;
	margin: 0 auto;
	text-align: right;
	font-size: 1.6rem;
	font-weight: 700;
	border: 1px solid #666;
	padding: 0.5rem;
}
.qt_remarks,
.qt_attached{
	width: 98%;
	margin: 0 auto;
	margin-top:10px;
	border: 1px solid #666;
	padding: 0.5rem;
}
.tour_info{
	width:100%;
	margin-top:1rem;
}
.quote-footer{
	width: 98%;
	display:flex;
	justify-content: space-between;
	margin: 1%;
	flex-direction: column;
}
.quote-footer .note,
.quote-footer .signature{
	width: 100%;
}
.quote-footer .signature{
	margin-top: 1.5rem;
}
.signature-wrapper {
  position: relative;
  width: 100%;
}

.signature-wrapper canvas {
  position: relative;
  z-index: 1;
}
.payment_info{
	border:1px solid #666;
	padding:1rem;
	width: 100%;
}
.payment_info .caution{
	font-size:120%;
	font-weight:700;
	color:#df1b23;
}
.payment_info .info_table{
	margin:0;
	width: calc(100% + 2rem + 2px);
	margin-top: calc(-1rem - 1px);
	margin-left: calc(-1rem - 1px);
	margin-bottom: 1rem;
}
.quote-footer .note{
	font-size:80%;
	padding:0.5rem;
}

.signature-placeholder {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 16px;
  color: rgba(0, 0, 0, 0.4);
  pointer-events: none;
  z-index: 2;
  white-space: nowrap;
}

.quote-footer .com_info{
	width: 100%;
	text-align:right;
	position:relative;
	font-size: 1.8rem;
	margin-bottom: 3rem;
}
.quote-footer .com_info span{
	display:block;
	font-size:50%;
}
.quote-footer .com_info img{
	position:absolute;
	bottom: -35px;
	right: -2%;
	width: 25%;
}
.workspace .quote-table table td{
	border:0;
	border-right: 1px dashed #666;
	height: 2rem;
}
.workspace .quote-table table td:last-child{
	border:0;
}
.workspace .quote-table table td:nth-child(1){width: 40%;}
.workspace .quote-table table td:nth-child(2){width: 10%; text-align: right;}
.workspace .quote-table table td:nth-child(3){width: 10%; text-align: right;}
.workspace .quote-table table td:nth-child(4){width: 10%; text-align: right;}
.workspace .quote-table table td:nth-child(5){width: 30%;}

.quote-confirm h2{
	font-size: 2rem;
	text-align: center;
	margin-bottom: 2rem;
}
.quote-header{
	display: flex;
	justify-content: space-between;
	width: 96%;
	margin: 0 auto;
	flex-direction: column;
}
.quote-header table{
	border-collapse: collapse;
	width: 100%;
}
.quote-header table th{
	white-space:nowrap;
}
.quote-header table.top_info th{
	width: 20%;
}
.quote-header table th{
	background:#EDEDED;
}
.quote-header table th,
.quote-header table td{
	border: 1px solid #666;
	padding: 0.2rem 0.5rem;
	font-size: 0.8rem;
}
.quote-header table.second_info td{
	text-align: center;
}

#fix_ui_bt{
	display: flex;
	position: fixed;
	bottom: 0;
	right: 0;
	z-index: 9998;
	flex-direction: row;
}
#fix_ui_bt a, #fix_ui_bt form{
	background: #178fe5a8;
	backdrop-filter: blur(2px);
	color: #fff;
	border: 0;
	padding: 0.5rem;
	font-size: 14px;
	margin: 1px;
}
#fix_ui_bt form button{
	background: none;
	border: none;
	color:inherit;
	font-size: inherit;
}

.workspace:not(.estimate-summary){
	width:100%;
	overflow: auto;
}

.acf-radio-list li{
	margin-bottom: 1rem !important;
}
.acf-radio-list input[type="radio"]{
	display:none;
}
.acf-radio-list label{
	font-size:1rem;
	padding: 0.5rem 1rem;
	border-radius:6px;
	background: #eee;
}
.acf-radio-list label:hover{
	cursor:pointer;
	background:#2f8fe5;
}
.acf-radio-list label.selected{
	background:#2f8fe5;
	color:#fff;
}

menu {
	display:flex;
	width: 100%;
	margin: 0 auto;
	margin-top: -2rem;
	margin-bottom: 1rem;
	flex-direction: row;
	justify-content: center;
}
menu li{
	list-style:none;
	padding: 2px 1rem;
	margin: 1px;
	background: #ccc;
	color: #ffffff;
}
menu a li{
	background: #007fff;
	color: #ffffff;
}

  .document-block {
    width: 100%;
    margin: 15mm auto;
    padding: 20px;
    border: 1px solid #ccc;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 12pt;
    line-height: 1.6;
    page-break-inside: avoid;
  }

  .document-block h3 {
    font-size: 18pt;
    text-align: center;
    margin-bottom: 20px;
  }
  .document-block h3 span{
  	font-size: 80%;
  	font-weight: 400;
  	display: block;
  }
  .document-block p {
    margin: 8px 0;
  }
  .document-block h4{
	  background:#eee;
	  font-size:2rem;
	  text-align:center;
	  font-family: serif;
	 }
 .document-block .receipt_note{
	 background:#eee;
	 padding:1rem;
	 margin-top:1.2rem;
 }
  .com_info {
    margin-top: 30px;
    border-top: 1px solid #999;
    padding-top: 10px;
    font-size: 10pt;
    position: relative;
    text-align: right;
    padding-right: 5%;
  }

  .com_info span {
    display: block;
    margin-bottom: 4px;
  }

  .com_info img {
    display: block;
    margin: 10px auto 0;
    max-width: 80px;
    height: auto;
    position: absolute;
    bottom: -20px;
    right: 0;
  }

  section.condition{
	width:96%;
	margin:1rem auto;
	padding:1rem;
	border:1px solid #ccc;
}
section.condition hr{
	margin:1rem 0;
}

.invoice-view {
  margin: 0 auto;
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  background: #fff;
  padding: 1rem;
}
.invoice-view h2 {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 1.8em;
}
.invoice_head{
	display:flex;
	flex-direction: column;
	align-items: center;
}
.invoice_head .atena{
	display:inline-block;
	font-size: 180%;
	border-bottom:1px solid #666;
}
.invoice_head .payamount span{
	font-size:250%;
	 margin:1rem;
}
.invoice_head .remaining{	
}
.invoice_head .com_info{
	border:none;
}
.invoice-header,
.invoice-total,
.invoice-remarks,
.invoice-payment {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5em;
}
.invoice-header th,
.invoice-header td,
.invoice-payment th,
.invoice-payment td {
  border: 1px solid #ccc;
  padding: 8px 12px;
  text-align: left;
}
.invoice-payment th {
  background: #f5f5f5;
}
.invoice-payment .right {
  text-align: right;
}
.invoice-total {
  font-weight: bold;
  font-size: 1.2em;
  text-align: right;
}
.invoice-footer {
  text-align: center;
  font-size: 0.9em;
  color: #555;
  margin-top: 3em;
  border-top: 1px solid #ccc;
  padding-top: 1em;
}

section.condition.yado{
	background:#d5ebff;
}
.yado-info-block{
	display:flex;
	justify-content: center;
	flex-direction: column;
}
.yado-info-block .yado_info{
	background:#fff;
	margin:5px;
	padding:1rem;
}
td.acf-form-submit{
	border: none !important;
	background: initial !important;
}

.create-arrangement-links {
	display:flex;
	justify-content: space-around;
}
.create-arrangement-links a{
	display:inline-block;
	background:#2f8fe5;
	color:#fff;
	font-size: 0.7rem;
	width: 32%;
	padding: 0.5rem;
	border-radius:6px;
}