@charset "utf-8";
/* 画像がコンテナを超えないようにするため */

#ProductInfo
    box-sizing: border-box;
}
#ProductInfo img {
    max-width: 100%;
}

/* テーブルのセル間のスペースを削除します */
#ProductInfo table{
    border-collapse: collapse;
}

#ProductInfo img,a img{
	border:none;
	background:transparent;
	vertical-align:bottom;
}

/*----------------------------------------------------*/

#ProductInfo .txt-center {
	text-align:center;
}

#ProductInfo .txt-right {
	text-align:right;
}

#ProductInfo .txt-left {
	text-align:left;
}

#ProductInfo .font-bold {
	font-weight:bold;
}

#ProductInfo .font-normal {
	font-weight:normal;
}

#ProductInfo main {
	width:800px;
}

#ProductInfo .pinfo {
	margin:20px 0;
	padding:30px 10px;
	background:#fafafa;
	border-radius:5px;
}

#ProductInfo .pname {
	font-family: 'Noto Sans JP', sans-serif;
	font-size:2.3em !important;
	font-weight:bold;
}

#ProductInfo section {
	margin-bottom:100px;
}


#ProductInfo h1 {
	margin:0 0 30px!important;
	padding:10px!important;
	line-height:120%;
	font-size:28px!important;
	font-weight:bold!important;
	border-bottom:2px solid #222;
}


#ProductInfo h2 {
	border-bottom:2px dashed #333!important;
	margin:0 0 30px!important;
	padding: 50px 0 5px 10px!important;
	font-size:25px!important;
	font-weight:bold!important;
	color:#222;
}

#ProductInfo h3 {
	margin:10px 0 30px 10px!important;
	padding: 0 0 0 10px!important;
	border-left:10px solid #f67d28!important;
	font-size:22px!important;
	color:#333;
	font-weight:bold!important;
}


#ProductInfo p {
	margin:20px 10px;
	line-height:150%;
	font-size:15px!important;
}


#ProductInfo .imgbox {
	text-align:center;
	margin:50px auto;
}

#ProductInfo .prompt-box { 
        border: 1px solid #ccc; padding: 20px; margin: 20px 0; background-color: #f9f9f9; border-radius: 5px; 
} 



/* flex */

#ProductInfo .flx {
	display:flex;
	flex-wrap: wrap;
	justify-content: center;
	margin:20px 0;
}

#ProductInfo .press-flx {
	display:flex;
	justify-content: center;
}

#ProductInfo .press-flx-lft {
	width:50%;
	margin:20px;
}




/* mp4 */

#ProductInfo .video {
	text-align:center;
	margin-bottom:50px;
}

#ProductInfo .video video {
	width:750px;
}


@media (max-width: 576px) {
	.video video {
		width:100%;
	}
}



/* ラベルアイコン */

.r-icon {
	background: #df002c;
	padding: 1px 5px;
	margin-left: 5px;
	vertical-align: middle;
	font-size: 0.8em;
	font-weight: bold;
	color: #fff;
	border-radius: 3px;
}

.y-icon {
	background: #f39801;
	padding: 1px 5px;
	margin-left: 5px;
	vertical-align: middle;
	font-size: 0.8em;
	font-weight: bold;
	color: #fff;
	border-radius: 3px;
}

.g-icon {
	background: #666;
	padding: 1px 5px;
	margin-left: 5px;
	vertical-align: middle;
	font-size: 0.8em;
	font-weight: bold;
	color: #fff;
	border-radius: 3px;
}

.b-icon {
	background: #48bbf2;
	padding: 1px 5px;
	margin-left: 5px;
	vertical-align: middle;
	font-size: 0.8em;
	font-weight: bold;
	color: #fff;
	border-radius: 3px;
}



/* 表 */


#ProductInfo .tbl {
	width:90%;
	margin: 0 auto;
	padding:5px;
	border:1px solid #404040;
	background:#fff;
	font-size:0.9em;
}

#ProductInfo .tbl th {
	background:#f67d28;
	border:1px solid #404040;
	padding:5px;
	font-weight:bold;
	text-align:center;
	color:#fff;
}

