@charset "utf-8";
/* ==========================================================
   /42ws/ AIシステム（42ws）紹介ページ
   本サイトのテーマ（layout.css / module.css）のヘッダー・フッターに載せる。
   中身は #main.ws の中だけで完結させる（テーマの #contents p の余白を打ち消す）。
   ========================================================== */

.page-42ws {
	--red: #C4071C;
	--red-dark: #9E0516;
	--ink: #2F2F2F;
	--muted: #6B605B;
	--pink: #FCF1F0;      /* ヒーローのイラストの地色と同じ */
	--pink-2: #F8E1DF;
	--cream: #FAF5F2;     /* 本サイトの下層ページの地色 */
	--line: #EBDAD5;
	--white: #FFFFFF;
	--line-green: #06C755;
	--yellow: #FFF1A8;
	background: var(--cream);
}

#main.ws {
	font-size: 16px;
	line-height: 1.85;
	letter-spacing: .04em;
	color: var(--ink);
}
#contents #main.ws p { margin: 0; }
#main.ws h1, #main.ws h2, #main.ws h3 { font-weight: 700; letter-spacing: .03em; }
#main.ws b, #main.ws strong { font-weight: 700; }
#main.ws img { display: block; width: 100%; height: auto; }

.ws-inner {
	width: min(1080px, 100% - 48px);
	margin: 0 auto;
}
.ws-red { color: var(--red); }
.sp-br { display: none; }

/* ---------- ボタン ---------- */
#site .ws-btn {
	box-sizing: border-box; /* スマホで幅いっぱいにしたとき、余白の分はみ出さないように */
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 56px;
	padding: 0 32px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 16px;
	letter-spacing: .06em;
	line-height: 1.4;
	text-align: center;
	transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
#site .ws-btn:hover { opacity: 1; transform: translateY(-2px); }
#site .ws-btn--primary { background: var(--red); color: var(--white); box-shadow: 0 6px 0 var(--red-dark); }
#site .ws-btn--primary:hover { background: var(--red-dark); }
#site .ws-btn--primary::after { content: "→"; margin-left: .6em; }
#site .ws-btn--ghost { background: var(--white); color: var(--red); border: 2px solid var(--red); }
#site .ws-btn--ghost:hover { background: var(--pink); }
#site .ws-btn--line { background: var(--line-green); color: var(--white); box-shadow: 0 6px 0 #04913E; }
#site .ws-btn--line:hover { background: #05B04B; }
#site .ws-btn--lg { min-height: 64px; font-size: 17px; padding: 0 40px; }

/* ---------- 見出し・節 ---------- */
.ws-section { padding: 96px 0; }
.ws-h2 {
	font-size: clamp(24px, 3.2vw, 36px);
	line-height: 1.45;
	text-align: center;
	margin: 0 auto;
	max-width: 22em;
	text-wrap: balance;
}
.ws-h2::after {
	content: "";
	display: block;
	width: 56px;
	height: 4px;
	margin: 22px auto 0;
	background: var(--red);
	border-radius: 2px;
}
#contents #main.ws .ws-section__lead {
	max-width: 760px;
	margin: 24px auto 0;
	text-align: center;
	color: var(--ink);
	text-wrap: pretty;
}
#contents #main.ws .ws-note {
	margin-top: 24px;
	font-size: 13px;
	color: var(--muted);
	text-align: center;
}

