@charset "UTF-8";
/* =========================================================================
   パーキンソン病DBSガイド ベーススタイル
   PCデザイン幅 1280px / SPデザイン幅 402px
   レイアウト切替 960px、ヘッダーのナビ切替 1200px
   ========================================================================= */

@font-face {
	font-family: "Corporate Logo";
	src: url("../fonts/corporate-logo-bold.woff2") format("woff2");
	font-weight: 700;
	font-display: swap;
}

:root {
	--navy: #174267;
	--navy-light: #225a93;
	--navy-footer: #1f3350;
	--ink: #2d313b;
	--orange: #e8a574;
	--orange-sp: #e79353;
	--orange-dark: #dd9f6c;
	--orange-soft: #fcede2;
	--gray-bg: #f1f3f5;
	--gray-page: #f1f2f4;
	--gray-sp: #f5f5f5;
	--gray-line: #d9d9d9;
	--error: #d93025;

	--ff-base: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
	--ff-head: "Corporate Logo", "Noto Sans JP", sans-serif;
	--ff-nav: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", sans-serif;
	--ff-num: "DIN Alternate", "Barlow", "Noto Sans JP", sans-serif;

	--header-h: 83px;
	--ease-out: cubic-bezier(.2, .7, .2, 1);
	--ease-inout: cubic-bezier(.6, 0, .2, 1);

	/* SPではオレンジを明るい画面向けに変更（依頼書：オレンジのみSPで数値変更） */
	--accent: var(--orange);
}
@media (max-width: 959px) {
	:root {
		--header-h: 72px;
		--accent: var(--orange-sp);
	}
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: calc(var(--header-h) + 24px);
}
body {
	margin: 0;
	font-family: var(--ff-base);
	font-size: 16px;
	line-height: 1.75;
	color: var(--navy);
	background: #fff;
	overflow-wrap: anywhere;
	line-break: strict;
	-webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
/* ページ内リンクで移動先にフォーカスを移した時（tabindex=-1）は枠を出さない */
[tabindex="-1"]:focus, [tabindex="-1"]:focus-visible { outline: none; }

.u-sr {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden; clip: rect(0 0 0 0);
	white-space: nowrap;
}
.u-skip {
	position: absolute; left: 8px; top: -100px; z-index: 1000;
	padding: 8px 16px; background: var(--navy); color: #fff; border-radius: 8px;
}
.u-skip:focus { top: 8px; }
.u-nowrap { white-space: nowrap; }
.u-pc { display: inline; }
.u-sp { display: none; }
@media (max-width: 959px) {
	.u-pc { display: none; }
	.u-sp { display: inline; }
}

/* ページ切り替え（M17）：次ページはふわっと表示、離れる時は透明に */
body { animation: page-in .25s ease-out both; }
body.is-leaving { opacity: 0; transition: opacity .25s ease-out; }
@keyframes page-in { from { opacity: 0; } to { opacity: 1; } }

/* =========================================================================
   アイコン（Figmaのマスクグループ：形状PNGを色で塗る）
   ========================================================================= */
.c-mask-icon {
	display: block;
	background-color: rgba(23, 66, 103, .2);
	-webkit-mask: var(--mask) center / contain no-repeat;
	mask: var(--mask) center / contain no-repeat;
}
.c-mask-icon--message  { --mask: url("../img/common/ic-message-mask.png");  aspect-ratio: 199 / 178; }
.c-mask-icon--brain    { --mask: url("../img/common/ic-brain-mask.png");    aspect-ratio: 198 / 173; }
.c-mask-icon--heart    { --mask: url("../img/common/ic-heart-mask.png");    aspect-ratio: 183 / 158; }
.c-mask-icon--stetho   { --mask: url("../img/common/ic-stetho-mask.png");   aspect-ratio: 206 / 214; }
.c-mask-icon--doctor   { --mask: url("../img/common/ic-doctor-mask.png");   aspect-ratio: 176 / 206; }
.c-mask-icon--hospital { --mask: url("../img/common/ic-hospital-mask.png"); aspect-ratio: 1; }

/* 丸い矢印 */
.c-circle-arrow {
	display: inline-grid;
	place-items: center;
	flex: none;
	width: 37.7px;
	height: 37px;
	border-radius: 50%;
	color: #fff;
	transition: transform .3s var(--ease-out), background-color .3s;
}
.c-circle-arrow svg { width: 25.5px; height: 25px; }
.c-circle-arrow--navy { background: var(--navy); }
.c-circle-arrow--orange { background: var(--accent); }

/* =========================================================================
   ロゴ
   ========================================================================= */
.c-logo {
	display: flex;
	align-items: center;
	gap: 7px;
	flex: none;
	color: var(--navy);
}
.c-logo__mark {
	width: 51px;
	height: 45.3px;
	background: var(--navy);
	-webkit-mask: url("../img/common/logo-brain-mask.png") center / contain no-repeat;
	mask: url("../img/common/logo-brain-mask.png") center / contain no-repeat;
	/* Figmaの楕円マスクで右端が少し切れる */
	clip-path: circle(41.5% at 49% 50%);
}
.c-logo__text {
	font-family: var(--ff-nav);
	font-weight: 800;
	font-size: 16px;
	line-height: 21px;
	white-space: nowrap;
}

/* =========================================================================
   ヘッダー
   ========================================================================= */
.l-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 100;
	height: var(--header-h);
	background: #fff;
}
.l-header__inner {
	display: flex;
	align-items: center;
	height: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 20px 0 9px;
}
.l-main { padding-top: var(--header-h); overflow-x: clip; }
/* ログイン中の管理バー分だけ固定ヘッダーとメニューを下げる */
body.admin-bar .l-header { top: 32px; }
body.admin-bar .sp-menu { top: calc(var(--header-h) + 32px); }
@media (max-width: 782px) {
	body.admin-bar .l-header { top: 46px; }
	body.admin-bar .sp-menu { top: calc(var(--header-h) + 46px); }
}

