@import url("../../css/common.css");
@import url("../../css/page_com.css");

.main {
    color: #000;
    border: none;
    padding-left: 1em;
    max-width: 700px;
}

.topimg { max-width: initial; }
.main table { width: 100%; border-spacing: 0; background-size: 100%; }
.main table, .main th, .main td { margin:0; padding: 0;  }

.main img { width: 100%; max-width: initial; }
/**/

div.td1 table { background-image: url("./img/back1.gif"); }

div.td2 table { background-image: url("./img/back2.gif"); }

div.td3 table { background-image: url("./img/back3.gif"); }
/* PCオーバーライド
div.td3 img { margin-bottom: -5px; }*/
div.td3 img { margin-bottom: -7px; }

div.td4 table { background-image: url("./img/back4.gif?001"); }
/* PCオーバーライド
div.td4 img { margin-bottom: -5px; }*/
div.td4 img { margin-bottom: -7px; }

div.td5 table { background-image: url("./img/back5.gif"); }


div.td1 p:nth-of-type(1),div.td2 p:nth-of-type(1),div.td3 p:nth-of-type(1),div.td4 p:nth-of-type(1),div.td5 p:nth-of-type(1)
{ position: relative;  top: -1em; margin-bottom: -.7em;}

/* PCオーバーライド
div.td1 p:nth-of-type(1),div.td2 p:nth-of-type(1) { font-size: 3.5em; }
div.td3 p:nth-of-type(1),div.td4 p:nth-of-type(1),div.td5 p:nth-of-type(1) { font-size: 2.5em; }

 */
div.td1 p:nth-of-type(1),div.td2 p:nth-of-type(1) { font-size: 4em; }
div.td3 p:nth-of-type(1),div.td4 p:nth-of-type(1),div.td5 p:nth-of-type(1) { font-size: 3.5em; }


div.td1 p:nth-of-type(1) { float: right;  right: .5em;}
div.td1 p:nth-of-type(1) {  right: 1.5em;} /* PCオーバーライド*/


div.td1 p:nth-of-type(2),div.td2 p:nth-of-type(2), div.td3 p:nth-of-type(2), div.td5 p:nth-of-type(2)
 { padding: 0 1em;  white-space: normal; }
 div.td1 p:nth-of-type(2),div.td2 p:nth-of-type(2), div.td3 p:nth-of-type(2), div.td5 p:nth-of-type(2)
 { white-space: pre-wrap; } /* PCオーバーライド*/
  div.td1 p:nth-of-type(2),  div.td2 p:nth-of-type(2){ float: right;  }


div.td2 p:nth-of-type(1) { padding-left: .5em;}
/* PCオーバーライド
div.td3 p:nth-of-type(1) { padding-left: 1em;}*/
div.td3 p:nth-of-type(1) { padding-left: 1.5em;}
/* PCオーバーライド
div.td3 p:nth-of-type(2) { margin-bottom: 2em;}*/
div.td3 p:nth-of-type(2) { margin-bottom: 2em; margin-left: 10%; }

div.td4 p:nth-of-type(1) { float: right; right: .5em; margin-top: 1.5em; margin-bottom: -1.6em;}
div.td4 p:last-of-type { font-size: small; text-align: right; }

div.td5 p:nth-of-type(1) { float: right; top: -1.5em; right: .5em;}
div.td5 p:nth-of-type(1) { top: -1.7em; margin-bottom: -1em;} /* PCオーバーライド*/
div.td5 p:nth-of-type(2){ text-align: center; }

div.td1 p:nth-of-type(2),div.td5 p:nth-of-type(2) { clear: both; }

div.td5 b { position: static; float: none; clear: both; padding-left: .5em; font-size: 3.5em; font-weight: normal; }
div.td5 font { display: block; font-size: 0.5em; text-align: right; padding-right: 1em; }
div.td5 font {display: inline-block; font-size: 0.3em; padding-left: 1em; }/* PCオーバーライド*/

/*PCオーバーライド
div.td1 p:nth-of-type(1),div.td2 p:nth-of-type(1),div.td3 p:nth-of-type(1),div.td4 p:nth-of-type(1)
{ font-size: 4em;  position: relative; top: -1em; margin-bottom: -.5em; }
div.td1 p:nth-of-type(2),div.td2 p:nth-of-type(2),div.td3 p:nth-of-type(2)
 {  clear: both; }
div.td1 p:nth-of-type(1) {  float: right; right: 1.5em; }
div.td1 p:nth-of-type(2) {  width: 75%;  margin-right: 0; margin-left: auto; white-space: pre-wrap; }

div.td2 p:nth-of-type(1) { float: left; left: .5em;}
div.td2 p:nth-of-type(2)
 { width: 90%;  margin-left: 1em; }

div.td3 p:nth-of-type(1) { top: -1.2em; margin-bottom: -1.5em;  }
div.td3 p:nth-of-type(2)
 { margin-left: 3em; margin-bottom: 2em;}

div.td4 p:nth-of-type(1) { float: right; right: 1.5em; margin-top: 1.5em; margin-bottom: -1.6em; }
div.td4 p:last-of-type  { font-size: small; text-align: right; background-color: white; padding-right: 1em; }

div.td5 p:nth-of-type(1) { float: right; right: 2em; top: -1.5em; position: relative;}
div.td5 p:nth-of-type(2)
 { width: 90%;  margin-left: 1em; clear: both; margin-top: -2em; }
 */