#ProductInfo .tbl td {
	border:1px solid #404040;
	padding:5px;
}

#ProductInfo .tbl td ul {
	margin:10px;
}

#ProductInfo .tbl td li {
	list-style:square;
	list-style-position: inside;

}

@media (max-width: 576px) {
#ProductInfo .tbl {
		width:100%;
		margin:0 5px;
	}

}




#ProductInfo .env2 {
	width:80%;
	margin: 0 auto;
	padding:5px;
	font-size:0.9em;
}

#ProductInfo .env2 td {
	padding:5px;
	border-bottom:1px solid #ccc;
}

@media (max-width: 576px) {
#ProductInfo .env2 {
		width:90%;
	}
}

#ProductInfo .tri {
	margin: 0 auto;
	border:1px solid #404040;
	padding:5px;
	width:80%;
}

#ProductInfo .tri td {
	border:1px solid #404040;
	padding:10px;
	text-align:center;
}



/* 購入 */

#ProductInfo .buytable {
	width:98%;
	margin: 0 auto;
	border:1px solid #404040;
}

#ProductInfo .buytable td {
  border: 1px solid #ccc;
  padding: 20px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}


#ProductInfo .buytable p{
	margin-bottom:10px;
}

#ProductInfo .buytable.download td {
  border-left: 5px solid #48bbf2;
}
#ProductInfo .buytable.license td {
  border-left: 5px solid #f39801;
}


#ProductInfo .buy-img {
	text-align:center;
	width:40%;
}

#ProductInfo .buy-name {
	font-weight:bold;
	font-size:2rem;
}

#ProductInfo .price {
  font-size: 1.6rem;
  color: #f67d28;
  font-weight: bold;
}


#ProductInfo .credit-list {
  margin: 10px 0;
}
#ProductInfo .credit-list .label {
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
}
#ProductInfo .credit-list ul {
  margin: 0 0 10px 20px;
  padding-left: 1em;
}

#ProductInfo .product-block {
  margin-top: 20px;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #f9f9f9;
}

/* 最初の product-block も強制的に余白を持たせる */
#ProductInfo .buytable .product-block:first-child {
  margin-top: 20px;
}





/* 法人向けライセンス */
.companypoint li {
	margin:0 0 10px 0;
	list-style-type: square;
}

.companyprodinfo {
	margin:20px 30px;
}

.companyprodinfo dt {
	font-weight:bold;
	margin:20px 0;
}

.companyprice {
	width:100%;
	margin: 0 auto;
	border:1px solid #fff;
	padding:5px;
	font-size:0.9em;
}

.companyprice th {
	border:1px solid #fff;
	padding:5px;
	background:#404040;
	color: #fff;
	font-weight: bold;
}

.companyprice td {
	border:1px solid #999;
	padding:5px;
}

.companyprice td{
	text-align: center;
}

.companyprice td:nth-child(4){
	text-align: left;
}


.kind01 {
	background: #e2fbdb;
}

.kind02 {
	background: #f6f0ff;
}

.kind03 {
	background:#e8ffff;
}
.companydocdl {
	display: flex;
	width:600px;
	margin:20px auto;
}

.companydocdl div {
	margin:10px 30px;
	text-align: center;
	font-size:1.3rem;
}



/* 製品をお選びください -------------- */
.catlist {
	background:#ececec;
	padding:10px;
}

.catlist ul {
	column-count: 3;
	font-size: 1.4rem;
}

.catlist ul li {
	list-style: none;
	margin-bottom:0.5rem;
}

.catlist ul li a {
	color:#000;
	text-decoration: none;
}
.catlist ul li:before {
	font-family: "Font Awesome 5 Free";
	content: '\f0da';
	font-weight: 900;
	color:#000;
	margin-right:5px;
}

.flimg {
	float:left;
	margin:0 20px 20px;
}

.clear {
	clear:both;
	margin-top:50px;
}


@media (max-width: 576px) {
	.catlist ul {
		margin-left:-30px;
	}

	.flimg {
		float:none;
	}

	.companydocdl {
		display: block;
		width:100%;
	}

	.companydocdl div {
		margin:20px 0;
	}

}