.g-nav { margin-left: auto; }
.g-nav__list { display: flex; gap: 0 20px; }
.g-nav__link {
	position: relative;
	display: block;
	padding: 7px 0 10px;
	font-family: var(--ff-nav);
	font-weight: 600;
	font-size: 15px;
	line-height: 1.5;
	color: var(--ink);
	white-space: nowrap;
}
/* 下線：乗せると左から伸び、離すと右側へ縮んで消える（0.4秒） */
.g-nav__link::after {
	content: "";
	position: absolute;
	left: -8px; right: -8px; bottom: 0;
	height: 3px;
	background: var(--orange);
	transform: scaleX(0);
	transform-origin: right center;
	transition: transform .4s var(--ease-out);
}
.g-nav__link:hover::after {
	transform: scaleX(1);
	transform-origin: left center;
}
.g-nav__link.is-current::after { transform: scaleX(1); }

.c-head-faq {
	display: grid;
	place-items: center;
	flex: none;
	width: 169px;
	height: 45px;
	margin-left: 26px;
	border: 2px solid var(--navy);
	border-radius: 100px;
	background: #fff;
	font-family: var(--ff-nav);
	font-weight: 600;
	font-size: 20px;
	color: var(--ink);
	transition: background-color .3s, color .3s;
}
.c-head-faq:hover { background: var(--navy); color: #fff; }

.c-head-contact {
	position: relative;
	display: flex;
	align-items: center;
	flex: none;
	width: 208px;
	height: 45px;
	margin-left: 17px;
	padding-left: 64px;
	border-radius: 100px;
	background: var(--orange);
	font-family: var(--ff-nav);
	font-weight: 600;
	font-size: 20px;
	color: var(--ink);
	transition: transform .3s var(--ease-out), box-shadow .3s, background-color .3s;
}
.c-head-contact__doctor {
	position: absolute;
	left: 12px;
	bottom: -4px;
	width: 46px;
	height: 64px;
	object-fit: cover;
}
.c-head-contact:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 14px rgba(23, 66, 103, .2);
	background: #eeb68b;
}

