@charset "utf-8";

/*
   ブレイクポイント：
   @media screen and (max-width: 992px){}
   @media screen and (max-width: 769px){}
   @media screen and (max-width: 479px){}

   @media screen and (min-width: 768px){}
   @media screen and (min-width: 992px){}
   @media screen and (min-width: 1200px){}
 */

/*  main#agreementBox - Common
-------------------------------------------------------*/
main#agreementBox {
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.dateBox {
  display: block;
  text-align: right;
}

/* .u-space--s {
  margin-bottom: 10px;
}

.u-space--m {
  margin-bottom: 20px;
}

.u-space {
  margin-bottom: 25px;
}

.u-space--l {
  margin-bottom: 35px;
}

.u-attention {
  color: #d10606;
  font-weight: bold;
} */

/* .txt-ms {
  margin-bottom: 20px;
} */

/* .txt-m {
  margin-bottom: 50px;
} */

/* .ul-disc {
  margin-left: 20px;
  list-style: disc;
} */

.ol-decimal {
  margin-left: 20px;
  list-style-type: decimal;
}

.icon-pdf {
  background: url(../ic_pdf.html) no-repeat 100% 50%;
  padding-right: 20px;
}

/* .bold {
  font-weight: bold;
} */

/*  main#agreementBox - Table
-------------------------------------------------------*/

table.table_normal {
  width: 100%;
  margin-bottom: 30px;
}

table.with_notes,
ul.with_notes {
  margin-bottom: 10px;
}

table.table_normal [colspan="2"],
table.table_normal [colspan="3"],
table.table_normal [colspan="4"],
table.table_normal [colspan="5"],
table.table_normal [colspan="6"],
table.table_normal [colspan="7"],
table.table_normal [colspan="8"] {
  text-align: center;
}

table.table_normal th {
  text-align: center;
  background: #e9f0f3;
  font-weight: normal;
}

table.table_normal td,
table.table_normal tr td.u-attention {
  text-align: center;
}

table.table_normal td:not(.u_tac) {
  text-align: left;
}

table.table_normal td span {
  display: inline-block;
}

/*  main#agreementBox - #agreement_top
-------------------------------------------------------*/

main#agreementBox section#agreement_top .card-txt {
  color: #222;
  display: block;
  text-decoration: none;
  border-top: none;
  padding: 15px 30px 15px 15px;
}

/*  main#agreementBox - #agreement_provisions
-------------------------------------------------------*/

main#agreementBox section#agreement_provisions li {
  list-style: decimal;
  margin-left: 1em;
  padding: 0 0 0 10px;
  counter-increment: count;
  margin-bottom: 10px;
}
main#agreementBox section#agreement_provisions li:last-child {
  margin-bottom: 0px;
}

main#agreementBox section#agreement_provisions li a {
  word-break: break-word;
  overflow-wrap: break-word;
}

main#agreementBox section#agreement_provisions #breadcrumbs li {
  list-style: none;
  margin-left: 0;
  padding: 0;
  counter-increment: none;
}

main#agreementBox section#agreement_provisions .list-number--brackets li {
  list-style: none;
  counter-increment: brackets;
  margin-left: 0px;
  text-indent: -2.5em;
  padding-left: 3em;
  margin-left: -1em;
  margin-top: 10px;
}

main#agreementBox section#agreement_provisions .list-number--brackets li::before {
  content: "（"counter(brackets) "）";
}

/*  main#agreementBox - #agreement_compensation
-------------------------------------------------------*/

main#agreementBox #agreement_compensation table ul li {
  margin-left: 20px;
  list-style-type: disc;
  text-align: left;
}

/*  main#agreementBox - #agreement_trade
-------------------------------------------------------*/
main#agreementBox #agreement_trade table {
  width: 100%;
}

main#agreementBox #agreement_trade table th,
main#agreementBox #agreement_trade table td {
  padding: 10px 30px;
  text-align: left;
}

/*  main#agreementBox - #agreement_pet
-------------------------------------------------------*/


/*  main#aboutlinkBox - #agreement_gas
-------------------------------------------------------*/

#agreement_gas .ttl-lv5 {
  margin-bottom: 10px;
}

#agreement_gas .u-space {
  margin-bottom: 25px;
}

#agreement_gas .u-space--s {
  margin-bottom: 10px;
}

#agreement_gas .u-space--m {
  margin-bottom: 20px;
}

#agreement_gas .u-space--l {
  margin-bottom: 35px;
}

#agreement_gas .u-attention {
  color: #d10606;
  margin-bottom: 0px;
}

#agreement_gas .agreement-gas-item__img {
  margin-bottom: 20px;
}