/* 楕円 */
.btn-oval {
	position: relative;
	width:300px;
	height:50px;
	margin:5px auto 20px;
	background: #eee;
	border-radius:50px;
	box-shadow: 0 2px 4px rgba(0,0,0,0.3);
	text-align:center;
}

.btn-oval a {
	position: absolute;
	padding:13px;
	top: 0;
	left: 0;
	height:100%;
	width: 100%;
	color:#555;
	font-weight:bold;
	text-decoration:none;
}

.btn-oval a:hover {
	color:#000;
	border-radius:50px;
	background:#f8f4e6;
	text-decoration:none;
}

.responsive {
width: 100%;
aspect-ratio: 16/9;
}

.responsive {
width: 100%;
aspect-ratio: 16/9;
}

.responsive iframe {
width: 100%;
height: 100%;
}


/* ↓-- GitMind Chatで追加 --↓ */
.more-news {
  display: none;
}

/* アシスタントカード一覧（グリッド） */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 30px 10px;
}

/* 各カードのスタイル */
.assistant-card {
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 20px;
  background-color: #f9f9f9;
  text-align: center;
  transition: box-shadow 0.3s ease;
}

/* ホバー時の影効果 */
.assistant-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* カード内アイコン画像 */
.assistant-card img.assistant-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 15px;
  border-radius: 50%;         /* ← これが円形にする指定 */
  object-fit: cover;          /* はみ出し防止・きれいに中央寄せ */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);  /* 任意：ほんのり立体感 */
}


/* カードの見出し */
.assistant-card h4 {
  margin: 10px 0 10px;
  font-size: 1.8rem;
  font-weight: bold;
  color: #333;
}

/* カード内テキスト */
.assistant-card p {
  font-size: 1.5rem;
  line-height: 1.6;
  margin: 0;
  padding: 0 5px;
}

/* スマホ対応 */
@media (max-width: 576px) {
  .card-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .assistant-card {
    padding: 15px;
  }

  .assistant-card h4 {
    font-size: 1.6rem;
  }

  .assistant-card p {
    font-size: 1.4rem;
  }
}

.plugin-accordion {
  margin: 30px 10px;
}

.plugin-accordion details {
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-bottom: 15px;
  padding: 10px 15px;
  background-color: #fdfdfd;
}

.plugin-accordion summary {
  font-weight: bold;
  font-size: 1.6rem;
  cursor: pointer;
  display: block;
  position: relative;
  padding-bottom: 5px;
}

.plugin-accordion summary:hover {
  color: #f67d28;
}

.plugin-accordion .plugin-summary-text {
  display: block;
  font-size: 1.4rem;
  font-weight: normal;
  color: #666;
  margin-top: 5px;
}

.plugin-accordion p {
  margin-top: 10px;
  font-size: 1.5rem;
  line-height: 1.6;
}

.close-details-btn {
  display: block;
  margin: 20px auto 10px;
  padding: 8px 20px;
  font-size: 1.4rem;
  background-color: #f67d28;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.close-details-btn:hover {
  background-color: #e95c00;
}

/* FAQ活用例テーブル専用スタイル */
.usecase-table {
  width: 100%;
  margin: 30px auto;
  overflow-x: auto;
}

.usecase-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.5rem;
  border: 1px solid #ccc;
}

.usecase-table th, .usecase-table td {
  border: 1px solid #ccc;
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
  line-height: 1.6;
}

.usecase-table th {
  background-color: #f67d28;
  color: white;
  text-align: center;
  white-space: nowrap;
}

.usecase-table td:first-child {
  font-weight: bold;
  background-color: #fafafa;
}

@media (max-width: 576px) {
  .usecase-table table {
    font-size: 1.3rem;
  }

  .usecase-table th, .usecase-table td {
    padding: 10px;
  }
}

/* 画像生成スタイル選択カード */
.style-card {
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 20px;
  background-color: #f9f9f9;
  text-align: center;
  transition: box-shadow 0.3s ease;
}

.style-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.style-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 15px;
  border-radius: 50%;
  object-fit: cover;
}

/* スタイル選択グリッド */
.style-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 20px 10px;
  justify-content: center;
}