.c-head-q, .c-head-mail, .c-menu-btn { display: none; }

@media (max-width: 1199px) {
	.g-nav, .c-head-faq, .c-head-contact { display: none; }
	.l-header__inner { padding: 0 20px 0 10px; }
	/* よくある質問（？）：メールボタンと同じく1199px以下で表示 */
	.c-head-q {
		display: grid;
		place-items: center;
		width: 46px;
		height: 46px;
		margin-left: auto;
		border: 2px solid var(--navy);
		border-radius: 50%;
		background: #fff;
		color: var(--navy);
	}
	.c-head-q svg { width: 16px; height: 27px; }
	.c-head-mail {
		display: grid;
		place-items: center;
		width: 46px;
		height: 46px;
		margin-left: 8px;
		border-radius: 50%;
		background: var(--accent);
		color: #fff;
	}
	.c-head-mail svg { width: 22px; height: 20px; }
	.c-menu-btn {
		position: relative;
		display: block;
		width: 60px;
		height: 46px;
		margin-left: 14px;
		border: 2px solid var(--navy);
		border-radius: 10px;
		background: var(--navy);
		color: #fff;
		transition: transform .15s ease-out, filter .15s ease-out;
	}
	.c-menu-btn > span {
		position: absolute;
		inset: 0;
		display: flex;
		flex-direction: column;
		align-items: center;
	}
	.c-menu-btn__open svg { width: 30px; height: 30px; margin-top: -1px; }
	.c-menu-btn__close { display: none !important; }
	.c-menu-btn__close svg { width: 18px; height: 18px; margin-top: 6px; margin-bottom: 1px; }
	.c-menu-btn__label {
		margin-top: -9px;
		font-weight: 700;
		font-size: 12px;
		line-height: 21px;
		letter-spacing: 0;
	}
	.c-menu-btn__close .c-menu-btn__label { margin-top: -1px; }
	.c-menu-btn[aria-expanded="true"] { background: #fff; color: var(--navy); }
	.c-menu-btn[aria-expanded="true"] .c-menu-btn__open { display: none; }
	.c-menu-btn[aria-expanded="true"] .c-menu-btn__close { display: flex !important; }
}
@media (max-width: 959px) {
	.c-logo { gap: 3px; }
	.c-logo__mark { width: 65px; height: 58px; margin-left: -2px; }
}
/* ？・メール・MENUの3つが並ぶため、幅の狭い端末ではロゴを縮めて収める */
.c-head-q, .c-head-mail, .c-menu-btn { flex: none; }
@media (max-width: 401px) {
	.c-logo__mark { width: 52px; height: 46px; margin-left: 0; }
	.c-logo__text { font-size: 15px; }
}
@media (max-width: 359px) {
	.l-header__inner { padding: 0 12px 0 6px; }
	.c-logo { gap: 2px; }
	.c-logo__mark { width: 38px; height: 34px; }
	.c-logo__text { font-size: 13px; line-height: 18px; }
	.c-menu-btn { margin-left: 8px; }
}

/* =========================================================================
   SPメニュー（M02）
   ========================================================================= */
.sp-menu {
	position: fixed;
	inset: var(--header-h) 0 0;
	z-index: 90;
	overflow-y: auto;
	overscroll-behavior: contain;
	background: var(--gray-sp);
	opacity: 0;
	transform: translateY(-12px);
	transition: opacity .3s ease-out, transform .3s ease-out;
}
.sp-menu.is-open { opacity: 1; transform: none; }
.sp-menu[hidden] { display: none; }
.sp-menu__inner {
	max-width: 402px;
	margin: 0 auto;
	padding: 25px 20px 40px;
}
.sp-menu__list { display: grid; gap: 10px; }
.sp-menu__link {
	position: relative;
	display: flex;
	align-items: center;
	height: 56px;
	padding: 0 20px 0 81px;
	border-radius: 10px;
	background: #fff;
	font-weight: 700;
	font-size: 20px;
	color: #000;
	transition: transform .15s ease-out, filter .15s ease-out;
}
.sp-menu__icon { position: absolute; left: 23px; width: 41px; }
.sp-menu__icon.c-mask-icon--stetho, .sp-menu__icon.c-mask-icon--doctor { width: 37px; }
.sp-menu__icon.c-mask-icon--hospital { width: 35px; }
.sp-menu__label { flex: 1; }
.sp-menu__btn {
	position: relative;
	display: grid;
	place-items: center;
	height: 68px;
	margin-top: 25px;
	border-radius: 100px;
	font-weight: 700;
	font-size: 20px;
	line-height: 40px;
	transition: transform .15s ease-out, filter .15s ease-out;
}
.sp-menu__btn--faq { border: 2px solid var(--navy); background: #fff; color: var(--navy); }
.sp-menu__btn--contact { margin-top: 15px; background: var(--orange-sp); color: var(--ink); }
.sp-menu__btn-arrow { position: absolute; right: 26px; width: 13px; height: 23.6px; }
.sp-menu__btn--contact .sp-menu__btn-arrow { color: var(--ink); }

body.is-menu-open { overflow: hidden; }

/* =========================================================================
   ボタン
   ========================================================================= */
/* 紺の丸ボタン */
.c-btn {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0 14px;
	width: 100%;
	max-width: var(--btn-w, 533px);
	min-height: 68px;
	margin-inline: auto;
	padding: 12px 50px;
	border-radius: 100px;
	background: var(--navy);
	color: #fff;
	font-weight: 700;
	font-size: var(--btn-fz, 32px);
	line-height: 1.25;
	text-align: center;
	transition: transform .3s var(--ease-out), box-shadow .3s, background-color .15s ease-out;
}
.c-btn__icon { width: var(--btn-icon, 42px); height: auto; flex: none; }
.c-btn__arrow {
	position: absolute;
	right: var(--btn-arrow-r, 30px);
	top: 50%;
	width: var(--btn-arrow-w, 14px);
	height: auto;
	margin-top: calc(var(--btn-arrow-w, 14px) * -.913);
	transition: transform .3s var(--ease-out);
}
@media (hover: hover) {
	.c-btn:hover {
		transform: translateY(-3px);
		box-shadow: 0 8px 18px rgba(23, 66, 103, .25);
	}
	.c-btn:hover .c-btn__arrow { transform: translateX(4px); }
}
/* SP：押している間 少し沈み、明るい紺、矢印が右へ（M15） */
.c-btn:active {
	transform: scale(.97);
	box-shadow: none;
	background: var(--navy-light);
	transition: transform .15s ease-out, background-color .15s ease-out, box-shadow .15s;
}
.c-btn:active .c-btn__arrow { transform: translateX(4px); }
@media (max-width: 959px) {
	.c-btn {
		--btn-fz: 20px;
		--btn-w: 362px;
		--btn-arrow-r: 26px;
		--btn-arrow-w: 13px;
		--btn-icon: 36px;
		padding: 12px 56px;
	}
}

/* 丸矢印リンク（M16） */
.c-arrow-link {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 112px;
	padding: 10px 70px 10px 20px;
	border-top: 1px solid var(--navy);
	border-bottom: 1px solid var(--navy);
	font-weight: 700;
	transition: background-color .3s;
}
.c-arrow-link + .c-arrow-link { margin-top: -1px; }
.c-arrow-link__sub { font-size: 24px; line-height: 40px; color: var(--accent); }
.c-arrow-link__title { font-size: 32px; line-height: 40px; color: var(--navy); }
.c-arrow-link .c-circle-arrow { position: absolute; right: 28px; top: 50%; margin-top: -18.5px; }
@media (hover: hover) {
	.c-arrow-link:hover { background: var(--orange-soft); }
	.c-arrow-link:hover .c-circle-arrow { transform: translateX(5px); }
}
.c-arrow-link:active { background: rgba(232, 165, 116, .14); }
.c-arrow-link:active .c-circle-arrow { transform: translateX(5px); }
@media (max-width: 959px) {
	.c-arrow-link { min-height: 88px; padding: 6px 60px 6px 19px; }
	.c-arrow-link__sub { font-size: 20px; line-height: 30px; }
	.c-arrow-link__title { font-size: 24px; line-height: 34px; }
	.c-arrow-link .c-circle-arrow { right: 1px; }
}

/* タップした時の反応（M11）：メニュー項目・フッターリンクなど */
.sp-menu__link:active, .sp-menu__btn:active, .c-tap:active, .c-menu-btn:active {
	transform: scale(.98);
	filter: brightness(.95);
}

/* =========================================================================
   フッター
   ========================================================================= */
.l-footer {
	background: var(--navy-footer);
	color: #fff;
}
.l-footer__inner {
	position: relative;
	display: grid;
	grid-template-columns: 1fr auto;
	max-width: 1280px;
	min-height: 320px;
	margin: 0 auto;
	padding: 47px 41px 0 57px;
}
.l-footer__logo {
	padding-top: 32px;
	font-weight: 700;
	font-size: 27px;
	line-height: 32px;
}
.l-footer__logo span { display: block; }
.l-footer__list {
	display: grid;
	grid-template-columns: repeat(3, 223px);
	gap: 10px 48px;
}
.l-footer__link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 31px;
	font-weight: 700;
	font-size: 16px;
}
.l-footer__arrow { width: 35px; height: 35px; transition: transform .3s var(--ease-out); }
.l-footer__link:hover .l-footer__arrow { transform: translateX(4px); }
.l-footer__copy {
	grid-column: 1 / -1;
	align-self: end;
	margin-top: 46px;
	padding: 41px 0 45px;
	border-top: 1px solid #fff;
	text-align: right;
	font-size: 14px;
	line-height: 1.4;
}
.l-footer__copy small { font-size: inherit; }

@media (max-width: 1199px) and (min-width: 960px) {
	.l-footer__list { grid-template-columns: repeat(3, 190px); gap: 10px 28px; }
}
@media (max-width: 959px) {
	.l-footer { background: var(--navy); }
	.l-footer__inner {
		display: block;
		max-width: 402px;
		min-height: 0;
		padding: 29px 20px 0;
	}
	.l-footer__logo {
		padding: 0;
		font-family: var(--ff-head);
		font-size: 26px;
		line-height: 40px;
	}
	.l-footer__logo span { display: inline; }
	.l-footer__list {
		grid-template-columns: repeat(2, 1fr);
		gap: 13px 16px;
		margin-top: 27px;
	}
	.l-footer__link {
		position: relative;
		height: 34px;
		border-bottom: .5px solid #fff;
		font-weight: 400;
		font-size: 16px;
		line-height: 30px;
		align-items: flex-start;
		transition: transform .15s ease-out, filter .15s ease-out;
	}
	.l-footer__link:active { transform: scale(.98); filter: brightness(.95); }
	.l-footer__arrow { width: 16px; height: 16px; margin-right: -3px; margin-top: 7px; }
	.l-footer__copy {
		margin: 0;
		padding: 25px 0 31px;
		border: 0;
		text-align: center;
		font-size: 12px;
		line-height: 30px;
	}
}

/* =========================================================================
   表示アニメーション共通
   ========================================================================= */
/* 下層ページタイトル（M07）：下18pxから0.8秒 */
.js-title-in { animation: title-up .8s var(--ease-out) both; }
@keyframes title-up {
	from { opacity: 0; transform: translateY(18px); }
	to { opacity: 1; transform: none; }
}

/* =========================================================================
   動きを減らす設定（M18）：すべての動きを止め完成状態で表示
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: .001ms !important;
		animation-delay: 0s !important;
		animation-iteration-count: 1 !important;
		transition-duration: .001ms !important;
		transition-delay: 0s !important;
		scroll-behavior: auto !important;
	}
}

/* SPメニューを開いている間は？・メールボタンを隠す（Figma：CLOSEのみ） */
body.is-menu-open .c-head-q, body.is-menu-open .c-head-mail { visibility: hidden; }
