/* common
-------------------- */
.main_title{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 5.3em;
  margin-bottom: 1%;
  font-size: 3rem;
  font-weight: bold;
  text-align: center;
  letter-spacing: 0.08em;
  background: #F8F7F5;
}
#breadcrumb{
  max-width: 1200px;
  width: 90%;
}
.content{
  max-width: 1200px;
  width: 90%;
  margin: 0 auto 5%;
  letter-spacing: 0.08em;
}
.subnav{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4%;
}
.content .txt + .subnav{
  margin-top: 10%;
}
.subnav li{
  position: relative;
  width: 23%;
  margin-bottom: 2%;
}
.subnav li a {
  position: relative;
  display: block;
  padding: 2em 1em 2em 2em;
  font-size: 1.5rem;
  line-height: 1.5;
  border-bottom: 1px solid #DBDBDB;
  overflow: visible;
  transition: all ease 0.25s;
}
.subnav li:before{
  content: "";
  position: absolute;
  top: 0;
  right: -1px;
  bottom: 0;
  width: 1px;
  height: 24px;
  margin: auto;
  background: #DBDBDB;
}
.subnav li a > span {
  position: relative;
  display: block;
  z-index: 1;
  width: 100%;
}
.subnav li a > span:after{
  content: "";
  position: absolute;
  right: 5%;
  top: 50%;
  display: inline-block;
  height: 10px;
  width: 10px;
  margin-top: -3px;
  border-top: 2px solid #991017;
  border-right: 2px solid #991017;
  transform: rotate(45deg);
}
.subnav li a:after {
  background: transparent;
  content: "";
  display: block;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  -webkit-transform-origin: right top;
  -ms-transform-origin: right top;
  transform-origin: right top;
  transform: scale(0,1);
  -webkit-transition: -webkit-transform .3s;
  transition: -webkit-transform .3s;
  transition: transform .3s;
  z-index: 0;
}
.subnav li a:hover{
  opacity: 1;
}
.subnav li a:hover:after {
  -webkit-transform-origin: left top;
  -ms-transform-origin: left top;
  transform-origin: left top;
  -webkit-transform: scale(1,1);
  -ms-transform: scale(1,1);
  transform: scale(1,1);
}
.subnav li a:after {
  background: #f1f2f6;
}
.content .title02{
  margin-bottom: 2em;
  font-size: 3rem;
  text-align: center;
  font-weight: 500;
}
#return.content .title02 {
  margin-bottom: 1em;
}
.content .title03{
  display: flex;
  align-items: center;
  max-width: 1100px;
  width: 100%;
  height: 4em;
  padding: 0 2em;
  margin: 0 auto 5%;
  font-size: 2rem;
  font-weight: bold;
  background: #F8F7F5;
  border-radius: 8px;
}
.content .txt + .title03{
  margin-top: 4em;
}
.content .txt{
  max-width: 1036px;
  width: 95%;
  margin: auto;
}
.content .txt h4{
  margin-bottom: 1.5em;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.5;
}
.content .txt * + h4{
  margin-top: 4em;
}
#return.content .txt * + h4{
  margin-top: 3em
}
#return.content .txt p:first-child + h4 {
  margin-top: 1.5em;
}
.title_sub,
.content .txt p,
.content .txt li{
  margin-left: 0.5em;
  font-size: 1.5rem;
  line-height: 2;
}
.content .txt p.mbhalf{
  margin-bottom: 0.5em;
}
.content .txt p.mb1em{
  margin-bottom: 1em;
}
.content .txt p.mb2em{
  margin-bottom: 2em;
}
.content .txt p.mb3em{
  margin-bottom: 3em;
}
.content .txt p.img{
  margin: 1em 0;
}
.content .txt p.txin{
  margin-left: 2em;
  text-indent: -1.5em;
}
.content .txt p.fwb{
  font-weight: bold;
}
.content .hide{
  margin: 0 0 2% 0.5em;
}
.content table{
  width: 100%;
  font-size: 1.5rem;
  border-collapse:  collapse;
  table-layout: fixed;
}
.content p + .hide{
  margin-top: 3%;
}
.content table th{
  width: 18%;
  padding: 1em;
  font-size: 1.3rem;
  text-align: center;
  line-height: 2;
  vertical-align: top;
  border: 1px solid #ccc;
  background: #F7F7F7;

}
.content table td{
  padding: 1em 0.5em;
  font-size: 1.3rem;
  text-align: center;
  line-height: 2;
  vertical-align: top;
  border: 1px solid #ccc;
}
.content table td.vam{
  vertical-align: middle;
}
.content .box{
  width: 95%;
  padding: 3%;
  margin: 3% auto 0;
  background: #F7F7F7;
  border-radius: 8px;
}
.content .box p{
  font-size: 1.4rem;
}
.content .caution{
  margin: 4% 0;
}
.content p a,
.content .txt a{
  text-decoration: underline;
}
.title_sub {
  text-align: center;
}

