/*--------------------------------------------------------------
# Icon Component (アイコンコンポーネント)
--------------------------------------------------------------*/

/* Icon Styles */
.icon {
	aspect-ratio: 1;
	display: block;
	-webkit-mask-position: center center;
	mask-position: center center;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: contain;
	mask-size: contain;
	background-color: currentColor; /* アイコンの色を親要素の色に合わせる */
}

.icon--arrow {
	-webkit-mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 16 16'%3E%3Cpath fill='%235A9F4D' d='M7.966 14.636 6.648 13.33l3.46-3.46H2V7.948h8.108l-3.46-3.455 1.318-1.312 5.727 5.727z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 16 16'%3E%3Cpath fill='%235A9F4D' d='M7.966 14.636 6.648 13.33l3.46-3.46H2V7.948h8.108l-3.46-3.455 1.318-1.312 5.727 5.727z'/%3E%3C/svg%3E");
	width: 1.6rem; /* 16px */
	height: 1.6rem; /* 16px */
}

.icon--next {
	-webkit-mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' viewBox='0 0 20 20'%3E%3Cpath fill='%23FFFDF6' d='M8.196 4.29a.991.991 0 0 0-1.401 1.402L11.103 10l-4.308 4.308a.991.991 0 0 0 1.401 1.402l5.01-5.01a.99.99 0 0 0 0-1.4z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' viewBox='0 0 20 20'%3E%3Cpath fill='%23FFFDF6' d='M8.196 4.29a.991.991 0 0 0-1.401 1.402L11.103 10l-4.308 4.308a.991.991 0 0 0 1.401 1.402l5.01-5.01a.99.99 0 0 0 0-1.4z'/%3E%3C/svg%3E");
}

.icon--phone {
	-webkit-mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 16 16'%3E%3Cpath fill='%235A9F4D' d='M3.654 1.328a.678.678 0 0 0-1.015-.063L1.605 2.3c-.483.484-.661 1.169-.45 1.77a17.568 17.568 0 0 0 4.168 6.608 17.569 17.569 0 0 0 6.608 4.168c.601.211 1.286.033 1.77-.45l1.034-1.034a.678.678 0 0 0-.063-1.015l-2.307-1.794a.678.678 0 0 0-.58-.122L9.48 10.5a.678.678 0 0 1-.564-.37l-.461-1.03a.678.678 0 0 1-.122-.58l.122-1.756a.678.678 0 0 0-.122-.58L7.37 4.48a.678.678 0 0 1-.37-.564l-.122-1.756a.678.678 0 0 0-.58-.122L3.654 1.328z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 16 16'%3E%3Cpath fill='%235A9F4D' d='M3.654 1.328a.678.678 0 0 0-1.015-.063L1.605 2.3c-.483.484-.661 1.169-.45 1.77a17.568 17.568 0 0 0 4.168 6.608 17.569 17.569 0 0 0 6.608 4.168c.601.211 1.286.033 1.77-.45l1.034-1.034a.678.678 0 0 0-.063-1.015l-2.307-1.794a.678.678 0 0 0-.58-.122L9.48 10.5a.678.678 0 0 1-.564-.37l-.461-1.03a.678.678 0 0 1-.122-.58l.122-1.756a.678.678 0 0 0-.122-.58L7.37 4.48a.678.678 0 0 1-.37-.564l-.122-1.756a.678.678 0 0 0-.58-.122L3.654 1.328z'/%3E%3C/svg%3E");
}

