/* ------------------------------
  About
------------------------------ */
.about-title {
	font-size: clamp(32px, 4vw, 64px);
	font-weight: bold;
}
@media screen and (max-width: 768px) {
	.about-text-box {
		padding-left: 0 !important;
	}
}

/* ------------------------------
  Works セクション（共通）
------------------------------ */
.works-section {
	padding-top: 12vw;
	padding-bottom: 12vw;
}
.works-section .c-container {
	margin: 0;
}
.works-inner {
	display: flex;
	align-items: flex-start;
	max-width: inherit;
}
.works-section .smb-section__body {
	width: 100vw;
	max-width:none;
}

.works-title-box {
	flex-shrink: 0;
	width: 15vw;
	margin: 0 0 1.5rem 7vw !important;
	padding-right: 0.75rem;
}

.works-title {
	font-size: clamp(32px, 6vw, 64px);
	writing-mode: vertical-rl;
	font-weight: bold;
	white-space: nowrap;
	flex-shrink: 0;
}
@media screen and (max-width: 768px) {
	.works-section {
	padding-bottom: 32vw;
}
	.works-inner {
		display: flex;
		flex-wrap: wrap;
	}
	.works-title-box {
		justify-content: left;
		gap: 10px!important;
	}
	.works-title {
		writing-mode: inherit;
	}
}

/* タイトル調整 */
.home__works .smb-section__subtitle,
.home__works .smb-section__title {
	text-align: left !important;
}
.home__works .smb-section__title::after {
	display: none !important;
}

/* ------------------------------
  Carousel ラップ＆レイアウト
------------------------------ */
.home__works__inner {
	display: flex;
	flex-wrap: wrap;
	width: 100vw;
	overflow: hidden;
	margin-top: 40px;
}

.home__works__list {
	max-width: 1000px;
}

.carousel-works-swiper {
	width: calc(100% + (100vw - 1090px) / 2);
	padding: 0 1rem;
	overflow: visible;
	z-index: 2;
}

/* ------------------------------
  スライドアイテム
------------------------------ */
.swiper-wrapper,
.swiper-slide {
	margin-right: 0;
	padding-right: 0;
}

.home__works__carousel__item {
	position: relative;
	width: 100%;
	height: 35rem;
	max-height: 560px;
	border-radius: 6px;
	overflow: hidden;
}

.home__works__carousel__item__image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border-radius: 6px;
	z-index: 100;
}
.home__works__carousel__item__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.home__works__carousel__item__grade {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 60%);
	z-index: 200;
}

.home__works__carousel__item__header {
	position: absolute;
    left: 0;
    right: 0;
    bottom: 20px;
    margin: 0 auto;
    z-index: 500;
    color: var(--white-color);
    font-weight: bold;
    width: 90%;
    text-align: justify;
}

.home__works__carousel__item__hashtag {
	margin-bottom: 0.5rem;
	display: flex;
	flex-wrap: wrap;
	justify-content: left;
	gap: 5px;
}
.home__works__carousel__item__hashtag__tags {
	display: block;
	background: var(--accent-color);
	color: #000;
	font-size: 0.8rem;
	padding: 0 0.5rem;
	border-radius: 4px;
	font-weight: normal;
}
.home__works__carousel__item__title span {
	border-bottom: 4px solid #8fc31f;
    padding-bottom: 2px;
	word-break: auto-phrase;
}
.home__works__carousel__item__catchphrase {
	margin-top: 0.5rem;
	font-size: 14px;
	font-weight: bold;
}
/* ------------------------------
  レスポンシブ
------------------------------ */
@media screen and (max-width: 768px) {
	.carousel-works-swiper {
		width: 100vw;
		padding: 0 1rem;
		box-sizing: border-box;
	}

	
	.carousel-works-swiper .swiper-slide {
		width: 80%!important;
	}
	.home__works__carousel__item {
		height: 24rem;
	}
}
/* ------------------------------
  ナビゲーション & ボタン
------------------------------ */
.works-viewmore-button-wrapper{
	max-width: 1200px;
    width: 100%;
    display: flex;
	justify-content: right;
	align-items: center;
    position: absolute;
    right: 0;
    left: 0;
    bottom: -60px;
}
.home__works__list__header {
	position: absolute;
    top: -60px;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 1200px;
}
.home__works__list__footer {
	width: 100%;
	text-align: right;
	margin-top: 3rem;
}
.home__works__list__footer a {
	text-decoration: none;
	color: #000;
}

/* メインボタン */
.home__works__button {
	max-width: 120px;
	margin: 0 0 20px auto;
	display: flex;
	justify-content: right;
	align-items: center;
	font-size: 24px;
	font-weight: bold;
	color: #000;
	position: relative;
	cursor: pointer;
	padding: 0 20px;
	transition: color 0.3s ease;
	overflow: visible;
}

/* ブラケット装飾 */
.home__works__button::before,
.home__works__button::after {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	width: 8px;
	background-color: transparent;
	z-index: 0;
	transition: all 0.3s ease;
}
.home__works__button::before {
	left: 0;
	border-left: 4px solid #000;
	border-top: 4px solid #000;
	border-bottom: 4px solid #000;
}
.home__works__button::after {
	right: 0;
	border-right: 4px solid #000;
	border-top: 4px solid #000;
	border-bottom: 4px solid #000;
}

