.sidebar,
.sns-share,
.date-tags,
.article-footer,
.entry-title {
    display: none;
}

.wp-block-group,
.column-wrap {
	margin-bottom: 0px !important;
}

.content {
	margin-top: 0px;
}

.content-in {
    justify-content: center;
}

.wrap {
	width: 100%;
}

.main {
	width: 100%;
	padding: 0px !important;
	margin: 0px !important;
}

.article {
	margin-bottom: 0px !important;
}

.entry-content {
    background-color: var(--white);
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0 !important;
}

/* === パンくずリスト === */
.breadcrumb {
	display: none;
}

/* === ファーストビュー === */
.top-first-view {
	width: 100%;
    max-width: 100%;
    position: relative;
}

.top-first-view>.top-first-view-img {
	width: 100%;
    max-width: 100%;
}

.top-first-view>.top-first-view-img>img {
	width: 100%;
    max-width: 100%;
	object-fit: cover;
}

.top-first-view-text {
	position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    text-shadow:
	1px 1px 0 rgba(189, 189, 189, 0.50),
	-1px 1px 0 rgba(189, 189, 189, 0.50),
	1px -1px 0 rgba(189, 189, 189, 0.50),
	-1px -1px 0 rgba(189, 189, 189, 0.50);
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.69));
	white-space: nowrap;
}

.article h2 {
	padding: 0 !important;
}

/* === ボタン共通 === */
/* ボタン共通 */
.custom-view-all-news-btn,
.custom-view-all-column-btn,
.recruit-btn  {
	transition: background-color 0.3s;
	font-weight: bold;
    text-decoration: none;
    display: flex;
    align-items: center;
	border-radius: 50px;
}

.custom-view-all-news-btn::before,
.custom-view-all-column-btn::before,
.recruit-btn::before {
	content: '→';
	font-size: 14px;
	font-weight: bold;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* ボタンホバー共通 */
.custom-view-all-news-btn:hover,
.custom-view-all-news-btn:hover::before,
.custom-view-all-column-btn:hover,
.custom-view-all-column-btn:hover::before,
.recruit-btn:hover,
.recruit-btn:hover::before  {
	font-weight: bold;
}

/* 緑ボタン共通 */
.custom-view-all-news-btn,
.recruit-btn {
	background: var(--green-1);
    color: var(--white);
    border: var(--green-1) solid 2px;
}

.custom-view-all-news-btn::before,
.recruit-btn::before {
	background: var(--white);
	color: var(--green-1);
}

/* 緑ボタンホバー共通 */
.custom-view-all-news-btn:hover,
.recruit-btn:hover {
	background: var(--white);
    color: var(--green-1);
}

.custom-view-all-news-btn:hover::before,
.recruit-btn:hover::before {
	background: var(--green-1);
    color: var(--white);
}

/* 黄色ボタン共通 */
.custom-view-all-column-btn {
    background: var(--yellow-4);
    color: var(--white);
	border: var(--yellow-4) solid 2px;
}

.custom-view-all-column-btn::before {
	background: var(--white);
	color: var(--yellow-4);
}

/* 黄色ボタンホバー共通 */
.custom-view-all-column-btn:hover {
    background: var(--white);
    color:var(--yellow-4);
}

.custom-view-all-column-btn:hover::before {
	background: var(--yellow-4);
    color: var(--white);
}

/* === サービス === */
.service-wrapper {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
}

.service-area {
	width: 90%;
}

.service-title-area {
    display: flex;
    justify-content: space-between;
    margin: auto;
    flex-direction: column;
}

/* サービスタイトル */
.service-title-text {
    display: flex;
    align-items: center;
}

.service-title-text h2 {
    line-height: 1.3;
    font-weight: normal;
    margin-bottom: 0px;
	color: var(--yellow-4);
	font-weight: bold;
}

.service-title-text p {
    margin-bottom: 0px;
}

.service-title_en {
	display: flex;
	align-items: center;
	white-space: nowrap; /* 絶対に改行しないように */
}

.service-title_en p {
    z-index: 1;
    inline-size: fit-content;
    margin-bottom: 0px;
	font-weight: bold;
}

.service-title-border {
	width: 100%;
    height: 1px;
    background-color: rgb(204, 204, 204);
}

/* サービス一覧 */
.service-list {
    height: 100%;
    color: var(--white);
	position: relative;

}

.service-detail {
    overflow: hidden;
    position: relative;
    aspect-ratio: 506 / 300;
    inline-size: fit-content;
}

/* サービス画像 */
.service-detail .service-detail-img {
    position: relative;
	overflow: hidden;
}

.service-detail img {
    object-fit: cover;
    vertical-align: middle;
    aspect-ratio: 506 / 300;
    transition: transform 0.6s;
}

.service-detail .service-detail-img::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    background: rgba(0, 0, 0, 0.4);
    transition: background 0.6s;
}

