/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Nov 03 2026 | 23:14:39 */
/* トップページ */

/* こんなお悩みはございませんか？ */
.top-onayami {
  padding-bottom: 60px!important;
}
.top-onayami .is-style-check_list li {
	font-size: 18px;
}
.top-onayami .content {
	position: relative;
	padding-top: 70px;
	border-radius: 10px;
}
.top-onayami h2 {
	position: absolute!important;
	top: -20px;
	left: 50%;
	transform: translatex(-50%);
	white-space: nowrap;
}
@media (max-width: 599px) {
	#main_content .top-onayami {
		padding-top: 80px!important;
	}
	.top-onayami h2 {
		top: -30px;
	}
	.top-onayami img {
		width: 100px;
		margin-top: 20px;
	}
	.top-onayami .is-style-check_list li {
		font-size: 16px;
	}
}


/* そのお悩み吉田パートナーズ社会保険労務士事務所におまかせください！ */
.top-omakase h2 {
	font-size: 28px;
}
.top-omakase h3 {
	font-size: 24px;
}
@media (max-width: 599px) {
	.top-omakase h2 {
		font-size: 22px;
	}
	.top-omakase h3 {
		font-size: 18px;
	}
}
.top-omakase .icon-arrow {
	position: absolute;
	top: -110px;
	left: 50%;
	transform: translatex(-50%);
	width: 40px;
}
.top-omakase .img {
	border-radius: 10px;
	overflow: hidden;
}
/* 画像とバッジの配置基準 */
.top-omakase .img-wrap > .wp-block-group__inner-container {
  position: relative;
}
/* 画像 */
.top-omakase .img-wrap .wp-block-image.img {
  margin: 0;
}
.top-omakase .img-wrap .wp-block-image.img img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}
/* 初回相談無料の丸いバッジ */
.top-omakase .img-wrap .consultation-badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 108px;
  height: 108px;
  box-sizing: border-box;
  margin: 0 !important;
  padding: 0;
  border-radius: 50%;
  background-color: var(--color_deep02);
  color: #fff;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}
/* 初回相談 */
.top-omakase .consultation-badge__label {
  display: block;
  font-size: 14px;
}
/* 無料 */
.top-omakase .consultation-badge__free {
  display: block;
  font-size: 20px;
}
/* スマートフォン */
@media (max-width: 767px) {
  .top-omakase .img-wrap .consultation-badge {
    left: 15px;
    bottom: 15px;
    width: 88px;
    height: 88px;
    gap: 3px;
  }
  .top-omakase .consultation-badge__label {
    font-size: 12px;
  }
  .top-omakase .consultation-badge__free {
    font-size: 18px;
  }
}


/* 取扱業務 */
.top-service .item {
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
}
.top-service .img-area {
	position: relative;
}
.top-service .img-area h3 {
	width: calc(100% - 40px);
	background: #fff;
	padding: 30px 5px 10px!important;
	margin-left: 20px;
	margin-right: 20px;
	position: absolute;
	bottom: 0;
	border-radius: 10px 10px 0 0;
	overflow: hidden;
}
@media (max-width: 599px) {
	.top-service .img-area h3 {
		font-size: 18px;
	}
}
.top-service .list-area {
	padding-left: 25px;
	padding-right: 25px;
	padding-bottom: 20px;
}
.top-service .item a {
	color: #333;
}
.top-service .item:first-of-type li::before,
.top-service .item:first-of-type .swl-inline-icon::after {
	background-color: var(--color_deep02);
}
.top-service .item:nth-of-type(2) li::before,
.top-service .item:nth-of-type(2) .swl-inline-icon::after {
	background-color: var(--color_deep03);
}
.top-service .item:nth-of-type(3) li::before,
.top-service .item:nth-of-type(3) .swl-inline-icon::after {
	background-color: #78aabb;
}
/* ホバーアニメーション */
/* 各カードのテーマカラー */
.top-service .item:nth-child(1) {
  --service-color: #356b47;
}
.top-service .item:nth-child(2) {
  --service-color: #8ec38d;
}
.top-service .item:nth-child(3) {
  --service-color: #78aabb;
}
/* カード全体のリンク */
.top-service .item > a {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
/* リンク全体が薄くなる効果を解除 */
.top-service .item > a:hover {
  color: inherit;
  text-decoration: none;
  opacity: 1;
}
/* 画像の拡大を枠内に収める */
.top-service .item > a .img-area figure {
  overflow: hidden;
  background-color: var(--service-color);
}
/* 画像：通常時 */
.top-service .item > a .img-area figure img {
  display: block;
  width: 100%;
  transform: scale(1);
  opacity: 1;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}
.top-service .item > a .swl-inline-icon::after {
	transition: .3s;
}
/* ホバー時 */
@media (hover: hover) {
  .top-service .item > a:hover .img-area figure img {
    transform: scale(1.1);
    opacity: 0.6;
  }
  .top-service .item > a:hover .swl-inline-icon::after {
    transform: translatex(10px);
  }
}
/* その他の取扱業務 */
.top-service .content-other {
	border-radius: 10px;
}
.top-service .item-other {
	position: relative;
}
/* パソコン */
@media (min-width: 782px) {
	.content-other > .item-other:not(:first-child)::before {
		position: absolute;
		content: "";
		left: -10px;
		top: 0;
		width: 1px;
		height: 100%;
		background-color: #ddd;
	}
}
/* スマートフォン */
@media (max-width: 781px) {
	.content-other > .item-other:not(:first-child)::before {
		position: absolute;
		content: "";
		left: 0;
		top: -10px;
		width: 100%;
		height: 1px;
		background-color: #ddd;
	}
}


/* 代表者挨拶 */
/* 料金案内 */
/* ご相談の流れ */
.top-profile .text-area,
.top-price .text-area,
.top-flow .text-area {
	border-radius: 10px;
}