/* ==========================================================================
	1. 基本設定（Reset & Base）
   ========================================================================== */
*{
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}
html{scroll-behavior:smooth;}
body{
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans JP", sans-serif;
	background-color: #f8fafc;
	color: #0f172a;
	line-height: 1.6;
}
header{
	display:flex;
	line-height:1.3;
	padding:10px;
	border-bottom:2px solid #e2e8f0;
	& div{
		&:first-child{flex:0 1 auto;padding-right:3px}
		&:last-child{flex:1 1 auto;font-weight:bold;text-align:right;}
	}
	& a{
		text-decoration:none;
		&:any-link{color:#06C;}
		&.login{display:block;font-weight:normal}
	}
	& .mob-tel{display:none;}
}

section{padding: 70px 24px;border-bottom:1px solid #e2e8f0;}
section:not(.site-map-section) {background: linear-gradient(180deg, #f1f5f9 0%, #f8fafc 100%);}

.agree-ref{
	color:#06c;
	&:any-link{text-decoration:none}
	&:hover{text-decoration:underline}
}

/* ==========================================================================
	2. ヒーローセクション（ファーストビュー）
   ========================================================================== */
.hero {
	padding-top:40px;
	background:radial-gradient(circle at 80% 20%, rgba(66, 111, 191, 0.08) 0%, transparent 60%), linear-gradient(180deg, #edf2f7 0%, #f8fafc 100%);
	border-bottom:1px solid #e2e8f0;
}

.hero-container {
	max-width:1200px;
	margin:0 auto;
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:60px;
}

.hero-content {
	flex: 1.2;
}

.hero-visual {
	flex: 0.8;
	display: flex;
	justify-content: center;
	position: relative;
}

.badge {
	display: inline-block;
	background-color: rgba(66, 111, 191, 0.1);
	color: #426fbf;
	border: 1px solid rgba(66, 111, 191, 0.3);
	padding: 6px 14px;
	border-radius: 4px;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.05em;
	margin-bottom: 24px;
}

.hero-title {
	font-size: 42px;
	font-weight: 800;
	line-height: 1.35;
	letter-spacing: -0.02em;
	margin-bottom: 24px;
	color: #0f172a;
}

.text-gradient {
	background: linear-gradient(90deg, #426fbf, #2b4c8c);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.hero-description {
	font-size: 16px;
	color: #475569;
	margin-bottom: 40px;
}

.cta-group {
	display: flex;
	gap: 16px;
	margin-bottom: 16px;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 18px 36px;
	font-size: 16px;
	font-weight: 700;
	border-radius: 6px;
	text-decoration: none;
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
	white-space: nowrap;
}

.btn-primary {
	background-color: #426fbf;
	color: #ffffff;
	box-shadow: 0 4px 20px rgba(66, 111, 191, 0.2);
}

.btn-primary:hover {
	background-color: #3359a1;
	transform: translateY(-2px);
	box-shadow: 0 6px 24px rgba(66, 111, 191, 0.35);
}

.btn-secondary {
	background-color: #ffffff;
	color: #334155;
	border: 1px solid #cbd5e1;
}

.btn-secondary:hover {
	background-color: #f1f5f9;
	border-color: #426fbf;
	color: #426fbf;
	transform: translateY(-2px);
}

.micro-copy {
	font-size: 13px;
	color: #64748b;
}

/* ==========================================================================
	3. パッケージビジュアル設定 (SVG float & glow)
   ========================================================================== */
.package-wrapper {
	position: relative;
	width: 100%;
	max-width: 400px;
}

.glow-effect-light {
	position: absolute;
	top: 45%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 280px;
	height: 280px;
	background-color: rgba(66, 111, 191, 0.12);
	border-radius: 50%;
	filter: blur(50px);
	z-index: 1;
}

.svg-package-box {
	position: relative;
	z-index: 2;
	width: 50% !important;
	height: auto;
	pointer-events: none; /* SVG内部の要素をクリック不可にする */
	animation: svgFloat 4s ease-in-out infinite;
}

@keyframes svgFloat {
	0%	 {transform:translateY(0px);}
	50%	 {transform:translateY(-12px);}
	100% {transform:translateY(0px);}
}

/* ==========================================================================
	4. 各種レイアウトコンテナ & ヘッダー
   ========================================================================== */
.container { max-width: 1200px; margin: 0 auto; }
.container-small { max-width: 680px; margin: 0 auto; }

.section-header { text-align: center; margin-bottom: 40px; }
.section-subtitle { font-size: 13px; font-weight: 700; color: #426fbf; letter-spacing: 0.1em; display: block; margin-bottom: 12px; }
.section-title { font-size: 32px; font-weight: 800; color: #0f172a; margin-bottom: 16px; }
.section-description { font-size: 16px; color: #64748b; max-width: 600px; margin: 0 auto; }

/* ==========================================================================
	5. 「選ばれる3つの理由」セクション
   ========================================================================== */
.features-section {}
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

.feature-card {
	background-color:#ffffff;
	border:1px solid #e2e8f0;
	border-radius:8px;
	padding:40px 30px;
	transition:all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

	&:hover {
		transform:translateY(-5px);
		border-color:#426fbf;
		box-shadow:0 20px 40px rgba(66, 111, 191, 0.08);
	}
}


.card-icon-wrapper{
	width: 48px;
	height: 48px;
	background-color: rgba(66, 111, 191, 0.08);
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 24px;
	border: 1px solid rgba(66, 111, 191, 0.2);
}

.card-title { font-size: 19px; font-weight: 700; color: #0f172a; margin-bottom: 16px; }
.card-text { font-size: 14px; color: #475569; line-height: 1.7; }

/* ピュアCSS簡易アイコン */
.custom-icon { position: relative; border: 2px solid #426fbf; }
.icon-speed {
	width: 2px;
	height: 16px;
	transform:
	rotate(30deg);
	background-color: #426fbf;
	&::before { content: ''; position: absolute; top: 2px; left: -4px; width: 8px; height: 2px; background-color: #426fbf; }
}
.icon-layout {
	width: 16px; height: 14px;
	&::before { content: ''; position: absolute; top: 4px; left: 2px; width: 8px; height: 2px; background-color: #426fbf; }
}
.icon-ocr{
	width: 12px; height: 12px; border-radius: 50%;
	&::after{
		content:'';
		position:absolute;
		bottom:-4px;
		right:-4px;
		width:2px; height:6px;
		background-color:#426fbf;
		transform: rotate(-45deg);
	}
}

/* ==========================================================================
	 「サンプルコード」セクション
   ========================================================================== */
.code-section {}
.code-window {
  width: 100%;
  max-width: 100%;
  background-color: #030712; /* さらに深い漆黒 */
  border: 1px solid #1f2937;
  border-radius: 10px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 40px rgba(66, 111, 191, 0.1);
  overflow: hidden;
}
.code-delection{
	margin-left:15px;
	& button{
		padding:5px 10px;
		background-color:#f1f5f9;
		border:1px solid 111827;
		border-bottom-style:none;
		border-radius:0;
		font-weight:bold;
		cursor:pointer;
		&[disabled]{
			background-color:#111827;
			cursor:default;
			color:white;
		}
	}
}
.window-header {
  background-color: #111827;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #1f2937;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 6px;
}
.red { background-color: #ef4444; }
.yellow { background-color: #eab308; }
.green { background-color: #22c55e; }

.window-title {
  font-size: 12px;
  color: #64748b;
  margin-left: 10px;
  font-family: monospace;
}

/* 簡易シンタックスハイライト（ピュアCSS） */
.comment { color: #008000; font-style: italic; }
.valName {color:#1F377E;}
.typeName{color:#2A8CAA;}
.defName{color:#8A1BFF;}
.strVal {color: #A21515;}
.funcName { color:#6B4D1D;}
.clsName {color:#2B91AF;}
.mthdName {color:#74531F;}

/* ==========================================================================
	6. 「料金・ライセンス表」セクション
   ========================================================================== */
.pricing-section {}
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; align-items: stretch; margin-top: 50px; }

.price-card { background-color: #ffffff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 40px 30px; display: flex; flex-direction: column; position: relative; transition: all 0.3s ease; }
.price-card.featured { border: 2px solid #426fbf; background-color: #fcfdfe; transform: scale(1.03); box-shadow: 0 20px 40px rgba(66, 111, 191, 0.1); }
.featured-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background-color: #426fbf; color: #ffffff; font-size: 11px; font-weight: 800; padding: 4px 16px; border-radius: 20px; letter-spacing: 0.05em; }

.price-header { margin-bottom: 30px; border-bottom: 1px solid #e2e8f0; padding-bottom: 24px; }
.plan-name{
	font-size:20px;font-weight:700;color:#0f172a;margin-bottom:8px;
	& a{
		color:#000;transform:scale(1,2);
		&:any-link{text-decoration:none;}
		&:hover{color:#06C;transform:scale(1,1.1);}
	}
}
.plan-desc { font-size: 13px; color: #64748b; margin-bottom: 20px; }
.price-display { font-size: 34px; font-weight: 800; color: #0f172a; }
.currency { font-size: 20px; font-weight: 600; margin-right: 4px; }
.period { font-size: 14px; color: #64748b; font-weight: 400; }
.price-display-ask { font-size: 28px; font-weight: 800; color: #0f172a; padding: 5px 0; }

.plan-features{
	list-style: none; margin-bottom: 40px; flex-grow: 1;
	& li{
		font-size: 14px; color: #475569; margin-bottom: 12px; position: relative; padding-left: 20px;
		&::before{
			content: "✓"; position: absolute; left: 0; color: #426fbf; font-weight: bold;
		}
		&.disabled{
			color: #cbd5e1;
			text-decoration: line-through;
			&::before { content: "✕"; color: #cbd5e1; }
		}
	}
	& strong { color: #0f172a; }
}

.btn-price{
	display:block;
	text-align:center;
	padding:14px 24px;
	font-size:15px;
	font-weight:700;
	border-radius:6px;
	text-decoration:none;
	transition:all 0.2s ease;
}
.btn-outline{
	border:1px solid #cbd5e1; color: #475569;
	&:hover{border-color: #426fbf; color: #426fbf; background-color: rgba(66, 111, 191, 0.03);}
}
.btn-filled{
	background-color:#426fbf;color:#ffffff;
	&:hover{background-color:#3359a1;transform:translateY(-1px);box-shadow:0 4px 12px rgba(66, 111, 191, 0.25);}
}

/* ==========================================================================
	7. 「問い合わせ・見積もりフォーム」セクション
   ========================================================================== */
.contact-section {}
.styled-form { background-color: #ffffff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 40px; box-shadow: 0 20px 40px rgba(15, 23, 42, 0.04); }
.form-group{
  margin-bottom: 28px;
  &:has(input[type="radio"]){margin-bottom: 18px;}
  & label{
	display: block; font-size: 14px; font-weight: 700; color: #0f172a; margin-bottom: 8px;
	&:has(+ div.radio-group){margin-bottom:0;}
  }
}
.required { background-color: rgba(239, 68, 68, 0.1); color: #ef4444; font-size: 11px; padding: 2px 6px; border-radius: 4px; margin-left: 8px; font-weight: 500; }
.form-help { font-size: 12px; color: #64748b; margin-bottom: 12px; }

.styled-form{
  & input[type="text"], & input[type="email"], & textarea{
	width:100%;
	background-color:#f8fafc;
	border:1px solid #cbd5e1;
	border-radius:6px;
	padding:14px 16px;color:#0f172a;font-size:15px;transition:all 0.2s ease;
  }
  & input[type="text"]:focus, & input[type="email"]:focus, & textarea:focus{
	outline: none; border-color: #426fbf; box-shadow: 0 0 0 3px rgba(66, 111, 191, 0.15);
  }
}

/* カスタムラジオボタン */
.btn-submit{
	width: 100%; background-color: #426fbf; color: #ffffff; border: none; padding: 18px 24px; font-size: 16px; font-weight: 700; border-radius: 6px; cursor: pointer; box-shadow: 0 4px 14px rgba(66, 111, 191, 0.15); transition: all 0.2s ease;

	&:hover{
		background-color: #3359a1; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(66, 111, 191, 0.3);
	}
}

.radio-group{
	display:flex;
	gap:20px;
	& label{
		& input{
			margin:0 .3em 0 1em;
		}
	}
}
.radio-label{
	display:flex !important;
	align-items:center;
	font-weight:400 !important;
	color:#475569 !important;
	cursor:pointer;
}
.qty-group{
	display:flex;
	gap:30px;
	margin-left:1em;
	& label{
		display:flex;
		align-items:center;
		gap:.2em;
	}
	& input[type="number"]{
		padding:7px 0 7px 15px;
		width:5em;
		background-color:#f8fafc;
		border:1px solid #cbd5e1;
		border-radius:6px;
		text-align:center;
	}
}

/* ==========================================================================
	Site Map
   ========================================================================== */
#site-map{
	display:flex;
	flex-wrap:wrap;
	justify-content:center;
	gap:3em;
	line-height:2;
	color:#0f172a;
	font-size:12px;
	& > div{
		text-align:center;
		& h3{text-decoration:underline;}
		& a{color:#0f172a;text-decoration:none;}
	}
}

/* ==========================================================================
	フッタ
   ========================================================================== */
footer{
	margin:1px;
	padding:2px;
	border:2px none gray;
	border-style:solid none none;
	font-size:80%;
	text-align:center;
}

/* ==========================================================================
	8. レスポンシブ対応
   ========================================================================== */
@media (max-width: 968px) {
.logo{width:300px;}
.tel{display:none;}
header{
	& div{font-size:80%}
	& a.login{padding-bottom:0;}
	& .mob-tel{display:inline;}
}
.hero-container { flex-direction: column; text-align: center; gap: 40px; }
.cta-group { flex-direction: column; width: 100%; }
.btn { width: 100%; }
.hero-title { font-size: 32px; }
.features-grid, .pricing-grid { grid-template-columns: 1fr; gap: 40px; }
.price-card.featured { transform: none; }
.styled-form { padding: 24px 16px; }
.svg-package-box{width:auto !important;}
}
