@charset "euc-jp";
article.ms-btoe-page img{
  width: 100%;
}

.page-visual {
  background-image: url("../../../main/function/images/btoe/page-title-visual.jpg");
}

article.ms-btoe-page h2.page-section-title{
  background: none;
  border: none;
  text-align: center;
  font-size: 2.8rem;
  padding: 48px 0;
  line-height: 1;
  margin: 0 0 56px 0;
  position: relative;
}

article.ms-btoe-page h2.page-section-title:after {
  width: 12%;
  height: 3px;
  background: #1568a6;
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

article.ms-btoe-page h2.page-section-title span {
  font-size: 60%;
  display: block;
  padding: 0 0 2.5rem;
  color: #2389cb;
}

article.ms-btoe-page p.page-section-description {
  text-align: center;
  font-size: 1.4rem;
}

.page-section figure {
  background: #f8f8f8;
  border-radius: 8px;
  box-sizing: border-box;
  padding: 16px;
  margin: 24px 0;
}

.btoe-worries ul {
  display: flex;
  flex-wrap: wrap;
  gap: 2%;
}

.btoe-worries ul li {
  width: calc(94% / 4);
  text-align: center;
}

.btoe-worries ul li figure {
  margin: 0;
}

.btoe-worries ul li p {
  text-align: center;
  color: #1568a6;
  font-weight: 600;
  line-height: 1.4;
  padding: 1rem 0;
  font-size: 1.8rem;
}

.btoe-solution {
  text-align: center;
  font-size: 3.4rem;
  font-weight: 700;
  color: #2389cb;
  padding: 180px 0 0 0;
  position: relative;
  line-height: 1.6;
}

.btoe-solution:before {
  content: "";
  width: 0px;
  height: 0px;
  border-style: solid;
  border-width: 69px 100px 0 100px;
  border-color: #2389CA transparent transparent transparent;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, 100%);
}

dl.can-btoe-scene {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.6rem;
  max-width: 780px;
  margin: 0 auto;
  flex-wrap: wrap;
}

dl.can-btoe-scene dt {
  text-align: center;
  border: 3px solid #2389ca;
  padding: 1.5rem 1rem;
  border-radius: 8px;
  color: #2389ca;
  font-weight: 600;
  width: 35%;
}

dl.can-btoe-scene dd {
  padding: 0 0 0 1rem;
  width: 65%;
  box-sizing: border-box;
}

ul.can-btoe li {
  margin: 0 0 6rem 0;
  /*background: #f7f7f7;*/
  box-sizing: border-box;
  border-radius: 8px;
}
ul.can-btoe li:last-child{
  margin-top: 0;
}

ul.can-btoe li h3 {
  width: fit-content;
  margin: 0 auto 32px;
}

ul.can-btoe li figure {
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}

ul.can-btoe li figure img{
  max-width: 780px;
}

ul.can-btoe li figure figcaption {
  font-size: 14px;
  padding: 0 0 1rem 0;
  text-align: right;
}

ul.btoe-merit {
  display: flex;
  flex-wrap: wrap;
  gap: 4%;
  justify-content: center;
}

ul.btoe-merit li {
  width: calc(96% / 2);
  box-sizing: border-box;
  padding: 2rem 0.5rem 1rem;
  border: 4px solid #2389ca;
  border-radius: 8px;
  margin: 2% 0 3% 0;
  text-align: center;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 150px;
  font-size: 2rem;
}

ul.btoe-merit li:before {
  content: "merit";
  background: #1568a6;
  color: #fff;
  line-height: 1;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -50%);
  font-size: 2.4rem;
}

ul.btoe-merit li:first-child:before{
  content: "merit 1";
}

ul.btoe-merit li:nth-child(2):before{
  content: "merit 2";
}

ul.btoe-merit li:nth-child(3):before{
  content: "merit 3";
}

ul.btoe-merit li:nth-child(4):before{
  content: "merit 4";
}

ul.btoe-merit li:nth-child(5):before{
  content: "merit 5";
}

ul.btoe-merit li:nth-child(6):before{
  content: "merit 6";
}

ul.btoe-merit li:nth-child(7):before{
  content: "merit 7";
}

ul.btoe-closed-site {
  display: flex;
  flex-wrap: wrap;
  gap: 4%;
}