.icon--mail {
	-webkit-mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 16 16'%3E%3Cpath fill='%235A9F4D' d='M0 4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V4zm2-1a1 1 0 0 0-1 1v.217l7 4.2 7-4.2V4a1 1 0 0 0-1-1H2zm13 2.383l-4.708 2.825L15 11.105V5.383zm-.034 6.875l-5.64-3.47L8 9.501l-1.326-.795-5.64 3.47A1 1 0 0 0 2 13h12a1 1 0 0 0 .966-.742zM1 11.105l4.708-2.897L1 5.383v5.722z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 16 16'%3E%3Cpath fill='%235A9F4D' d='M0 4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V4zm2-1a1 1 0 0 0-1 1v.217l7 4.2 7-4.2V4a1 1 0 0 0-1-1H2zm13 2.383l-4.708 2.825L15 11.105V5.383zm-.034 6.875l-5.64-3.47L8 9.501l-1.326-.795-5.64 3.47A1 1 0 0 0 2 13h12a1 1 0 0 0 .966-.742zM1 11.105l4.708-2.897L1 5.383v5.722z'/%3E%3C/svg%3E");
}


/* Menu List (メニューリスト - サービス紹介用) */
.menu-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 24px;
	list-style: none;
}

@media (max-width: 768px) {
	.menu-list {
		grid-template-columns: 1fr;
		gap: 16px;
	}
}

.menu-list__item {
	display: flex;
}

/* Card */
.card {
	background-color: var(--color-white);
	border-radius: 16px;
	padding: 40px;
	transition: all 0.3s cubic-bezier(0, 0.55, 0.45, 1);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 100%;
	text-decoration: none;
	color: var(--color-text);
}

@media (max-width: 768px) {
	.card {
		border-radius: 12px;
		padding: 32px;
	}
}

.card:hover {
	box-shadow: var(--shadow-md);
	transform: translateY(-2px);
}

.card--sm {
	min-height: 200px;
}

@media (max-width: 768px) {
	.card--sm {
		min-height: 160px;
	}
}

.card__heading {
	font-size: 16px;
	line-height: 1.6;
	margin-bottom: 24px;
}

@media (max-width: 768px) {
	.card__heading {
		font-size: 14px;
		margin-bottom: 16px;
	}
}

.card__name {
	display: flex;
	align-items: center;
	gap: 8px;
}

.card__name__icon {
	background-color: var(--color-primary);
	width: 16px;
}

.card__name__text--container {
	overflow: hidden;
}

.card__name__text {
	display: block;
	font-family: NewCezannePro-DB, FOT-ニューセザンヌ Pro DB, sans-serif;
	font-size: 14px;
	font-weight: 600;
}

@media (max-width: 768px) {
	.card__name__text {
		font-size: 12px;
	}
}

.card__name__text__inner {
	display: block;
}

/* Button */
.button {
	align-items: center;
	background-color: var(--color-text);
	border-radius: 60px;
	color: var(--color-white);
	display: inline-flex;
	font-size: 14px;
	gap: 8px;
	height: 60px;
	justify-content: center;
	padding: 0 32px;
	text-decoration: none;
	transition: all 0.3s cubic-bezier(0, 0.55, 0.45, 1);
}

@media (max-width: 768px) {
	.button {
		font-size: 12px;
		padding: 0 20px;
	}
}

.button:hover {
	opacity: 0.8;
}

.button__icon {
	background-color: var(--color-white);
	width: 16px;
}

@media (max-width: 768px) {
	.button__icon {
		width: 14px;
	}
}

.button__text {
	display: block;
	line-height: 1.2;
	overflow: hidden;
	position: relative;
}

.button__text__inner {
	display: block;
}


/* Post List */
.post-list {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0;
}

.post-list__item {
	border-bottom: 1px solid var(--color-border);
}

.post-list__item:last-child {
	border-bottom: none;
}

/* Post */
.post {
	display: block;
	padding: 24px 0;
	text-decoration: none;
	color: var(--color-text);
	transition: opacity 0.3s cubic-bezier(0, 0.55, 0.45, 1);
}

@media (max-width: 768px) {
	.post {
		padding: 16px 0;
	}
}

.post:hover {
	opacity: 0.7;
}

.post__info {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 12px;
}

@media (max-width: 768px) {
	.post__info {
		gap: 8px;
		margin-bottom: 8px;
	}
}

.post__date {
	color: var(--color-text-80);
	font-family: NeueHaasUnicaW1G-Medium, sans-serif;
	font-size: 14px;
	white-space: nowrap;
}

