@charset "UTF-8";

/* ========================================
   INTRO
   FV〜ランキング前まで
======================================== */

/* ========================================
   ファーストビュー
======================================== */

.first-view {
	width: 100%;
	max-width: var(--content-width);
	margin-inline: auto;
	background: var(--color-white);
}

.first-view__image {
	width: 100%;
}

.first-view__image img {
	display: block;
	width: 100%;
	height: auto;
}


/* ========================================
   導入全体
======================================== */

.introduction {
	padding-bottom: 24px;
	background: var(--color-white);
}

.introduction > .container {
	container-type: inline-size;
}


/* ========================================
   ピンク帯見出し
======================================== */
.intro-band-heading {
    width: calc(100% + (var(--side-padding) * 2));
    margin: 0 0 16px calc(var(--side-padding) * -1);
    padding: 9px 8px 10px;
    background: var(--color-main);
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.intro-band-heading__lead,
.intro-band-heading__main {
    display: block;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    white-space: nowrap;
}

.intro-band-heading__lead {
    color: #FFF45C;
}

.intro-band-heading__main {
    margin-top: 1px;
    color: #FFFFFF;
}

/* ========================================
   導入最初の点線ボックス
======================================== */
.intro-opening-box {
    width: 100%;
    margin: 25px 0 20px;
    padding: 10px 12px;
    background:
        repeating-linear-gradient(to right, var(--color-main) 0 5px, transparent 5px 9px) top left / 100% 1.5px no-repeat,
        repeating-linear-gradient(to right, var(--color-main) 0 5px, transparent 5px 9px) bottom left / 100% 1.5px no-repeat,
        repeating-linear-gradient(to bottom, var(--color-main) 0 5px, transparent 5px 9px) top left / 1.5px 100% no-repeat,
        repeating-linear-gradient(to bottom, var(--color-main) 0 5px, transparent 5px 9px) top right / 1.5px 100% no-repeat,
        #FFFFFF;
}

.intro-opening-box p {
    margin: 0;
    color: var(--color-text);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.65;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.intro-opening-box p + p {
    margin-top: 1px;
}

/* ========================================
   導入本文
======================================== */

.intro-text {
	color: var(--color-text);
	font-size: var(--font-size-body);
	font-weight: 400;
	line-height: 1.75;
	letter-spacing: 0.025em;
}

.intro-text p {
	margin: 0;
	font-size: inherit;
	line-height: inherit;
}

.intro-text p + p {
	margin-top: 14px;
}


/* ========================================
   IBJグラフ
======================================== */

.intro-graph {
	width: 100%;
	margin: 13px 0 15px;
	border: 1px solid #D9D9D9;
	background: #FFFFFF;
}

.intro-graph img {
	display: block;
	width: 100%;
	height: auto;
}


/* ========================================
   吹き出し
   480px基準の比率を維持
======================================== */

.speech-list {
	container-type: inline-size;
	width: min(100%, 384px);
	margin: 18px auto 16px;
}

.speech {
	position: relative;
	width: 100%;
	height: 23.5cqw;
}

.speech + .speech {
	margin-top: 1.2cqw;
}


/* 人物写真 */

.speech__image {
	position: absolute;
	top: 50%;
	display: block;
	width: 22.5cqw;
	height: 23.5cqw;
	object-fit: cover;
	object-position: center top;
	border-radius: 0;
	transform: translateY(-50%);
}

.speech--left .speech__image {
	left: 0;
}

.speech--right .speech__image {
	right: 0;
}


/* 吹き出し本体 */

.speech__bubble {
	position: absolute;
	top: 50%;
	display: flex;
	align-items: center;
	min-height: 20.833cqw;
	padding: 2.083cqw 3.125cqw;
	border-radius: 3.125cqw;
	opacity: 0;
}

.speech--left .speech__bubble {
	right: 0;
	width: 74.5cqw;
	transform: translate(6.25cqw, -50%);
}

.speech--right .speech__bubble {
	right: 23.5cqw;
	left: auto;
	width: 64cqw;
	transform: translate(-6.25cqw, -50%);
}

.speech--blue .speech__bubble {
	background: var(--color-blue-light);
}

.speech--gray .speech__bubble {
	background: #EEEEEE;
}


/* 三角 */

.speech__bubble::after {
	position: absolute;
	display: block;
	width: 5.8cqw;
	height: 3.6cqw;
	content: "";
}

.speech--left .speech__bubble::after {
	left: -4.9cqw;
	bottom: 5.4cqw;
	background: var(--color-blue-light);
	clip-path: polygon(100% 18%, 100% 100%, 0 0);
}

.speech--right .speech__bubble::after {
	right: -4.9cqw;
	bottom: 5.4cqw;
	background: #EEEEEE;
	clip-path: polygon(0 18%, 0 100%, 100% 0);
}


/* 吹き出しテキスト */

.speech__text {
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
    color: var(--color-text);
    font-size: 4.167cqw;
    font-weight: 700;
    line-height: 1.65;
    letter-spacing: 0.02em;
    text-align: left;
}


/* 表示アニメーション */

.speech.is-show .speech__bubble {
	opacity: 1;
	transform: translate(0, -50%);
	transition:
		opacity .7s ease,
		transform .7s ease;
}


/* ========================================
   導入内 H3
   太い縦線 + 細い下線
======================================== */

.intro-subsection {
	margin-top: 26px;
}

.intro-h3 {
	position: relative;
	width: 100%;
	margin: 0 0 14px;
	padding: 4px 8px 6px 13px;
	border-bottom: 1px solid var(--color-main);
	color: var(--color-text);
	font-size: 18px;
	font-weight: 600;
	line-height: 1.45;
	letter-spacing: 0.01em;
}

.intro-h3::before {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 4px;
	background: var(--color-main);
	content: "";
}


/* ========================================
   横長画像
======================================== */

.intro-wide-image {
	width: 100%;
	margin: 12px 0 12px;
	border: 0;
	background: #FFFFFF;
}

.intro-wide-image img {
	display: block;
	width: 100%;
	height: auto;
}

.intro-wide-image--point {
	margin-top: 10px;
}


/* ========================================
   5つのポイント
======================================== */

.intro-selection {
	margin-top: 28px;
}

.intro-point {
	width: 100%;
	margin-top: 22px;
}

.intro-point__heading {
	display: flex;
	align-items: stretch;
	width: 100%;
	min-height: 32px;
	margin: 0 0 8px;
}

.intro-point__number {
	display: grid;
	flex: 0 0 32px;
	width: 32px;
	place-items: center;
	background: var(--color-main);
	color: #FFFFFF;
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
}

.intro-point__title {
	display: flex;
	min-width: 0;
	align-items: center;
	margin: 0;
	padding: 2px 8px;
	color: var(--color-main);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.01em;
}

.intro-point__text p + p {
	margin-top: 10px;
}


/* ========================================
   紹介方法カード
   既存UIを維持
======================================== */

.selection-types {
	display: grid;
	gap: 2.917cqw;
	width: 100%;
	margin: 10px auto;
	container-type: inline-size;
}

.selection-type {
	width: 100%;
	margin: 0;
	border: 0;
	background: transparent;
	border-radius: 0;
	overflow: visible;
}

.selection-type__title {
	display: block;
	width: fit-content;
	min-width: 48%;
	margin: 0;
	padding: 6px 14px;
	background: var(--color-main);
	color: #FFFFFF;
	font-size: var(--font-size-body);
	font-weight: 700;
	line-height: 1.45;
	letter-spacing: 0.01em;
	text-align: center;
	border-radius: 0;
}

.selection-type__body {
	display: grid;
	grid-template-columns: 30% minmax(0, 1fr);
	align-items: center;
	gap: 2.5cqw;
	width: 100%;
	margin: -1px 0 0;
	padding: 2.5cqw 2.917cqw;
	border: 1px solid var(--color-main);
	background: #FFFFFF;
	border-radius: 0;
}

.selection-type__image {
	min-width: 0;
}

.selection-type__image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: contain;
}

.selection-type__text {
	min-width: 0;
	margin: 0;
	color: var(--color-text);
	font-size: var(--font-size-body);
	font-weight: 400;
	line-height: 1.55;
	letter-spacing: 0.01em;
}

.selection-type:nth-child(3) .selection-type__body {
	background: #FFFCE7;
}


/* ========================================
   小さい画面
======================================== */

@media screen and (max-width: 374px) {

	.intro-band-heading {
		padding-right: 5px;
		padding-left: 5px;
	}

	.intro-point__number {
		flex-basis: 29px;
		width: 29px;
		font-size: 16px;
	}

	.intro-point__title,
	.intro-h3 {
		font-size: 18px;
	}

	.selection-type__title,
	.selection-type__text {
		font-size: 14px;
	}

}


/* ========================================
   動きを減らす設定
======================================== */

@media (prefers-reduced-motion: reduce) {

	.speech__bubble {
		opacity: 1;
	}

	.speech--left .speech__bubble,
	.speech--right .speech__bubble,
	.speech.is-show .speech__bubble {
		transform: translate(0, -50%);
		transition: none;
	}

}