@charset "UTF-8";
@media print {
  #MainImage {
    padding-bottom: 90px;
  }
}

#work {
  position: relative;
}
@media screen and (max-width: 1024px) {
  #work {
    margin-top: 40px;
  }
}
@media print {
  #work {
    zoom: 80%;
  }
}
#work .workText {
  margin: 0 auto 60px;
  padding-top: 80px;
  width: 90%;
}
@media screen and (max-width: 520px) {
  #work .workText {
    margin: 0 auto 30px;
    padding-top: 60px;
  }
}
#work .workCard {
  position: relative; /* 子要素を絶対位置で重ねるため */
  margin: 0 auto 60px;
  width: 90%;
}
#work .workCard:last-child {
  margin-bottom: 90px;
}
@media screen and (max-width: 520px) {
  #work .workCard {
    margin: 0 auto 35px;
  }
}
#work .cardBtn {
  position: absolute;
  top: 75%;
  left: 50%;
  transform: translateX(-50%);
  width: 87%; /* ボタンサイズ調整 */
  z-index: 2; /* 画像より前面に表示 */
}
#work .bgitem07 {
  font-size: 0;
  position: relative;
  margin-bottom: -1px;
  margin-top: -1px;
  background-color: #925f2a;
}
#work .bgitem07 img {
  position: relative;
  top: -20px;
}
#work .mainbg {
  position: relative;
}
#work .mainbg::before {
  position: fixed;
  content: "";
  background-image: url(../images/top/mainbg@2x.webp);
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  top: 0;
  left: 50%;
  transform: translate(-50%, 0);
  z-index: -1;
}
#work .leftarea {
  position: fixed;
  top: 50%;
  left: calc(100% - 1400px);
  z-index: 3;
  transform: translate(0, -50%);
}
@media screen and (min-width: 1921px) {
  #work .leftarea {
    left: 520px;
  }
}
@media screen and (max-width: 1460px) {
  #work .leftarea {
    left: calc(100% - 1100px);
  }
}
@media screen and (max-width: 1150px) {
  #work .leftarea {
    left: calc(100% - 910px);
  }
}
@media screen and (max-width: 1024px) {
  #work .leftarea {
    max-width: 500px;
    left: auto;
    transform: none;
  }
}
#work .leftarea .logo {
  margin-bottom: 20px;
}
@media screen and (max-width: 1024px) {
  #work .leftarea .logo {
    max-width: 280px;
    margin: 45px auto 10px;
  }
}
#work .leftarea .btn {
  display: block;
}
@media screen and (max-width: 1024px) {
  #work .leftarea .btn {
    max-width: 335px;
    margin: 20px auto -5px;
  }
}
#work .leftarea .btn02 {
  margin-bottom: 20px;
}
#work .leftarea .shareArea {
  background-color: rgba(27, 73, 49, 0.8);
  padding: 20px 25px;
  margin-top: 25px;
}
#work .leftarea .shareArea .sharettl {
  color: #fff;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 500;
}
#work .leftarea .shareArea .shareflex a {
  margin-right: 30px;
}
#work .sp_header {
  top: 0;
  position: fixed;
  width: 100%;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  max-width: 500px;
  left: 50%;
  transform: translate(-50%, 0);
  height: 50px;
}
@media print {
  #work .sp_header {
    position: relative;
    height: 50px;
  }
}
#work .sp_header::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 40px;
  bottom: -15px;
  left: 0;
  background-image: url(../images/top/head_bg@2x.webp);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top;
  z-index: 0;
}
@media screen and (max-width: 520px) {
  #work .sp_header::after {
    bottom: -25px;
  }
}
@media print {
  #work .sp_header::after {
    width: 500px;
    bottom: -15px;
    z-index: 1;
  }
}
@media screen and (max-width: 1024px) {
  #work .sp_header .logo {
    max-width: 200px;
    margin: 5px 0px 0 10px;
    line-height: 0;
    position: relative;
    z-index: 2;
  }
}
@media print {
  #work .sp_header .logo {
    max-width: 200px;
    margin-left: 10px;
    line-height: 0;
  }
}
#work .MainBg {
  background-color: #eae1c5;
}
#work .MainContent {
  background-color: #fff;
  position: relative;
  padding: 10px;
  border-radius: 20px;
  box-shadow: 7px 0 5px 0px rgba(0, 0, 0, 0.6);
}
@media screen and (max-width: 1024px) {
  #work .MainContent {
    padding: 0px;
  }
}
#work #linkArea {
  background-color: #925f2a;
  position: relative;
}
#work #linkArea .b_text {
  max-width: 300px;
  margin: 0 auto;
}
#work #linkArea .subttl {
  color: #fff;
  text-align: center;
  margin-bottom: 15px;
  font-size: 28px;
  font-weight: 500;
}
@media screen and (max-width: 520px) {
  #work #linkArea .subttl {
    font-size: 20px;
  }
}
#work #linkArea .linkFlex {
  display: flex;
  justify-content: center;
  margin-bottom: 45px;
  max-width: 300px;
  margin: 0 auto 40px;
}
@media screen and (max-width: 520px) {
  #work #linkArea .linkFlex {
    max-width: 235px;
  }
}
#work #linkArea .linkFlex a {
  max-width: 60px;
  margin-right: 35px;
}
@media screen and (max-width: 520px) {
  #work #linkArea .linkFlex a {
    max-width: 40px;
  }
}
#work #linkArea .linkFlex button {
  max-width: 50px;
}
@media screen and (max-width: 520px) {
  #work #linkArea .linkFlex button {
    max-width: 40px;
  }
}
#work .copy {
  text-align: center;
  font-size: 12px;
  color: #fff;
  background-color: #925f2a;
  padding: 40px 0 15px;
  margin-top: -1px;
}