﻿/************************************************
* 共通定義
************************************************/
.wrapper {
	max-width: 1320px;
	margin: 0 auto;
	padding: 0 24px;
}

.ai_assist_debug h1 {
    font-size: clamp(34px, 5vw, 48px);
    font-weight: 700;
    line-height: 1.3;
	color: #20538F;
}

.ai_assist_debug h2 {
    font-size: clamp(24px, 2vw, 28px);
    font-weight: 700;
    line-height: 1.4;
	color: #20538F;
	margin: 0;
	padding: 0;
	border-bottom: none;
}

.ai_assist_debug h3 {
    font-size: clamp(18px, 2vw, 20px);
    font-weight: 700;
    line-height: 1.4;
	color: #1A1A1A;
}

.ai_assist_debug h4 {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
	color: #1A1A1A;
}

.ai_assist_debug {
    font-size: clamp(16px, 1vw + 12px, 18px);
    line-height: 1.8;
	color: #333333;
}

.ctex-color {
	color: #20538F;
}

/************************************************
* TOP
************************************************/
.ai-assist-top {
	background-position: center center;
	background-image: url('./picture/ai_assist_debug/top_image.webp');
	background-size: cover;
	background-repeat: no-repeat;
	width: 100%;
	min-height: 500px;
	margin-top: 0;
}

@media (max-width: 992px) {
	.ai-assist-top {
		background-image: linear-gradient(rgba(0, 0, 0, 0.3),rgba(0, 0, 0, 0.3)),
			url('./picture/ai_assist_debug/top_image2.webp');
		min-height: 400px;
	}
}