.index_list .name {
  text-align: right;
  margin-bottom: 40px;
}
.content.index_list .txt p,
.index_list ul,
.index_list ol {
  margin: 15px 0 30px;
}
.index_list ul,
.index_list ol {
  padding-left: 1.5em;
}
.index_list li {
  text-indent: -1.5em;
  margin-left: 1.5em;
  margin-top: 5px;
}

@media screen and (min-width: 1037px){
  .tab{
    display: none;
  }
}

@media screen and (max-width: 1036px){
  .subnav li a{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 6em;
    padding: 2em 0.5em 2em 1em;
    font-size: 1.3rem;
  }
  .subnav li a > span:after{
    height: 0.6em;
    width: 0.6em;
  }
  .content .hide{
    overflow-x: scroll;
  }
  #payment.content table{
    width: 1000px;
  }
}
@media screen and (min-width: 768px) {
  .payment_list {
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;
  }
  .payment_list ul:not(:first-child){
    margin-left: 50px;
  }
  .title_sub {
    margin-bottom: 60px;
  }
}
@media screen and (max-width: 767px) {
  #breadcrumb{
    margin: 0 auto;
  }
  .main_title{
    height: 3em;
    font-size: 2rem;
  }
  .subnav{
    margin-bottom: 10%;
  }
  .subnav li{
    width: 48%;
    margin-bottom: 0;
  }
  .subnav li a{
    padding: 1.5em 1em;
    font-size: 1.2rem;
  }
  .subnav li a:before{
    height: 1.5em;
  }
  /*.subnav li a:after {
    right: 8%;
    height: 0.6em;
    width: 0.6em;
    margin-top: -5px;
    border-top: 1px solid #991017;
    border-right: 1px solid #991017;
  }*/
  .content .title02{
    margin-bottom: 1.5em;
    font-size: 2rem;
  }
  .content .title03{
    height: 3em;
    padding: 0 1em;
    margin-bottom: 10%;
    font-size: 1.8rem;
  }
  .content .txt + .title03{
    margin-top: 2em;
  }
  .content .txt{
    padding: 0;
  }
  .content .txt h4{
    margin-bottom: 0.5em;
    font-size: 1.4rem;
  }
  .content .txt * + h4{
    margin-top: 2em;
  }
  #return.content .txt * + h4{
    margin-top: 1em;
  }
  #return.content .txt p:first-child + h4 {
    margin-top: 0.5em;
  }
  .title_sub,
  .content .txt p,
  .content .txt li{
    margin-left: 0;
    font-size: 1.4rem;
  }
  .content .txt p.img{
    margin: 0.5em 0;
  }
  .content table{
    font-size: 1.2rem;
  }
  .content table th{
    font-size: 1.2rem;

  }
  .content table td{
    font-size: 1.2rem;
  }
  .content .box{
    padding: 5%;
  }
  .content .box p{
    font-size: 1.2rem;
  }
  .content .txt p.txin{
    margin-left: 1.5em;
  }
  .payment_list {
    margin-top: 10px;
  }
  .title_sub {
    margin-bottom: 30px;
  }
}

.horaizontal li {
  display: inline-block;
}
.horaizontal li:not(:first-child) {
  margin-left: 1em;
}
.horaizontal ul {
  margin: 1em 0;
}
.indexfont {
  font-weight: bold;
}

.content table.pricetable td {
  text-align: right;
  padding: 1em;
}

@media screen and (min-width: 768px) {
  .content table.pricetable {
    width: auto;
    table-layout: auto;
    margin-top: 1em;
    margin-bottom: 1em;
  }
  .content table.pricetable th {
    width: 300px;
  }
  .content table.pricetable th:first-child {
    width: 160px;
  }
}

.content table.shoptable th {
  background: #fff;
  font-weight: bold;
  width: auto;
}
.content table.shoptable th,
.content table.shoptable td {
  text-align: left;
  border: none;
}
@media screen and (min-width: 768px) {
  .content table.shoptable {
    width: auto;
    table-layout: auto;
  }
  .content table.shoptable th {
    width: 240px;
  }
}










