/* 上部のバックグラウンド */
.upperbackground {
  width: 100%;
  background-image: url(../image/top/01_upperback.png);
  background-repeat: repeat-y;
  background-size: 100% auto;
  background-position: center;
  padding-top: 83.657px;
}
@media screen and (max-width: 768px) {
  .upperbackground {
    padding-top: 64px;
  }
}
/* MVスライダー */
.hero {
  width: 100%;
  padding-bottom: 69px;
}
.mv_slider {
  height: 585px;
}
@media screen and (max-width: 768px) {
  .hero {
    margin-top: 0;
    padding-top: 40px;
    height: 352px;
    padding-bottom: 0;
    box-sizing: border-box;
  }
  .mv_slider {
    height: 352px;
  }
}

.mv_slider .slide {
  /* height: calc(100vh - 140px); */
  width: auto;
  aspect-ratio: 103/108;
  margin: 0 50px 0 0;
  position: relative;
  border-radius: 50px;
  border: 2px solid #000;
  overflow: hidden;
  /* max-height: 540px;
  max-width: 515px; */
  max-width: 515px;
  height: 540px;
}
.mv_slider .slide img {
  width: 100%;
  height: 102%;
  object-fit: cover;
}
.mv_slider .slick-list .slick-track .slide:nth-child(even) {
  margin: 45px 50px 0 0;
}

@media screen and (max-width: 767px) {
  .mv_slider .slick-list {
    height: 352px !important;
  }
  .mv_slider .slick-list .slick-track .slide:nth-child(even) {
    margin: 40px 30px 0 0;
  }
}

@media screen and (max-width: 767px) {
  .mv_slider .slide {
    width: 297px;
    height: 312px;
  }
}
.mv-catchcopy {
  color: #222;
  font-family: "LineSeedJP_Bd";
  font-size: 42px;
  font-style: normal;
  font-weight: 700;
  line-height: 55px; /* 130.952% */
  letter-spacing: 1.26px;
  position: absolute;
  bottom: -12px;
  padding: 22px 30px 23px;
  background-color: #fff;
  border-radius: 20px;
  z-index: 2;
  right: 50%;
  transform: translateX(50%);
  white-space: nowrap;
}

@media screen and (max-width: 768px) {
  .mv-catchcopy {
    font-size: 32px;
    line-height: 150%; /* 48px */
    letter-spacing: 0.96px;
    white-space: initial;
    min-width: 331px;
    text-align: center;
    bottom: -167px;
  }
}

.popontaicon {
  width: 247.97px;
  height: 83px;
  position: absolute;
  bottom: -64px;
  z-index: 3;
  right: 50%;
  transform: translateX(50%);
}
@media screen and (max-width: 768px) {
  .popontaicon {
    width: 202.159px;
    height: 83px;
    bottom: -227px;
    left: auto;
    right: 27px;
    transform: initial;
  }
}

/* cssだけスライダー */

/* スライダー全体 */
.slider-wrapper {
  padding-top: 49px;
  display: flex; /* スライドのグループを横並び */
  overflow: hidden; /* はみ出たスライドを隠す */
}
@media screen and (max-width: 768px) {
  .slider-wrapper {
    padding-top: 0;
  }
}
/* スライド3枚のグループ */
.slider2 {
  animation: scroll-left 200s infinite linear 0.5s both;
  display: flex; /* スライド3枚を横並び */
}
/* スライド */
li.slide {
  /* width: calc(100vw / 3); */ /* 3はスライドの枚数 */
  width: 515px;
  aspect-ratio: 103/108;
  margin: 0 50px 0 0;
  position: relative;
  border-radius: 50px;
  border: 2px solid #000;
  overflow: hidden;
  /* max-height: 540px;
  max-width: 515px; */
  max-width: 515px;
  height: 540px;
}
@media screen and (max-width: 768px) {
  li.slide {
    width: 297px;
    height: 312px;
  }
}
li.slide:nth-child(even) {
  margin: 45px 50px 0 0;
}

li.slide img {
  width: 100%;
  height: 102%;
  object-fit: cover;
}

/* スライドの画像 */
.slide img {
  display: block;
  width: 100%;
}
/* CSSアニメーション */
@keyframes scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
/* 由来 */
h2.yurai span {
  margin-bottom: 19px;
  letter-spacing: 0.03em;
}
@media screen and (max-width: 768px) {
  h2.yurai {
    margin-bottom: 20px;
  }
  h2.yurai span {
    margin-bottom: 20px;
  }
}
p.yuraititle {
  letter-spacing: 0.03em;
}
@media screen and (max-width: 768px) {
  .yuraiimageup-sp {
    width: 338.152px;
    height: 171.843px;
    position: absolute;
    top: 51px;
    left: 50%;
    transform: translateX(-50%);
  }
}

.about {
  padding-top: 138px;
  padding-bottom: 285px;
  border-radius: 1000px 1000px 0 0;
  /* background-image: url(../image/top/yuraiback.png); */
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}
.about:after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  bottom: 0;
  right: 50%;
  transform: translateX(50%);
  background-image: url(../image/top/yuraiback.png);
  background-repeat: no-repeat;
  background-size: cover;
  /* max-width: 1366px; */
  max-height: 1170px;
}
@media screen and (max-width: 768px) {
  .about {
    margin-top: 184px;
    background-image: url(../image/top/yuraiback-sp.png);
    background-size: cover;
    padding-top: 251px;
    padding-bottom: 140px;
  }
  .about:after {
    display: none;
  }
}