/* ---------- ヒーロー ---------- */
.ws-hero {
	background: var(--pink);
	padding: 72px 0 88px;
	overflow: hidden;
}
.ws-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	gap: 48px;
	align-items: center;
}
#contents #main.ws .ws-hero__catch {
	font-size: 18px;
	font-weight: 700;
	color: var(--ink);
}
.ws-hero__title {
	margin-top: 14px;
	font-size: clamp(30px, 3.4vw, 48px);
	line-height: 1.35;
}
.ws-nowrap { white-space: nowrap; }
.ws-paren { font-size: .82em; letter-spacing: 0; }
#contents #main.ws .ws-hero__lead {
	margin-top: 22px;
	max-width: 34em;
}
.ws-hero__offer {
	margin-top: 28px;
	padding: 18px 24px;
	background: var(--white);
	border: 2px solid var(--red);
	border-radius: 14px;
	display: inline-block;
}
#contents #main.ws .ws-hero__offer-main {
	font-weight: 700;
	font-size: 17px;
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 4px 10px;
}
.ws-hero__offer-now {
	background: var(--pink-2);
	color: var(--red);
	border-radius: 999px;
	padding: 2px 12px;
	font-size: 15px;
}
.ws-hero__offer-main strong {
	color: var(--red);
	font-family: Montserrat, sans-serif;
	font-size: 44px;
	line-height: 1;
	letter-spacing: .01em;
	background: linear-gradient(transparent 70%, var(--yellow) 70%);
}
.ws-hero__offer-main strong small { font-size: 22px; margin-left: 2px; }
.ws-tax { font-size: 14px; font-weight: 700; color: var(--ink); letter-spacing: 0; }
#contents #main.ws .ws-hero__offer-sub { margin-top: 8px; font-size: 14px; }
.ws-hero__offer-sub b { color: var(--red); font-size: 18px; margin-left: 4px; }
.ws-hero__cta {
	margin-top: 32px;
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}
.ws-hero__visual { margin: 0; }
.ws-hero__visual img { border-radius: 24px; }

/* ---------- 紹介動画 ---------- */
.ws-movie { background: var(--white); }
.ws-movie__frame {
	max-width: 960px;
	margin: 40px auto 0;
	border-radius: 20px;
	overflow: hidden;
	background: var(--ink);
	box-shadow: 0 18px 40px rgba(47, 47, 47, .14);
	aspect-ratio: 16 / 9;
}
.ws-movie__frame video { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------- できること ---------- */
.ws-features { background: var(--cream); }
.ws-points {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	margin-top: 48px;
}
.ws-point {
	background: var(--red);
	color: var(--white);
	border-radius: 18px;
	padding: 28px 32px;
}
#contents #main.ws .ws-point__title {
	font-size: 20px;
	font-weight: 700;
	margin-bottom: 10px;
	line-height: 1.5;
}
#contents #main.ws .ws-point p:not(.ws-point__title) { font-size: 15px; }

.ws-feature-grid {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 16px;
	margin: 40px 0 0;
	padding: 0;
}
.ws-feature {
	background: var(--white);
	border-radius: 18px;
	padding: 28px 18px 26px;
	text-align: center;
}
.ws-icon {
	display: grid;
	place-items: center;
	width: 76px;
	height: 76px;
	margin: 0 auto;
	border-radius: 50%;
	background: var(--pink);
}
.ws-icon svg {
	width: 40px;
	height: 40px;
	fill: none;
	stroke: var(--red);
	stroke-width: 2.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.ws-feature h3 {
	font-size: 17px;
	line-height: 1.45;
	margin-top: 16px;
}
.ws-feature h3::after {
	content: "";
	display: block;
	width: 28px;
	height: 3px;
	margin: 10px auto 0;
	background: var(--red);
	border-radius: 2px;
}
#contents #main.ws .ws-feature p {
	margin-top: 10px;
	font-size: 14px;
	line-height: 1.7;
	color: var(--muted);
}

/* ---------- 機能は足していける ---------- */
.ws-custom { background: var(--white); }
.ws-custom__groups {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin-top: 48px;
}
.ws-custom__group {
	background: var(--pink);
	border-radius: 18px;
	padding: 28px 26px 30px;
}
.ws-custom__group h3 {
	font-size: 18px;
	color: var(--red);
	padding-bottom: 14px;
	border-bottom: 2px solid var(--pink-2);
}
.ws-custom__group ul { list-style: none; margin: 16px 0 0; padding: 0; }
.ws-custom__group li {
	font-size: 14px;
	line-height: 1.7;
	color: var(--muted);
	padding: 12px 0 12px 22px;
	position: relative;
	letter-spacing: .02em;
}
.ws-custom__group li + li { border-top: 1px dashed var(--line); }
.ws-custom__group li::before {
	content: "＋";
	position: absolute;
	left: 0;
	top: 12px;
	color: var(--red);
	font-weight: 700;
}
.ws-custom__group li b {
	display: block;
	font-size: 16px;
	color: var(--ink);
	margin-bottom: 2px;
}

