/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Feb 08 2025 | 18:41:32 */
/* トップページ */

/* メインビジュアル */
#main_visual {
	background: #fff;
}
.p-mainVisual__slide::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100%;
	background-color: #fff!important;
	opacity: 1!important;
	z-index: -1;
}
.p-mainVisual__slide .p-mainVisual__img {
	object-fit: contain; 
}
.p-mainVisual__slideTitle {
	position: absolute;
	color: #333;
	left: -5%;
	font-size: calc(48rem/16);
	text-align: left;
	letter-spacing: .13em;
	font-weight: 500;
	text-shadow: 
    -1px -1px 3px rgba(255, 255, 255, .5), /* 上左 */
     1px -1px 3px rgba(255, 255, 255, .5), /* 上右 */
    -1px  1px 3px rgba(255, 255, 255, .5), /* 下左 */
     1px  1px 3px rgba(255, 255, 255, .5); /* 下右 */
}
@media (max-width: 1300px) {
	.p-mainVisual__slideTitle {
		left: 2%;
	}
}
@media (max-width: 959px) {
	#main_visual .p-mainVisual__slideTitle {
		font-size: calc(32rem/16);
		bottom: 16%;
	}
}
.p-mainVisual__slide[data-swiper-slide-index="0"] .p-mainVisual__slideTitle {
  bottom: 17.5%;
}
.p-mainVisual__slide[data-swiper-slide-index="1"] .p-mainVisual__slideTitle {
  bottom: 3.5%;
}
.p-mainVisual__slide[data-swiper-slide-index="2"] .p-mainVisual__slideTitle {
  bottom: 17.2%;
}

/* 親和ホームページとは */
.topAbout .swell-block-columns__inner {
	justify-content: space-between;
    align-items: flex-end;
}
@media (max-width: 959px) {
	.topAbout .imgArea {
		margin-top: 40px;
	}
	.topAbout .btn {
		text-align: center;
	}
}

/* サービスの特徴 */
@media (min-width: 960px) {
	.topFeature {
		padding-bottom: 10em!important;
	}
}
.topFeature .swell-block-columns {
	position: relative;
}
.topFeature h3 {
	font-weight: 500;
	font-size: calc(20rem/16);
}
@media (max-width: 959px) {
	.topFeature h3 {
		font-size: calc(22rem/16);
	}
}
.topFeature .swell-block-columns::before {
	content: "";
	position: absolute;
	left: 0;
	bottom: -7%;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	width: 92vw;
	height: 88%;
	background-color: #E8E6E3;
	border-radius: 0 0 70px 0;
	z-index: -1;
}
@media (min-width: 960px) and (max-width: 1400px) {
	.topFeature .swell-block-columns::before {
		width: 99vw;
	}	
}
@media (max-width: 959px) {
	.topFeature .swell-block-columns::before {
		width: 100vw;
		bottom: -3%;
		height: 92%;
	}	
}
@media (max-width: 599px) {
	.topFeature .swell-block-columns::before {
		height: 95%;
	}	
}
.topFeature .midashi span::before {
	left: 50%;
	transform: translatex(-50%);
}

/* サービス紹介 */
.topService {
	background-image: url('https://shinwa-hp.jp/wp-content/uploads/2025/01/topServiceBg.jpg');
}
.topService .swell-block-columns {
	position: relative;
}
.topService h3 {
	font-weight: 500;
}
.topService h3 {
	font-size: calc(20rem/16);
}
@media (max-width: 959px) {
	.topService h3 {
		font-size: calc(22rem/16);
	}
}
.topService .item {
	background-color: #fff;
	box-shadow: 0 0 6px rgba(106, 124, 132, .3);
	padding: 36px 34px 33px;
	display: flex;
	flex-direction: column;
}
.topService .icon {
	width: 90px;
	margin: 0 auto;
}
.topService .topItems .item:first-of-type {
	border-radius: 70px 0 0 0;
}
@media (max-width: 959px) {
	.topService .topItems {
		margin-bottom: 1.8em!important;
	}
}
.topService .bottomItems .item:last-of-type {
	border-radius: 0 0 70px 0;
}
.topService .btnSmall {
	margin-top: auto!important;
}
.topService .btnSmall a {
	color: #344E5C;
	display: flex;
	align-items: center;
	justify-content: center;
}
.topService .btn a {
	width: 280px;
}