.service-detail-text {
	position: absolute;
    left: 0;
    bottom: 0;   /* ★追加：top%を使わず下基準にする */
    margin: 0;
    z-index: 11;
}

.service-detail-text h4 {
    font-weight: 600;
    margin: 0 0 3% 0;
    border-top: none;
    border-bottom: none;
    color: var(--white);
	padding: 0 !important;
}

.service-detail-text p {
    color: var(--white);
}

/* === お知らせ === */
.news-layout-box {
	width: 90%;
}

.news-section-title {
	gap: 0;
}

.news-section-title h2{
	line-height: normal;
	margin-bottom: 0;
}

.news-section-title p{
	line-height: normal;
}

/* お知らせ一覧 */
.news-layout-box .section-title {
	display: flex;
	justify-content: center;
	flex-direction: column;
	align-items: center;
}

.wp-news-list .news-item .news-content {
	display: flex;
    justify-content: start;
	align-items: baseline;
}

.wp-news-list .news-item {
	list-style: none;
    padding: 0;
    margin: 0;
    font-weight: 500;
    color: #212529;
    line-height: 1.5;
    text-decoration: none;
    position: relative;
    border-bottom: 1px solid #ccc;
    margin: 0 !important;
}

/* お知らせ日付 */
.wp-news-list .news-item .news-content .date {
	background: #f8f9fa;
	color: var(--green-1);
	font-weight: bold;
	height: fit-content;
	display: flex;
	justify-content: center;
}

/* お知らせ一覧タイトル */
.wp-news-list .news-item .news-content .title {
	text-decoration: none;
	color: var(--text-main);
	display: -webkit-box;
    -webkit-line-clamp: 2;    /* 最大2行表示 */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* お知らせ一覧タイトルホバー */
.wp-news-list .news-item:hover .title{
	color: var(--green-1) !important;
	font-weight: bold;
}

/* === コラム === */
.column-section-title {
	gap: 0;
}

.column-section-title h2{
	line-height: normal;
	margin-bottom: 0;
}

.column-section-title p{
	line-height: normal;
}

.column-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.column-grid {
    width: 100%;
}

.column-grid .display-posts-listing {
    width: 100%;
    display: flex;
    justify-content: space-around;
    padding-left: 0px;
}

.column-item {
    list-style: none;
    background-color: var(--white);
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.column-overlay-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    text-decoration: none;
    background: transparent;
}

/* コラム画像 */
.column-image {
    aspect-ratio: 16 / 9;
    width: 100%;
    overflow: hidden;
}

.column-image img {
    object-fit: cover;
	object-position: center; /* 画像の中心を優先して見せる */
    width: 100%;
    height: 100%;
    transition: transform 0.4s ease;
}

.column-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 15px;
    transition: transform 0.3s ease;
}

.column-content a {
	color: var(--text-main);
    font-style: normal;
    line-height: normal;
    text-decoration: none;
    position: relative;
    z-index: 11;
    transition: color 0.3s ease;
	display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.column-content span {
	background: #f8f9fa;
	color: var(--green-1);
	font-weight: bold;
	height: fit-content;
	display: flex;
	justify-content: center;
}

/* コラム一覧ホバー */
.column-item:hover .column-content .title{
    color: var(--green-1);
	font-weight: bold;
}

/* === 採用情報 === */
.recruit-block {
    width: 100%;
    position: relative;
}

/* 採用情報画像 */
.recruit-block>.wp-block-image {
    width: 100%;
    max-width: 100%;
    margin-bottom: 0px;
}

.recruit-block>.wp-block-image>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
	min-height: 340px;
}

