
section {
    padding-top: 0;
    padding-bottom: 0;
}
article {
    line-height: 1.6;
    font-size: 14px;
}
@media screen and (min-width: 768px){
article {
    font-size: 16px;
}
}


.bg-full {
    height: 550px;
    width: 100%;
}
#box1 {
    background-image: url(/img/advantages-01-sp.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
}


.main-copy {
/*    opacity:0;*/
    font-size: 26px;
    letter-spacing: 0.25em;
    font-family: serif;
    color: #1D1D1F;
    line-height: 1.4;
    font-feature-settings: "palt";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 25%;
    text-align: center;
    display: inline-block;
    white-space: nowrap;
}
.main-copy span {
    opacity: 0;
    -webkit-transition: .6s ease-in-out;
    transition: .6s ease-in-out;
}
.main-copy span.show {
    opacity: 1;
}
@media screen and (min-width:768px){
.bg-full {
    height: 100vh;
}
.main-copy {
  font-size: 32px;
}
}
@media screen and (min-width:1025px){
#box1 {
    background-position: bottom;
}
.main-copy {
    left: 25%;
    transform: translate(-50%,-50%);
    top: 30%;
}
}



.lead-box {
    height: 65vh;
    width: 100%;
    max-height: 600px;
}
.lead-box span {
    display: block;
}
.lead-box span + span {
    margin-bottom: 1rem
}

.contents-box {
    padding: 1rem 1rem 4rem 1rem;
    display: flex;
    height: 100%;
    flex-flow: column wrap;
    justify-content: center;
    align-items: center;
}
#box2 .contents-box {
    padding: 1rem;
}
#box3 {
    background-image: url(/img/advantages-02.jpg);
    color: #fff;
    background-repeat: no-repeat;
    background-position: left;
    background-size: cover;
}
#box3 .inner-lg {
    height: 100%;
}
#box10 .contents-box,
#box3 .contents-box {
    max-width: 450px;
    margin: 0 auto;
}
.img-wrap {
    width: 100%;
    position: relative;
    padding-top: 66.6666%;
}
.img-wrap::before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 100%;
}
#box9 .img-wrap {
  padding-top: 90%;
}
#box4 .img-wrap::before {
  background-image: url(/img/advantages-03.jpg);
}
#box5 .img-wrap::before {
  background-image: url(/img/advantages-04.jpg);
}
#box6 .img-wrap::before {
  background-image: url(/img/advantages-05.jpg);
}
#box7 .img-wrap::before {
  background-image: url(/img/advantages-06.jpg);
}
#box8 .img-wrap::before {
  background-image: url(/img/advantages-07.jpg);
}
#box9 .img-wrap::before {
  background-image: url(/img/advantages-08.jpg);
}
#box10 {
    background-image: url(/img/advantages-09.jpg);
    color: #fff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
#box10 .inner-lg {
    height: 100%;
}
#box10 .contents-box .btn-01 {
    color: #fff;
}
#box10 .btn-01 {
    border: 1px solid #fff;
    color: #fff;
    background-color: transparent;
}
#box10 .contents-box p span + span {
  display: block;
  margin-top: 1rem;
}
#box10 .contents-box {
  text-align: center;
}



@media screen and (min-width:1025px){
.box {
  height: 100%;
}
#box1 {
    background-image: url(/img/advantages-01.jpg);
}
.lead-box {
    height: 70vh;
}
#box3 .contents-box {
    margin-left: 0;
}
.btn-01 {
    padding: 0.6rem 2rem;
    min-height: 4.2rem;
    max-width: 380px;
}
.grid {
    display: grid;
    grid-template-columns: 65% 35%;
}
#box9 .grid {
    grid-template-columns: 50% 50%;
}
.grid.reverse {
    grid-template-columns: 35% 65%;
}
.grid.reverse > *:nth-of-type(1) {
    order: 2;
}
.grid.reverse > *:nth-of-type(2) {
    order: 1;
}
.img-wrap {
    height: 100vh;
}
}
.item-wrap > li {
    margin-bottom: 1rem;
}
.btn-01 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border: 1px solid;
    border-radius: 150px;
    line-height: 1.4;
    text-align: center;
    padding: 0.2rem 2rem;
    margin: 0 auto;
    min-height: 3.4rem;
    width: 100%;
    position: relative;
    max-width: 330px;
}
.btn-01:after {
  font-family: 'FontAwesome';
  content: "\f105";
  font-size: 1.5rem;
  position: absolute;
  display: block;
  top: 50%;
  right: 1.2rem;
  transform: translateY(-50%);
}


/* js関連 */
.fade {
    opacity: 0;
    transition: .8s ease-in-out;
}
.fade.active {
    opacity: 1;
}
.slide-up {
    opacity: 0;
    transition: all .8s ease-in-out;
    transform: translate3d(0,5px,0);
    margin-bottom: 1rem;
}
.slide-up.show {
    opacity: 1;
    transform: translate3d(0,0,0);
}


/*モーダル*/
.modalArea {
  display: none;
  position: fixed;
  z-index: 100; /*サイトによってここの数値は調整 */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.modalBg {
  width: 100%;
  height: 100%;
  background-color: rgba(30,30,30,0.9);
}
.modalWrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform:translate(-50%,-50%);
  width: 100%;
  max-width: 1024px;
  padding: 0 1rem;
}
.closeArea {
    width: 100%;
    max-width: 1024px;
}
.closeModal {
  cursor: pointer;
  width: 3rem;
  height: 3rem;
  margin-left: auto;
  display: inline-block;
  position: absolute;
  right: 1rem;
  top: -3rem;
}
.modalContents {
  background-color: #fff;
  padding: 2rem;
  max-height: 65vh;
  overflow-y: scroll;
}
.closeModal:before, .closeModal:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1px; /* 棒の幅（太さ） */
    height: 35px; /* 棒の高さ */
    background: #fff; /* バツ印の色 */
}
.closeModal:before {
    transform: translate(-50%,-50%) rotate(45deg);
}
.closeModal:after {
    transform: translate(-50%,-50%) rotate(-45deg);
}
.modalContents h3 {
    text-align: left;
    margin: 1rem 0;
    font-weight: bold;
}
.modalContents p {
    padding-bottom: 1rem;
    border-bottom: 1px solid #bbb;

}
body.fixed {
	position: fixed;
	left: 0;
}
.inner-lg{
  width: calc(100% - 2rem);
  max-width: 1100px;
  margin: 0 auto;
}





















