/* * =========================================
■ わくわくナビのトップページのスタイル
 * =========================================
 */

/* * =========================================
 * ファーストビュー
 * =========================================
 */
.fv {
	min-height: 660px;
	padding: 60px 0;
	padding-top: 160px;

	/* padding-bottom: 120px; */
	padding-bottom: 96px;
	overflow: hidden;
	border-bottom: rgb(0 0 0 / 8%);
	box-shadow: 0 2.03px 3.044px 0 rgb(0 0 0 / 8%);
}

.fv__bg {
	background-image: url('../img/index/bg_hero_backwater.webp');
	background-repeat: no-repeat;
	background-position: right center;
	background-size: auto 100%;
}

.fv__container {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 40px;
	overflow: visible;
}

.fv__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
}

/* ファーストビューのロゴ/リンク */
.fv__content:first-child {
	z-index: 2;
	width: 40%;
}

.fv__brand {
	padding: 0 32px 24px;
}

.fv__subcopy {
	position: relative;
	width: 100%;
	text-align: center;
	background-color: var(--color-strawberry-latte);
}

.fv__subcopy-text {
	z-index: 1;
	padding: 6px 0;
	font-family: var(--font-family-sub1);
	font-size: 24px;
	font-weight: var(--font-weight-regular);
	line-height: 29.288px; /* 122.035% */
	color: var(--text-color-2);
	letter-spacing: 0.96px;
	white-space: nowrap; /* 改行禁止 */
}

.fv__logo,
.fv__logo img {
	width: 100%;
	margin: 24px 0;
}

.fv__about-link {
	display: flex;
	flex-direction: column;
	margin-top: 16px;
}

.fv__about-link a {
	display: flex;
	flex-direction: row;
	gap: 6px;
	align-items: center;
	padding-bottom: 2px;
	font-size: 15px;
	letter-spacing: 0.6px;
}

.fv__about-link .material-symbols-outlined > img {
	height: 1.3em;
}

.fv__about-link > img {
	width: 180px;
}

/* ファーストビューの右側 */
.fv__content:nth-child(2) {
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 60%;
	padding-top: 10px;
	padding-left: 40px;
}

.fv-campaign {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: end;
	justify-content: space-around;
	width: 90%;
	padding-top: 110px;
	background-image: url('../img/index/baby_image.webp');
	background-repeat: no-repeat; /* 繰り返さない */
	background-position: left top; /* 左上に配置 */
	background-size: 70%;
}

.fv-campaign__message {
	display: flex;
	place-items: center center;
	width: 281px;
	min-height: 281px;
	padding: 28px;
	margin-right: 70px;
	background-color: rgb(255 255 255 / 68%);
	border-radius: 100%;
}

.fv-campaign__message > p {
	font-family: var(--font-family-sub3);
	font-size: 28px;
	font-weight: 800;
	line-height: normal;
	color: var(--text-color-2);
	text-align: center;
}

.fv-campaign__button {
	position: relative;
	z-index: 1000;
	margin-top: -100px;
	margin-right: 20px;
}

.fv-campaign__button-link {
	position: relative;
	display: block;
	width: 142.09px;
	height: 142.09px;
}

.fv-campaign__button img {
	position: absolute;
	inset: 0;
	object-fit: contain;
	object-position: center;
	transition: opacity 0.6s ease;
}

.fv-campaign__button .is-default {
	width: 118px;
	height: 118px;
	margin: auto;
	opacity: 1;
}

.fv-campaign__button .is-hover {
	width: 100%;
	height: 100%;
	opacity: 0;
}

.fv-campaign__button:hover .is-default {
	opacity: 0;
}

.fv-campaign__button:hover .is-hover {
	opacity: 1;
}

.fv-campaign__image {
	position: relative;
	z-index: 100;
	margin-top: -60px;
	margin-right: 140px;
}

.fv-campaign__image > img {
	width: 356px;
	transform: rotate(-4.612deg);
}

/* レスポンシブの調整 */
@media (768px <= width < 1172px) {
	.fv-campaign {
		position: relative;
		display: flex;
		flex-direction: column;
		align-items: end;
		justify-content: space-around;
		width: 90%;
		padding-top: 32%;
		background-repeat: no-repeat;
		background-position: left top;
		background-size: 70%;
	}
}

