@charset "UTF-8";

/* ======= REGULATIONS MAIN====== */
a:link {
  color: #9b2f34;
}
a:visited {
  color: #9b2f34;
}
a:hover{
  text-decoration:none;
  opacity: 0.7;
  transition:0.5s;
}

.br-sp {
  display: none;
}

.main {
  width: 100%;
}

.contents {
  width: 900px;
  margin: 0 auto;
}

h1 {
  font-size: 22px;
  position: relative;
  padding-top: 1em;
  padding-bottom: 0.5em;
  border-bottom: 4px solid #ccc;
}

h2 {
  font-size: 16px;
　font-weight: lighter;
  display:flex;
  padding-left:5px;
  align-items: left;
}

h3 {
  font-size: 22px;
  position: relative;
  padding-top: 0.2em;
  padding-bottom: 0.2em;
}

h1::after {
  position: absolute;
  bottom: -4px;
  left: 0;
  z-index: 2;
  content: "";
  width: 20%;
  height: 4px;
  background-color:#607D8B;
  /* background-color: #007bab; */
}

.attention1 {
  width: 100%;
  padding: 0;
  padding: 40px 0;
  text-align:center;
  font-size:16px;
  /* background: #f0e68c;
    margin: 0 auto 10px;
  border-radius: 11px; */
}

.attention1 p{
  padding-bottom:10px;
}

/* .attention2 {
  width: 90%;
  margin: 20px auto;
  background: #f0e68c;
  padding: 30px;
  border-radius: 11px;
  font-weight: bold;
} */

.box1 {
  width: 100%;
  margin: 0 auto 50px;
  background: #f0f0f0;
  border-radius: 11px;
}

.box2-wrapper {
  width: 96%;
  margin: 0 auto;
  padding: 20px 0;
  text-align: center;
}

.box2 {
  box-sizing: border-box;
  width: 100%;
  height: 400px;
  margin-bottom: 24px;
  background: #fff;
  padding: 8px 25px;
  border-radius: 11px;
}

.bigger {
  height:330px;
}

.box2-wrapper .box2:last-child {
  margin-bottom: 0;
}

.group-info {
  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;
  border-bottom: 2px solid #ccc;
  padding: 1rem 0;
  margin-bottom: 25px;
}

.smtg-mail {
  font-family: Verdana;
  font-weight: normal;
  font-size: 12px;
  margin: 0;
  align-items: center;
  padding: 1rem 0;
  line-height: 1.2;
}

.box2-fig {
  box-sizing: border-box;
  width: 35%;
  height: 140px;
  float: left;
  text-align: center;
  margin-right: 2%;
  display:flex;
  align-items:center;
  padding-top:100px;
}

.fig-common {
  border:none;
  /* border: solid 1px grey; */
  margin: 0 auto;
}

.box2-text {
  box-sizing: border-box;
  width: 41%;
  margin-right: 2%;
  float: left;
  text-align: justify;
}

.box2-text p {
  line-height: 1.4;
  margin: 0;
  padding:0 10px;
  padding-bottom:20px;
}

.box2-doc {
  box-sizing: border-box;
  float: left;
  width: 20%;
  font-size: 14px;
  text-align: center;
  background: #fff;
  padding: 0 10px 0 10px;
  border-left: dashed 1px #007bab;
}

.box2-doc p {
  padding-top:15px;
  margin: 4px;
  line-height: 1.2;
}

@media screen and (max-width: 900px) {
  .contents {
    width: 90%;
  }

  .attention2 p {
    margin: 0;
    line-height: 1.6;
  }

  h2 {
    width: 55%;
    font-size: 1.2rem;
  }

  .smtg-mail {
    width: 45%;
    font-size: 1.1rem;
    padding: 0;
  }

  .box2-text {
    font-size: 1.2rem;
  }

  .box2-doc {
    font-size: 1.2rem;
  }
}
@media screen and (max-width: 640px) {
  .contents {
    margin: 60px auto 0;
  }

  h2 {
    width: 100%;
  }

  .smtg-mail {
    width: 100%;
  }

  .group-info {
    display: block;
  }

  .attention2 {
    padding: 10px;
  }

  .box1 {
    box-sizing: border-box;
    padding: 20px;
  }

  .box2-wrapper {
    width: 92%;
    padding: 0;
  }

  .box2 {
    height: 440px;
    margin-bottom: 16px;
  }

  .box2-wrapper .box2:nth-child(3) {
    height: 470px;
  }

  .box2-wrapper .box2:last-child {
    height: 450px;
  }

  .box2-text {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 1rem;
  }

  .box2-doc {
    width: 100%;
    border-left: none;
    border-top: dashed 1px #007bab;
    padding: 10px;
  }

  .box2-fig {
    float: none;
    display: block;
    width: 100%;
    height: 160px;
  }

  .fig-common {
    margin: 0 auto;
    text-align: center;
  }

  .fig-mltc {
    width: 70%;
  }
}

@media screen and (max-width: 480px) {
  .attention2 p {
    font-size: 1.3rem;
  }

  .br-sp {
    display: block;
  }

  .box1 {
    padding: 12px;
  }

  .box2-wrapper {
    width: 100%;
  }

  .box2 {
    height: 440px;
    padding: 5px 10px;
  }

  .box2-wrapper .box2:nth-child(3),
  .box2:nth-child(5) {
    height: 460px;
  }

  .box2-wrapper .box2:nth-child(4) {
    height: 480px;
  }

  .box2-wrapper .box2:last-child {
    height: 450px;
  }

  .box2-fig {
    float: none;
    display: block;
    width: 100%;
    height: 160px;
    margin: 0 auto;
  }

  .box2-wrapper > .box2:last-child > .box2-fig {
    height: 140px;
  }

  .fig-infra {
    width: 70%;
    height: auto;
  }

  .fig-inkjet {
    width: 50%;
    height: auto;
  }

  .box2-text {
    width: 100%;
  }

  .box2-doc {
    padding: 5px;
  }

  .smtg-mail {
    font-size: 1rem;
  }
}

@media screen and (max-width: 320px) {
  .box2 {
    height: 490px;
    padding: 5px 10px;
  }

  .box2-wrapper .box2:nth-child(3) {
    height: 520px;
  }

  .box2-wrapper .box2:nth-child(4) {
    height: 560px;
  }

  .box2-wrapper .box2:nth-child(5) {
    height: 540px;
  }

  .box2-wrapper .box2:last-child {
    height: 490px;
  }
}
