@charset "UTF-8";
/* いしのなかにいる */
.sp_none {
  display: inherit;
}
@media only screen and (max-width: 959px) {
  .sp_none {
    display: none;
  }
}

.pc_none {
  display: none;
}
@media only screen and (max-width: 959px) {
  .pc_none {
    display: inherit;
  }
}

a.service_mainimg {
  display: flex;
  justify-content: space-between;
  background: #ffffff;
  border-radius: 10px;
  position: relative;
  color: #333333;
  transition: 0.3s all;
  border: 20px solid #ffffff;
}
a.service_mainimg:hover, a.service_mainimg:active {
  background: var(--btn-hover-color);
}
a.service_mainimg::before {
  content: "";
  width: 240px;
  aspect-ratio: 3/2;
  background: url(../img/header_img.avif) 50% 50%/contain no-repeat;
  position: absolute;
  right: 30px;
  bottom: calc(100% - 15px);
}
a.service_mainimg img {
  display: block;
  max-width: 100%;
  height: auto;
}
a.service_mainimg ._img {
  flex: 0 1 640px;
  min-width: 0;
  align-self: stretch;
  overflow: hidden;
}
a.service_mainimg ._img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}
a.service_mainimg ._desc {
  display: flex;
  flex-direction: column;
  padding: 0 0 0 60px;
}
a.service_mainimg ._desc ._title h2 {
  font-size: 30px;
  font-weight: 500;
  position: relative;
  padding-bottom: 1ex;
  margin-bottom: 1ex;
}
a.service_mainimg ._desc ._title h2::after {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  width: 220px;
  height: 3px;
  background: url(../../asset/img/anchor_list_line.webp) 0 50% no-repeat;
}
a.service_mainimg ._desc ._content {
  flex-grow: 1;
}

.service_list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  list-style-type: none;
  margin: 40px 0;
  padding: 0;
}
.service_list li {
  margin: 0;
  padding: 0;
  display: flex;
}
.service_list li a {
  padding: 20px 60px;
  background: #ffffff;
  border-radius: 10px;
  background: #f3f3f3;
  border: 20px solid #ffffff;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  color: #333333;
  transition: 0.3s all;
  flex-grow: 1;
}
.service_list li a:hover, .service_list li a:active {
  background: var(--btn-hover-color);
}
.service_list li a > ._title {
  position: relative;
}
.service_list li a > ._title::before {
  content: "";
  display: block;
  background: url(../../asset/img/icon/btn_arrow.webp) 50% 50%/15px 10px no-repeat;
  height: 30px;
  width: 40px;
  border: 2px solid #333333;
  box-sizing: border-box;
  border-radius: 50% 50%;
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  transition: 0.3s all;
}
.service_list li a:hover > ._title::before, .service_list li a:active > ._title::before {
  background-color: #a7da30;
  border-color: #a7da30;
}
.service_list li ._desc {
  flex-grow: 1;
}
.service_list li ._desc h2 {
  font-size: 24px;
  font-weight: 500;
  position: relative;
  padding-bottom: 1ex;
  margin-bottom: 1ex;
}
.service_list li ._desc h2::after {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  width: 120px;
  height: 3px;
  background: url(../../asset/img/anchor_list_line.webp) 0 50% no-repeat;
}
.service_list li ._footer {
  display: flex;
  justify-content: space-between;
  align-items: end;
  flex-wrap: wrap;
}
.service_list li ._footer ._btn {
  padding: 0 0 5px 0;
}
.service_list li ._footer ._img {
  display: block;
}
.service_list li ._footer ._img img {
  display: block;
  width: 260px;
  margin: 0 -40px -20px 0;
}

