@charset "UTF-8";

/* ======= REGULATIONS MAIN====== */
a:link {
  color: #9b2f34;
}
a:visited {
  color: #9b2f34;
}
a:hover{
  text-decoration:none;
  opacity: 0.7;
  transition:0.5s;
}

.sp{
  display: none;
}

.main {
  width: 100%;
}

.contents {
  width: 900px;
  margin: 60px auto 0;
}

h1 {
  font-size: 22px;
  position: relative;
  padding-bottom: 0.5em;
  border-bottom: 4px solid #ccc;
}

h1::after {
  position: absolute;
  bottom: -4px;
  left: 0;
  z-index: 2;
  content: "";
  width: 20%;
  height: 4px;
  background-color: #607D8B;
}

.main table {
  width: 100%;
  border-collapse: collapse;
  margin: 100px auto 140px;
  border: solid 2px white;
}

.main table tr {
  border-bottom: solid 2px white;
}

.main table tr:last-child {
  border-bottom: none;
}

.main table th {
  width: 30%;
  background-color: #9b2f34;
  color: white;
  text-align: center;
  border: 30;
  font-weight:normal;
}

.main table td {
  width: 50%;
  text-align: center;
  background-color:#f2f2f2;
  /* background-color: #d1e8ff; */
  padding: 15px;
}

@media screen and (max-width: 900px){
  .contents{
    width: 90%;
  }
}

@media screen and (max-width: 640px){
  .sp{
    display: block;
  }

  h1{
   font-size: 2rem;
  } 

 .contents{
  margin-top: 60px;
 } 

 .main table {
  margin: 20px auto 40px;
  border: solid 2px white;
}

 .main table td{
   padding: 10px;
   text-align: left;
 }
}
 @media screen and (max-width: 480px){

   h1{
     font-size: 1.6rem;
   } 

   .main table {
    margin: 40px auto 80px;
    /* font-size: 1.2rem; */
  }

   .main table th, .main table td {
     display: block;
     width: 100%;
     padding: 15px 10px;
     margin-right: 0;
  }
}
  /* @media screen and (max-width: 320px){
    .main table th, .main table td {
      display: block;
      width: 88%;
      padding: 15px 10px;
      margin-right: 0;
   }
} */




.stepbar {
  margin: 0 auto;
  width: 90%;
}

.stepbar .stepbarwrap {
  margin-top:3em;
  margin-bottom: 4em;
  position: relative;
}

.stepbar .stepbarwrap .steptitle {
  display: flex;
  align-items: center;
}

.stepbar .stepbarwrap .steptitle .stepcircle {
  display: inline-block;
  width: 3em;
  height: 3em;
  content: "";
  border-radius: 50%;
  background-color: #607D8B;
  color: #fff;
  text-align: center;
}

.stepbar .stepbarwrap .steptitle .stepcircle span {
  display: inline-block;
  font-size: 1.2em;
  position: relative;
  top: 0.5em;
}

.stepbar .stepbarwrap .steptitle .title {
  margin-left: 1.5em;
  font-size: 1.2em;
}

.stepbar .stepbarwrap .steptxt {
  padding-left: 5em;
}

.stepbar .stepbarwrap .steptxt .txt {
  font-size: 0.9em;
}

.stepbar .stepbarwrap .stepline {
  width: 1px;
  height: calc(100% + 1.5em);
  background-color: #607D8B;
  position: absolute;
  top: 1em;
  left: 1.5em;
  z-index: -1;
  display:flex;
  align-items:center;
}

.stepbarwrap:last-of-type .stepline:last-of-type {
  display: none;
}

@media screen and (max-width: 960px) {
  .stepbar {
    width: 90%;
  }
}