.style-item {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  cursor: pointer;
  border: 3px solid transparent;
  transition: border-color 0.3s ease;
}

.style-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 16px;
}

.style-item span {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 1.4rem;
  text-align: center;
  padding: 6px 0;
  box-sizing: border-box;
}

.style-item .checkmark {
  display: none;
  position: absolute;
  top: 6px;
  right: 6px;
  background: #f67d28;
  color: #fff;
  font-size: 1.2rem;
  padding: 2px 6px;
  border-radius: 50%;
}

.style-item.selected {
  border: 3px solid #f67d28;
}

.style-item.selected .checkmark {
  display: block;
}

.style-description {
  margin-top: 30px;
  padding: 20px;
  background: #f9f9f9;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 1.5rem;
  line-height: 1.6;
  max-height: 350px; /* 高さ制限を追加 */
  overflow-y: auto;  /* 必要に応じてスクロール */
  display: flex;
  flex-direction: column;
  align-items: center;
}

#styleSample {
  max-width: 100%;
  max-height: 220px;
  object-fit: contain;
  border-radius: 10px;
  margin-bottom: 15px;
}

#styleText {
  text-align: left;
  width: 100%;
}

/* スマホ用スタイルモーダル */
.style-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
}

.style-modal-content {
  background: white;
  margin: 20% auto;
  padding: 20px;
  width: 80%;
  max-width: 320px;
  border-radius: 10px;
  text-align: center;
  position: relative;
}

.style-modal-close {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 1.8rem;
  font-weight: bold;
  cursor: pointer;
}


.tooltip {
  position: relative;
  display: inline-block;
  text-align: center;
  margin: 20px;
}

.tooltip img {
  width: 200px;
  height: auto;
}

.tooltip p {
  margin-top: 10px;
  font-size: 1.4rem;
  line-height: 1.4;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 220px;
  background-color: #333;
  color: #fff;
  text-align: left;
  padding: 10px;
  border-radius: 6px;
  position: absolute;
  z-index: 10;
  bottom: 105%; 
  left: 50%;
  transform: translateX(-50%) translateY(10px); 
  font-size: 1.3rem;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -6px;
  border-width: 6px;
  border-style: solid;
  border-color: #333 transparent transparent transparent;
}


/* @media (max-width: 768px) {
  .tooltip .tooltiptext {
    display: none;
  }
}
*/

.icon-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 30px 0;
}

.tooltip {
  position: relative;
  display: inline-block;
  text-align: center;
  margin: 10px;
  cursor: pointer;
  flex: 0 0 auto;
  max-width: 32%; 
}


.tooltip img {
  width: 200px;
  height: auto;
  transition: transform 0.2s ease;
}
.tooltip img:hover {
  transform: scale(1.05);
}

.tooltip p {
  margin-top: 10px;
  font-size: 1.4rem;
  line-height: 1.4;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 220px;
  background-color: #333;
  color: #fff;
  text-align: left;
  padding: 10px;
  border-radius: 6px;
  position: absolute;
  z-index: 10;
  bottom: 105%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  font-size: 1.3rem;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

/* PCホバー時に表示 */
.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

/* スマホなどタップで表示する場合のクラス */
.tooltip.active .tooltiptext {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}


@media (max-width: 768px) {
  .tooltip {
    width: 45%;
  }

  .tooltip img {
    width: 220px;
  }

  .tooltip p {
    white-space: normal;     /* 複数行はOKにする */
    word-break: keep-all;    /* ← 単語の途中で折らない */
    font-size: 1.5rem;        /*（任意）少し読みやすくする */
    line-height: 1.5;         /*（任意）行間も調整 */
  }
}

/* AIエージェント画像切り替え用 */
.ai-agent-visual img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* PC用画像を初期表示、スマホ用は非表示 */
.ai-visual-pc {
  display: block;
}
.ai-visual-mobile {
  display: none;
}

/* スマホ時はスマホ画像のみ表示 */
@media (max-width: 768px) {
  .ai-visual-pc {
    display: none;
  }
  .ai-visual-mobile {
    display: block;
  }
}

/* ---- AIアシスタント作成カード：SVGアイコン付き（GitMind Chat専用） ---- */

.assistant-card svg {
  width: 64px;
  height: 64px;
  margin-bottom: 12px;
}

.assistant-card svg path,
.assistant-card svg circle,
.assistant-card svg rect,
.assistant-card svg line,
.assistant-card svg polyline {
  transition: all 0.3s ease;
}

.assistant-card:hover svg path,
.assistant-card:hover svg circle,
.assistant-card:hover svg rect {
  opacity: 0.9;
  transform: scale(1.02);
}

.assistant-card h4 {
  font-size: 1.8rem;
  margin: 10px 0 8px;
  font-weight: bold;
  color: #222;
}

.assistant-card p {
  font-size: 1.4rem;
  color: #555;
  line-height: 1.6;
}

/* スマホ対応強化 */
@media (max-width: 576px) {
  .assistant-card svg {
    width: 48px;
    height: 48px;
  }

  .assistant-card h4 {
    font-size: 1.6rem;
  }

  .assistant-card p {
    font-size: 1.3rem;
  }
}


/* ▼ アイデアフロー：レスポンシブ動画プレイヤー */
.video-responsive {
  position: relative;
  padding-top: 56.25%; /* 16:9比率 */
  overflow: hidden;
  margin: 30px 0;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.video-responsive video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}


/* ▼ アイデアフロー 活用シーンカード */
.usecase-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 30px 10px;
}

