@charset "utf-8";

@media screen and (max-width: 768px) {

/*-------------------------------------Hero メインビジュアル SP-------------------------------------*/
.hero {
  height: 60svh;
  min-height: 0;
  max-height: none;
  overflow: hidden;
}
.hero .wrap,
.hero .content {
  padding: 0;
}
.hero-slider .slide,
.hero-slider .slick-list,
.hero-slider .slick-track {
  height: 100% !important;
}
.hero-slider .slide {
  position: relative;
  overflow: hidden;
}
.hero-slider .slide picture {
  display: contents;
}
.hero-slider .slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center bottom;
}
/* 下から立ち上がる白グラデーション */
.hero-gradient {
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(255, 255, 255, 0.82) 26%,
    rgba(255, 255, 255, 0.42) 52%,
    rgba(255, 255, 255, 0) 78%
  );
}
/* キャッチコピー */
.hero-copy {
  position: absolute;
  top: auto;
  bottom: 70px;
  left: 15px;
  z-index: 4;
}
.hero-title {
  /* font-size / font-weight / font-family は PC 側で clamp 指定済み、SP独自の上書きは不要。
     ここでは gap / line-height の SP調整のみ */
  font-size: 28px;
  letter-spacing: 0.05em;
  gap: 10px;
  line-height: 1;
}
.hero-title .line {
  padding: 7px 8px 9px 13px;
}
.hero-sub-1 {
  font-size: 15px;
  margin-top: 25px;
  margin-left: 13px;
  color: var(--color-green-dark);
}
.hero-sub-2 {
  font-size: 13px;
  margin-top: 6px;
  margin-left: 13px;
}
.hero-kazari-left {
  display: block;
  top: 25px;
  left: 5px;
  width: 110px;
  height: 98px;
}
/* 波線 */
.hero-wave img {
  height: 40px;
  object-fit: cover;
  object-position: center bottom;
}
/* 花びらは小さく */
.petal-01 { top: 8%;  left: 3%;    width: 40px; }
.petal-02 { top: 28%; left: 55%;   width: 30px; }
.petal-03 { top: 65%; left: 8%;    width: 55px; }
.petal-04 { top: 15%; right: 8%;   width: 28px; }
.petal-05 { bottom: 30%; right: 15%; width: 35px; }

/*-------------------------------------About「今泉造園土木について」SP-------------------------------------*/
.about {
  padding: 30px 15px 35px;
  overflow-x: clip;
}
.about-kazari-top {
  display: block;
  top: 15px;
  right: 0;
  width: 140px;
  height: 110px;
}
.about-kazari-petals {
  display: block;
  top: 410px;
  left: -20px;
  width: 190px;
  height: 210px;
}
.about-kazari-leaves {
  display: block;
  right: 5px;
  bottom: 15px;
  width: 55px;
  height: 75px;
}
.about .box-outer {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}
.about-text {
  width: 100%;
  order: 1;
  padding-top: 0;
}
.about .h2-outer {
  display: block;
  text-align: center;
  margin-bottom: 20px;
}
.about .h2-outer .sub {
  display: block;
  font-size: 20px;
  margin-bottom: 5px;
}
.about .h2-outer .eng {
  font-size: 19px;
}
.about h2 {
  font-size: 30px;
  text-align: center;
  margin-bottom: 25px;
  line-height: 1.45;
  white-space: normal;
}
.about .lead {
  width: auto;
  font-size: 15px;
  line-height: 1.8;
  text-align: center;
}
.about-image {
  order: 2;
  width: 100%;
  max-width: 400px;
  height: 240px;
  transform: none;
}
.about-image img {
  border-radius: 50%;
}
.about-kazari {
  width: 130px;
  bottom: 10px;
  left: 20px;
}

/*-------------------------------------事業内容 SP-------------------------------------*/
.service {
  padding: 0 15px 60px;
  overflow-x: clip;
}
.service .wrap {
  padding-top: 105px;
}
.service .h2-outer {
  display: block;
  text-align: center;
  margin-bottom: 18px;
}
.service .h2-outer h2 {
  font-size: 26px;
  display: inline-block;
  margin-right: 8px;
}
.service .h2-outer .eng {
  font-size: 19px;
  display: inline-block;
}
.service .lead {
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 40px;
  padding: 0;
  text-align: left;
}
.service-cards.box-outer {
  display: grid;
  grid-template-columns: 1fr 1fr;   /* 2×2 グリッド */
  gap: 90px 10px;
  width: 100%;
  padding: 60px 0 0;
}
.service-card {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-height: 0;
}
.service-card > a {
  position: relative;
  padding: 52px 10px 18px;
}
.service-card .icon {
  position: absolute;
  z-index: 2;
  top: -75px;
  left: 50%;
  width: 135px;
  height: 110px;
  margin: 0;
  transform: translateX(-50%);
}
.service-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}
.service-card p {
  font-size: 13px;
  line-height: 1.65;
  text-align: left;
}
.service-more {
  margin-top: 35px;
}
.btn-pink-pill {
  padding: 12px 40px;
  font-size: 15px;
}

/*-------------------------------------イメージビジュアル SP-------------------------------------*/
.image-visual {
  width: 100%;
}
.image-visual img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
}
.image-visual {
  margin-top: 0;
}