/* * =========================================
 * 新着情報 / お知らせ
 * =========================================
 */

/* 背景を上50px分だけ削除するための処理 */
.news::before {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	content: '';

	/* 背景のスタイル */
	background-color: var(--bg-color-1);
	mix-blend-mode: multiply;

	/* 上50pxを削除 */
	mask-image: linear-gradient(
		to bottom,
		transparent 0,
		transparent 50px,
		black 50px
	);
}

.news > * {
	position: relative;
	z-index: 1;
}

.news__container {
	display: flex;
	justify-content: center;
	padding-bottom: 5px;
	margin-top: -50px;
	overflow: visible;
}

.news__inner {
	width: 100%;
	padding: 24px;
	background-color: #fcfcfc;
	border: 1px solid #eaeaea;
	border-radius: 8px;
	box-shadow: 1px 1px 3px 0 rgb(0 0 0 / 15%);
}

.news__header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	padding-top: 16px;
	padding-bottom: 8px;
	margin-bottom: 16px;
	border-bottom: 3px solid var(--color-dusty-rose);
}

.news__title {
	font-family: var(--font-family-sub1);
	font-size: 24px;
	font-weight: var(--font-weight-medium);
	font-feature-settings:
		'halt' on,
		'pwid' on;
	letter-spacing: 0.96px;
}

.news__list {
	padding-bottom: 1em;
	margin-bottom: 1em;
	list-style: none;
	border-bottom: 2px solid var(--color-dusty-rose);
}

.news__item {
	display: flex;
	gap: 24px;
	align-items: baseline;
	padding: 16px 8px;
	font-size: 16px;
	border-bottom: 1px dashed var(--color-dusty-rose);
}

.news__item:last-child {
	padding-bottom: 0;
	border-bottom: none;
}

.news__item:first-child {
	padding-top: 0;
}

.news__item time {
	flex-shrink: 0;
	width: 80px;
	font-family: var(--font-family-sub2);
	font-weight: var(--font-weight-medium);
}

.news__item .category {
	flex-shrink: 0;
	padding: 2px 16px;
	font-size: 14px;
	font-weight: var(--font-weight-bold);
	white-space: nowrap;
	border-radius: 1em;
}

.news__item .category.category--news {
	color: #fff;
	background-color: #eb809b;
}

.news__item .category.category--update {
	color: #d75877;
	background-color: #ffd9e2;
}

.news__item a {
	font-weight: var(--font-weight-medium);
	line-height: 140%;
	letter-spacing: 0.64px;
}

.news__more a {
	display: inline-flex;
	gap: 4px;
	align-items: center;
	padding-bottom: 2px;
	font-size: 15px;
	letter-spacing: 0.6px;
	transition: border-color 0.3s;
}

.news__more a > img {
	height: 1.2em;
}

/* * =========================================
 * 事業一覧
 * =========================================
 */
.our-business {
	padding-top: 120px;
	padding-bottom: 160px;
}

.our-business__bg {
	background-color: var(--bg-color-1);
}

.our-business__container {
	padding-top: 5px;
	padding-bottom: 5px;
	isolation: isolate;
}

.our-business__inner {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 48px;
	width: 100%;
}

/* カード本体 */
.our-business__card {
	position: relative;
	z-index: 1;
	min-width: 0;
	height: 100%;
	padding: 0 0 24px;
	background-color: #fff;
	box-shadow: 2px 2px 3px rgb(0 0 0 / 15%);
}

.our-business__card:hover {
	box-shadow: 2px 4px 6px rgb(0 0 0 / 20%);
}

.our-business__image {
	width: 100%;
	margin-bottom: 24px;

	/* height: 200px; */
	background-color: #ddd;
	background-position: center;
	background-size: cover;
}

.our-business__image > img {
	width: 100%;
	height: auto;
	object-fit: cover;
}

.our-business__text {
	padding: 0 24px;
	margin-bottom: 24px;
}

.our-business__text h2 {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 2.4em; /* 改行の高さに合わせる */
	margin-bottom: 24px;
	font-family: var(--font-family-sub1);
	font-size: 24px;
	font-weight: var(--font-weight-medium);
	line-height: 124%; /* 31.2px */
	text-align: center;
	letter-spacing: 1.92px;
	white-space: nowrap;
}