@media (max-width: 768px) {
	.post__date {
		font-size: 12px;
	}
}

.post__line {
	width: 1px;
	height: 12px;
	background-color: var(--color-border);
}

.post__category {
	color: var(--color-text-80);
	font-size: 14px;
	white-space: nowrap;
}

@media (max-width: 768px) {
	.post__category {
		font-size: 12px;
	}
}

.post__content {
	display: flex;
}

.post__main {
	flex: 1;
}

.post__title {
	display: flex;
	align-items: center;
	gap: 8px;
}

.post__title__icon {
	background-color: var(--color-ui);
	width: 16px;
	flex-shrink: 0;
}

@media (max-width: 768px) {
	.post__title__icon {
		width: 14px;
	}
}

.post__title__text {
	flex: 1;
	font-size: 16px;
	font-weight: 600;
}

@media (max-width: 768px) {
	.post__title__text {
		font-size: 14px;
	}
}

/* Text Button */
.text-button {
	align-items: center;
	color: var(--color-text);
	display: flex;
	font-size: 14px;
	gap: 16px;
	text-decoration: none;
	transition: opacity 0.3s cubic-bezier(0, 0.55, 0.45, 1);
}

@media (max-width: 768px) {
	.text-button {
		font-size: 12px;
	}
}

.text-button:hover {
	opacity: 0.7;
}

.text-button__text {
	display: block;
	line-height: 1.2;
	overflow: hidden;
	position: relative;
}

.text-button__text__inner {
	display: block;
}

.text-button__circle {
	align-items: center;
	aspect-ratio: 1;
	background-color: var(--color-ui);
	border-radius: 50%;
	display: flex;
	justify-content: center;
	overflow: hidden;
	width: 44px;
}

@media (max-width: 768px) {
	.text-button__circle {
		width: 38px;
	}
}

.text-button__circle__icon {
	background-color: var(--color-ui-invert);
	width: 16px;
}

@media (max-width: 768px) {
	.text-button__circle__icon {
		width: 14px;
	}
}

/* Header Invert (ヘッダー反転 - お知らせセクション用) */
.header-invert {
	background-color: var(--color-primary);
}

/* ABOUTセクション内のタイトルを白に */
.about-points .section-title__en {
	color: var(--color-text-white);
}

.about-points .section-title h2 {
	color: var(--color-text-white);
}

.about-points .section-title h2::after {
	background: linear-gradient(90deg, var(--color-white) 0%, rgba(255, 255, 255, 0.6) 100%);
}

@media (max-width: 768px) {
	.about-points {
		padding: 6.0rem 0 8.0rem; /* 60px 0 80px */
		border-radius: 3.2rem 3.2rem 0 0; /* 32px */
		margin-top: 3.2rem; /* 32px */
	}
}

.points-list {
	display: flex;
	flex-direction: column;
	gap: 8.0rem; /* 80px - 各POINTの間隔 */
}

@media (max-width: 768px) {
	.points-list {
		gap: 6.0rem; /* 60px */
	}
}

/* Point Item (各POINT) */
.point-item {
	display: flex;
	gap: 4.0rem; /* 40px */
	align-items: center;
}

@media (max-width: 992px) {
	.point-item {
		flex-direction: column;
		gap: 2.4rem; /* 24px */
	}
}

/* POINT番号 */
.point-item__number {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.2rem; /* 2px - POINTと数字の間隔を狭める */
	margin-bottom: 1.6rem; /* 16px - タイトルとの間隔 */
}

.point-item__number__text {
	font-family: 'Cormorant Garamond', serif;
	font-size: 1.4rem; /* 14px */
	font-weight: 600;
	color: var(--color-text-white);
	letter-spacing: 0.1em;
}

.point-item__number__digit {
	font-size: 6.0rem; /* 60px */
	font-weight: 700;
	color: var(--color-text-white);
	line-height: 1;
}

