@charset "UTF-8";
header h1 {
  width: 100%;
  height: 300px;
  background: url("../img/introduction/headbg.jpg") no-repeat 50% 50%;
  background-size: cover;
}
@media screen and (max-width:767px) {
  header h1 {
    height: 200px;
    background: url("../img/introduction/headbg-sp.jpg") no-repeat 50% 50%;
    background-size: cover;
  }
}

main {
  max-width: 100%;
}
.kakko {
  display: inline-block;
  background-image: url("../img/introduction/kakko-t.svg"), url("../img/introduction/kakko-b.svg");
  background-repeat: no-repeat;
  background-position: 100% 0, 0 100%;
  padding: 20px 25px;
  font-size: 2.0rem;
  line-height: 1.8;
  letter-spacing: 0.1em;
}
.flex {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}
.img {
  line-height: 0;
}
.img img {
  width: 100%;
  height: auto;
}

#mainContent {
  width: 1080px;
  margin: 70px auto 100px;
}
#mainContent .box1 {
  width: 100%;
  height: 545px;
  background: url("../img/introduction/img1.jpg") no-repeat 0 100%;
  margin-bottom: 90px;
  writing-mode: vertical-rl;
}
#mainContent .box1 h2 {
  font-size: 4.4rem;
  writing-mode: vertical-rl;
  margin-left: 60px;
}
#mainContent .box1 .kakko {
  margin-top: 50px;
}
#mainContent .box2 {
  padding-right: 90px;
  position: relative;
}
#mainContent .box2 > div {
  display: flex;
  justify-content: space-between;
}
#mainContent .box2 > div .img {
  width: 350px;
}
#mainContent .box2 > div .text {
  line-height: 1.9;
  width: 600px;
}
#mainContent .box2 > div:first-of-type {
  margin-bottom: 60px;
}
#mainContent .box2 > div:nth-of-type(2) {
  position: absolute;
  left: 390px;
  top: 185px;
}
#mainContent .box2 > div:last-of-type {
  align-items: flex-end;
}
@media screen and (max-width:767px) {
  #mainContent {
    width: 100%;
    margin: 0 auto 30px;
  }
  #mainContent .box1 {
    height: 520px;
    background: url("../img/introduction/img1.jpg") no-repeat 50% 100%;
    background-size: 100% auto;
    margin-bottom: 0;
    padding-top: 40px;
    display: flex;
    width: 100%;
    align-items: center;
  }
  #mainContent .box1 h2 {
    font-size: 3.2rem;
    margin-left: 35px;
    margin-right: -67px;
  }
  #mainContent .box1 .kakko {
    margin-top: 30px;
  }
  #mainContent .box2 {
    padding-right: 0;
  }
  #mainContent .box2 > div {
    flex-wrap: wrap;
  }
  #mainContent .box2 > div .img {
    width: 100%;
  }
  #mainContent .box2 > div .img img {
    width: 300px;
    height: auto;
  }
  #mainContent .box2 > div .text {
    line-height: 1.9;
    width: calc(100% - 30px);
    margin: 45px auto;
  }
  #mainContent .box2 > div:first-of-type {
    margin-bottom: 0;
  }
  #mainContent .box2 > div:first-of-type .text {
    order: 1;
  }
  #mainContent .box2 > div:first-of-type .img {
    order: 2;
  }
  #mainContent .box2 > div:nth-of-type(2) {
    position: static;
  }
  #mainContent .box2 > div:last-of-type .img {
    text-align: right;
  }
}

