/* ==========================================================================
   学校記念誌ドットコム — index-new.html
   Figma: 学校記念誌 制作・相談ドットコム
   ========================================================================== */

:root {
	--navy: #2e5a8c;
	--navy-dark: #1f4468;
	--pink: #ff70f6;
	--pink-soft: #fd9dd6;
	--cream: #fff9ed;
	--yellow: #ffcb3c;
	--yellow-dark: #f0a800;
	--point1-bg: #ffeefb;
	--point2-bg: #eefcff;
	--point3-bg: #fff2e3;
	--point4-bg: #eef2ff;
	--ok-green: #38b06a;
	--ng-red: #e0554a;
	--font-heading: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", sans-serif;
	--font-body: "Noto Sans JP", "Hiragino Sans", sans-serif;
	--font-script: "Caveat", cursive;
	--font-serif-num: "Gravitas One", serif;
	--font-elegant: "Sail", cursive;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--cream);
	color: var(--navy);
	font-family: var(--font-body);
	line-height: 1.8;
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	display: block;
}

h2, h3 {
	margin: 0;
	font-family: var(--font-heading);
	font-weight: 900;
	color: var(--navy);
}

p {
	margin: 0;
}

a {
	color: inherit;
}

.lead-sm {
	margin: 0 0 8px;
	font-size: clamp(16px, 2.4vw, 22px);
	font-weight: 900;
	font-family: var(--font-heading);
	letter-spacing: -0.02em;
	text-align: center;
}

.lead-lg {
	font-size: clamp(26px, 4.6vw, 44px);
	text-align: center;
	letter-spacing: -0.01em;
}

/* ---- hero: needs (DESIGN / COMMUNICATION persona panel) ------------------ */

.hero {
	background: var(--cream);
	padding: 64px 24px 0;
}

.needs {
	max-width: 1240px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr minmax(280px, 620px) 1fr;
	gap: 32px;
	align-items: start;
}

.needs__col {
	text-align: center;
	padding-top: 12px;
}

.needs__label {
	font-family: var(--font-heading);
	font-weight: 900;
	font-size: 26px;
	letter-spacing: 0.02em;
	margin: 0 0 12px;
}

.needs__heading {
	display: inline-block;
	margin: 0 0 20px;
	font-size: 20px;
	line-height: 1.7;
	background: var(--navy);
	color: #fff;
	padding: 4px 14px;
	border-radius: 6px;
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
}

.needs__list {
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: left;
	display: grid;
	gap: 14px;
}

.needs__list li {
	position: relative;
	padding-left: 1.4em;
	font-size: 15px;
	line-height: 1.7;
}

.needs__list li::before {
	content: "";
	position: absolute;
	left: 0.15em;
	top: 0.55em;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--navy);
}

.needs__text {
	font-size: 15px;
	line-height: 1.8;
	text-align: center;
}

.needs__bubbles {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-content: flex-start;
	gap: 12px;
	padding-top: 4px;
}

.bubble {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	border-radius: 999px;
	padding: 14px 20px;
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 14px;
	line-height: 1.5;
	color: var(--navy);
	background: var(--point2-bg);
	border: 2px solid var(--navy);
}

.bubble--sm {
	font-size: 12px;
	padding: 10px 16px;
	border-style: dashed;
}

.bubble--blue {
	background: #cdeeff;
}

.bubble--pink {
	background: #ffe1f6;
}

.bubble--navy {
	background: var(--navy);
	color: #fff;
	max-width: 260px;
}

.bubble--lg {
	font-size: 16px;
	max-width: 220px;
}

.needs__result {
	max-width: 900px;
	margin: 48px auto 0;
	text-align: center;
	padding-bottom: 56px;
}

.needs__result-heading {
	font-family: var(--font-heading);
	font-weight: 900;
	font-size: clamp(20px, 3vw, 26px);
	padding-bottom: 14px;
	margin-bottom: 20px;
	border-bottom: 3px solid var(--navy);
	display: inline-block;
}

.needs__result-sub {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 18px;
}

.needs__result-title {
	font-family: var(--font-heading);
	font-weight: 900;
	font-size: clamp(36px, 6vw, 56px);
	margin: 8px 0 20px;
	letter-spacing: 0.05em;
}