@media (max-width: 992px) {
	.point-item__number__digit {
		font-size: 4.8rem; /* 48px */
	}
}

/* POINT画像 */
.point-item__image {
	width: 50%;
	flex-shrink: 0;
	aspect-ratio: 16 / 9;
	border-radius: 1.6rem; /* 16px */
	overflow: hidden;
	box-shadow: 0 0.4rem 2.0rem rgba(0, 0, 0, 0.1);
}

@media (max-width: 992px) {
	.point-item__image {
		width: 100%;
	}
}

.point-item__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* POINTコンテンツ */
.point-item__content {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 1.6rem; /* 16px */
	position: relative; /* 番号の配置基準 */
}

.point-item__title {
	font-size: 2.4rem; /* 24px */
	font-weight: 700;
	color: var(--color-text-white);
	line-height: 1.6;
}

@media (max-width: 768px) {
	.point-item__title {
		font-size: 2.0rem; /* 20px */
	}
}

.point-item__text {
	font-size: 1.6rem; /* 16px */
	line-height: 1.8;
	color: var(--color-text-white);
}

@media (max-width: 768px) {
	.point-item__text {
		font-size: 1.4rem; /* 14px */
	}
}

/* POINT 2 (画像とコンテンツを左右反転) */
.point-item--reverse {
	flex-direction: row-reverse;
}

@media (max-width: 992px) {
	.point-item--reverse {
		flex-direction: column;
	}
}

/* ABOUTページへのリンクボタン */
.about-points__button {
	margin-top: 8.0rem; /* 80px */
}

@media (max-width: 768px) {
	.about-points__button {
		margin-top: 6.0rem; /* 60px */
	}
}

/* トップページのサービスセクション */
.section-services-top {
	padding: 0;
	background-color: var(--color-white);
	min-height: 80.0rem; /* 800px - 高さを確保 */
}

@media (max-width: 768px) {
	.section-services-top {
		min-height: var(--min-height-60);
	}
}

.services-top-grid {
	display: grid;
	grid-template-columns: 30% 70%;
	align-items: stretch;
	min-height: var(--min-height-80);
}

@media (max-width: 992px) {
	.services-top-grid {
		grid-template-columns: 1fr;
		min-height: auto;
	}
}

/* 左側：見出し・説明・リンク */
.services-top-left {
	background-color: var(--color-white);
	display: flex;
	align-items: center;
	padding: 8.0rem 6.0rem; /* 80px 60px */
}

.services-top-left-inner {
	width: 100%;
	max-width: var(--max-width-50);
}

@media (max-width: 992px) {
	.services-top-left {
		padding: 6.0rem 4.0rem; /* 60px 40px */
	}
}

@media (max-width: 768px) {
	.services-top-left {
		padding: 4.0rem 2.4rem; /* 40px 24px */
	}
}

.services-top-description {
	font-size: 1.6rem; /* 16px */
	line-height: 1.8;
	color: var(--color-text);
}

@media (max-width: 768px) {
	.services-top-description {
		font-size: 1.4rem; /* 14px */
	}
}

/* 右側：背景画像 + グリッドコンテンツ */
.services-top-right {
	position: relative;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	border-radius: 1.6rem 0 0 1.6rem; /* 左上 右上 右下 左下 - 左側のみ角丸 */
	overflow: hidden;
	min-height: var(--min-height-80);
	display: flex;
	flex-direction: column;
}

@media (max-width: 992px) {
	.services-top-right {
		border-radius: 0;
		min-height: var(--min-height-60);
	}
}

@media (max-width: 768px) {
	.services-top-right {
		min-height: 50.0rem; /* 500px */
	}
}

.services-top-right::after {
	content: "";
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-color: rgba(40, 45, 39, 0.7); /* 暗めのオーバーレイ */
	z-index: 1;
}

.services-top-grid-content {
	position: relative;
	z-index: 2;
	padding: 4.0rem; /* 40px */
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2.4rem; /* 24px */
	color: var(--color-text-white);
	height: 100%;
	align-content: center;
}