.ai-assist-top h1 {
	margin-top: 3rem;
	margin-bottom: 3rem;
    font-size: clamp(24px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.3;
    color: #FFF;
	text-shadow: 1px 1px 5px #20538F, -1px 1px 5px #20538F, 1px -1px 5px #20538F, -1px -1px 5px #20538F;
}

.sub-header p {
	font-size: clamp(16px, 2vw, 20px);
	max-width: 600px;
	color: #FFF;
    line-height: 1.2;
	text-shadow: 3px 3px 5px #20538F, -3px 3px 5px #20538F, 3px -3px 5px #20538F, -3px -3px 5px #20538F;
}

@media (max-width: 992px) {
	.sub-header p {
		font-weight: bold;
		max-width: 400px;
	}
}

/************************************************
* 組込み開発でのAI活用の壁
************************************************/
.ai-assist-problem {
	margin-bottom: 3rem;
}

.problem-header {
	text-align: center;
	margin-bottom: 3rem;
}

.problem-header h2 {
	margin-bottom: 1rem;
}

.problem-card {
	text-align: center;
	margin-top: 1rem;
	padding: 5rem 3rem 1rem 3rem;
	border: 2px #20538F solid;
	border-radius: 15px;
	width: 100%;
}

.problem-card img {
	height: 90px;
}

.problem-card h3 {
	margin-top: 2rem;
}

/* AIが実機をデバッグできれば、組込み開発はもっと変わる。 */
.problem-result {
	margin-top: 3rem;
	text-align: center;
	color: #20538F;
}

.problem-result i {
	font-size: 100px;	
}

.problem-result p {
    font-size: clamp(24px, 2vw, 28px);
    font-weight: 700;
}

/************************************************
* AIとデバッガの接続を可能にするMCP
************************************************/
.ai-assist-mcp {
	background-color: #DCEAF7;
	padding-top: 3rem;
	padding-bottom: 3rem;
}

.mcp-header {
	padding-top: 2rem;
	margin-bottom: 3rem;
}

.mcp-header h2 {
	margin-bottom: 2rem;
}

.mcp-header p {
	display: block;
	margin: 0 auto;
	width: 80%;
}

.ai-assist-mcp img {
	display: block;
	margin: 0 auto;
	width: 80%;
}

@media (max-width: 767px) {
	.mcp-header p {
		width: 100%;
	}
	.ai-assist-mcp img {
		width: 100%;
	}
}

/************************************************
* AIによる実機デバッグの実例
************************************************/
.ai-assist-exsample {
	margin-top: 0;
	background-color: #FFF;
}

.exsample-header {
	padding-top: 5rem;
}

.exsample-header h2,
.exsample-header p {
	margin-bottom: 2rem;
}

/* 実例０ｘのヘッダー */
.exsample-sub-header {
	max-width: 900px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 16px;
	padding-top: 5rem;
}

.head-box {
	display: flex;
	border: 6px #20538F solid;
	border-radius: 15px;
	font-size: clamp(20px, 2vw, 26px);
	font-weight: bold;
	line-height: 1.2;
	color: #20538F;

	flex-direction: column;
	align-items: center;
	justify-content: center;
	
	flex-shrink: 0;
	width: 80px;
	height: 80px;
	box-sizing: border-box;
}

.exsample-text {
	flex: 1;
	min-width: 0;
}

.exsample-text span {
	font-size: 18px;
	font-weight: bold;
	margin: 0;
}

.exsample-text h3 {
	font-size: clamp(20px, 2vw, 24px);
	font-weight: 700;
	color: #20538F;
	line-height: 1.0;
}

.exsample-text p {
	margin: 0;
}

/* サンプルのブロック */
.example-block {
	max-width: 900px;
	margin: 0 auto 2rem auto;
	padding: 2rem;
	border: 2px #B0B0B0 solid;
	border-radius: 15px;
}

.exsample-unit {
	margin-bottom: 1rem;
}

.exsample-bar {
	border-left: 6px #20538F solid;
}

.exsample-bar span {
	margin-left: 7px;
	font-size: 12px;
	color: #20538F;
	font-weight: 700;
}

.exsample-bar h4 {
	margin-left: 7px;
	padding-bottom: 7px;
	font-size: clamp(14px, 1vw, 16px);
}

.prompt-color {
	background-color: #DCEAF7 !important;
}

.example-description {
	background-color: #E0E0E0;
	border-radius: 15px;
	font-size: clamp(14px, 1vw, 16px);
	font-weight: 700;
	padding: 1rem 2rem;
	margin-left: 10rem;
	margin-right: 10rem;
}

@media (max-width: 767px) {
	.example-description {
		margin-left: 5px;
		margin-right: 5px;
	}
}

.example-description p {
	margin: 0;
}

.description-table {
	width: 100%;
}

.description-table td:nth-child(1) {
	width: 30%;
}

.description-table td {
	border-bottom: 1px solid #BBB;
}

/* 結論枠　*/
.example-result {
	margin-top: 4rem;
	display: flex;
	gap: 6px;
	align-items: flex-start;
}

.example-result i {
	margin-top: 8px;
	color: #28A745;
}

/* プログラム概要 */
.exsample-overview {
	background-color: #DCEAF7;
	margin: 3rem auto;
	padding: 3rem;
	border-radius: 15px;
}

.exsample-overview p{
	margin-bottom: 2rem;
}

.exsample-overview img {
	width: 80%;
	display: block;
	margin: 0 auto;
}

@media (max-width: 767px) {
	.exsample-overview img {
		width: 100%;
	}	
}
 
.exsample-overview h4 {
	font-size: clamp(20px, 2vw, 24px);
	margin-bottom: 2rem;
}

.exsample-overview p {
	margin-top: 2rem;
}

/************************************************
* Q&A
************************************************/
.faq-section {
	max-width: 850px;
	margin: 0 auto;
}

.faq-section h2 {
	margin-bottom: 3rem;
}

.faq-list {
	border-top: 2px solid #20538f;
}

.faq-item {
	border-bottom: 1px solid #ddd;
}

.faq-item summary {
	position: relative;
	padding: 20px 45px 20px 55px;
	cursor: pointer;
	font-weight: 600;
	list-style: none;
}

.faq-item summary::-webkit-details-marker {
	display: none;
}

/* 左側のQマーク */
.faq-item summary::before {
	content: "Q";
	position: absolute;
	left: 15px;
	top: 17px;
	color: #20538f;
	font-size: 22px;
	font-weight: bold;
}

/* 右側の開閉マーク */
.faq-item summary::after {
	content: "+";
	position: absolute;
	right: 15px;
	top: 17px;
	color: #20538f;
	font-size: 24px;
	font-weight: normal;
}

.faq-item[open] summary::after {
	content: "−";
}

.faq-answer {
	padding: 0 45px 22px 55px;
	color: #444;
	line-height: 1.8;
}

.faq-item summary:hover {
	background: #f5f9fc;
}

/************************************************
* お問い合わせ
************************************************/
.soudan {
	max-width: 900px;
	margin: 5rem auto;
	padding: 2rem;
	background-color: #DCEAF7;
	border-radius: 15px;
}

.soudan-header {
	text-align: center;
	margin-bottom: 2rem;
}

.soudan-header h2 {
	margin-bottom: 1rem;
}

/************************************************
* ボタン
************************************************/
.link_bt {
    text-align: center;
}

.link_bt a {
    display: block;
    padding: 1rem 2rem;
    font-size: clamp(1.8rem, 5vw, 2.4rem);
    background: #FFA654;	/* オレンジ */
    color: #FFFFFF;
    width: 100%;
    max-width: 40rem;
    margin: 1rem auto;
    border-radius: 8px;
    text-decoration: none;
    transition: transform .2s;
}

.link_bt a:hover {
    transform: translateY(-2px);
}

.link_bt a i {
    transition: transform .2s;
}

.link_bt a:hover i {
    transform: translateX(4px);
}

/* ボタンスタイル2 */
.bt_type2 a {
    background: #FFFFFF;
    color: #002CA3;
    border: 4px #002CA3 solid;
}

/* ボタンスタイル3 */
.bt_type3 a {
    background: #005BAC;
    color: #FFFFFF;
}