.yuraitxt {
  color: #222;
  text-align: center;
  font-family: "LineSeedJP_Bd";
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 250%;
/*  letter-spacing: 0.54px;*/
  width: 465px;
  margin: 58px auto 0;
 /* letter-spacing: 0.03em;*/
  letter-spacing: 0.06em;
  z-index: 1;
}
@media screen and (max-width: 768px) {
  .yuraitxt {
    font-size: 16px;
    line-height: 190%; /* 30.4px */
   /* letter-spacing: 0.48px;*/
    width: 360px;
    margin: 0 auto;
    letter-spacing: 0;
  }
}
.yurititle {
  letter-spacing: 0.09em;
}
div.yurai-bottom-txtimage {
  width: 470.054px;
  height: 155.148px;
  position: absolute;
  right: 50%;
  transform: translateX(50%);
  bottom: 186px;
  max-width: 100%;
}
@media screen and (max-width: 768px) {
  div.yurai-bottom-txtimage {
    width: 276.003px;
    height: 303px;
    position: static;
    transform: none;
    margin: 0 auto;
  }
}
div.ganbarimasu {
  width: 439px;
  height: 264.485px;
  position: absolute;
  right: 50%;
  transform: translateX(50%);
  bottom: -26px;
  z-index: 1;
  max-width: 100%;
}
@media screen and (max-width: 768px) {
  div.ganbarimasu {
    width: 297.088px;
    height: 176.915px;
    right: 55%;
    bottom: -30px;
  }
}
.poponta01 {
  width: 168.128px;
  height: 238px;
  position: absolute;
  top: -253px;
  left: -272px;
}
.poponta02 {
  width: 231px;
  height: 327px;
  position: absolute;
  top: 51px;
  left: -368px;
}
.poponta03 {
  width: 168px;
  height: 238px;
  position: absolute;
  top: 349px;
  left: -248px;
}
.poponikukyu01 {
  width: 81px;
  height: 94px;
  position: absolute;
  left: -163px;
  top: 144px;
}
.poponta04 {
  width: 145px;
  height: 194px;
  aspect-ratio: 71/95;
  position: absolute;
  top: -60px;
  left: -188px;
}
.poponta05 {
  width: 214px;
  height: 302px;
  aspect-ratio: 107/151;
  position: absolute;
  right: -292px;
  top: -176px;
}
.poponta06 {
  width: 249px;
  height: 352px;
  aspect-ratio: 29/41;
  position: absolute;
  right: -335px;
  top: 158px;
}
.poponta07 {
  width: 167.269px;
  height: 214.108px;
  position: absolute;
  top: 69px;
  right: -178px;
}
/* できること */
.dekirukotowrapper {
  width: 100%;
  border-radius: 100px 100px 0 0;
  padding-top: 160px;
  padding-bottom: 150px;
  margin-top: -100px;
  position: relative;
}
@media screen and (max-width: 768px) {
  .dekirukotowrapper {
    border-radius: 50px 50px 0 0;
    padding-bottom: 224px;
  }
}
h2.dekirukotoh2 {
  width: 651px;
  margin: 0 auto;
}
@media screen and (max-width: 768px) {
  h2.dekirukotoh2 {
    width: 100%;
    margin-bottom: 30px;
  }
  h2.dekirukotoh2 span {
    margin-bottom: 20px;
  }
}
.backtxtimage {
  position: absolute;
  width: 871.158px;
  height: 152.387px;
  top: -110px;
  right: 54.4%;
  transform: translateX(50%);
}
@media screen and (max-width: 768px) {
  .backtxtimage {
    width: 100%;
    top: -64px;
    left: 0;
    transform: none;
    height: auto;
  }
}
.dekirukotofirst {
  margin-top: 60px;
  /* margin-top: 56px; */
  /* margin-bottom: 60px; */
  margin-bottom: 58px;
}
@media screen and (max-width: 768px) {
  .dekirukotofirst {
    flex-wrap: wrap;
    margin-top: 0;
  }
}
.dekirukotofirst .left {
  width: 460px;
}