/* ===== レスポンシブ ===== */
@media only screen and (min-width: 960px) and (max-width: 1279px) {
  .service_list {
    gap: 30px;
  }
}
@media only screen and (max-width: 959px) {
  a.service_mainimg ._desc {
    padding: 0 0 0 30px;
  }
  a.service_mainimg ._desc ._title h2 {
    font-size: 26px;
  }
  a.service_mainimg::before {
    width: 180px;
    right: 20px;
  }
  .service_list {
    gap: 24px;
  }
  .service_list li a {
    padding: 16px 30px;
  }
  .service_list li ._footer ._img img {
    width: 200px;
    margin: 0 -30px -16px 0;
  }
}
@media only screen and (max-width: 767px) {
  a.service_mainimg {
    flex-direction: column;
    border-width: 12px;
  }
  a.service_mainimg ._desc {
    padding: 0;
  }
  a.service_mainimg ._desc ._title h2 {
    font-size: 22px;
  }
  a.service_mainimg ._desc ._title h2::after {
    width: 160px;
  }
  a.service_mainimg ._img {
    flex: 0 0 auto;
    margin-top: 1em;
    overflow: visible;
  }
  a.service_mainimg ._img img {
    width: 100%;
    height: auto;
    object-fit: initial;
  }
  a.service_mainimg::before {
    width: 110px;
    right: 0;
    bottom: calc(100% - 6px);
  }
  .service_list {
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 24px 0;
  }
  .service_list li a {
    padding: 16px 24px;
    border-width: 12px;
  }
  .service_list li ._desc h2 {
    font-size: 20px;
  }
  .service_list li ._footer ._img img {
    width: 160px;
    margin: 0 -24px -16px 0;
  }
}
/* ===== カテゴリ別 統一カード ===== */
.service_group {
  margin: 60px 0 0;
}
@media only screen and (max-width: 767px) {
  .service_group {
    margin: 40px 0 0;
  }
}

.service_group_head {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 1em;
  padding-left: 0.55em;
  border-left: 6px solid #333333;
}
@media only screen and (max-width: 767px) {
  .service_group_head {
    font-size: 20px;
  }
}

.service_cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media only screen and (max-width: 767px) {
  .service_cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
.service_cards > li {
  margin: 0;
  padding: 0;
  display: flex;
}
.service_cards > li > a {
  flex-grow: 1;
  display: block;
  position: relative;
  background: #ffffff;
  border: 2px solid #1a1a1a;
  border-radius: 10px;
  padding: 26px 32px;
  color: #333333;
  text-decoration: none;
  transition: 0.3s all;
}
@media only screen and (max-width: 767px) {
  .service_cards > li > a {
    padding: 22px 24px;
  }
}
.service_cards > li > a:hover, .service_cards > li > a:active {
  background: var(--btn-hover-color);
  box-shadow: 5px 5px 0 #c3e65a;
  transform: translate(-2px, -2px);
}
.service_cards > li > a h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 0.6em;
  padding-right: 44px;
  position: relative;
}
@media only screen and (max-width: 767px) {
  .service_cards > li > a h3 {
    font-size: 18px;
  }
}
.service_cards > li > a h3::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 34px;
  height: 26px;
  border: 2px solid #333333;
  border-radius: 50%;
  box-sizing: border-box;
  background: url(../../asset/img/icon/btn_arrow.webp) 50% 50%/14px 9px no-repeat;
  transition: 0.3s all;
}
.service_cards > li > a:hover h3::after, .service_cards > li > a:active h3::after {
  background-color: #a7da30;
  border-color: #a7da30;
}
.service_cards > li > a p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: #555555;
}

/* ===== 公開前チェック（2026-11）の見た目の指摘対応 ===== */
@media only screen and (min-width: 1280px) {
  .service_group > .service_cards:has(> li:nth-child(3):last-child) {
    grid-template-columns: repeat(3, 1fr);
  }
}
.service_group > .service_cards > li > a p {
  text-wrap: balance;
}

a.service_mainimg ._content p {
  text-wrap: pretty;
}

/*# sourceMappingURL=services.css.map */