#prPoint {
  background-color: #F3EAE6;
  padding: 100px 0;
}
#prPoint .boxIn {
  width: 980px;
  margin: auto;
}
#prPoint .flex {
  background-color: #fff;
  padding: 60px 80px 60px 0;
}
#prPoint .flex .img {
  width: 550px;
}
#prPoint .flex .textBox {
  width: calc(100% - 550px);
  writing-mode: vertical-rl;
}
#prPoint .flex .textBox .kakko {
  margin: -10px 0 0 60px;
}
#prPoint .flex .textBox .text {
  line-height: 1.9;
  height: auto;
  max-height: 18em;
  margin-top: 1em;
}
#prPoint .flex + .flex {
  margin-top: 50px;
}
#prPoint .flex:last-of-type .text {
  padding-right: 1em;
}
@media screen and (max-width:767px) {
  #prPoint {
    padding: 0 0 80px;
  }
  #prPoint .boxIn {
    width: 100%;
  }
  #prPoint .flex {
    background-color: transparent;
    padding: 0;
  }
  #prPoint .flex .img {
    width: 100%;
    order: 2;
  }
  #prPoint .flex .textBox {
    width: 100%;
    order: 1;
    padding: 80px 0 50px 10px;
    display: flex;
    align-items: center;
  }
  #prPoint .flex .textBox .kakko {
    margin: 0 0 0 40px;
  }
  #prPoint .flex .textBox .text {
    margin-top: 2.5em;
  }
  #prPoint .flex + .flex {
    margin-top: 0;
  }
  #prPoint .flex:last-of-type .text {
    padding-right: 0;
  }
}

#flow .boxHead {
  width: 100%;
  height: 420px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: url("../img/introduction/taru-bg.jpg") no-repeat 50% 50%;
  background-size: cover;
}
#flow .boxIn {
  width: 1080px;
  margin: auto auto 100px;
}
#flow .boxHead .kakko {
  background-image: url("../img/introduction/kakko-t2.svg"), url("../img/introduction/kakko-b2.svg");
  background-repeat: no-repeat;
  background-position: 100% 0, 0 100%;
  color: #fff;
  writing-mode: vertical-rl;
}
#flow #koutei p {
  text-align: center;
  margin: 55px auto;
}
#flow #koutei .imgBox {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
  margin-bottom: 50px;
}
#flow #koutei .imgBox p {
  width: 325px;
  height: 182px;
  position: relative;
  margin: 0 0 50px;
}
#flow #koutei .imgBox p:nth-of-type(1) {
  background: url("../img/introduction/koutei-1.jpg") no-repeat;
  background-size: cover;
}
#flow #koutei .imgBox p:nth-of-type(2) {
  background: url("../img/introduction/koutei-3.jpg") no-repeat;
  background-size: cover;
}
#flow #koutei .imgBox p:nth-of-type(3) {
  background: url("../img/introduction/koutei-4.jpg") no-repeat;
  background-size: cover;
}
#flow #koutei .imgBox p:nth-of-type(4) {
  background: url("../img/introduction/koutei-2.jpg") no-repeat;
  background-size: cover;
}
#flow #koutei .imgBox p:nth-of-type(5) {
  background: url("../img/introduction/koutei-5.jpg") no-repeat;
  background-size: cover;
}
#flow #koutei .imgBox p:nth-of-type(6) {
  background: url("../img/introduction/koutei-6.jpg") no-repeat;
  background-size: cover;
}
#flow #koutei .imgBox p span {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 125px;
  height: 44px;
  background: rgba(255,255,255,0.8);
  position: absolute;
  right: 0;
  bottom: 0;
  font-size: 2.0rem;
  font-weight: bold;
}
#flow .flex {
  justify-content: space-between;
  align-items: center;
}
#flow .flex .img {
  width: 500px;
}
#flow .flex .text {
  width: 530px;
  line-height: 1.9;
}
@media screen and (max-width:767px) {
  #flow .boxIn {
    width: 100%;
    margin: auto auto 80px;
  }
  #flow .boxHead {
    width: 100%;
    height: 418px;
    background: url("../img/introduction/taru-bg-sp.jpg") no-repeat 50% 50%;
    background-size: cover;
  }
  #flow #koutei p {
    margin: 40px auto;
  }
  #flow #koutei .imgBox {
    display: block;
    margin-bottom: 0;
  }
  #flow #koutei .imgBox p {
    width: 100%;
    height: 0;
    padding-bottom: 56%;
    margin: 0 auto 20px;
  }
  #flow .flex .img {
    width: 100%;
    order: 2;
  }
  #flow .flex .text {
    width: calc(100% - 30px);
    margin: 55px auto 45px;
    order: 1;
  }
}