.our-business__text p {
	font-size: 14px;
	font-feature-settings:
		'halt' on,
		'pwid' on;
	line-height: 150%; /* 21px */
	letter-spacing: 0.56px;
}

.our-business__button {
	bottom: 24px;
	display: flex;
	justify-content: center;
	width: 100%;
}

/* スリット（台紙の一部） */
.our-business__card::before,
.our-business__card::after {
	position: absolute;
	z-index: 10;
	width: 100px;
	height: 50px;
	content: '';
	background-color: var(--bg-color-1);
	background-image: url('../img/common/bg_white.jpg');
	background-blend-mode: multiply;
}

/* 左上のスリット */
.our-business__card::before {
	top: -16px;
	left: -42px;
	border-bottom: solid 1px #ddd;
	transform: rotate(-45deg);
}

/* 右下のスリット */
.our-business__card::after {
	right: -42px;
	bottom: -16px;
	transform: rotate(-45deg); /* 右下には影をつけない */
}

/* * =========================================
 * プレゼント企画
 * =========================================
 */
.present {
	padding: 160px 0;
	padding-bottom: 140px;
}

.present__title {
	display: flex;
	flex-direction: column;
	gap: 11px;
	align-items: center;
	justify-content: center;
	width: 100%;
	margin-bottom: 52px;
}

.present__title-text {
	width: 100%;
	font-family: var(--font-family-sub1);
	font-size: 48px;
	font-style: normal;
	font-weight: var(--font-weight-medium);
	line-height: normal;
	color: var(--text-color-2);
	text-align: center;
}

.present__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	width: 100%;
}

.present__item {
	width: 50%;
	padding: 20px;
}

.present__item a,
.present__item img {
	width: 100%;
}

/* * =========================================
 * 協賛団体のご紹介
 * =========================================
 */
.sponsor {
	padding: 160px 0;
}

.sponsor__bg {
	background-color: var(--bg-color-1);
}

.sponsor__title {
	width: 100%;
	padding-bottom: 40px;
	font-family: var(--font-family-sub1);
	font-size: 48px;
	font-style: normal;
	font-weight: 500;
	line-height: normal;
	color: var(--text-color-2);
	text-align: center;
}

.sponsor__sub-title {
	display: flex;

	/* flex-direction: column; SP: 縦並び */
	flex-direction: row;
	gap: 15px; /* テキストと線の間隔 */
	align-items: center; /* SP: 中央揃え */
	width: 100%;
	padding: 24px 0;
	overflow: hidden;
}

.sponsor__sub-title h3 {
	font-family: var(--font-family-main);
	font-size: 24px;
	font-style: normal;
	font-weight: var(--font-weight-medium);
	font-feature-settings:
		'halt' on,
		'pwid' on;
	line-height: 140%; /* 33.6px */
	color: var(--text-color-3); /* 文字色 */
	letter-spacing: 0.96px;
	white-space: nowrap;
}

/* 母子健康手帳副読本協賛団体 */
.sponsor__sub-title img {
	flex-grow: 1;
}

.sponsor__inner {
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
	justify-content: center;
	padding-bottom: 40px;
}

.sponsor-card {
	/* (100%の幅 - (gapの合計幅 40px * 3箇所)) ÷ 4列 */
	width: calc((100% - 120px) / 4);
}

.sponsor-card__image {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
}

.sponsor-card__image img {
	width: 95%;
}

/* わくわくナビ協賛団体 */
.sponsor__inner:last-child {
	display: flex;
	gap: 40px;
	align-items: center;
	justify-content: center;
	padding-top: 24px;
}

.sponsor-item {
	width: 23%;
}

.sponsor-item a,
.sponsor-item img {
	width: 100%;
}

/* * =========================================
 * 最新情報はSNSで随時更新中
 * =========================================
 */
.sns-info {
	padding: 160px 0;
}

.sns-info__bg {
	background-color: var(--bg-color-2);
}

/* .sns-info__container{} */

.sns-info__title {
	width: 100%;
	padding-bottom: 40px;

	/* waku/top/contents_h2 */
	font-family: var(--font-family-sub1);
	font-size: 48px;
	font-style: normal;
	font-weight: var(--font-weight-medium);
	line-height: normal;
	color: var(--text-color-2);
	text-align: center;
}