/*-------------------------------------施工事例 Works SP-------------------------------------*/
.works {
  padding: 35px 0 45px;
  overflow-x: clip;
}
.works-kazari-petals-left {
  top: 25px;
  left: 4%;
  width: 120px;
  height: 55px;
}
.works-kazari-petals-right {
  top: 95px;
  right: 5%;
  width: 40px;
  height: 25px;
}
.works-kazari-leaves-top {
  top: -15px;
  right: 0;
  width: 65px;
  height: 75px;
}
.works-kazari-leaves-bottom {
  left: 3%;
  bottom: 50px;
  width: 70px;
  height: 70px;
}
.works .h2-outer {
  display: block;
  text-align: center;
  margin-bottom: 18px;
}
.works .h2-outer h2 {
  font-size: 26px;
  display: inline-block;
  margin-right: 8px;
}
.works .h2-outer .eng {
  font-size: 19px;
  display: inline-block;
}
.works .lead {
  font-size: 16px;
  line-height: 1.75;
  padding: 0 15px;
  margin-bottom: 35px;
  text-align: left;
}
.works-slider-wrap {
  padding: 0 15px;
  margin: 25px 0 40px;
}
.works-slider .slide {
  padding: 0 6px;
}
.works-slider .thumb {
  aspect-ratio: 34 / 23;
  border-radius: 8px;
  margin-bottom: 25px;
}
.works-slider .tag {
  min-width: 70px;
  padding: 3px 12px;
  font-size: 12px;
  left: 10px;
  bottom: -11px;
}
.works-slider .caption {
  font-size: 13px;
  line-height: 1.6;
}
.works-slider-wrap .slick-prev,
.works-slider-wrap .slick-next {
  width: 34px;
  height: 34px;
  border-width: 2px;
  z-index: 5;
}
.works-slider-wrap .slick-prev { left: 0; }
.works-slider-wrap .slick-next { right: 0; }
.works-slider .slick-dots {
  margin-top: 20px;
  gap: 7px;
}
.works-slider .slick-dots li,
.works-slider .slick-dots li button {
  width: 8px;
  height: 8px;
}
.works-more {
  margin-top: 40px;
}

/*-------------------------------------会社案内 & 採用情報 SP-------------------------------------*/
.company-recruit {
  min-width: 0;
  padding: 30px 15px 35px;
  overflow-x: clip;
}
.company-recruit ul.box-outer {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 0;
}
.cr-box {
  width: 100%;
  min-width: 0;
  min-height: 280px;
  border-radius: 40px 30px 40px 30px;
}
.cr-box-company {
  align-self: flex-start;
  width: calc(100% + 15px);
  margin-left: -15px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  background-position: left center;
}
.cr-box-recruit {
  align-self: flex-end;
  width: calc(100% + 15px);
  margin-right: -15px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  background-position: right center;
}
.cr-box > .cr-panel {
  padding: 45px 25px 35px;
}
.cr-box-company > .cr-panel,
.cr-box-recruit > .cr-panel {
  padding: 45px 25px 35px;
}
.cr-box::before {
  width: 70px;
  height: 40px;
  top: 12px;
  left: 20px;
}
.cr-photo {
  width: 45%;
  border-top-left-radius: 50% 40%;
}
.cr-box-company .cr-photo {
  width: 55%;
}
.cr-box-recruit .cr-photo {
  width: 90%;
}
.cr-inner {
  width: 55%;
}
.cr-box .h2-outer {
  display: block;
  margin-bottom: 18px;
}
.cr-box .h2-outer h2 {
  font-size: 22px;
  display: inline-block;
  margin-right: 8px;
}
.cr-box .h2-outer .eng {
  font-size: 17px;
  display: inline-block;
}
.cr-box .h2-outer h2,
.cr-box .h2-outer .eng {
  text-shadow:
    -1px -1px 2px rgba(255, 255, 255, 0.98),
     1px -1px 2px rgba(255, 255, 255, 0.98),
    -1px  1px 2px rgba(255, 255, 255, 0.98),
     1px  1px 2px rgba(255, 255, 255, 0.98),
     0 0 6px rgba(255, 255, 255, 0.9);
}
.cr-box .lead {
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 15px;
}
.cr-box .sub {
  font-size: 13px;
  line-height: 1.65;
  margin-bottom: 20px;
}
.cr-box .btn-pink-pill {
  padding: 10px 25px;
  font-size: 14px;
}

/*-------------------------------------お知らせ SP-------------------------------------*/
.news {
  padding: 30px 15px 35px;
  overflow-x: clip;
}
.news-kazari {
  top: 15px;
  right: -10px;
  width: 105px;
  height: 80px;
  opacity: 0.75;
}
.news .h2-outer {
  display: block;
  text-align: center;
  margin-bottom: 30px;
}
.news .h2-outer h2 {
  font-size: 26px;
  display: inline-block;
  margin-right: 8px;
}
.news .h2-outer .eng {
  font-size: 19px;
  display: inline-block;
}
.news-list {
  max-width: 100%;
  padding: 0;
}
.news-item {
  display: block;
  padding: 18px 5px;
}
.news-item .date {
  display: inline-block;
  font-size: 15px;
  margin-right: 10px;
}
.news-item .category {
  display: inline-block;
  font-size: 13px;
  height: 22px;
  padding: 0 10px;
  vertical-align: middle;
}
.news-item .title {
  display: block;
  font-size: 15px;
  line-height: 1.7;
  margin-top: 6px;
}
.btn-outline {
  padding: 10px 30px;
  font-size: 15px;
}

/*-------------------------------------ハンバーガーメニュー内の footer-contact 非表示等-------------------------------------*/
/* ハンバーガーメニュー内には footer-contact をコピーしない想定なので特に何もしない */

}  /* @media (max-width: 768px) */