/* 前後ボタン */
.home__works__back,
.home__works__next {
	display: inline-flex;
	width: 20px;
	height: 20px;
	margin: 0 10px;
	position: relative;
	z-index: 2;
	vertical-align: middle;
	transition: all 0.3s ease;
}
.home__works__back img,
.home__works__next img {
	width: 100%;
	height: 100%;
	filter: brightness(0);
	transition: filter 0.3s ease, transform 0.3s ease;
}
.home__works__back:hover img {
	filter: brightness(0) saturate(100%) invert(60%) sepia(40%) saturate(1200%) hue-rotate(70deg) brightness(60%)
		contrast(90%);
	transform: translateX(-3px);
}
.home__works__next:hover img {
	filter: brightness(0) saturate(100%) invert(60%) sepia(40%) saturate(1200%) hue-rotate(70deg) brightness(60%)
		contrast(90%);
	transform: translateX(3px);
}

/* ホバー時ブラケット色変更 */
.home__works__button:has(.home__works__back:hover)::before,
.home__works__button:has(.home__works__next:hover)::before,
.home__works__button:has(.home__works__back:hover)::after,
.home__works__button:has(.home__works__next:hover)::after {
	border-color: #7cb342;
}
@media screen and (max-width: 768px) {
	.home__works__list__header,
	.works-viewmore-button {
		position: static !important;
		display: flex;
		justify-content: center;
		margin: 1.5rem auto 0 auto;
		width: fit-content;
	}
	.home__works__list__header {
		width: 100% !important;
	}
	.home__works__button {
		margin: 0 auto !important;
	}
}
.home .c-entry-summary__catchphrase p::before {
    content: "";
    display: inline-block;
    vertical-align: middle;
    width: 1.4em;
    height: 1px;
    background: var(--white-color);
    margin-right: 0.6rem;
}
.home .c-entry-summary__catchphrase p{
	color: var(--white-color);
	font-size: 12px;
	line-height: 1.4;
    margin-top: 16px;
    margin-bottom:0;
    letter-spacing: 0.06em;
    font-feature-settings: "palt";
}

/*インスタ*/
.insta-button .common-button {
	width: 300px;
}
#sb_instagram .sbi_photo img {
	border: 2px solid #000000;
	border-radius: 8px;
}
@media screen and (max-width: 768px) {
	.insta-title-wrapper {
		flex-wrap: wrap !important;
	}
}

/*カンパニー*/
.company-section .common-button {
	width: 32vw;
	min-width: 300px;
	margin: 0 0 0 auto;
}
.company-section p {
	text-align: right;
}
.company-section .common-button .wp-block-button__link {
	font-size: clamp(21px, 4vw, 48px);
}
.company-section .common-button .wp-block-button__link span::after {
	width: 30px;
	height: 30px;
}
.company-section .common-button .wp-block-button__link::before,
.company-section .common-button .wp-block-button__link::after {
	width: 12px;
}
.company-section .common-button .wp-block-button__link::before {
	left: 0;
	border-left: 6px solid var(--sub-color);
	border-top: 6px solid var(--sub-color);
	border-bottom: 6px solid var(--sub-color);
}
.company-section .common-button .wp-block-button__link::after {
	right: 0;
	border-right: 6px solid var(--sub-color);
	border-top: 6px solid var(--sub-color);
	border-bottom: 6px solid var(--sub-color);
}

.contact-section .common-button {
	width: 30vw;
	min-width: 300px;
}
.contact-section .common-button .wp-block-button__link {
	font-size: clamp(21px, 4vw, 48px);
}
.contact-section .common-button .wp-block-button__link span::after {
	width: 30px;
	height: 30px;
}
.contact-section .common-button .wp-block-button__link::before {
	width: 12px;
	left: 0;
	border-left: 6px solid #ffffff;
	border-top: 6px solid #ffffff;
	border-bottom: 6px solid #ffffff;
}
.contact-section .common-button .wp-block-button__link::after {
	width: 12px;
	right: 0;
	border-right: 6px solid #ffffff;
	border-top: 6px solid #ffffff;
	border-bottom: 6px solid #ffffff;
}
.company-section .common-button .wp-block-button__link span::after {
	content: '';
	background-image: url(../image/arrow-white.svg);
}
.contact-section .common-button .wp-block-button__link {
	color: var(--white-color);
}
@media screen and (max-width: 768px) {
	.info-button-section .c-container {
		padding: 0;
	}
	.company-section {
		padding: 30px !important;
	}
	.company-section p {
		font-size: 14px;
		line-height: 1.6;
		margin-top: 10px;
	}
	.company-section .common-button {
		min-width: 240px;
		margin: 0 0 0 auto;
	}
	.company-section .common-button .wp-block-button__link span::after {
		width: 20px;
		height: 20px;
	}
	.contact-section {
		padding: 30px !important;
	}
	.contact-section p {
		font-size: 14px;
		line-height: 1.6;
		margin-top: 10px;
		text-align: left;
		margin-right: 0 !important;
	}
	.contact-section .common-buttons {
		margin-right: 0 !important;
	}
	.contact-section .common-button {
		min-width: 240px;
		margin: 0 0 auto;
		mix-blend-mode: exclusion;
	}
	.contact-section .common-button .wp-block-button__link span::after {
		width: 20px;
		height: 20px;
	}
	.contact-section .common-button .wp-block-button__link::before {
	width: 12px;
	left: 0;
	border-left: 4px solid #ffffff;
	border-top: 4px solid #ffffff;
	border-bottom: 4px solid #ffffff;
}
.contact-section .common-button .wp-block-button__link::after {
	width: 12px;
	right: 0;
	border-right: 4px solid #ffffff;
	border-top: 4px solid #ffffff;
	border-bottom: 4px solid #ffffff;
}
.company-section .common-button .wp-block-button__link::before {
	left: 0;
	border-left: 4px solid var(--sub-color);
	border-top: 4px solid var(--sub-color);
	border-bottom: 4px solid var(--sub-color);
}
.company-section .common-button .wp-block-button__link::after {
	right: 0;
	border-right: 4px solid var(--sub-color);
	border-top: 4px solid var(--sub-color);
	border-bottom: 4px solid var(--sub-color);
}