.dekirukotofirst .left h3 {
  color: #222;
  font-family: "Noto Sans JP";
  font-size: 30px;
  font-style: 400;
  font-weight: 600;
  line-height: 140%; /* 42px */
  letter-spacing: 0.9px;
  margin-bottom: 24px;
}
@media screen and (max-width: 768px) {
  .dekirukotofirst .left h3 {
    font-size: 22px;
    line-height: 140%;
    letter-spacing: 0.1em;
    width: 83.3vw;
    margin: 0 auto 20px;
  }
}
.dekirukotofirst .left p {
  color: #111;
  font-family: "Noto Sans JP";
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 200%; /* 32px */
  /* letter-spacing: 0.48px; */
  letter-spacing: 1px;
  font-feature-settings: "palt";
}
@media screen and (max-width: 768px) {
  .dekirukotofirst .left p {
    line-height: 190%;
    letter-spacing: 0.48px;
    width: 83.3vw;
    margin: 0 auto 20px;
  }
  .dekirukotofirst .left p br {
    display: none;
  }
}
.dekirukotofirst .right {
  width: 480px;
  height: 353px;
  aspect-ratio: 223/164;
}
@media screen and (max-width: 768px) {
  .dekirukotofirst .right {
    width: 83.3vw;
    height: auto;
    margin: 0 auto;
  }
}
.grid3 {
  margin-bottom: 40px;
}
@media screen and (max-width: 768px) {
  .grid3 {
    flex-wrap: wrap;
    width: 83.3vw;
    margin: 0 auto;
  }
}
.grid3 .left {
  width: 388px;
}
@media screen and (max-width: 768px) {
  .grid3 .left {
    width: 100%;
  }
}
.grid3 .left h3 {
  color: #222;
  text-align: center;
  font-family: "LineSeedJP_Bd";
  font-size: 28px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0.84px;
  width: 194px;
  height: 57px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 2px solid #000;
  border-left: 2px solid #000;

  border-right: 2px solid #000;
  border-radius: 15px 15px 0 0;
}
.yellow {
  background-color: #f1c846;
}
.watercolor {
  background-color: #adcfec;
}
.green {
  background-color: #a5d3ab;
}
.grid3 .left p {
  border-radius: 0 15px 15px 15px;
  border: 2px solid #000;
  background: #fff;
  /* padding: 25px; */
  color: #191e2e;
  font-family: "Noto Sans JP";
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  line-height: 160%; /* 24px */
  /* letter-spacing: 0.45px; */
  letter-spacing: 1px;
  padding: 24px 25px;
}
@media screen and (max-width: 768px) {
  .grid3 .left p {
    font-size: 15px;
    line-height: 160%; /* 24px */
    letter-spacing: 0.45px;
  }
}
.grid3 .right {
  width: 581px;
  padding-top: 57px;
}
@media screen and (max-width: 768px) {
  .grid3 .right {
    flex-wrap: wrap;
    margin-top: 30px;
    padding-top: 0;
    width: 271px;
    margin: 30px auto 60px;
    gap: 50px;
  }
}
.grid3 .right .image {
  width: 271px;
}
.grid3 .right .before p,
.grid3 .right .after p {
  text-align: center;
  font-family: Fredoka;
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 0.6px;
  margin-bottom: 15px;
}
.yellow-color {
  color: #f1c846;
}
.watercolor-color {
  color: #adcfec;
}
.green-color {
  color: #a5d3ab;
}
.grid3 .right .before .image {
  position: relative;
}
.grid3 .right .before .image::after {
  width: 19px;
  right: -31px;
  height: 32px;
  content: "";
  display: inline-block;
  position: absolute;
  bottom: 84px;
  background-size: contain;
  background-repeat: no-repeat;
}