.sns-info__list {
	display: flex;
	flex-direction: row;
	gap: 32px;
	width: 100%;
	margin-top: 72px;
}

.sns-info-item {
	display: flex;
	flex: 1;
	flex-direction: row;
	min-height: 125px;
	background: var(--color-white);
	border: 5px solid var(--color-antique-berry);
}

.sns-info-item__logo {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 35%;
	background: var(--color-antique-berry);
}

.sns-info-item__logo img {
	width: 50%;
	max-width: 64px;
}

.sns-info-item__text {
	display: flex;
	flex-direction: column;
	align-items: start;
	justify-content: center;
	width: 65%;
	padding: 0 24px;
	font-family: var(--font-family-sub2);
	color: var(--color-antique-berry);
}

.sns-info-item__text p:first-child {
	font-size: 22px;
	font-style: normal;
	font-weight: 700;
	line-height: 140%; /* 33.6px */
	letter-spacing: 0.96px;
}

.sns-info-item__text p:last-child {
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 140%; /* 22.4px */
	letter-spacing: 0.64px;
}

/* * =========================================
 * レスポンシブ対応 (767px以下)
 * =========================================
 */
@media (width <= 767px) {
	/* 各セクションの間隔を調整 */
	.our-business,
	.present,
	.sponsor,
	.sns-info {
		padding-top: 64px;
		padding-bottom: 64px;
	}

	/* h2,h3の調整 */
	.present h2,
	.sponsor h2,
	.sns-info h2 {
		font-size: 36px;
		line-height: 130%;
	}

	.sponsor h3 {
		font-size: 20px;
		font-weight: var(--font-weight-bold);
		line-height: 140%;
		letter-spacing: 0.8px;
	}

	/* FV */
	.fv {
		padding-top: 100px;
		overflow: hidden;
	}

	.fv__container {
		overflow: visible;
	}

	.fv__bg {
		background-image: url('../img/index/bg_hero_backwater_sp.webp');
		background-size: cover;
	}

	.fv__inner {
		flex-direction: column;
		gap: 40px;
		margin-top: 50px;
	}

	.fv__content:first-child {
		width: 100%;
	}

	.fv__content:nth-child(2) {
		width: 100%;
		padding: 0;
	}

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

	.fv__subcopy {
		width: 85%;
	}

	.fv__subcopy p {
		font-size: 18px;
	}

	.fv__logo {
		margin-top: 18px;
		margin-bottom: 24px;
	}

	.fv__about-link {
		margin: 0;
	}

	.fv-campaign {
		width: 100%;
		width: 100vw;
		padding-top: 20px;
		margin-right: calc(50% - 50vw);
		margin-left: calc(50% - 50vw);
		background-image: url('../img/index/baby_image_sp.webp');
		background-size: 80%;
	}

	.fv-campaign__message {
		width: 200px;
		min-height: 200px;
		padding: 8px;
		margin-right: 10px;
	}

	.fv-campaign__message > p {
		width: 100%;
		font-size: 18px;
		text-align: center;
	}

	.fv-campaign__button {
		margin-top: -60px;
		margin-right: 10px;
	}

	.fv-campaign__image {
		margin-top: 10px;
		margin-right: 15px;
	}

	/* 事業一覧 */
	.our-business__inner {
		grid-template-columns: 1fr;
	}

	/* プレゼントのバナー */
	.present__inner {
		flex-direction: column;
	}

	.present__item {
		width: 100%;
		padding: 12px 0;
	}

	.present__title {
		margin-bottom: 32px;
	}

	/* 協賛団体のご紹介 */
	.sponsor__sub-title {
		flex-direction: column;
	}

	.sponsor__sub-title > img {
		width: 100%;
	}

	/* 母子健康手帳副読本協賛団体 */
	.sponsor__inner {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 8px 24px;
	}

	.sponsor-card {
		width: auto;
	}

	/* わくわくナビ協賛団体 */
	.sponsor__inner:last-child {
		flex-direction: column;
	}

	.sponsor-item {
		width: 75%;
	}

	/* フッター > 最新情報/SNS */
	.sns-info__list {
		flex-direction: column;
		gap: 24px;
		justify-content: center;
		margin-top: 0;
	}
}

@media (620px <=width < 767px) {
	.fv-campaign {
		padding-right: 40px;
		background-size: 64%;
	}
}