/* 採用情報テキスト */
.request-section-title {
	gap: 0;
}

.request-section-title h2{
	line-height: normal;
	margin-bottom: 0;
}

.request-section-title p{
	line-height: normal;
}

.recruit-text-area {
	width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

p.recruit-text {
	margin-bottom: 0;
}

/* === フッター === */
.footer {
	margin-top: 0px;
}

@media screen and (min-width: 1024px) {
	.sp-only {
		display: none !important;
	}
	
	/* === ファーストビュー === */
	.top-first-view>.top-first-view-img>img {
		height: 710px;
		object-position: center;
	}

	h1.top-first-view-text {
		font-size: 64px;
		text-align: start;
	}
	
	/* === ボタン共通 === */
	.custom-view-all-news-btn,
	.custom-view-all-column-btn,
	.recruit-btn  {
		gap: 50px;
		font-size: 14px;
		padding: 12px 20px;
		width: 260px;
	}

	/* === サービス === */
	.service-area {
		width: 90%;
	}

	/* サービスタイトル */
	.service-title-text {
		gap: 30px;
	}

	.service-title-text h2 {
		font-size: 44px;
		padding: 0 20px 0 0;
	}

	.service-title_en {
		gap: 20px;
	}

	.service-title_en p {
		font-size: 16px;
	}

	/* サービス一覧 */
	.service-list {
		display: grid;
		grid-template-columns: 1fr 1fr 1fr;
		margin: min(10vw, 3%) auto 0 auto;
	}

	.service-detail-text {
		margin: 0 20px;
        bottom: 0%;
        width: 100%;
	}

	.layout-box .section-title {
		width: 25%;
	}
	
	.service-detail-text h4 {
		font-size: 24px;
	}
	
	.service-detail-text p {
		font-size: 18px;
	}

	/* サービスホバー */
	.service-detail:hover {
		opacity: .6;
	}

	.service-detail:hover.service-detail img {
		-webkit-transform: scale(1.1);
		transform: scale(1.1);
	}

	/* === お知らせ === */
	.news-section-title h2{
		font-size: 44px;
	}

	.news-section-title p{
		font-size: 16px;
	}

	/* お知らせ一覧 */
	.news-layout-box .news-list {
		width: 75%;
	}

	.wp-news-list .news-item .news-content {
		gap: 30px;
	}

	.wp-news-list .news-item {
		font-size: 16px;
		padding: 24px 30px;
	}

	/* お知らせ日付 */
	.wp-news-list .news-item .news-content .date {
		width: 120px;
	}

	/* お知らせ一覧タイトル */
	.wp-news-list .news-item .news-content .title {
		width: 86%;
	}

	/* === コラム === */
	.column-section {
		width: 90%;
	}

	.column-section-title h2{
		font-size: 44px;
	}

	.column-section-title p{
		font-size: 16px;
	}

	.column-item {
		width: calc(94% / 4);
	}
	
	.column-content {
		height: 130px;
	}

	.column-content a {
		height: 50px;
		font-size: 16px;
	}

	.column-content span {
		width: 120px;
		margin-top: 8px; 
	}

	/* コラム一覧ホバー */
	.column-item:hover {
		transform: scale(1.05) translateY(-8px);
		filter: drop-shadow(0px 12px 24px rgba(0, 0, 0, 0.3));
	}
	
	/* === 採用情報 === */
	.recruit-section-title h2{
		font-size: 44px;
	}

	.recruit-section-title p{
		font-size: 16px;
	}

	p.recruit-text {
		width: 76%;
	}
}

@media screen and (max-width: 1711px) {
    /* === サービス === */
    /* サービス一覧 */
	.service-detail-text {
        bottom: 0;
        width: 368px;
	}
	
	.service-detail-text h4 {
		font-size: 22px;
	}
	
	.service-detail-text p {
		font-size: 15px;
	}
}

@media screen and (max-width: 1348px) {
	/* === サービス === */
	/* サービス一覧 */
    .service-detail-text {
        margin: 0 10px;
        bottom: 0;
        width: 350px;
    }

    .service-detail-text p{
        font-size: 14px;
    }
}

@media screen and (max-width: 1200px) {
	/* === サービス === */
	/* サービス一覧 */
    .service-detail-text {
        margin: 0 7px;
        bottom: 0;
        width: 300px;
    }

	.service-detail-text h4 {
        font-size: 18px;
    }

    .service-detail-text p{
        font-size: 12px;
    }
}

@media screen and (max-width: 1023px) {
	.pc-only {
		display: none !important;
	}

	/* === ファーストビュー === */
	.top-first-view>.top-first-view-img>img {
		height: 600px;
		object-position: right;
	}

	h1.top-first-view-text {
		font-size: 46px;
		text-align: start;
	}

	/* === ボタン共通 === */
	/* ボタン共通 */
	.custom-view-all-news-btn,
	.custom-view-all-column-btn,
	.recruit-btn  {
		gap: 20px;
		font-size: 14px;
		padding: 10px 0;
		width: 200px;
		justify-content: center;
	}

	/* === サービス === */
	/* サービスタイトル */
	.service-title-text h2 {
		font-size: 24px;
		padding: 0 20px 0 0;
	}

	.service-title_en {
		gap: 10px;
	}

	.service-title_en p {
		font-size: 12px;
	}

	.service-description {
		font-size: 14px;
	}

	.service-detail .service-detail-img {
        height: 160px;
        overflow: hidden;
    }

	.service-detail img {
		object-position: center;
		width: 100%;
		height: 100%;
	}

	.service-detail-text {
		margin: 0 14px;
		bottom: 0;
	}

	.service-detail-text h4 {
		font-size: 16px;
		padding: 0;
	}

	.service-detail-text p {
		font-size: 14px;
	}

	/* === お知らせ === */
	.news-layout-box {
		gap: 20px !important;
		justify-content: center;
		flex-direction: column;
	}

	.news-layout-box .section-title {
		width: 100% !important;
	}

	.news-section-title h2{
		font-size: 24px;
	}

	.news-section-title p{
		font-size: 12px;
	}
	
	.news-list {
		display: flex;
		flex-direction: column;
		align-items: center;
		width: 100% !important;
	}

	.wp-news-list ul {
		padding-left: 0;
	}

	/* お知らせ一覧 */
	.wp-news-list-container {
		margin-bottom: 20px;
	}
	
	.wp-news-list .news-item .news-content {
		gap: 8px;
		flex-direction: column;
	}

	.wp-news-list .news-item {
		font-size: 14px;
		padding: 10px;	
	}

	/* お知らせ日付 */
	.wp-news-list .news-item .news-content .date {
		width: 100px;
		font-size: 12px;
	}

	.wp-news-list .news-item .news-content .title {
		font-size: 13px;
	}

	/* === コラム === */
	.column-section {
		width: 80%;
	}

	.column-section-title h2{
		font-size: 24px;
	}

	.column-section-title p{
		font-size: 12px;
	}

	.column-grid .display-posts-listing {
		flex-direction: column;
		gap: 10px;
	}

	.column-content {
		gap: 10px;
	}

	.column-content a {
		font-size: 14px;
	}
	
	.column-content span {
		width: fit-content;
		font-size: 12px;
	}

	/* === 採用情報 === */
	.recruit-block>.wp-block-image>img {
        height: 360px;
    }

	.recruit-section-title h2 {
		font-size: 24px;
	}

	.recruit-section-title p {
		font-size: 12px;
	}

	p.recruit-text {
		font-size: 14px;
		width: 80%;
	}
}

@media screen and (max-width: 600px) {
	
	/* === ファーストビュー === */
	h1.top-first-view-text {
		font-size: 28px;
		text-align: center;
	}

}