ul.btoe-closed-site li {
  width: calc(92% / 3);
}

ul.btoe-closed-site h3 {
  background: #2389ca;
  color: #fff;
  text-align: center;
  line-height: 1;
  padding: 0.5rem;
  width: 70%;
  margin: 0 auto;
  border-radius: 50px;
}

ul.btoe-closed-site p{
  text-align: center;
}

ul.with-btob {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 56px 0 0 0;
}

ul.with-btob li {
  width: 48%;
  margin-bottom: 4%;
}

ul.with-btob li:last-child {
  width: 100%;
  margin-bottom: 0;
}

h3.btoe-sub-ttl {
  background: #1568a6;
  text-align: center;
  line-height: 1;
  color: #fff;
  padding: 1rem;
  margin: 0 0 1rem 0;
  border-radius: 5px;
  font-size: 2.4rem;
}

.btoe-secret-block {
  display: flex;
  flex-wrap: wrap;
}

.btoe-secret-block figure {
  width: 40%;
  padding: 0 2%;
}

.btoe-secret-block-txt {
  width: 60%;
  padding: 4%;
}

.pc-view{
  display: block;
}

.sp-view{
  display: none;
}

@media (max-width: 768px) {
  .page-section:nth-of-type(n+2) {
    width: 100% !important;
    padding: 0 3%;
    box-sizing: border-box;
  }
  .page-title-wrap-inner, p.page-title-description{
    width: 100%;
  }
  article.ms-btoe-page h2.page-section-title {
    font-size: 2rem;
  }
  .btoe-solution {
    font-size: 2.6rem;
    padding: 160px 0 0 0;
  }
  .btoe-solution:before {
    border-width: 55px 80px 0 80px;
  }
  ul.btoe-merit li {
    font-size: 1.2rem;
  }
  ul.btoe-closed-site h3 {
    width: 100%;
  }
  ul.btoe-closed-site p {
    font-size: 0.8rem;
  }
  dl.can-btoe-scene {
    flex-wrap: wrap;
    font-size: 0.9rem;
  }
  dl.can-btoe-scene dt {
    width: 80%;
    text-align: center;
    max-width: 360px;
    padding: 0.5rem;
  }
  dl.can-btoe-scene dd {
    padding: 1rem 1rem 0;
    width: 80%;
  }
}

@media (max-width: 640px) {
  .pc-view{
    display: none;
  }
  
  .sp-view{
    display: block;
  }
  article.ms-btoe-page h2.page-section-title {
    font-size: 1.3rem;
    padding: 24px;
    margin: 0 0 40px;
    line-height: 1.6;
  }
  .page-section:nth-of-type(n+2) {
    margin-bottom: 80px;
  }
  .btoe-worries ul {
    gap: 4%;
  }
  .btoe-worries ul li {
    width: calc(96% / 2);
  }
  .btoe-worries ul li p {
    font-size: 0.9rem;
  }
  .btoe-solution {
    font-size: 1.6rem;
    padding: 120px 0 0 0;
  }
  .btoe-solution:before {
    border-width: 40px 60px 0 60px;
  }
  ul.btoe-merit {
    gap: 0;
  }
  ul.btoe-merit li {
    width: 80%;
    margin: 2% 10% 8%;
    font-size: 0.85rem;
    min-height: auto;
  }
  ul.btoe-closed-site li {
    width: 80%;
    margin: 0 auto 5%;
  }
  ul.btoe-closed-site li:last-child{
    margin-bottom: 0;
  }
  article.ms-btoe-page p.page-section-description {
    font-size: 1rem;
  }
  h3.btoe-sub-ttl {
    font-size: 1.6rem;
    padding: 0.6rem;
    line-height: 1.2;
  }
  ul.can-btoe li h3 {
    width: 100%;
    margin: 0 auto 16px;
  }
  ul.can-btoe li figure figcaption {
    font-size: 10px;
    text-align: left;
  }
  ul.with-btob li {
    width: 80%;
    margin: 0 auto 4%;
    line-height: 1.4;
  }
  ul.with-btob li:last-child {
    width: 80%;
    margin-bottom: 0;
  }
  .btoe-secret-block figure {
    width: 80%;
    margin: 0 auto 3%;
  }
  .btoe-secret-block-txt {
    width: 80%;
    padding: 0;
    margin: 0 auto;
  }
}