/* ---------- 乗り換えの流れ ---------- */
.ws-flow { background: var(--cream); }
.ws-flow__list {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 40px;
	margin: 48px 0 0;
	padding: 0;
}
.ws-flow__step {
	position: relative;
	display: flex;
	gap: 18px;
	align-items: flex-start;
	background: var(--white);
	border-radius: 18px;
	padding: 28px 26px;
}
.ws-flow__step:not(:last-child)::after {
	content: "";
	position: absolute;
	right: -28px;
	top: 50%;
	width: 14px;
	height: 14px;
	border-top: 3px solid var(--red);
	border-right: 3px solid var(--red);
	transform: translateY(-50%) rotate(45deg);
}
.ws-flow__num {
	flex: none;
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--pink);
	color: var(--red);
	font-family: Montserrat, sans-serif;
	font-weight: 700;
	font-size: 24px;
}
.ws-flow__step h3 { font-size: 20px; color: var(--red); line-height: 1.4; }
#contents #main.ws .ws-flow__step p { margin-top: 6px; font-size: 15px; }

/* ---------- キャンペーン ---------- */
.ws-campaign { background: var(--cream); padding-top: 0; }
.ws-campaign__box {
	background: var(--white);
	border: 3px solid var(--red);
	border-radius: 24px;
	overflow: hidden;
}
.ws-campaign__title {
	background: var(--red);
	color: var(--white);
	text-align: center;
	font-size: clamp(22px, 3vw, 32px);
	padding: 18px 20px;
	line-height: 1.4;
}
.ws-campaign__body {
	display: grid;
	grid-template-columns: 1.3fr 1fr;
	align-items: center;
	padding: 36px 48px 12px;
}
.ws-campaign__price { text-align: center; }
#contents #main.ws .ws-campaign__label {
	display: inline-block;
	font-weight: 700;
	font-size: 20px;
	background: var(--pink);
	color: var(--red);
	border-radius: 999px;
	padding: 4px 22px;
}
#contents #main.ws .ws-campaign__amount {
	margin-top: 8px;
	font-weight: 700;
	color: var(--red);
	line-height: 1;
	display: flex;
	align-items: baseline;
	justify-content: center;
	gap: 6px;
}
.ws-campaign__now {
	font-size: 22px;
	color: var(--ink);
	margin-right: 8px;
}
.ws-campaign__amount strong {
	white-space: nowrap;
	font-family: Montserrat, sans-serif;
	font-size: clamp(56px, 8vw, 96px);
	letter-spacing: 0;
	background: linear-gradient(transparent 72%, var(--yellow) 72%);
	padding: 0 4px;
}
.ws-campaign__amount small { font-size: 32px; }
.ws-campaign__amount .ws-tax { font-size: 18px; align-self: flex-end; margin-bottom: 6px; }
.ws-campaign__half {
	text-align: center;
	border-left: 2px dashed var(--line);
	padding-left: 32px;
}
#contents #main.ws .ws-campaign__half p { font-weight: 700; font-size: 17px; line-height: 1.6; }
#contents #main.ws .ws-campaign__half .ws-campaign__half-word {
	font-size: clamp(56px, 7vw, 84px);
	line-height: 1.1;
	color: var(--red);
	margin-top: 6px;
	letter-spacing: .08em;
}
.ws-campaign__notes {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px 28px;
	margin: 0;
	padding: 18px 24px 28px;
	font-size: 13px;
	color: var(--muted);
}

