/* ベースフォント（Tailwind の上書き） */
body {
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
		Roboto, "Helvetica Neue", Arial, "Noto Sans JP", sans-serif;
}

body.publicsite-body {
	margin: 0;
	color: #1f2937;
	background: #f8fafc;
}

body.publicsite-body .public_main_section,
body.publicsite-body .publicsite-main-inner,
body.publicsite-body .publicsite-content {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

body.publicsite-body .publicsite_screen_debug_icon {
	display: none !important;
}

body.publicsite-body a[class*="text-white"] {
	color: #fff !important;
}

body.publicsite-body .publicsite-content h1,
body.publicsite-body .publicsite-content h2,
body.publicsite-body .publicsite-content h3,
body.publicsite-body .publicsite-content h4,
body.publicsite-body .publicsite-content h5,
body.publicsite-body .publicsite-content h6 {
	width: auto;
	margin: 0;
	padding: 0;
	overflow: visible;
	line-height: 1.45;
}

body.publicsite-body .publicsite-content h1 {
	font-size: 1.5rem;
	line-height: 1.65;
}

@media (min-width: 768px) {
	body.publicsite-body .publicsite-content h1 {
		font-size: 1.875rem;
		line-height: 1.55;
	}
}

body.publicsite-body .publicsite-content a.inline-flex {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1.2;
}

body.publicsite-body .publicsite-content a.rounded-full {
	border-radius: 9999px;
	padding: 0.625rem 1.5rem;
}

.site-header {
	background: #fff;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.site-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	width: min(1152px, calc(100% - 32px));
	margin: 0 auto;
	padding: 12px 0;
}

.site-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
	color: #4b5563;
}

.site-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	flex: 0 0 48px;
}

.site-logo img {
	display: block;
	width: 48px;
	height: 48px;
	object-fit: contain;
}

.site-brand-text {
	display: block;
	font-size: 12px;
	line-height: 1.6;
	color: #4b5563;
}

.site-brand-kicker {
	color: var(--brand-blue);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.15em;
	text-transform: uppercase;
}

.site-brand-title {
	font-size: 16px;
	white-space: nowrap;
}

.site-pc-nav {
	display: flex;
	align-items: center;
	gap: 24px;
	font-size: 14px;
}

.site-menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	gap: 8px;
	float: none;
	margin: 0;
	padding: 6px 12px;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	background: #fff;
	color: #334155;
	font-size: 14px;
	line-height: 1.2;
}

.site-menu-label {
	font-size: 12px;
}

@media (max-width: 767px) {
	.site-header-inner {
		width: calc(100% - 32px);
	}

	.site-brand-text {
		display: none;
	}

	.site-pc-nav {
		display: none;
	}

	.site-menu-toggle {
		display: inline-flex;
	}
}

:root {
  --brand-blue: #1974D2;
}

.bg-brand-blue { background-color: var(--brand-blue); }
.text-brand-blue { color: var(--brand-blue); }
.border-brand-blue { border-color: var(--brand-blue); }

/* ナビリンク共通 */
.nav-link {
	position: relative;
	font-size: 0.9rem;
	color: #4b5563; /* gray-700 */
	padding-bottom: 0.1rem;
}
.nav-link::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -0.25rem;
	width: 0;
	height: 2px;
	background-color: var(--brand-blue); /* blue-700 */
	transition: width 0.4s ease;
}
.nav-link:hover {
}
.nav-link:hover::after {
	width: 100%;
}
.nav-link--active {
	color: var(--brand-blue);
	font-weight: 600;
}
.nav-link--active::after {
	width: 100%;
}

/* SP ナビ */
.mobile-nav {
	max-height: 0;
	overflow: hidden;
	border-top: 1px solid rgba(148, 163, 184, 0.4);
	background-color: #ffffff;
	transition: max-height 0.25s ease;
}
.mobile-nav--open {
	max-height: 260px; /* メニューの高さに合わせて調整 */
}
.mobile-nav-link {
	display: block;
	padding: 0.75rem 1.5rem;
	font-size: 0.9rem;
	color: #4b5563;
	border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}
.mobile-nav-link:hover {
	background-color: #f1f5f9;
	color: #111827;
}
.mobile-nav-link--active {
	font-weight: 600;
	color: #1d4ed8;
}