.needs__result-tag {
	display: inline-block;
	font-family: var(--font-heading);
	font-weight: 900;
	font-size: clamp(14px, 2vw, 18px);
	background: var(--navy);
	color: #fff;
	padding: 10px 24px;
	border-radius: 999px;
	line-height: 1.8;
}

/* ---- hero: comic strip ---------------------------------------------------- */

.hero-comic {
	position: relative;
	max-width: 1240px;
	margin: 0 auto;
	padding-bottom: 72px;
}

.hero-comic__badge {
	width: 118px;
	height: 118px;
	border-radius: 50%;
	background: var(--navy);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	font-family: var(--font-heading);
	font-weight: 900;
	font-size: 18px;
	line-height: 1.4;
	float: left;
	margin: 0 24px 16px 0;
}

.hero-comic__intro {
	font-family: var(--font-heading);
	font-weight: 900;
	font-size: clamp(18px, 2.6vw, 26px);
	line-height: 1.6;
	padding-top: 20px;
}

.hero-comic__intro p {
	margin: 0;
}

.hero-comic__strip {
	clear: both;
	width: 100%;
	border-radius: 24px;
	margin-top: 24px;
}

.hero-comic__solution {
	max-width: 480px;
	margin: 32px auto 0;
	text-align: center;
	background: var(--pink-soft);
	border-radius: 40px;
	padding: 24px 32px;
}

.hero-comic__solution-lead {
	font-family: var(--font-heading);
	font-weight: 900;
	font-size: 22px;
	color: #fff;
}

.hero-comic__solution-sub {
	font-family: var(--font-heading);
	font-weight: 900;
	font-size: 18px;
	color: var(--navy);
	margin-top: 6px;
	line-height: 1.5;
}

.hero-comic__forward {
	position: relative;
	max-width: 520px;
	margin: 40px auto 0;
	text-align: center;
}

.hero-comic__forward img {
	margin: 0 auto;
	max-width: 360px;
}

.hero-comic__forward-tag {
	display: inline-block;
	margin-top: 12px;
	font-family: var(--font-heading);
	font-weight: 900;
	font-size: clamp(22px, 3.4vw, 32px);
	color: #fff;
	background: var(--pink);
	padding: 8px 28px;
	transform: rotate(-2deg);
}

.hero-comic__banner {
	margin-top: 40px;
	background: var(--pink);
	color: var(--navy);
	text-align: center;
	font-family: var(--font-heading);
	font-weight: 900;
	font-size: clamp(20px, 3.6vw, 34px);
	padding: 22px 24px;
	transform: rotate(-1.5deg);
}

.hero-comic__quote {
	color: #fff;
}

/* ---- section shell ------------------------------------------------------ */

main > section {
	max-width: 1160px;
	margin: 0 auto;
	padding: 90px 24px;
}

.nayami {
	padding-top: 110px;
}

/* ---- nayami (worries / case studies) ------------------------------------ */

.nayami__title {
	margin-bottom: 56px;
}

.nayami__cases {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 48px;
}

.case-card {
	position: relative;
	width: 100%;
	max-width: 900px;
	background: #fff;
	border: 3px solid var(--navy);
	border-radius: 40px;
	padding: 56px 48px 48px;
}

.case-card__script {
	font-family: var(--font-elegant);
	font-size: clamp(48px, 8vw, 80px);
	color: var(--pink-soft);
	margin: 0 0 12px;
	line-height: 1;
}

.case-card__heading {
	font-size: clamp(18px, 2.4vw, 24px);
	line-height: 1.6;
	margin: 0 0 32px;
}

.case-card__heading strong {
	font-size: 1.15em;
}

.case-card__body {
	display: flex;
	align-items: center;
	gap: 32px;
	flex-wrap: wrap;
}

.case-card__art {
	flex: 0 0 260px;
	max-width: 260px;
}

.case-card__list {
	flex: 1 1 320px;
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 14px;
}

.case-card__list li {
	position: relative;
	padding-left: 1.3em;
	font-weight: 700;
	font-size: 15px;
	line-height: 1.7;
}

.case-card__list li::before {
	content: "・";
	position: absolute;
	left: 0;
}

.case-card__solution-arrow {
	font-family: var(--font-script);
	font-size: 28px;
	color: var(--pink-soft);
	text-align: center;
	margin: 32px 0 0;
}

.case-card__solution-arrow::after {
	content: "▼";
	display: block;
	color: var(--pink-soft);
	font-size: 14px;
	margin-top: 4px;
}