/* ---------- 保守プラン ---------- */
.ws-plan { background: var(--white); }
.ws-plan__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin-top: 56px;
	align-items: stretch;
}
.ws-plan__card {
	position: relative;
	background: var(--cream);
	border-radius: 20px;
	padding: 32px 28px 30px;
	border: 2px solid transparent;
}
.ws-plan__card--rec {
	background: var(--white);
	border-color: var(--red);
	box-shadow: 0 16px 36px rgba(196, 7, 28, .12);
}
#contents #main.ws .ws-plan__rec {
	position: absolute;
	top: -18px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--red);
	color: var(--white);
	font-weight: 700;
	font-size: 14px;
	padding: 6px 22px;
	border-radius: 999px;
	white-space: nowrap;
}
.ws-plan__name { font-size: 24px; text-align: center; }
#contents #main.ws .ws-plan__desc {
	margin-top: 8px;
	font-size: 14px;
	color: var(--muted);
	text-align: center;
	min-height: 3.4em;
}
.ws-plan__price {
	margin: 18px 0 0;
	background: var(--white);
	border-radius: 14px;
	padding: 6px 18px;
}
.ws-plan__card--rec .ws-plan__price { background: var(--pink); }
.ws-plan__price > div {
	display: grid;
	grid-template-columns: 4em 1fr;
	align-items: baseline;
	padding: 12px 0;
}
.ws-plan__price > div + div { border-top: 1px solid var(--line); }
.ws-plan__price dt { font-weight: 700; color: var(--red); font-size: 15px; }
.ws-plan__price dd { margin: 0; font-weight: 700; font-size: 15px; }
.ws-plan__price dd b {
	font-family: Montserrat, sans-serif;
	font-size: 30px;
	color: var(--red);
	letter-spacing: 0;
	margin-right: 2px;
}
.ws-plan__price dd span {
	display: block;
	font-size: 12px;
	font-weight: 400;
	color: var(--muted);
	letter-spacing: .02em;
}
#contents #main.ws .ws-plan__term {
	margin-top: 14px;
	text-align: center;
	font-size: 15px;
	font-weight: 700;
}
.ws-plan__term b { color: var(--red); font-size: 20px; }
.ws-plan__list {
	list-style: none;
	margin: 18px 0 0;
	padding: 18px 0 0;
	border-top: 1px solid var(--line);
}
.ws-plan__list li {
	position: relative;
	padding: 6px 0 6px 34px;
	font-size: 15px;
	line-height: 1.6;
}
.ws-plan__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 7px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--red);
}
/* チェック印 */
.ws-plan__list li::after {
	content: "";
	position: absolute;
	left: 7px;
	top: 13px;
	width: 8px;
	height: 5px;
	border-left: 2px solid var(--white);
	border-bottom: 2px solid var(--white);
	transform: rotate(-45deg);
}
/* プラスで増える項目は「＋」印 */
.ws-plan__list li.is-plus { font-weight: 700; }
.ws-plan__list li.is-plus::after {
	content: "＋";
	left: 0;
	top: 7px;
	width: 22px;
	height: 22px;
	border: 0;
	transform: none;
	color: var(--white);
	font-size: 15px;
	font-weight: 700;
	line-height: 22px;
	text-align: center;
	letter-spacing: 0;
}

.ws-confirm {
	margin-top: 40px;
	display: grid;
	grid-template-columns: 180px 1fr;
	gap: 24px;
	align-items: center;
	background: var(--cream);
	border-radius: 18px;
	padding: 26px 32px;
}
.ws-confirm__title {
	font-size: 20px;
	color: var(--red);
	text-align: center;
	border-right: 2px solid var(--line);
	padding-right: 20px;
}
.ws-confirm ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px 28px;
}
.ws-confirm li { font-size: 13px; color: var(--muted); line-height: 1.65; }
.ws-confirm li b { display: block; font-size: 15px; color: var(--ink); }
.ws-plan__cta { margin-top: 40px; text-align: center; }