.usecase-card {
  background: #f9f9f9;
  border: 1px solid #ccc;
  border-radius: 12px;
  text-align: center;
  padding: 20px 15px;
  transition: box-shadow 0.3s ease;
}

.usecase-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.usecase-card img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.usecase-card h4 {
  font-size: 1.7rem;
  margin: 10px 0 5px;
  color: #333;
}

.usecase-card p {
  font-size: 1.5rem;
  line-height: 1.5;
  color: #555;
}

/* スマホ調整 */
@media (max-width: 576px) {
  .usecase-card-grid {
    grid-template-columns: 1fr;
  }

  .usecase-card {
    padding: 15px;
  }

  .usecase-card h4 {
    font-size: 1.5rem;
  }

  .usecase-card p {
    font-size: 1.4rem;
  }
}


/* ▼ 要約セクション専用カード（GitMind Chat） */
.summary-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 30px 10px;
}

.summary-card {
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 20px;
  background-color: #f9f9f9;
  text-align: center;
  transition: box-shadow 0.3s ease;
}

.summary-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.summary-card img.summary-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 15px;
  border-radius: 12px; /* ここを角丸に */
  object-fit: cover;
}

.summary-card h4 {
  margin: 10px 0 10px;
  font-size: 1.8rem;
  font-weight: bold;
  color: #333;
}

.summary-card p {
  font-size: 1.5rem;
  line-height: 1.6;
  margin: 0;
  padding: 0 5px;
}

@media (max-width: 576px) {
  .summary-card-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .summary-card {
    padding: 15px;
  }

  .summary-card h4 {
    font-size: 1.6rem;
  }

  .summary-card p {
    font-size: 1.4rem;
  }
}

/* ▼ PC対応グローバルナビ（製品概要のドロップダウン）（GitMind Chat） */
.product-menu {
  max-height: 80vh;
  overflow-y: auto;
  padding: 10px;
  line-height: 1.5;
  font-size: 1.4rem;
}

.product-menu li a {
  display: block;
  padding: 6px 10px;
  text-decoration: none;
  color: #333;
  border-bottom: 1px solid #eee;
}

.product-menu li a:hover {
  background-color: #f5f5f5;
  color: #000;
}

/* =====================================
   ▼ フロート型セクションナビ（右端）
   ===================================== */
/* 改善版ナビゲーションスタイル（番号＋左寄せ） */
.floating-nav {
  position: fixed;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.floating-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.floating-nav li {
  margin: 6px 0;
}

.floating-nav a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 44px;
  height: 44px;
  border-radius: 22px;
  background-color: #f9f9f9;
  color: #333;
  text-decoration: none;
  overflow: hidden;
  white-space: nowrap;
  padding: 0 12px;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  position: relative;
}

.floating-nav a.active {
  background-color: #f67d28;
  color: white;
  font-weight: bold;
}