/* ハンバーガーアイコン */
.menu-icon {
	position: relative;
	display: inline-block;
	width: 14px;
	height: 11px;
}
.menu-icon span {
	position: absolute;
	left: 0;
	right: 0;
	height: 2px;
	background-color: #4b5563;
	border-radius: 9999px;
	transition: transform 0.18s ease, top 0.18s ease, opacity 0.18s ease;
}
.menu-icon span:first-child {
	top: 2px;
}
.menu-icon span:last-child {
	top: 8px;
}
.menu-icon--open span:first-child {
	top: 5px;
	transform: rotate(45deg);
}
.menu-icon--open span:last-child {
	top: 5px;
	transform: rotate(-45deg);
}

/* セクション共通タイトル */
.section-title {
	font-size: 1.25rem;
	font-weight: 700;
	text-align: center;
	color: #1e293b;
	position: relative;
	padding-bottom: 0.9rem;
}
.section-title::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translateX(-50%);
	width: 72px;
	height: 2px;
	border-radius: 9999px;
	background: linear-gradient(to right, var(--brand-blue), #60a5fa);
}

/* カード系コンポーネント */
.theory-card {
	background-color: #ffffff;
	border-radius: 0.75rem;
	padding: 1.5rem 1.6rem;
	box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
	border: 1px solid rgba(148, 163, 184, 0.3);
}
.theory-title {
	font-size: 1.1rem;
	font-weight: 700;
	color: #1d4ed8;
}

.element-card {
	background-color: #f8fafc;
	border-radius: 0.75rem;
	padding: 1.5rem 1.6rem;
	border: 1px solid rgba(148, 163, 184, 0.45);
}
.element-title {
	font-size: 1rem;
	font-weight: 700;
	color: #0f172a;
	margin-bottom: 0.4rem;
}
.element-text {
	font-size: 0.95rem;
	line-height: 1.9;
	color: #374151;
}

/* Hero 部分のちょっとした補正 */
.hero-image-wrapper {
	min-height: 220px;
}
@media (min-width: 768px) {
	.hero-image-wrapper {
		min-height: 260px;
	}
}

.achievement-card {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	padding: 1.5rem;
	border-radius: 0.75rem;
}

.achievement-title {
	font-size: 1.1rem;
	font-weight: 600;
	color: #1974D2;
}

.achievement-desc {
	margin-top: 0.25rem;
	color: #475569;
	font-size: 0.9rem;
}

.achievement-list {
	margin-top: 0.5rem;
	font-size: 0.85rem;
	color: #334155;
	line-height: 1.5;
}

/* ファイル入力の見た目調整 */
.dbw-form input[type="file"]{
  width: 100%;
  box-sizing: border-box;
  font-size: 0.9rem;
  border-radius: 4px;
  border: 1px solid #1974D2;
  padding: 6px 10px;
}

/* ボタン部分のデザイン（モダンブラウザ） */
.dbw-form input[type="file"]::file-selector-button{
  padding: 6px 12px;
  margin-right: 12px;
  border: none;
  border-radius: 9999px;
  background: #1974D2;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.dbw-form input[type="file"]::file-selector-button:hover{
  background: #1d4ed8;
}

/* Safari など旧ブラウザ用フォールバック */
.dbw-form input[type="file"]::-webkit-file-upload-button{
  padding: 6px 12px;
  margin-right: 12px;
  border: none;
  border-radius: 9999px;
  background: #1974D2;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.dbw-form input[type="file"]::-webkit-file-upload-button:hover{
  background: #1d4ed8;
}


/* tailwind風に見せる（Tailwind未導入でもOK） */
.privacy_area.tw-like{
  font-size: 13px;                 /* 元のstyleをここへ移動 */
  line-height: 1.75;
  color: #111827;                  /* gray-900相当 */
  background: #ffffff;
  border: 1px solid #e5e7eb;       /* gray-200相当 */
  border-radius: 12px;
  padding: 16px 18px;
  max-height: 70vh;                /* 画面高の70%まで */
  overflow-y: auto;                /* 縦スクロール */
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

/* 見出し・余白調整 */
.privacy_area.tw-like h4{
  margin: 18px 0 8px;
  font-size: 14px;
  font-weight: 700;
}

.privacy_area.tw-like p{
  margin: 10px 0;
}