/* 制作事例 */
.topProduct .jimushoTitle,
.topProduct .tokkaTitle {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
}
.topProduct .jimushoTitle span,
.topProduct .tokkaTitle span {
	font-size: calc(20rem/16);
}
@media (max-width: 959px) {
	.topProduct .jimushoTitle span,
	.topProduct .tokkaTitle span {
		font-weight: 500;
	}
	.topProduct .jimushoTitle span {
		font-size: calc(22rem/16);
	}
	.topProduct .tokkaTitle span {
		font-size: calc(21rem/16);
		white-space: nowrap;
	}
}
.topProduct .tokkaTitle {
	margin-top: 60px;
}
@media (min-width: 960px) {
	.topProduct .productList {
		display: flex;
		align-items: flex-start;
		justify-content: space-between;
		gap: 32px;
	}
	.topProduct .productList .item {
		width: calc(33% - 32px * 2/3);
	}
}
@media (max-width: 959px) {
	.topProduct .productList {
		margin-bottom: 4em;
	}
	.topProduct .productList .item:not(:first-of-type) {
		margin-top: 40px;
	}
}
.topProduct .productList .thumbnail a {
	display: flex;
}
.topProduct .productList .thumbnail a img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 40px 10px;
	overflow: hidden;
}
.topProduct .productList .title {
	text-align: left;
	margin-top: 25px;
	margin-bottom: 20px;
}
.topProduct .productList .title a {
	color: #333;
	font-size: calc(18rem/16);
}
@media (max-width: 959px) {
	.topProduct .productList .title a {
		font-size: calc(22rem/16);
		font-weight: 500;
	}	
}
.topProduct .productList .links {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
}
.topProduct .productList .links .terms {
	margin-top: -12px!important;
	margin-left: -12px;
}
.topProduct .productList .links .terms a {
	margin-top: 12px!important;
	margin-left: 12px;
	padding: 3px 18px;
	border: 1px solid #6D8A96;
	border-radius: 14px;
	background-color: #E8E6E3;
	font-size: calc(13rem/16);
	color: #333;
	display: inline-block;
}
.topProduct .productList .links .arrow {
	width: 26px;
	height: 26px;
	min-width: 26px;
}

/* お客様の声 */
.topVoice {
	background-image: url('https://shinwa-hp.jp/wp-content/uploads/2025/01/topVoiceBg-1.png');
	background-position: left bottom!important;
}
.topVoice .c-balloon__text {
	border-radius: 0;
	padding: 1.5em; 
}
.topVoice .c-balloon__before {
	display: none;
}
@media (min-width: 960px) {
	.topVoice .c-balloon__text {
		max-width: 643px;
	}
}

/* 制作の流れ */
.swell-block-step__item::before {
	border-color: var(--color_deep01)!important;
}
.topFlow .u-col-main {
	color: var(--color_deep01)!important;
}
.topFlow .contentWrap {
	position: relative;
}
.topFlow .swell-block-step {
	color: var(--color_deep01);
	background-color: #E8E6E3;
	padding: 90px 85px;
	border-radius: 70px 0 70px 0;
	width: fit-content;
}
@media (max-width: 599px) {
	.topFlow .swell-block-step {
		border-radius: 50px 0 50px 0;
		padding: 2.5em 1em;
	}
}
.topFlow .swell-block-step__number .__shape {
	width: 23px;
	height: 23px;
}
@media (max-width: 959px) {
	.topFlow .swell-block-step__number .__shape {
		width: 20px;
		height: 20px;
	}
}
.topFlow .swell-block-step__item:before {
    left: 11px;
    top: 22px;
}
@media (max-width: 959px) {
	.topFlow .swell-block-step__item:before {
		left: 9px;
		top: 20px;
	}
}
.topFlow .swell-block-step__title {
	font-size: calc(22rem/16)!important;
	font-weight: 500;
}
@media (max-width: 959px) {
	.topFlow .swell-block-step__title {
		font-size: calc(20rem/16)!important;
		margin-top: -21px!important;
	}
}
.topFlow .swell-block-step__title,
.topFlow .swell-block-step__body {
	padding-left: 50px;
}
@media (max-width: 599px) {
	.topFlow .swell-block-step__title,
	.topFlow .swell-block-step__body {
		padding-left: 20px;
	}
}
.topFlow .illust {
	position: absolute;
	bottom: 140px;
	right: 0;
	width: 297px;
}
@media (min-width: 930px) and (max-width: 1077px) {
	.topFlow .illust {
		width: 200px;
	}
}
@media (max-width: 929px) {
	.topFlow .illust {
		bottom:  auto;
		top: -80px;
		width: min(40%, 200px);
	}
}
@media (max-width: 959px) {
	.topFlow .btn {
		text-align: center;
	}
}

