@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;
	font-size: 10px;
}

section.page.portrait {
	-webkit-print-color-adjust: exact;
	top:0 !IMPORTANT;
	left:0 !IMPORTANT;
	width: 210mm !IMPORTANT;
	height:290mm !IMPORTANT;
	box-sizing: border-box;
}

section.page.landscape {
	-webkit-print-color-adjust: exact;
	top:0 !IMPORTANT;
	left:0 !IMPORTANT;
	width:297mm !IMPORTANT;
	height:200mm !IMPORTANT;
	box-sizing: border-box;
}
header{
  display: none;
}
h2{
	margin:0.5rem;
}
.next_page{
  display: block;
  page-break-before: always !important;
  width: 100%;
  height: 1px;
}
.no_print,
#fix_ui_bt{
	display: none !important;
}

a{
	text-decoration: none;
}
.center{text-align: center;}
.right{text-align: right;}
.halfblock{width:50%;}

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

#global_menu{
	background: #eee;
	height: 60px;
	display: flex;
	align-items: center;
}
#global_menu a{
	background:#fff;
	padding:0.5rem 1rem;
	margin:1rem;
	font-weight: 700;
	color: #000;
}

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

.workspace table{
	border-collapse: collapse;
	width: 98%;
	margin: 1%;
	table-layout: fixed;
}
.workspace table th{
	white-space:nowrap;
}
.workspace table th,
.workspace table td{
	border: 1px solid #666;
	padding: 0.2rem 0.5rem;
	height: 2.5rem;
}
.workspace table:not(.info_table) tr:nth-child(even) td{
	background:#EDEDED;
}
.workspace table .invoice_note_cell{
	height:120px;
	background: #fff !important;
	border-top: 2px solid #666666;
}


/*ローダー*/
.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: 1.5em;
  background: #fff;
}

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

.acf-form-submit input[type=submit],
#submit-btn{
	background: #0783be;color: #fff;
	font-size: 1.6rem;
	display: block;
	border: none;
	margin: 1rem;
	padding: 0.5rem;
	width: 98%;
}
.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: 96.8%;
	margin: 0 auto;
	margin-top: 10px;
	text-align: right;
	font-size: 1.6rem;
	font-weight: 700;
	border: 1px solid #666;
	padding: 0.5rem;
}
.qt_remarks,
.qt_attached{
	width: 94.8%;
	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: 1rem;
	flex-wrap: wrap;
}
.quote-footer .signature{
    padding-left: 8%;
    width: 40%;
}

.signature-wrapper {
  position: relative;
  width: 100%;
}
.signature button{
	display:none;
}

.signature-wrapper canvas {
  position: relative;
  z-index: 1;
}
.payment_info{
	border:1px solid #666;
	padding:1rem;
	width: 98%;
}
.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;
}

.quote-footer .com_info{
	width: 100%;
	text-align:right;
	position:relative;
	font-size:2rem;
	padding-right: 30px;
}
.quote-footer .com_info span{
	display:block;
	font-size:50%;
}
.quote-footer .com_info img{
	position:absolute;
	bottom: -35px;
	right: -15px;
	width: 120px;
}
.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;
	align-items: flex-end;
}
.quote-header table{
	border-collapse: collapse;
	width: 40%;
}
.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;
}
.quote-header table.second_info td{
	text-align: center;
}

#copy-link-btn{
	position: fixed;
	right: 0;
	top: 12%;
	background: #178fe5;
	color: #fff;
	border: 0;
	padding: 0.5rem;
	font-size: 1.2rem;
	z-index: 9998;
}

  .document-block {
    width: 180mm;
    margin: 0 auto;
    margin-bottom: -1px;
    padding: 10px;
    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 .atena{
  	font-size: 120%;
  }
  .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%;
  }
 .quote-header .com_info{
	border:none;
	padding-right: 60px;
}
.quote-header .com_info .manager{
	font-size:150%;
	padding-right: 20px;
}

  .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: -10px;
    right: 0;
  }

  .invoice-view,
  .arrangement-view{
  margin: 0 auto;
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  background: #fff;
  padding: 2em;
}
.invoice-view h2 {
  text-align: center;
  margin-bottom: 2em;
  font-size: 1.8em;
}
.invoice_head,
.quote-header{
	display:flex;
	justify-content: space-between;
	align-items: flex-end;
	flex-wrap: wrap;
}
.invoice_head .atena,
.quote-header .atena{
	font-size: 160%;
	font-weight: 700;
	border-bottom:1px solid #666;
	width: 100%;
}
.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;
}

.arrangement-view h2{
	text-align:center;
	margin-bottom:2rem;
	font-size: 200%;
}
.arrangement-view h3{
	margin-bottom:1rem;
	font-size: 120%;
}
.arrangement-view td{vertical-align: middle;position: relative;font-size: 90%;}
.arrangement-view td.team{
	font-size: 180%;
	font-weight:700;
	text-align: center;
}
.arrangement-view td span{
	font-size:0.8rem;
	margin-right:1rem;
	font-weight:400;
	display: inline-block;
	width:0.8rem;
	line-height: 1.2;
	vertical-align: middle;
	float: left;
}
.arrangement-view .yado_offer{
	border-top:1px solid #000;
	margin-top:1rem;
	padding:1rem;
	font-weight:700;
}
.arrangement-view .yado_offer .signature{
	height:100px;
	border-bottom:1px solid #000;
	width:50%;
	position:relative;
}
.arrangement-view .yado_offer .signature .time_stamp{
	position:absolute;
	top:0;
	left:0;
}
.arrangement-view .yado_offer .signature .inkan{
	position:absolute;
	bottom:0;
	right:0;
}