/* ラベル（番号）を大きめに＋中央寄せ */
.floating-nav .label {
  flex-shrink: 0;
  width: 20px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  font-size: 1.8rem; 
}

/* フルタイトル表示部：中央に・大きく */
.floating-nav .full {
  opacity: 0;
  margin-left: 8px;
  transition: opacity 0.3s ease;
  color: #333;
  font-size: 1.4rem; 
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* 展開状態：親ホバーで一括展開 */
.floating-nav:hover a {
  width: 220px;
}

.floating-nav:hover .full {
  opacity: 1;
}


@media (max-width: 768px) {
  .floating-nav {
    display: none;
  }

}

/* モバイル用開閉ボタン（右下） */
.mobile-nav-toggle {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1100;
  width: 48px;
  height: 48px;
  border-radius: 24px;
  font-size: 1.8rem;
  background: #f67d28;
  color: white;
  border: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* デフォルトでは非表示に */
.floating-nav.mobile-hidden {
  display: none;
}

/* モバイル対応 */
@media (max-width: 768px) {
  .floating-nav {
    position: fixed;
    top: 80px;
    right: 20px;
    transform: none;
    padding: 16px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    max-height: 70vh;
    overflow-y: auto;
    z-index: 1090;
  }

  .floating-nav ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .floating-nav a {
    width: 100%;
    height: auto;
    border-radius: 9999px;
    padding: 10px 16px;
    font-size: 1.2rem;
  }

  .floating-nav:hover a {
    width: 100%;
  }

  .floating-nav .label {
    font-size: 1.1rem;
    width: auto;
    margin-right: 6px;
  }

  .floating-nav .full {
    opacity: 1 !important;
    margin: 0;
    font-size: 1.2rem;
    justify-content: flex-start;
  }

.mobile-nav-toggle {
  display: block;
  position: fixed;
  bottom: 50px;
  right: 5px;
  z-index: 1100;
  width: 48px;
  height: 48px;
  border-radius: 24px;
  font-size: 1.8rem;
  background: #f67d28;
  color: white;
  border: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

}


/* モーダル全体（背景＋中央配置） */
.video-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
}

/* モーダルの中身（アスペクト比16:9のコンテナ） */
.video-modal-content {
  position: relative;
  width: 90%;
  max-width: 960px;
  padding-top: 56.25%; /* 16:9 */
  height: 0;
  background: #000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* iframeラッパー（16:9比率維持のため） */
.video-modal-iframe-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-modal-iframe-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* 閉じるボタン（常に画面右上に固定） */
.video-modal-close {
  display: none; /* 初期は非表示 */
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 0 16px;
  height: 44px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 1.4rem;
  align-items: center;
  gap: 8px;
  border-radius: 22px;
  cursor: pointer;
  z-index: 10010;
}

.video-modal-close-label {
  font-size: 1.2rem;
  white-space: nowrap;
}


/* ▼ サムネイル一覧（2列レイアウト） */
.video-thumbnail-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  align-items: flex-start;
  margin: 40px auto;
  max-width: 960px;
}

/* 各サムネイルの枠 */
.video-thumb {
  position: relative;
  cursor: pointer;
  max-width: 400px;
  flex: 1 1 360px;
  text-align: center;
}

/* サムネイル画像 */
.video-thumb img {
  width: 100%;
  border-radius: 10px;
}

/* サムネイル下の説明テキスト */
.video-thumb p {
  font-size: 1.5rem;
  margin-top: 10px;
  line-height: 1.6;
}

/* 再生アイコン（中央配置・装飾あり） */
.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
  pointer-events: none;
}

/* モバイル時：1列縦並びに変更 */
@media (max-width: 768px) {
  .video-thumbnail-grid {
    flex-direction: column;
    gap: 30px;
  }
}


.video-button-container {
  text-align: center;
  margin: 24px 0;
}

.video-link-button {
  display: inline-block;
  background-color: #e53935;
  color: #fff;
  font-size: 1.2rem;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.video-link-button:hover {
  background-color: #c62828;
}


/* ↑-- GitMind Chatで追加 --↑ *//* CSS Document */