/* お問い合わせ */
.topContact {
	background-image: url('https://shinwa-hp.jp/wp-content/uploads/2025/01/topContactBg.jpg');
}
.topContact .btnContact a {
	padding: 20px 96px;
	width: min(448px, 90%);
	margin: 0 auto;
}
@media (max-width: 599px) {
	.topContact .btnContact a {
		padding: 16px 30px;
	}
}
.topContact .btnContact a::before {
	left: 25%;
}
@media (max-width: 599px) {
	.topContact .btnContact a::before {
		left: 20%;
	}
}
.topContact .btnContact a span {
	margin-left: 40px;
}
.topContact .areaMessage figure {
	width: 100px;
}
@media (max-width: 599px) {
	.topContact .areaMessage figure {
		width: 75px;
	}
}

/* お知らせ */
@media (max-width: 959px) {
	 #content .topNews .midashi {
		margin-bottom: 40px!important;
	}
	.topNews .midashi p {
		text-align: center;
	}
	.topNews .midashi span::before {
		left: 50%;
		transform: translatex(-50%);
	}
	.topNews .midashi .is-style-section_ttl {
		text-align: center;
	}
}
.topNews .p-postList.-type-simple {
    border-color: var(--color_main);
}
.topNews .-type-simple .p-postList__link {
    border-color: var(--color_main);
}
.topNews .-type-simple .p-postList__link:hover {
    background-color: transparent;
}
@media (min-width: 960px) {
	.topNews .p-postList__body {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 34px;
	}
}
.topNews .p-postList__meta {
	width: 110px;
	margin: 0;
}
.topNews .p-postList__times {
	padding: 0;
}
.topNews .p-postList__meta time {
	font-size: calc(18rem/16);
	font-weight: 400;
	line-height: 1.5;
}
@media (max-width: 959px) {
	.topNews .p-postList__meta time {
		font-size: calc(14rem/16);
	}
}
.topNews .p-postList__title {
	width: calc(100% - 110px);
	font-size: calc(18rem/16);
	font-weight: 400;
	line-height: 1.5;
}
@media (max-width: 959px) {
	.topNews .p-postList__title {
		font-size: calc(20rem/16);
	}
}
.topNews time::before {
	display: none;
}

/* ブログ */
@media (max-width: 959px) {
	 #content .topBlog .midashi {
		margin-bottom: 40px!important;
	}
	.topBlog .midashi p {
		text-align: center;
	}
	.topBlog .midashi span::before {
		left: 50%;
		transform: translatex(-50%);
	}
	.topBlog .midashi .is-style-section_ttl {
		text-align: center;
	}
}
#content .topBlog {
	padding-bottom: 200px!important;
}
@media (max-width: 959px) {
	#content .topBlog {
		padding-bottom: 100px!important;
	}
}
.topBlog .thumbnail {
	position: relative;
}
@media (min-width: 960px) {
	.topBlog .blogList {
		display: flex;
		align-items: flex-start;
		justify-content: space-between;
		flex-wrap: wrap;
		row-gap: 55px;
		column-gap: 32px;
	}
	.topBlog .blogList .item {
		width: calc(33% - 32px * 2/3);
	}
}
@media (max-width: 959px) {
	.topBlog .blogList .item:not(:first-of-type) {
		margin-top: 40px;
	}
	.topBlog .blogList .item:nth-of-type(n + 4) {
		display: none;
	}
}
.topBlog .thumbnail {
	position: relative;
}
.topBlog .thumbnail a {
	display: flex;
}
.topBlog .thumbnail a img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 40px 10px;
	overflow: hidden;
}
.topBlog .thumbnail .taxonomy {
	position: absolute;
	top: 10px;
	right: 10px;
	font-size: calc(14rem/16);
	border-radius: 14px;
	background-color: #fff;
	color: #333;
	padding: 5px 8px 3px;
	line-height: 1.1;
}
.topBlog .meta {
	margin-top: 35px;
}
@media (max-width: 959px) {
	.topBlog .meta {
		margin-top: 15px;
	}
	.topBlog time {
		font-size: calc(14rem/16);
		margin-top: 15px;
	}
}
.topBlog .item .title {
	margin-top: 15px;
	text-align: left;
}
@media (max-width: 959px) {
	.topBlog .item .title {
		margin-top: 5px;
	}
}
.topBlog .item .title a {
	color: var(--color_deep01);
	font-weight: 500;
	font-size: calc(18rem/16);
}
@media (max-width: 959px) {
	.topBlog .item .title a {
		font-size: calc(20rem/16);
	}
}