@media screen and (max-width: 768px) {
  .grid3 .right .before .image::after {
    transform: rotate(90deg) translateX(-50%);
    bottom: -47px;
    left: 46%;
  }
}
.grid3 .right .before.arrowgreen .image::after {
  background-image: url(../image/top/arrow-green.png);
}
.grid3 .right .before.arrowwatercolor .image::after {
  background-image: url(../image/top/arrow-water.png);
}
.grid3 .right .before.arrowyellow .image::after {
  background-image: url(../image/top/arrow-yellow.png);
}
.konohokatxt {
  color: #191e2e;
  text-align: center;
  font-family: "LineSeedJP_Bd";
  font-size: 19px;
  font-style: normal;
  font-weight: 700;
  line-height: 160%; /* 30.4px */
  letter-spacing: 0.57px;
  width: 510px;
  height: 91px;
  background-image: url(../image/top/fukidashi.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  margin: 0 auto 26.5px;
  padding-top: 25px;
  letter-spacing: 0.075em;
  padding-left: 9px;
}
.konohokaicon {
  position: absolute;
  width: 196px;
  height: 199px;
  top: 9.5px;
  left: -196px;
}
.bunnbougu {
  width: 315.121px;
  height: 309.475px;
  position: absolute;
  top: 64.3px;
  right: -310.121px;
}

.doriru {
  position: absolute;
  width: 119.848px;
  height: 116.114px;
  transform: rotate(21.479deg);
  aspect-ratio: 119.85/116.11;
  right: 27px;
  top: -109px;
}
@media screen and (max-width: 768px) {
  .dekirukotofirst .left p.doriru {
    width: 59px;
    height: 57px;
    transform: rotate(21.479deg);
    top: -52px;
    right: 11px;
  }
}
.kanazuchi {
  width: 59.612px;
  height: 136px;
  transform: rotate(-32.586deg);
  aspect-ratio: 32/73;
  position: absolute;
  top: 23px;
  left: -101px;
}
@media screen and (max-width: 768px) {
  .kanazuchi {
    width: 30px;
    height: 68px;
    transform: rotate(-32.586deg);
    top: auto;
    bottom: -10px;
    left: 15px;
  }
}
@media screen and (max-width: 768px) {
  .konohoka-sp {
    width: 329px;
    height: 196px;
    margin: 0 auto;
    margin-left: 6%;
  }
  .right.splast {
    margin-bottom: 15px;
  }
  .dekirukotobottomicon-sp {
    width: 245px;
    height: 241px;
    position: absolute;
    bottom: -50px;
    right: 14px;
  }
}
/* リフォームの流れ */

.flow-wrapper {
  padding: 120px 0;
}
@media screen and (max-width: 768px) {
  .flow-wrapper {
    margin: 0 auto;
    width: 100%;
    padding-bottom: 80px;
    padding-top: 60px;
  }
}
.flow-wrapper .container {
  border-radius: 50px;
  padding-top: 223px;
  padding-left: 90px;
  padding-right: 90px;
  padding-bottom: 120px;
  width: 88.3vw;
}
@media screen and (max-width: 768px) {
  .flow-wrapper .container {
    padding-top: 135px;
    padding-left: 27px;
    padding-right: 27px;
    padding-bottom: 134px;
  }
}
.flow-firsttxt {
  color: #222;
  font-family: "Noto Sans JP";
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 200%; /* 32px */
  /* letter-spacing: 0.48px; */
  width: 410px;
  margin: 30px auto 50px;
  letter-spacing: 0.1em;
  max-width: 100%;
}
@media screen and (max-width: 768px) {
  .flow-firsttxt {
    width: 277px;
    margin: 40px auto 94px;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 190%; /* 30.4px */
    letter-spacing: 1.7px;
  }
}
.flowcontainer {
  margin-bottom: 30px;
  padding-bottom: 30px;
  background-image: url(../image/top/dot.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: bottom;
}
@media screen and (max-width: 768px) {
  .flowcontainer {
    flex-wrap: wrap;
    gap: 10px;
    background-image: url(../image/top/dot-sp.png);
    background-repeat: no-repeat;
    /* background-size: auto 100%; */
    background-position: bottom;
  }
}
.flowcontainer.last {
  background-image: none;
  padding-bottom: 0;
  margin-bottom: 0;
}
.flowcontainer .image {
  width: 380px;
  height: 248px;
}
@media screen and (max-width: 768px) {
  .flowcontainer .image {
    width: 100%;
    height: auto;
  }
}
.flowcontainer .txt {
  width: 396px;
}
@media screen and (max-width: 768px) {
  .flowcontainer .txt {
    width: 277px;
    margin: 0 auto;
  }
}

.flowcontainer.reverse .txt {
  order: 1;
}
@media screen and (max-width: 768px) {
  .flowcontainer.reverse .txt {
    order: 2;
  }
}
.flowcontainer.reverse .image {
  order: 2;
}
@media screen and (max-width: 768px) {
  .flowcontainer.reverse .image {
    order: 1;
  }
}
.flowcontainer .txt .step {
  color: #0d6fb8;
  font-family: Fredoka;
  font-size: 36px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 1.08px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  /* line-height: 1; */
}
.flowcontainer .txt .step span {
  color: #0d6fb8;
  font-family: Fredoka;
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 0.6px;
  margin-right: 10px;
}
.flowcontainer .txt h3 {
  color: #222;
  font-family: "LineSeedJP_Bd";
  font-size: 28px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0.84px;
  margin-bottom: 15px;
}
@media screen and (max-width: 768px) {
  .flowcontainer .txt h3 {
    font-size: 25px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0.75px;
    margin-bottom: 5px;
  }
}
.flowcontainer .txt p {
  color: #191e2e;
  font-family: "Noto Sans JP";
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  line-height: 160%; /* 24px */
 /* letter-spacing: 0.45px;*/
  width: 396px;
  letter-spacing: 0.1em;
}
@media screen and (max-width: 768px) {
  .flowcontainer .txt p {
    width: 100%;
    font-size: 15px;
  }
}
@media screen and (max-width: 768px) {
  .spflow-bottomicon {
    width: 161px;
    height: 144px;
    position: absolute;
    bottom: -10px;
    right: 2px;
  }
}

.nikukyu {
  position: absolute;
  width: 249px;
  height: 206px;
  /* right: 53%;
  transform: translateX(50%);
  bottom: -13px; */
  right: 51%;
  transform: translateX(50%);
  bottom: -17px;
}
@media screen and (max-width: 768px) {
  .nikukyu {
    width: 196px;
    height: 162px;
    bottom: -20px;
  }
}
.relative .flowtitle {
  z-index: 1;
}

.hearingicon {
  position: absolute;
  width: 256.63px;
  height: 234.948px;
  right: -156px;
  top: -150px;
}
@media screen and (max-width: 768px) {
  .hearingicon {
    width: 143px;
    height: 131px;
    right: -43px;
    top: -89px;
  }
}
.dog1 {
  position: absolute;
  width: 183px;
  height: 184px;
  aspect-ratio: 182/183;
  top: 0;
  left: -158px;
}
@media screen and (max-width: 768px) {
  .dog1 {
    width: 91px;
    height: 91px;
    aspect-ratio: 1 / 1;
    top: 34px;
    left: -50px;
  }
}
.dog2 {
  position: absolute;
  width: 135px;
  height: 212px;
  aspect-ratio: 135/212;
  right: -159px;
  top: -29px;
}
@media screen and (max-width: 768px) {
  .dog2 {
    width: 67px;
    height: 105px;
    aspect-ratio: 67 / 105;
    right: -46px;
    top: 21px;
  }
}
div.flowtxticon {
  width: 546.802px;
  height: 164.959px;
  position: absolute;
  top: -186px;
  left: -136px;
  overflow: hidden;
}
@media screen and (max-width: 768px) {
  div.flowtxticon {
    width: 274px;
    height: 81px;
    top: -90px;
    margin: 0 auto;
    right: 50%;
    left: 50%;
    transform: translateX(-50%);
  }
}
h2.h2_1.flowh2 {
  width: 387px;
  white-space: nowrap;
  margin: 0 auto;
}
@media screen and (max-width: 768px) {
  h2.h2_1.flowh2 {
    width: 100%;
  }
}
.suiheiki {
  position: absolute;
  width: 39px;
  height: 159px;
  transform: rotate(-28.982deg);
  aspect-ratio: 13/53;
  bottom: -49px;
  left: -62px;
}
.roller {
  position: absolute;
  width: 146px;
  height: 203px;
  transform: rotate(28.521deg);
  aspect-ratio: 41/57;
  top: -114px;
  right: -110px;
}
.bottomback {
  background-image: url(../image/top/bottomback.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
/* 施工実績 */
.works-wrapper {
  padding-top: 149px;
  padding-bottom: 118px;
  background-image: url(../image/top/worksback.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  border-radius: 100px 100px 0 0;
}
@media screen and (max-width: 768px) {
  .works-wrapper {
    border-radius: 50px 50px 0 0;
    padding-top: 133px;
    padding-bottom: 77px;
  }
}

div.penchi {
  width: 213.075px;
  height: 222.612px;
  position: absolute;
  right: -428px;
  top: 18px;
}
div.mejya {
  width: 149.113px;
  height: 112.24px;
  transform: rotate(-29.609deg);
  aspect-ratio: 93/70;
  position: absolute;
  left: -395px;
  top: 89px;
}

@media screen and (max-width: 768px) {
  .spworks-icon {
    width: 200px;
    height: 129px;
    position: absolute;
    right: 0;
    bottom: -211px;
  }
}
.dekurukototitle.relative.flowtitle.white {
  color: #fff;
  margin-bottom: 30px;
}
@media screen and (max-width: 768px) {
  .dekurukototitle.relative.flowtitle.white {
    margin-bottom: 40px;
  }
}
p.worksfirsttxt {
  color: #fff;
  font-family: "Noto Sans JP";
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 200%; /* 32px */
  letter-spacing: 0.14em;
  text-align: center;
  margin-bottom: 60px;
}
@media screen and (max-width: 768px) {
  p.worksfirsttxt {
    width: 88.3vw;
    margin: 0 auto 75px;
    line-height: 190%;
    text-align: left;
  }
}
.workstxticon {
  position: absolute;
  width: 263.202px;
  height: 100.109px;
  top: -104px;
  left: 46%;
  transform: translateX(-50%);
}
@media screen and (max-width: 768px) {
  .workstxticon {
    width: 131px;
    height: 49.778px;
    top: -77px;
    left: 48%;
  }
}
.worksdog1 {
  position: absolute;
  width: 141px;
  height: 141px;
  aspect-ratio: 1/1;
  top: -11px;
  left: -150px;
}
@media screen and (max-width: 768px) {
  .worksdog1 {
    top: 38px;
    left: 32px;
    width: 71.899px;
    height: 71.781px;
    aspect-ratio: 71.9 / 71.78;
  }
}
.worksdog2 {
  position: absolute;
  width: 114px;
  height: 145px;
  right: -139px;
  top: -13px;
}
@media screen and (max-width: 768px) {
  .worksdog2 {
    width: 53px;
    height: 71px;
    aspect-ratio: 53/71;
    top: 40px;
    right: 47px;
  }
}
/* 実績のスライダー */
div.konoyouna div.slider {
  margin-bottom: 60px;
}
@media screen and (max-width: 768px) {
  div.konoyouna div.slider {
    margin-bottom: 40px;
  }
}
div.konoyouna .slick-slide {
  margin: 0 20px;
  position: relative;
  width: 41rem;
  padding-top: 4.4rem;
  min-width: 435px;
  flex-shrink: 0;
  border-radius: 30px;
  background: #fff;
  padding: 4rem 3.6rem 42px;
}
@media screen and (max-width: 767px) {
  div.konoyouna .slick-slide {
    min-width: auto;
    min-height: auto;
    padding: 30px;
  }
}
div.konoyouna .slick-slide .jisekitumbnail {
/*  width: 370px;*/
  height: 270px;
  border-radius: 10px;
  margin: 0 auto 15px;
	width: 100%;
	border-radius: 30px;
}
@media screen and (max-width: 768px) {
  div.konoyouna .slick-slide .jisekitumbnail {
    width: 100%;
    height: 200px;
    border-radius: 20px;
    overflow: hidden;
  }
  div.konoyouna .slick-slide .jisekitumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}
div.konoyouna .slick-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
div.konoyouna .slick-slide h3 {
  color: #222;
  text-align: center;
  font-family: "Noto Sans JP";
  font-size: 25px;
  font-style: normal;
  font-weight: 600;
  line-height: 150%; /* 37.5px */
  letter-spacing: 0.75px;
}
@media screen and (max-width: 768px) {
  div.konoyouna .slick-slide h3 {
    font-size: 22px;
    line-height: 150%; /* 33px */
    letter-spacing: 0.66px;
  }
}
div.konoyouna .slick-slide h3 span {
  background: linear-gradient(transparent 60%, #f1c846 60%);
}
div.konoyouna .slick-slide p {
  font-family: "Noto Sans JP";
  font-size: 17px;
  font-style: normal;
  font-weight: 500;
  line-height: 160%; /* 27.2px */
  letter-spacing: 0.51px;
  width: 100%;
  padding: 0 20px;
  margin: 0 auto;
 /* font-size: clamp(1.063rem, 0.903rem + 0.8vw, 1.7rem);*/
}
.konoyouna {
  position: relative;
}
.konoyouna .arrow_box {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: absolute;
  top: 43%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 47.5%;
  height: 100px;
}
@media screen and (max-width: 768px) {
  .konoyouna .arrow_box {
    width: 100%;
  }
}
.konoyouna .prev-arrow,
.konoyouna .next-arrow {
  display: block;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  transition: all 0.3s ease;
  cursor: pointer;
  position: absolute;
  top: 0;
}
@media screen and (max-width: 768px) {
  .konoyouna .prev-arrow,
  .konoyouna .next-arrow {
    width: 50px;
    height: 50px;
    aspect-ratio: 1/1;
  }
}
.konoyouna .prev-arrow {
  left: 0;
}
.konoyouna .next-arrow {
  transform: rotate(180deg);
}
@media screen and (max-width: 768px) {
  .konoyouna .prev-arrow {
    left: 5px;
  }
  .konoyouna .next-arrow {
    right: 5px;
  }
}
.konoyouna .prev-arrow::before,
.konoyouna .next-arrow::before {
  position: absolute;
  content: "";
  width: 100px;
  height: 100px;
  background-image: url("../image/top/prev.png");
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  background-repeat: no-repeat;
  background-size: contain;
}
@media screen and (max-width: 768px) {
  .konoyouna .prev-arrow::before,
  .konoyouna .next-arrow::before {
    width: 50px;
    height: 50px;
    aspect-ratio: 1/1;
  }
}
.konoyouna .slick-track {
  display: flex !important;
}

/* 実績のスライダーの下の流れるテキスト */
div.flowtxt {
  position: absolute;
  bottom: -21px;
  color: #0d6fb8;
  text-align: center;
  font-family: Fredoka;
  font-size: 180px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 5.4px;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
}
@media screen and (max-width: 768px) {
  div.flowtxt {
    font-size: 96px;
    line-height: normal;
    letter-spacing: 2.88px;
  }
}
.z2 {
  z-index: 2;
}
.marquee {
  overflow: hidden;
}

.marquee__wrapper {
  display: flex;
  animation: marquee-scroll 60s linear infinite;
}

.marquee__text {
  flex-shrink: 0;
  white-space: nowrap;
  padding-right: 2rem; /* テキスト間の余白 */
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* よくある質問 */
.hake {
  width: 206.904px;
  height: 239px;
  position: absolute;
  left: -9px;
  top: -89px;
}
@media screen and (max-width: 768px) {
  .hake {
    width: 111.675px;
    height: 129px;
    top: -30px;
    left: 13px;
  }
}
.faq-wrapper {
  padding-top: 202px;
  padding-bottom: 160px;
  background-image: url(../image/common/backbeige_big.png);
  background-size: cover;
}
@media screen and (max-width: 768px) {
  .faq-wrapper {
    padding-top: 121px;
    padding-bottom: 50px;
  }
}
.faqtxticon {
  width: 242.037px;
  height: 107.569px;
  position: absolute;
  right: 50%;
  transform: translateX(50%);
  top: -118px;
}
@media screen and (max-width: 768px) {
  .faqtxticon {
    width: 119.253px;
    height: 53px;
    aspect-ratio: 9/4;
    top: -61px;
  }
}
.faq-dog1 {
  position: absolute;
  width: 113px;
  height: 123px;
  aspect-ratio: 113/123;
  bottom: 52px;
  left: 8px;
}
@media screen and (max-width: 768px) {
  .faq-dog1 {
    width: 62px;
    height: 68px;
    aspect-ratio: 31/34;
    left: 13px;
    bottom: 28px;
  }
}
.faq-dog2 {
  width: 105px;
  height: 123px;
  aspect-ratio: 113 / 123;
  position: absolute;
  bottom: 64px;
  right: 27px;
}
@media screen and (max-width: 768px) {
  .faq-dog2 {
    width: 56px;
    height: 75px;
    aspect-ratio: 56/75;
    right: 13px;
    bottom: 26px;
  }
}

.bluetitile-wrapper span.faqspan:before {
  margin-right: 10px;
}
.bluetitile-wrapper span.faqspan:after {
  margin-left: 7px;
}

/* 代表挨拶 */
.greeting-wrapper {
  padding-top: 209px;
  margin-bottom: 121px;
}
@media screen and (max-width: 768px) {
  .greeting-wrapper {
    padding-top: 140px;
    margin-bottom: 80px;
  }
}
h2.bluetitle {
  color: #fff;
  text-align: center;
  font-family: "LINE Seed JP App_OTF";
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 1.2px;
  width: 638px;
  position: relative;
  padding: 16px 196px 17px;
  border-radius: 20px;
  background: #0d6fb8;
  margin: 0 auto 60px;
}
@media screen and (max-width: 768px) {
  h2.bluetitle {
    width: 88.3vw;
    padding: 8px;
    font-size: 24px;
    letter-spacing: 0.72px;
    border-radius: 10px;
    margin-bottom: 64px;
  }
  .bluetitle.faqtitlesp {
    margin-bottom: 30px;
  }
}
.bluetitile-wrapper {
  position: relative;
  flex-wrap: wrap;
  justify-content: center;
  flex-direction: column;
  gap: 17px;
}
@media screen and (max-width: 768px) {
  .bluetitile-wrapper {
    gap: 55px;
  }
}
.bluetitile-wrapper span {
  color: #0d6fb8;
  font-family: Fredoka;
  font-size: 21px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 0.63px;
  text-align: center;
/*  display: inline-block;*/
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media screen and (max-width: 768px) {
  .bluetitile-wrapper span {
    color: #0d6fb8;
    font-size: 18px;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.54px;
  }
}
.bluetitile-wrapper span:before {
  content: "";
  width: 26.375px;
  height: 36.247px;
  background-image: url(../image/top/leftbar.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: inline-block;
  margin-right: 32px;
}
@media screen and (max-width: 768px) {
  .bluetitile-wrapper span:before {
    margin-right: 7px;
    width: 22px;
    height: 29px;
  }
}
.bluetitile-wrapper span:after {
  content: "";
  width: 26.375px;
  height: 36.247px;
  background-image: url(../image/top/rightbar.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: inline-block;
  margin-left: 32px;
}
@media screen and (max-width: 768px) {
  .bluetitile-wrapper span:after {
    margin-left: 7px;
    width: 22px;
    height: 29px;
  }
}
.greetingtxticon {
  top: -109px;
  width: 376.067px;
  height: 108.729px;
  position: absolute;
  background-image: url(../image/top/greetingtxticon.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  left: 50%;
  transform: translateX(-50%);
}
@media screen and (max-width: 768px) {
  .greetingtxticon {
    top: -65px;
    width: 188px;
    height: 54px;
  }
}

.greet-dog1 {
  width: 153.283px;
  height: 153.283px;
  transform: rotate(-9.136deg);
  position: absolute;
  top: -100px;
  left: 46px;
}
@media screen and (max-width: 768px) {
  .greet-dog1 {
    width: 87px;
    height: 87px;
    transform: rotate(-9.136deg);
    aspect-ratio: 1/1;
    top: -60px;
    left: 3px;
  }
}
.greet-dog2 {
  width: 100.27px;
  height: 133.815px;
  transform: rotate(7.669deg);
  aspect-ratio: 100.27/133.82;
  position: absolute;
  top: -83px;
  right: 65px;
}
@media screen and (max-width: 768px) {
  .greet-dog2 {
    width: 56px;
    height: 74px;
    transform: rotate(7.669deg);
    top: -47px;
    right: 22px;
  }
}
@media screen and (max-width: 768px) {
  .greetingcontents {
    width: 88.3vw;
    margin: 0 auto;
    flex-wrap: wrap;
  }
}
.greetingcontents .photo {
  width: 481px;
  height: 400px;
  position: relative;
  z-index: 1;
  margin-top: 58px;
}
@media screen and (max-width: 768px) {
  .greetingcontents .photo {
    height: 270px;
    margin-top: 0;
    border-radius: 20px;
    overflow: hidden;
  }
  .greetingcontents .photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}
.greetingcontents .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.greetingcontents .txt {
  position: absolute;
  left: 436px;
  padding: 60px 105px 99px;
  width: 654px;
  height: 549px;
  box-sizing: border-box;
  border-radius: 20px;
  color: #252525;
  font-family: "Noto Sans JP";
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  line-height: 200%; /* 30px */
  letter-spacing: 0.1em;
}
@media screen and (max-width: 768px) {
  .greetingcontents .txt {
    margin-top: -65px;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    width: 100vw;
    height: auto;
    position: static;
    padding: 95px 22px 232px;
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    line-height: 200%; /* 30px */
    letter-spacing: 0.45px;
  }
}
.greetingcontents .txt span {
  display: block;
  margin-top: 5px;
}
.ashiato {
  position: absolute;
  width: 482.44px;
  height: 163.98px;
  left: 108px;
  bottom: -231px;
}
@media screen and (max-width: 768px) {
  .ashiato {
    left: auto;

    width: 361.5px;
    height: 121.499px;
    aspect-ratio: 241/81;
    right: 70px;
    bottom: -110px;
  }
}
.poposenmu {
  width: 389px;
  height: 221px;
  position: absolute;
  bottom: -208px;
  right: -80px;
}
@media screen and (max-width: 768px) {
  .poposenmu {
    width: 331px;
    height: 188px;
    bottom: 29px;
    transform: translateX(-50%);
    left: 50%;
  }
}
/* お知らせ */
.news-wrapper {
  margin-bottom: 120px;
}
@media screen and (max-width: 768px) {
  .news-wrapper {
    margin-bottom: 80px;
  }
}
.newscontainer {
  border-radius: 20px;
  padding: 80px;
}
@media screen and (max-width: 768px) {
  .newscontainer {
    padding: 60px 0;
  }
}
/* 会社概要 */
.companyoutline-wrap {
  padding-top: 0px;
}
.companyoutline {
  border-radius: 20px;
  padding: 60px 80px 80px;
}
@media screen and (max-width: 768px) {
  .companyoutline {
    padding: 60px 0;
  }
}
.companyoutline ul {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}
@media screen and (max-width: 768px) {
  .companyoutline ul {
    width: 88.3vw;
    margin: 0 auto;
  }
}

.companyoutline ul li {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 25px 0 28px;
  position: relative;
  border-top: 1px solid #fff;
}
@media screen and (max-width: 768px) {
  .companyoutline ul li {
    padding: 20px 0;
    flex-wrap: wrap;
    gap: 8px;
  }
}
.companyoutline ul li:before {
  content: "";
  width: 90px;
  height: 1px;
  background-color: #0d6fb8;
  position: absolute;
  left: 0;
  top: 0;
}
@media screen and (max-width: 768px) {
  .companyoutline ul li:before {
    width: 60px;
  }
}
.companyoutline-title {
  width: 160px;
  color: #222;
  font-feature-settings: "palt" on;
  font-family: "Noto Sans JP";
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 200%; /* 36px */
  letter-spacing: 0.54px;
}
@media screen and (max-width: 768px) {
  .companyoutline-title {
    width: 100%;
    font-size: 16px;
    line-height: 200%; /* 32px */
    letter-spacing: 0.48px;
  }
}
.companyoutline-item {
  color: #222;
  font-feature-settings: "palt" on;
  font-family: "Noto Sans JP";
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 200%; /* 36px */
  letter-spacing: 0.54px;
}
@media screen and (max-width: 768px) {
  .companyoutline-item {
    width: 100%;
    font-size: 16px;
    line-height: 200%; /* 32px */
    letter-spacing: 0.48px;
  }
}
/* お問い合わせ */
.contact-wrapper {
  padding-top: 120px;
}
@media screen and (max-width: 768px) {
  .contact-wrapper {
    padding-top: 80px;
  }
}
/* フッター上のスライダー */
.footerslider {
  background-color: #0d6fb8;
  position: relative;
  width: 100%;
}
.footerslider::before {
  content: "";
  width: 100%;
  height: 10px;
  background-image: url(../image/footerslider/upwave.svg);
  background-size: contain;
  background-repeat: repeat-x;
  background-position: center;
  position: absolute;
  top: -10px;
  left: 0;
}
.footer-bottom-wave {
  width: 100%;
  height: 116px;
}
@media screen and (max-width: 768px) {
  .footer-bottom-wave {
    height: 33px;
  }
}
.footer-bottom-wave img {
  width: 100%;
  height: 165px;
  object-fit: cover;
}
@media screen and (max-width: 768px) {
  .footer-bottom-wave img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}
.mv_footer_slider {
  padding-top: 100px;
}
@media screen and (max-width: 768px) {
  .mv_footer_slider {
    padding-bottom: 55px;
  }
}
.carousel .image01 {
  width: 340px;
  height: 340px;
  margin-right: 10px;
}
@media screen and (max-width: 768px) {
  .carousel .image01 {
    width: 190px;
    height: 186px;
  }
}
.carousel .image02 {
  width: 340px;
  height: 510px;
  margin-right: 40px;
}
@media screen and (max-width: 768px) {
  .carousel .image02 {
    width: 170px;
    height: 255px;
    margin-top: 16px;
    margin-right: 24px;
  }
}
.carousel .image03 {
  width: 380.002px;
  height: 510px;
}
@media screen and (max-width: 768px) {
  .carousel .image03 {
    width: 230px;
    height: 255px;
    margin-top: 17px;
  }
}
.carousel .image04 {
  width: 340px;
  height: 340px;
  margin-top: 170px;
  margin-right: 40px;
}
@media screen and (max-width: 768px) {
  .carousel .image04 {
    width: 170px;
    height: 170px;
    margin-top: 95px;
    margin-left: -30px;
    margin-right: 30px;
  }
}
.carousel .image05 {
  width: 360px;
  height: 510px;
  margin-right: 20px;
}
@media screen and (max-width: 768px) {
  .carousel .image05 {
    width: 203px;
    height: 271px;
  }
}
.carousel .image06 {
  width: 340px;
  height: 340px;
  margin-right: 40px;
  margin-bottom: 170px;
}
@media screen and (max-width: 768px) {
  .carousel .image06 {
    width: 170px;
    height: 170px;
    margin-left: -6px;
    margin-right: 30px;
    margin-bottom: 0;
  }
}
.carousel .image07 {
  width: 380.002px;
  height: 510px;
}
@media screen and (max-width: 768px) {
  .carousel .image07 {
    width: 224px;
    height: 271px;
  }
}
.carousel .image08 {
  width: 340px;
  height: 510px;
  margin-right: 40px;
}
@media screen and (max-width: 768px) {
  .carousel .image08 {
    width: 170px;
    height: 255px;
    margin-left: -23px;
    margin-right: 30px;
  }
}
.carousel .image09 {
  width: 380.002px;
  height: 340px;
  margin-top: 170px;
  margin-right: 40px;
}
@media screen and (max-width: 768px) {
  .carousel .image09 {
    width: 189px;
    height: 201px;
    margin-top: 54px;
    margin-right: 11px;
  }
}
.carousel .image10 {
  width: 340px;
  height: 340px;
  margin-right: 40px;
  margin-bottom: 170px;
}
@media screen and (max-width: 768px) {
  .carousel .image10 {
    width: 170px;
    height: 170px;
    margin-right: 30px;
    margin-bottom: 0;
  }
}
.carousel .image11 {
  width: 340px;
  height: 510px;
  margin-right: 40px;
}
@media screen and (max-width: 768px) {
  .carousel .image11 {
    width: 170px;
    height: 255px;
    margin-right: 30px;
  }
}
.carousel .image12 {
  width: 340px;
  height: 510px;
}
@media screen and (max-width: 768px) {
  .carousel .image12 {
    width: 170px;
    height: 255px;
    margin-right: 30px;
  }
}
.carousel .slick-slide {
  min-width: var(--WIDTH);
  max-width: var(--WIDTH);
}
@media screen and (min-width: 768px) {
  .carousel .slick-slide {
    --WIDTH: 300px;
  }
}
/* @media screen and (max-width: 767px) {
  .carousel .slick-slide {
    --WIDTH: 150px;
  }
} */
@media screen and (max-width: 768px) {
  /* .carousel .slick-list {
    width: 100% !important;
  } */
}
.footerslideashiato {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}
.footerslideashiato-img {
  width: 207.573px;
  height: 212.41px;
  position: absolute;
  top: 0;
  left: 287px;
}
@media screen and (max-width: 768px) {
  .footerslideashiato-img {
    left: 84px;
    width: 158.843px;
    height: 161px;
  }
}