.case-card__bubble {
	max-width: 560px;
	margin: 16px auto 0;
	text-align: center;
	background: #fff;
	border: 3px solid var(--navy);
	border-radius: 999px;
	padding: 18px 32px;
	font-family: var(--font-heading);
	font-weight: 900;
	font-size: clamp(15px, 2vw, 18px);
	line-height: 1.6;
}

.case-card__answer {
	max-width: 700px;
	margin: 28px auto 0;
	font-size: 15px;
	line-height: 1.9;
	text-align: center;
}

.case-card__answer strong {
	color: var(--pink);
}

.nayami__cta {
	display: flex;
	justify-content: center;
	margin-top: 56px;
}

.btn-pill {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	background: var(--yellow);
	color: var(--navy);
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 22px;
	text-decoration: none;
	padding: 20px 48px;
	border-radius: 999px;
	box-shadow: 0 8px 0 var(--yellow-dark);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-pill:hover {
	transform: translateY(3px);
	box-shadow: 0 5px 0 var(--yellow-dark);
}

.btn-pill__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #fff;
	color: var(--navy);
	font-size: 14px;
}

.btn-pill--lg {
	font-size: 26px;
	padding: 24px 56px;
}

/* ---- point section -------------------------------------------------------- */

.point {
	background: #fff;
	border-radius: 60px;
	max-width: 1240px;
}

.point__intro {
	margin-bottom: 8px;
}

.point__intro-sub {
	max-width: 700px;
	margin: 24px auto 0;
	text-align: center;
	font-family: var(--font-heading);
	font-weight: 900;
	font-size: clamp(15px, 2vw, 20px);
}

.point__badge {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 56px 0 64px;
}

.point__badge-flag {
	font-family: var(--font-script);
	font-size: 26px;
	color: var(--navy);
	background: #fff;
	border: 2px solid var(--navy);
	border-radius: 8px;
	padding: 6px 22px;
	transform: rotate(-3deg);
	margin: 0 0 -18px;
	position: relative;
	z-index: 2;
}

.point__badge-circle {
	width: 190px;
	height: 190px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	background: radial-gradient(circle at 30% 30%, var(--point1-bg), var(--point2-bg) 45%, var(--point3-bg) 70%, var(--point4-bg));
}

.point__badge-label {
	font-family: var(--font-heading);
	font-weight: 900;
	font-size: 17px;
	color: var(--navy);
	padding: 0 12px;
}

.point__badge-num {
	display: flex;
	align-items: baseline;
	gap: 8px;
	margin-top: 12px;
}

.point__badge-num .num {
	font-family: var(--font-serif-num);
	font-size: 96px;
	line-height: 1;
	color: var(--navy);
}

.point__badge-num .unit {
	font-family: var(--font-heading);
	font-weight: 900;
	font-size: 32px;
}

.point__badge-num .word {
	font-family: var(--font-heading);
	font-weight: 900;
	font-size: 52px;
}

.point-card {
	position: relative;
	max-width: 900px;
	margin: 0 auto 48px;
	border: 3px solid var(--navy);
	border-radius: 40px;
	padding: 56px 48px;
}

.point-card:last-child {
	margin-bottom: 0;
}

.point-card--2 { background: var(--point2-bg); }
.point-card--3 { background: var(--point3-bg); }
.point-card--4 { background: var(--point4-bg); }

.point-card__seal {
	position: absolute;
	top: -30px;
	left: -30px;
	width: 96px;
	height: 96px;
	border-radius: 50%;
	background: url("../images/point-seal.svg") center / contain no-repeat;
	color: #fff;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	font-family: var(--font-heading);
	filter: drop-shadow(0 4px 6px rgba(46, 90, 140, 0.35));
}

.point-card__seal-label {
	font-family: var(--font-script);
	font-size: 14px;
	line-height: 1;
}

.point-card__seal strong {
	font-family: var(--font-serif-num);
	font-size: 40px;
	line-height: 1.1;
}

.point-card h3 {
	font-size: clamp(20px, 2.6vw, 28px);
	line-height: 1.5;
	text-align: center;
	margin: 8px 0 32px;
}

.point-card p {
	font-size: 16px;
	line-height: 1.9;
}

.point-card p + p {
	margin-top: 16px;
}

/* point 1 ---------------------------------------------------------------- */

