
.sheet {
  width: 220mm;
  height: 296mm; /* 1mm余裕をもたせる */
  page-break-after: always;
}

@page {
  size: A4;
  margin: 5mm;
}
@media print {
  h1.pdf-tittle {
    color: #364e96;/*文字色*/
    padding: 0.5em 0;/*上下の余白*/
    border-top: solid 3px #364e96;/*上線*/
    border-bottom: solid 3px #364e96;/*下線*/
    text-align: center;
    font-weight: bold;
  }
  
  .pdf-toptext {
    overflow: hidden;
  }

  .pdf-headline-s {
  	margin-top: 30px;
    padding: .5em;
    border-left: 5px solid #ec490a;
    clear: both;
    font-size: 18px;
  }
  
  .pdf-s-comment {
    width: 62%;
    margin: 10px 1.5%;
    float: left;
  }
  
  .pdf-s-img {
    width: 32%;
    margin: 10px 1.5%;
    float: left;
  }
  
  .pdf-s-point {
    overflow: hidden;
  }
  
  .pdf-s-point1 p, 
  .pdf-s-point2 p {
    float: left;
    border: solid 2px #ED7D31;
    width: 50%;
    height: 35px;
    margin: 5px 1.5%;
    text-align: center;
    line-height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px !important;
  }
  
  .pdf-s-point3 p {
    float: left;
    border: solid 2px #ED7D31;
    width: 30%;
    height: 35px;
    margin: 5px 1.5%;
    text-align: center;
    line-height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px !important;
  }
  
  .pdf-s-point4 p {
    float: left;
    border: solid 2px #ED7D31;
    width: 22%;
    height: 40px;
    margin: 5px 1.5%;
    text-align: center;
    line-height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px !important;
  }
  
  .pdf-s-point1 p.blue,
  .pdf-s-point2 p.blue,
  .pdf-s-point3 p.blue, 
  .pdf-s-point4 p.blue {
    border: solid 2px #364e96;
  }
  
  
  
  
  
  .pdf-p-imagea {
  	width: 30%;
  	margin: 10px 2.5%;
  	float: left;
  }
  
  .pdf-p-imageb {
  	width: 60%;
  	margin: 10px 2.5%;
  	float: left;
  }
  
  .pdf-p-imageb table{
  	font-size: 12px !important;
  }
  
  .pdf-p-imageb table,
  .pdf-p-imageb table tr th,
  .pdf-p-imageb table tr td{
  	border: none;
  }
  
  .pdf-p-imageb table tr th {
  	width: 100px;
  	max-width: 100px;
  	padding: 6px 2px;
  	vertical-align: top;
  }
  
  .pdf-p-imagec {
  	width: 100%;
  	clear: both;
  }
  
  .pdf-p-imagec img {
  	width: 27%;
  	margin:0 1.5%;
  	float: left;
  }
  
  .p-service-list2 {
  	width: 18%;
  	margin: 0 1%;
  	float: left;
  }
  
  .p-service-list4 {
  	text-align: center;
  }
  
  
  
  
}

/* プレビュー用のスタイル */
@media screen {
  body {
    background-color: #bdbdbd !important;
    font-size: 12px !important;
  }
  .sheet {
    background: white; /* 背景を白く */
    box-shadow: 0 .5mm 2mm rgba(0,0,0); /* ドロップシャドウ */
    padding: 5mm;
    margin: 30px auto;
  }
  
  h1.pdf-tittle {
    color: #364e96;/*文字色*/
    padding: 0.5em 0;/*上下の余白*/
    border-top: solid 3px #364e96;/*上線*/
    border-bottom: solid 3px #364e96;/*下線*/
    text-align: center;
    font-weight: bold;
  }
  
  .pdf-toptext {
    overflow: hidden;
  }

  .pdf-headline-s {
  	margin-top: 30px;
    padding: .5em;
    border-left: 5px solid #ec490a;
    clear: both;
    font-size: 18px;
  }
  
  .pdf-s-comment {
    width: 62%;
    margin: 10px 1.5%;
    float: left;
  }
  
  .pdf-s-img {
    width: 32%;
    margin: 10px 1.5%;
    float: left;
  }
  
  .pdf-s-point {
    overflow: hidden;
  }
  
  .pdf-s-point1 p, 
  .pdf-s-point2 p {
    float: left;
    border: solid 2px #ED7D31;
    width: 50%;
    height: 35px;
    margin: 5px 1.5%;
    text-align: center;
    line-height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px !important;
  }
  
  .pdf-s-point3 p {
    float: left;
    border: solid 2px #ED7D31;
    width: 30%;
    height: 35px;
    margin: 5px 1.5%;
    text-align: center;
    line-height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px !important;
  }
  
  .pdf-s-point4 p {
    float: left;
    border: solid 2px #ED7D31;
    width: 22%;
    height: 40px;
    margin: 5px 1.5%;
    text-align: center;
    line-height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px !important;
  }
  
  .pdf-s-point1 p.blue,
  .pdf-s-point2 p.blue,
  .pdf-s-point3 p.blue, 
  .pdf-s-point4 p.blue {
    border: solid 2px #364e96;
  }
  
  
  .pdf-p-imagea {
  	width: 30%;
  	margin: 10px 2.5%;
  	float: left;
  }
  
  .pdf-p-imageb {
  	width: 60%;
  	margin: 10px 2.5%;
  	float: left;
  }
  
  .pdf-p-imageb table{
  	font-size: 12px !important;
  }
  
  .pdf-p-imageb table,
  .pdf-p-imageb table tr th,
  .pdf-p-imageb table tr td{
  	border: none;
  }
  
  .pdf-p-imageb table tr th {
  	width: 100px;
  	max-width: 100px;
  	padding: 6px 2px;
  	vertical-align: top;
  }
  
  .pdf-p-imagec {
  	width: 100%;
  }
  
  .pdf-p-imagec img {
  	width: 28%;
  	margin:0 2.5%;
  	float: left;
  }
  
  .p-service-list2 {
  	width: 18%;
  	margin: 0 1%;
  	float: left;
  }
  
  .p-service-list4 {
  	text-align: center;
  }
  
  
}