@media (max-width: 1200px) {
	.services-top-grid-content {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.services-top-grid-content {
		grid-template-columns: 1fr;
		padding: 3.2rem; /* 32px */
		gap: 2.0rem; /* 20px */
	}
}

.services-grid-item {
	display: flex;
	flex-direction: column;
	gap: 1.6rem; /* 16px */
	background-color: rgba(255, 255, 255, 0.95);
	border-radius: 0.8rem; /* 8px */
	padding: 2.4rem; /* 24px */
	color: var(--color-text);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services-grid-item--link {
	text-decoration: none;
	cursor: pointer;
	position: relative;
}

.services-grid-item--link:hover {
	transform: translateY(-4px);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.services-grid-item--link:hover .services-grid-item__arrow {
	transform: translateX(4px);
	color: var(--color-primary);
}

@media (max-width: 768px) {
	.services-grid-item {
		padding: 2.0rem; /* 20px */
	}
}

.services-grid-item__image {
	width: 100%;
	aspect-ratio: 16 / 9;
	border-radius: 0.4rem; /* 4px */
	overflow: hidden;
	margin-bottom: 0.8rem; /* 8px */
}

.services-grid-item__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.services-grid-item__title {
	font-size: 2.0rem; /* 20px */
	font-weight: 700;
	color: var(--color-text);
	margin: 0;
	padding-bottom: 1.2rem; /* 12px */
	border-bottom: 2px solid var(--color-primary);
}

.services-grid-item__text {
	font-size: 1.4rem; /* 14px */
	line-height: 1.6;
	color: var(--color-text);
	margin: 0;
	flex: 1;
}

.services-grid-item__arrow {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	margin-top: 1.6rem; /* 16px */
	padding-top: 1.6rem; /* 16px */
	border-top: 1px solid rgba(0, 0, 0, 0.1);
	color: var(--color-text);
	font-size: 1.8rem; /* 18px */
	transition: transform 0.3s ease, color 0.3s ease;
}

.services-grid-item--link:hover .services-grid-item__arrow i {
	transform: translateX(4px);
}

@media (max-width: 768px) {
	.services-grid-item__title {
		font-size: 1.8rem; /* 18px */
	}
}

.services-grid-list {
	display: flex;
	flex-direction: column;
	gap: 1.2rem; /* 12px */
}

.services-grid-list__item {
	font-size: 1.4rem; /* 14px */
	line-height: 1.6;
	color: var(--color-text);
	padding-left: 1.6rem; /* 16px */
	position: relative;
}

.services-grid-list__item::before {
	content: "・";
	position: absolute;
	left: 0;
	color: var(--color-primary);
	font-weight: 700;
}

@media (max-width: 768px) {
	.services-grid-list__item {
		font-size: 1.3rem; /* 13px */
	}
}

/* スクロールアニメーション用クラス */
.scroll-fade-up {
	opacity: 0;
	transform: translateY(3.0rem); /* 30px */
	transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-fade-up.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* サービス項目のアニメーション */
.services-grid-item--link {
	opacity: 0;
	transform: translateY(3.0rem); /* 30px */
	transition: opacity 0.8s ease, transform 0.8s ease;
}

.services-grid-item--link.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* 文字アニメーション */
.char-animate {
	opacity: 0;
	transform: translateY(1.0rem); /* 10px */
	display: inline-block;
	animation: charFadeIn 0.5s ease forwards;
}

@keyframes charFadeIn {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* トップページのお知らせセクション */
.section-news-top {
	padding: 8.0rem 0 12.0rem; /* 80px 0 120px */
}

@media (max-width: 768px) {
	.section-news-top {
		padding: 6.0rem 0 8.0rem; /* 60px 0 80px */
	}
}

.news-top__button {
	margin-top: 8.0rem; /* 80px */
}

@media (max-width: 768px) {
	.news-top__button {
		margin-top: 6.0rem; /* 60px */
	}
}

/* .button--primary は .btn に統合 */