/* ---------- サポート ---------- */
.ws-support { background: var(--pink); }
.ws-support__head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 48px;
	align-items: center;
}
.ws-support__text .ws-h2 { text-align: left; margin: 0; }
.ws-support__text .ws-h2::after { margin-left: 0; }
#contents #main.ws .ws-support__text .ws-section__lead { text-align: left; margin-left: 0; }
.ws-support__visual { margin: 0; }
.ws-support__visual img { border-radius: 24px; }
.ws-support__list {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	margin: 48px 0 0;
	padding: 0;
}
.ws-support__list li {
	background: var(--white);
	border-radius: 18px;
	padding: 24px 22px;
}
.ws-support__list h3 { font-size: 18px; color: var(--red); line-height: 1.4; }
#contents #main.ws .ws-support__list p { margin-top: 8px; font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ---------- お問い合わせ ---------- */
.ws-contact { background: var(--white); text-align: center; }
.ws-contact__btns {
	margin-top: 36px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
}
#contents #main.ws .ws-contact__apply { margin-top: 28px; font-size: 14px; }
#site .ws-contact__apply a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 幅ごとの調整 ---------- */
@media screen and (max-width: 1160px) {
	.ws-feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media screen and (max-width: 640px) {
	#main.ws { font-size: 15px; }
	.sp-br { display: inline; }
	.ws-inner { width: calc(100% - 32px); }
	.ws-section { padding: 64px 0; }
	.ws-h2::after { margin-top: 16px; }

	.ws-hero { padding: 36px 0 56px; }
	.ws-hero__grid { grid-template-columns: 1fr; gap: 28px; }
	.ws-hero__visual { order: -1; }
	.ws-hero__visual img { border-radius: 18px; }
	#contents #main.ws .ws-hero__catch { font-size: 15px; }
	.ws-hero__title { font-size: 27px; }
	.ws-hero__offer { display: block; padding: 16px 18px; }
	.ws-hero__offer-main strong { font-size: 38px; }
	.ws-hero__cta { flex-direction: column; }
	#site .ws-hero__cta .ws-btn { width: 100%; }

	.ws-movie__frame { margin-top: 28px; border-radius: 14px; }

	.ws-points { grid-template-columns: 1fr; margin-top: 36px; }
	.ws-point { padding: 22px 22px; }
	#contents #main.ws .ws-point__title { font-size: 18px; }
	.ws-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.ws-feature { padding: 22px 12px 20px; border-radius: 14px; }
	.ws-icon { width: 64px; height: 64px; }
	.ws-icon svg { width: 34px; height: 34px; }
	.ws-feature h3 { font-size: 15px; }
	#contents #main.ws .ws-feature p { font-size: 13px; }

	.ws-custom__groups { grid-template-columns: 1fr; gap: 16px; margin-top: 36px; }
	.ws-custom__group { padding: 22px 20px 24px; }

	.ws-flow__list { grid-template-columns: 1fr; gap: 32px; margin-top: 36px; }
	.ws-flow__step:not(:last-child)::after {
		right: auto;
		left: 50%;
		top: auto;
		bottom: -24px;
		transform: translateX(-50%) rotate(135deg);
	}

	.ws-campaign__title { font-size: 19px; letter-spacing: .02em; padding: 16px 12px; }
	.ws-campaign__body { grid-template-columns: 1fr; padding: 28px 16px 8px; gap: 24px; }
	.ws-campaign__half { border-left: 0; border-top: 2px dashed var(--line); padding: 20px 0 0; }
	#contents #main.ws .ws-campaign__amount { flex-wrap: wrap; }
	.ws-campaign__now { flex-basis: 100%; text-align: center; font-size: 17px; margin: 0 0 4px; }
	.ws-campaign__amount .ws-tax { flex-basis: 100%; text-align: center; align-self: auto; margin: 8px 0 0; font-size: 15px; }
	.ws-campaign__amount small { font-size: 24px; }
	.ws-campaign__notes { flex-direction: column; align-items: center; gap: 2px; }

	.ws-plan__grid { grid-template-columns: 1fr; gap: 36px; margin-top: 44px; }
	.ws-plan__card { padding: 30px 20px 26px; }
	#contents #main.ws .ws-plan__desc { min-height: 0; }
	.ws-confirm { grid-template-columns: 1fr; padding: 22px 20px; gap: 14px; }
	.ws-confirm__title { border-right: 0; padding-right: 0; border-bottom: 2px solid var(--line); padding-bottom: 10px; }
	.ws-confirm ul { grid-template-columns: 1fr; }
	#site .ws-plan__cta .ws-btn { width: 100%; padding: 0 20px; }

	.ws-support__head { grid-template-columns: 1fr; gap: 28px; }
	.ws-support__list { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 32px; }
	.ws-support__list li { padding: 20px 16px; }
	.ws-support__list h3 { font-size: 16px; }

	.ws-contact__btns { flex-direction: column; }
	#site .ws-contact__btns .ws-btn { width: 100%; }
}