.point-card--1 {
	background: var(--point1-bg);
}

.point-card__icon-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	margin-bottom: 24px;
}

.point-card__icon {
	width: 64px;
	height: 64px;
	flex: 0 0 auto;
}

.point-card__icon-row h3 {
	margin: 0;
	text-align: left;
}

.point-card__areas {
	margin-top: 32px;
	padding-top: 32px;
	border-top: 2px dashed var(--navy);
}

.area-list__caption {
	font-weight: 700;
	margin-bottom: 10px;
}

.area-list {
	margin: 0;
	display: grid;
	gap: 10px;
}

.area-list dt {
	font-weight: 900;
	font-family: var(--font-heading);
	font-size: 14px;
	margin-bottom: 2px;
}

.area-list dd {
	margin: 0;
	font-size: 13px;
	line-height: 1.7;
}

.point-card__advisor {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 8px 24px;
	align-items: start;
	margin-top: 32px;
	padding-top: 32px;
	border-top: 2px dashed var(--navy);
}

.point-card__advisor-badge {
	grid-row: span 2;
	width: 108px;
	height: 108px;
	border-radius: 50%;
	background: var(--navy);
	color: #fff;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.4;
}

.point-card__advisor-name {
	font-family: var(--font-heading);
	font-weight: 900;
	font-size: 22px;
}

.point-card__advisor-bio {
	font-size: 14px;
	line-height: 1.8;
	grid-column: 2;
}

.point-card__ng {
	display: flex;
	justify-content: center;
	gap: 24px;
	margin-bottom: 28px;
}

.point-card__ng span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	font-family: var(--font-heading);
	font-weight: 900;
	font-size: 18px;
	color: #fff;
	border: 3px solid #fff;
}

.point-card__ng .ok { background: var(--ok-green); }
.point-card__ng .ng { background: var(--ng-red); }

/* ---- works section -------------------------------------------------------- */

.works__heading {
	font-size: clamp(28px, 4vw, 40px);
	text-align: center;
	margin-bottom: 56px;
}

.works__sub-heading {
	text-align: center;
	font-family: var(--font-heading);
	font-weight: 900;
	font-size: clamp(20px, 3vw, 28px);
	margin: 72px 0 40px;
}

.works-card {
	background: #fff;
	border: 2px solid var(--navy);
	border-radius: 32px;
	padding: 40px clamp(20px, 5vw, 56px);
}

.works-card__title {
	font-size: clamp(18px, 2.4vw, 22px);
	text-align: center;
	padding-bottom: 16px;
	border-bottom: 2px solid var(--navy);
	margin-bottom: 24px;
}

.works-card__meta {
	font-weight: 700;
	font-size: 14px;
	color: var(--navy);
	background: var(--point2-bg);
	display: inline-block;
	padding: 8px 18px;
	border-radius: 999px;
	margin-bottom: 20px;
}

.works-card__desc,
.works-card__note,
.works-card__closing {
	font-size: 15px;
	line-height: 1.9;
	margin-bottom: 16px;
}

.works-card__closing {
	margin-top: 24px;
	margin-bottom: 0;
	font-weight: 700;
}

.works-card__timeline {
	list-style: none;
	margin: 24px 0;
	padding: 20px;
	background: var(--cream);
	border-radius: 20px;
	display: grid;
	gap: 10px;
	font-size: 14px;
}

.works-card__timeline li {
	padding-left: 1.4em;
	position: relative;
}

.works-card__timeline li::before {
	content: "";
	position: absolute;
	left: 0.2em;
	top: 0.65em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--pink-soft);
}

/* ---- faq ---------------------------------------------------------------- */

.faq {
	max-width: 860px;
}

.faq__heading {
	font-size: clamp(28px, 4vw, 40px);
	text-align: center;
	margin-bottom: 40px;
}

.faq__item {
	background: #fff;
	border: 2px solid var(--navy);
	border-radius: 20px;
	padding: 20px 28px;
	margin-bottom: 16px;
}

.faq__item + .faq__item {
	margin-top: 0;
}

.faq__item summary {
	cursor: pointer;
	list-style: none;
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: clamp(15px, 2vw, 18px);
	line-height: 1.6;
	padding-right: 32px;
	position: relative;
}

.faq__item summary::-webkit-details-marker {
	display: none;
}

