/*==================================================
ふわっ
===================================*/
/* fadeUp */
.fadeUp {
  animation-name: fadeUpAnime;
  animation-duration: 0.8s;
  animation-fill-mode: forwards;
  opacity: 0;
}
@keyframes fadeUpAnime {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* 右から */
.fadeRight {
  animation-name: fadeRightAnime;
  animation-duration: 0.8s;
  animation-fill-mode: forwards;
  opacity: 0;
}
@keyframes fadeRightAnime {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
/* その場でふわ */
.fadeIn {
  animation-name: fadeInAnime;
  animation-duration: 1.5s;
  animation-fill-mode: forwards;
  opacity: 0;
}
@keyframes fadeInAnime {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/*==================================================
ここまで　ふわっ
===================================*/
/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
.fadeInTrigger, .fadeUpTrigger, .fadeRightTrigger {
  opacity: 0;
}
/*newlife　cssを記述*/
.mainImgBox {
  background: url("../../../common/images/newlife/sakura.png") no-repeat center/cover;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;
}
.maincontainer {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 400px;
  text-align: center;
  margin: 30px 0;
}
.maintext {
  padding: 0;
  color: #1A1311;
  font-family: 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', serif;
  ;
  font-size: 25px;
  letter-spacing: 2px;
}
#case1, #case2 {
  background-image: url("../images/newlife/base01_sp.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  box-sizing: border-box;
  padding: 60px 5% 60px;
}
#case1 h3, #case2 h3 {
  font-size: 20px;
  color: #1A1311;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  padding: 30px 5% 30px;
  text-align: center;
  margin: 0px 0px 60px 0px;
}
.newlife-title {
  border-top: solid 1px #000;
  border-bottom: solid 1px #000;
}
.reformimg {
  width: 50%;
  margin: 0px auto 60px;
}
.madoriimg {
  width: 90%;
  margin: 0 auto
}
/*アラカルト事例　cssを記述*/
#alakarte1 {
  background-image: url("../images/newlife/base02.jpg");
  background-size: cover;
  box-sizing: border-box;
  padding: 60px 5% 60px;
  margin: 30px 0;
}
#alakarte2 {
  background-image: url("../images/newlife/base03.jpg");
  background-size: cover;
  box-sizing: border-box;
  padding: 60px 5% 60px;
  margin: 30px 0px 0px 0px;
}
.f-box-case-inner {
  display: flex;
  margin: 5em 0;
  justify-content: space-between;
}
.box-wrap {
  width: 47%;
}
.wrap {
  display: flex;
  width: 100%;
  padding: 30px 0px;
}
.f-box-case-textbody {
  width: 100%;
}
.wrap-img {
  display: flex;
  gap: 0.5em;
  justify-content: space-between;
}
.alakarteimg {
  width: 200px;
}
.part {
  position: relative;
  width: 100%;
  color: #1A1311;
  font-family: 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', serif;
  font-size: 19px;
  margin: 15px 0px 0px 13px
}
.part-text {
  width: 100%;
  color: #1A1311;
  font-family: '游ゴシック体', 'Yu Gothic', '游ゴシック Medium', 'Yu Gothic Medium', '游ゴシック', sans-serif;
  font-size: 13px;
  margin: 30px 0px 0px 13px
}
.part::after {
  content: ''; /*何も入れない*/
  display: inline-block; /*忘れずに！*/
  width: 200px; /*画像の幅*/
  height: 2px; /*画像の高さ*/
  background-image: url("../images/newlife/sen.png");
  background-size: contain;
  vertical-align: middle;
  position: relative;
  top: 15px;
  left: 0px;
  background-repeat: no-repeat;
}
/*お問い合わせボタン黄色*/
.contact10 {
  width: 90%;
  margin: 0 auto 20px;
}
.contact10 a {
  position: relative;
  width: 100%;
}
.contact10 a:before {
  background-image: url("../images/newlife/inquiry_pc.png");
  background-size: contain;
  background-repeat: no-repeat;
  content: "";
  display: block;
  padding-top: 19%; /* 高さを幅の75%に固定 */
}
.contact10 a span {
  position: absolute;
  display: block;
  width: 200px;
  height: 30px;
  transform: translateY(-45px) translateX(55%);
}
.contact10 a:hover {
  opacity: 0.5;
}
.contact10 {
  width: 500px;
  margin: 100px auto;
}
.contact10 a span {
  position: absolute;
  display: block;
  width: 400px;
  height: 30px;
  transform: translateY(-73px) translateX(35%);
  font-size: 1.3rem;
  font-weight: bold;
  color: #a18b42;
  letter-spacing: 2px;
}
/*施工事例ボタン金色*/
.contact11 {
  width: 90%;
  margin: 0 auto 20px;
}
.contact11 a {
  position: relative;
  width: 100%;
}
.contact11 a:before {
  background-image: url("../images/newlife/btn_pc.png");
  background-size: contain;
  background-repeat: no-repeat;
  content: "";
  display: block;
  padding-top: 19%; /* 高さを幅の75%に固定 */
}
.contact11 a span {
  position: absolute;
  display: block;
  width: 200px;
  height: 30px;
  transform: translateY(-45px) translateX(55%);
}
.contact11 a:hover {
  opacity: 0.5;
}
.contact11 {
  width: 500px;
  margin: 100px auto;
}
.contact11 a span {
  position: absolute;
  display: block;
  width: 400px;
  height: 30px;
  transform: translateY(-73px) translateX(50%);
  font-size: 1.3rem;
  font-weight: bold;
  color: #a18b42;
  letter-spacing: 2px;
}
.fbox-mail {
  display: flex;
  justify-content: space-between;
  gap: 1em;
}
@media only screen and (max-width: 640px) {
  /*スマホ用のcssを記述*/
  .sp {
    display: block !important;
  }
  .pc {
    display: none !important;
  }
  .mainImgBox {
    background: url("../images/newlife/sakura_sp.png");
    /*background-size: contain;*/
    background-size: 82%; /*追加*/
    background-position: center 0; /*追加*/
    background-repeat: no-repeat;
    display: block;
    margin: 0; /*追加*/
  }
  .maincontainer {
    height: 200px;
    /*margin: 15px 0 0px;*/
    margin: 20px 0 30px; /*追加*/
    padding-top: 20px; /*追加*/
  }
  .maintext {
    /* font-size:17px;
 line-height: 25px;*/
    /*以下追加*/
    font-size: 1.9rem;
    line-height: 1.8;
    letter-spacing: 0.5px;
    padding-top: 20px; /*追加*/
  }
  .caseTitle01, .caseTitle02 {
    position: relative;
    width: 100%;
    padding-top: 80%;
  }
  .caseTitle01 p img, .caseTitle02 p img {
    width: 80%;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
  }
  .caseTitle01 p {
    background-image: url("../images/newlife/case01_imageSP.jpg");
    background-size: cover;
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
  }
.caseTitle02 p {
  background-image: url("../images/newlife/case02_imageSP.jpg");
  background-size: cover;
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

  /*case0102　spcssを記述*/
  #case1, #case2 {
    background-color: #EAE0E2; /*追加 べた塗りの時はcolor指定*/
    /*background-image: url("../images/newlife/base01_sp.jpg");
  background-size: cover;*/
    box-sizing: border-box;
    padding: 35px 3% 60px; /*追加　5%から変更*/
    /* margin: 0px 0px 60px 0px;*/
    margin: 0; /*追加 お問い合わせボタンにマージンを追加*/
  }
  #case1 h3, #case2 h3 {
    font-size: 1.4rem; /*追加　1.7remから変更*/
    padding: 10px 0; /*追加*/
    /*padding: 30px 0% 30px;*/
    text-align: center;
    margin: 0px 0px 30px 0px;
    line-height: 1.8;
  }
  .reformimg {
    width: 80%;
    margin: 0px auto 20px;
  }
  .madoriimg {
    width: 100%;
    margin: 0 auto
  }
  /*arakalteスマホ用のcssを記述*/
  #alakarte1 {
    /*background-image: url("../images/newlife/base02_sp.jpg");
    background-size: cover;*/
    background-color: #EFF1E3; /*追加*/
    box-sizing: border-box;
    padding: 30px 5% 10px; /*追加 top60pxから変更*/
  }
  #alakarte2 {
    /*background-image: url("../images/newlife/base03_sp.jpg");
    background-size: cover;*/
    background-color: #EFF4FB; /*追加*/
    box-sizing: border-box;
    padding: 30px 5% 10px;
  }
  .f-box-case-inner {
    flex-direction: column;
    align-items: center;
    margin: 0; /*追加*/
  }
  .box-wrap {
    width: 100%;
    margin-bottom: 30px;
  }
  .wrap {
    display: flex;
    width: 100%;
    padding: 20px 0px;
    justify-content: space-between; /*追加*/
  }
  .circleimg {
    width: 40%;
  }
  .f-box-case-textbody {
    width: 57%;
  }
  .alakarteimg {
    /*width: 50%;*/
    width: 48%; /*追加*/
  }
  .part {
    width: 100%;
    /*margin:0px 0px 0px 5px;*/
    margin: 0; /*追加*/
    font-size: 2rem; /*追加 共通19px*/
  }
  .part::after {
    content: ''; /*何も入れない*/
    display: inline-block; /*忘れずに！*/
    width: 185px; /*画像の幅*/
    height: 2px; /*画像の高さ*/
    background-image: url("../images/newlife/sen.png");
    background-size: contain;
    vertical-align: middle;
    position: relative;
    top: 10px;
    left: 0px;
    background-repeat: no-repeat;
  }
  /*和室リフォームの文字*/
  .part01 {
    position: relative;
    width: 100%;
    color: #1A1311;
    font-family: 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', serif;
    font-size: 17px;
    margin: 0px 0px 0px 5px
  }
  .part01::after {
    content: ''; /*何も入れない*/
    display: inline-block; /*忘れずに！*/
    /*width: 185px;*/ /*画像の幅*/
    width: 100%; /*追加*/
    height: 2px; /*画像の高さ*/
    background-image: url("../images/newlife/sen.png");
    background-size: contain;
    vertical-align: middle;
    position: relative;
    top: 10px;
    left: 0px;
    background-repeat: no-repeat;
  }
  .part-text {
    /* width: 90%;*/
    width: 100%;
    font-size: 12px;
    /*margin:20px 0px 0px 5px;*/
    margin: 20px 0 0; /*追加*/
  }
  .fbox-mail {
    flex-direction: column;
    align-items: center;
  }
  .contact10 {
    width: 90%;
    /*margin: 0px auto;*/
    margin: 50px auto 40px; /*追加*/
  }
  /*.contact10 a span {
    position: absolute;
    display: block;
    width: 400px;
    height: 30px;
    transform: translateY(50%) translateX(23%);
    font-size: 1.4rem;
	font-weight: bold;
    color: #a18b42;
    letter-spacing: 2px;
    top: 50%;
    left: 50%;
}*/
  .contact10:last-of-type {
    margin-top: 0;
  }
  .contact10 a span {
    position: absolute;
    display: block;
    width: 220px;
    height: 30px;
    transform: translateY(-48px) translateX(45%);
    color: #a18b42;
  }
  .contact11 {
    width: 90%;
    margin: 50px auto 0px;
  }
  /*.contact11 a span {
    position: absolute;
    display: block;
    width: 400px;
    height: 30px;
    transform: translateY(50%) translateX(33%);
    font-size: 1.4rem;
	font-weight: bold;
    color: #a18b42;
    letter-spacing: 2px;
    top: 50%;
    left: 50%;
}*/
  .contact11 a span {
    position: absolute;
    display: block;
    width: 150px;
    height: 30px;
    transform: translateY(-48px) translateX(90%);
    color: #a18b42;
  }
}
@media only screen and (min-width: 641px) {
  /*pc用のcssを記述*/
  .pc {
    display: block !important;
    width: 100%;
  }
  .sp {
    display: none !important;
  }
  /*以下追加*/
  .mainImgBox {
    padding-top: 50%;
    margin: 70px auto;
    position: relative;
  }
  .maincontainer {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
  }
  .maintext {
    letter-spacing: 4px;
    line-height: 2;
    font-size: 2rem;
  }
  .maincontainer {
    margin: 50px 0 100px;
  }
  .caseTitle01, .caseTitle02 {
    padding-top: 40%;
    position: relative;
  }
  .caseTitle01 p img, .caseTitle02 p img {
    width: 373px;
    padding: 50px 20px;
    box-sizing: border-box;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
  }
  .caseTitle01 p {
    background-image: url("../images/newlife/case01_image.jpg");
    background-size: cover;
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
  }
.caseTitle02 p {
  background-image: url("../images/newlife/case02_image.jpg");
  background-size: cover;
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
}
}