#agreement_gas .agreement-gas-item__img img {
  display: block;
  max-width: 270px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

#agreement_gas .daikou_table {
  margin-bottom: 20px;
}

#agreement_gas .daikou_table th {
  background-color: #e9f0f3;
  max-width: 170px;
  font-weight: lighter;
}

#agreement_gas .daikou_table tr td.second-td {
  background: #e9f0f3;
  text-align: left;
}

#agreement_gas .daikou_table td img {
  display: table;
  width: auto;
  margin: 10px auto;
  height: auto;
}

#agreement_gas .daikou_table td {
  text-align: center;
  padding: 5px 20px;
  vertical-align: middle;
  text-align: center;
  font-size: 16px;
}

#agreement_gas .agreement-gas-item__body .ol-decimal {
  margin-left: 20px;
}

#agreement-note {
  padding-top: 5px;
  clear: left;
  font-size: 80%;
}

/*  main#aboutlinkBox - SP max-width:769px
-------------------------------------------------------*/

@media screen and (max-width:769px) {
  .txt-m {
    margin-bottom: 20px;
  }

  main#agreementBox section#agreement_provisions,
  main#agreementBox section#agreement_trade,
  main#agreementBox section#agreement_gas {
    font-size: 1.4rem;
    line-height: 24px;
  }

  main#agreementBox table.table_normal th,
  main#agreementBox table.table_normal td {
    font-size: 1.4rem;
  }

  /*#agreement_trade*/
  main#agreementBox #agreement_trade table {
    width: 100%;
  }

  main#agreementBox #agreement_trade table th,
  main#agreementBox #agreement_trade table td {
    display: block;
    padding: 10px;
    border-top: none;
  }

  main#agreementBox #agreement_trade table .table-simple__row:first-of-type th {
    border-top: 1px solid #999;
  }

  main#agreementBox #agreement_trade table td .sp-bk {
    display: block;
    margin-left: 0;
  }

  /*#agreement_gas*/
  #agreement_gas .daikou_table tr {
    display: table-cell;
    width: 33%;
    float: left;
  }

  #agreement_gas .daikou_table td {
    width: 100%;
    height: 130px;
    padding: 5px 10px;
    text-align: center;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    -webkit-align-items: center;
    -ms-align-items: center;
    justify-content: center;
    -webkit-justify-content: center;
    -ms-justify-content: center;
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    font-size: 14px;
    position: relative;
    border-left: none;
    border-bottom: none;
  }

  #agreement_gas .daikou_table table {
    border-left: 1px solid #aaaaaa;
    border-bottom: 1px solid #aaaaaa;
  }

  #agreement_gas .daikou_table tr td.second-td {
    height: 50px;
    text-align: center;
    line-height: 18px;
  }

  #agreement_gas .daikou_table td img {
    width: 100px;
    margin: 0;
  }

  #agreement_gas .daikou_table tr:nth-of-type(2) td span {
    margin-left: auto;
    margin-right: auto;
    display: inline-block;
    width: 100%;
  }

  #agreement_gas .daikou_table tr:nth-of-type(3) td img {
    width: auto;
    height: 50px;
  }

  #agreement_gas .daikou_table tr:nth-of-type(2) td img {
    width: auto;
    height: 90px;
    padding-bottom: 5px;
  }
}

/*  main#aboutlinkBox - PC min-width: 768px
-------------------------------------------------------*/

@media screen and (min-width: 768px) {

  main#agreementBox .u-space {
    margin-bottom: 50px;
  }

  main#agreementBox .u-space--m {
    margin-bottom: 30px;
  }

  main#agreementBox .u-space--l {
    margin-bottom: 70px;
  }

  main#agreementBox section#agreement_top a.card-txt:hover .other-button {
    color: #141414;
    opacity: 0.8;
  }

  #agreement_gas .agreement-gas-item {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }

  #agreement_gas .agreement-gas-item__body {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
  }

  #agreement_gas .agreement-gas-item__img {
    min-width: 320px;
    margin: 0 40px 0 0;
    text-align: left;
  }

  #agreement_gas .agreement-gas-item__img {
    min-width: 320px;
    margin-right: 40px;
    margin-bottom: 0;
  }

  #agreement_gas .agreement-gas-item__img img {
    min-width: 320px;
  }

  #agreement_gas .daikou_table tr td.second-td {
    width: 304px;
    height: 128px;
    font-size: 16px;
  }

  #agreement_gas .daikou_table tr:first-child td {
    height: 58px;
  }

  #agreement_trade table td .sp-bk {
    display: inline-block;
    margin-left: 2rem;
  }
}