.faq__item summary::before {
	content: "Q";
	display: inline-block;
	margin-right: 12px;
	color: var(--pink);
	font-family: var(--font-serif-num);
	font-size: 18px;
}

.faq__item summary::after {
	content: "+";
	position: absolute;
	right: 0;
	top: 0;
	font-size: 22px;
	color: var(--navy);
	transition: transform 0.2s ease;
}

.faq__item[open] summary::after {
	transform: rotate(45deg);
}

.faq__item p {
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px dashed var(--navy);
	font-size: 15px;
	line-height: 1.8;
}

/* ---- contact / closing CTA -------------------------------------------- */

.contact {
	text-align: center;
	max-width: 860px;
}

.contact__heading {
	font-size: clamp(24px, 3.6vw, 34px);
	margin-bottom: 20px;
}

.contact__lead {
	font-size: 16px;
	margin-bottom: 36px;
}

/* ---- company profile ----------------------------------------------------- */

.company {
	max-width: 760px;
}

.company__heading {
	font-size: clamp(24px, 3.4vw, 32px);
	text-align: center;
	margin-bottom: 32px;
}

.company__table {
	margin: 0;
	background: #fff;
	border: 2px solid var(--navy);
	border-radius: 24px;
	overflow: hidden;
}

.company__table > div {
	display: grid;
	grid-template-columns: 140px 1fr;
	gap: 8px 24px;
	padding: 16px 28px;
}

.company__table > div:not(:last-child) {
	border-bottom: 1px solid var(--point2-bg);
}

.company__table dt {
	font-family: var(--font-heading);
	font-weight: 900;
	font-size: 14px;
}

.company__table dd {
	margin: 0;
	font-size: 14px;
	line-height: 1.8;
}

.company__table a {
	color: var(--navy);
	font-weight: 700;
}

/* ---- footer -------------------------------------------------------------- */

.site-footer {
	background: var(--navy);
	color: #fff;
	text-align: center;
	padding: 48px 24px 100px;
}

.site-footer__brand {
	font-family: var(--font-heading);
	font-weight: 900;
	font-size: 22px;
	margin-bottom: 8px;
}

.site-footer__op {
	font-size: 13px;
	opacity: 0.85;
	margin-bottom: 4px;
}

.site-footer__address {
	font-size: 13px;
	opacity: 0.85;
	margin-bottom: 16px;
}

.site-footer__address a {
	color: #fff;
	text-decoration: underline;
}

.site-footer__copy {
	font-size: 12px;
	opacity: 0.7;
}

/* ---- fixed contact button ------------------------------------------------ */

.fixed-contact-btn {
	position: fixed;
	right: 24px;
	bottom: 30px;
	z-index: 999;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 104px;
	height: 104px;
	border-radius: 50%;
	background: var(--pink);
	color: #fff;
	text-decoration: none;
	box-shadow: 0 6px 18px rgba(255, 112, 246, 0.45);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fixed-contact-btn:hover {
	transform: translateY(-3px) scale(1.05);
}

.fixed-contact-btn__text {
	font-family: var(--font-heading);
	font-weight: 900;
	font-size: 14px;
	text-align: center;
	line-height: 1.3;
}

/* ---- responsive ------------------------------------------------------------ */

@media (max-width: 900px) {
	main > section {
		padding: 64px 20px;
	}

	.point {
		border-radius: 32px;
	}

	.point-card {
		padding: 44px 24px 32px;
	}

	.point-card__advisor {
		grid-template-columns: 1fr;
		justify-items: center;
		text-align: center;
	}

	.point-card__advisor-bio {
		grid-column: 1;
	}

	.point-card__icon-row {
		flex-direction: column;
	}

	.point-card__icon-row h3 {
		text-align: center;
	}

	.needs {
		grid-template-columns: 1fr;
		gap: 48px;
	}

	.case-card {
		padding: 40px 24px 32px;
	}

	.case-card__body {
		justify-content: center;
		text-align: center;
	}

	.case-card__list {
		text-align: left;
	}

	.company__table > div {
		grid-template-columns: 1fr;
		gap: 4px;
	}
}

@media (max-width: 600px) {
	.point__badge-num .num { font-size: 72px; }
	.point__badge-num .word { font-size: 40px; }
	.btn-pill { font-size: 18px; padding: 16px 32px; }
	.fixed-contact-btn { width: 84px; height: 84px; right: 16px; bottom: 16px; }
}
