@charset "UTF-8";

/* グローバルメニューCSSインポート */
@import url("./gmenu.css");



/* CSS Document */

/* box-sizingの優先値 */
*,
*::before,
*::after{
    box-sizing: border-box;
}

/* 画像がコンテナを超えないようにするため */
img {
    max-width: 100%;
}

/* テーブルのセル間のスペースを削除します */
table{
    border-collapse: collapse;
}

img,a img{
	border:none;
	background:transparent;
	vertical-align:bottom;
}


/*----------------------------------------------------*/

html {
	font-size: 62.5%;
	scroll-behavior: smooth;
	scroll-padding-top: 70px;
}
body{
	font-size:1.6rem;
	font-family: "Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
}

.txt-center {
	text-align:center;
}

.txt-right {
	text-align:right;
}

.txt-left {
	text-align:left;
}

.font-bold {
	font-weight:bold;
}

.font-normal {
	font-weight:normal;
}


main {
	width:800px;
}

@media (max-width: 800px) {
	main {
		width:100%
	}
}

.pinfo {
	margin:20px 0;
	padding:30px 10px;
	background:#fafafa;
	border-radius:5px;
}

.pname {
	font-family: 'Noto Sans JP', sans-serif;
	font-size:2.5rem !important;
	font-weight:bold;
}

section {
	margin-bottom:100px;
}


h1 {
	margin:0 0 30px;
	padding:10px;
	border-bottom:2px solid #222;
	line-height:120%;
	font-size:3rem;
	font-weight:bold;
}


h2 {
	border-bottom:2px dashed #333;
	margin:0 0 30px;
	padding: 50px 0 5px 10px;
	font-size:2.5rem;
	color:#222;
}

h3 {
	margin:50px 0 30px 10px;
	padding: 0 0 0 10px;
	border-left:10px solid #f67d28;
	font-size:2rem;
	color:#333;
}


p {
	margin:20px 10px;
	line-height:150%;
}


.imgbox {
	text-align:center;
	margin:50px auto;
}

.prompt-box { 
                                border: 1px solid #ccc; padding: 20px; margin: 20px 0; background-color: #f9f9f9; border-radius: 5px; 
} 


@media (max-width: 576px) {
	.pinfo {
		margin:20px 0;
		padding:10px;
	}
	h1 {
		font-size:2rem;
	}
	h2 {
		font-size:2rem;
	}

	h3 {
		font-size:1.5rem;
	}

	p {
		margin:20px 5px;
		font-size:1.5rem;
	}
}


/* flex */

.flx {
	display:flex;
	flex-wrap: wrap;
	justify-content: center;
	margin:20px 0;
}

.press-flx {
	display:flex;
	justify-content: center;
}

.press-flx-lft {
	width:50%;
	margin:20px;
}

@media (max-width: 576px) {
	.press-flx {
		display: block;
	}

	.press-flx-lft {
		width:100%;
		margin:0;
		text-align: center;
	}
	
}



/* mp4 */

.video {
	text-align:center;
	margin-bottom:50px;
}

.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;
}



/* 表 */


.tbl {
	width:90%;
	margin: 0 auto;
	padding:5px;
	border:1px solid #404040;
	background:#fff;
	font-size:0.9em;
}

.tbl th {
	background:#f67d28;
	border:1px solid #404040;
	padding:5px;
	font-weight:bold;
	text-align:center;
	color:#fff;
}

.tbl td {
	border:1px solid #404040;
	padding:5px;
}

.tbl td ul {
	margin-left:-10px;
}

.tbl td li {
	list-style:square;
	list-style-position: outside;

}

@media (max-width: 576px) {
	.tbl {
		width:100%;
		margin:0 5px;
	}

}




.env2 {
	width:80%;
	margin: 0 auto;
	padding:5px;
	font-size:0.9em;
}

.env2 td {
	padding:5px;
	border-bottom:1px solid #ccc;
}

@media (max-width: 576px) {
	.env2 {
		width:90%;
	}
}

.tri {
	margin: 0 auto;
	border:1px solid #404040;
	padding:5px;
	width:80%;
}

.tri td {
	border:1px solid #404040;
	padding:10px;
	text-align:center;
}



/* 購入 */

.buytable {
	width:98%;
	margin: 0 auto;
	border:1px solid #404040;
}

.buytable td {
  border: 1px solid #ccc;
  padding: 20px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}


.buytable p{
	margin-bottom:10px;
}

.buytable.download td {
  border-left: 5px solid #48bbf2;
}
.buytable.license td {
  border-left: 5px solid #f39801;
}


.buy-img {
	text-align:center;
	width:40%;
}

.buy-name {
	font-weight:bold;
	font-size:2rem;
}

.price {
  font-size: 1.6rem;
  color: #f67d28;
  font-weight: bold;
}


.credit-list {
  margin: 10px 0;
}
.credit-list .label {
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
}
.credit-list ul {
  margin: 0 0 10px 20px;
  padding-left: 1em;
}

.product-block {
  margin-top: 20px;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #f9f9f9;
}

/* 最初の product-block も強制的に余白を持たせる */
.buytable .product-block:first-child {
  margin-top: 20px;
}




footer {
	width:800px;
	margin:50px 0 0;
	text-align:center;
}

footer p {
	margin:20px;
	color:#666;
}

.copy {
	padding-top:10px;
	border-top:1px solid #aaa;
	font-size:1.2rem;
	margin-bottom:10px;
}

@media (max-width: 576px) {
	footer {
		width:100%;
	}
}

#page_top{
  width: 50px;
  height: 50px;
  position: fixed;
  right: 0;
  background: #ccc;
  opacity: 0.6;
}
#page_top a{
  position: relative;
  display: block;
  width: 50px;
  height: 50px;
  text-decoration: none;
}
#page_top a::before{
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: '\f062';
  font-size: 25px;
  color: #fff;
  position: absolute;
  width: 25px;
  height: 25px;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}


/* 法人向けライセンス */
.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);
}

}


/* ↑-- GitMind Chatで追加 --↑ */


/* モーダルのスタイル */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  border-radius: 8px;
}

.modal-content:hover {
  transform: scale(1.01);
  transition: 0.2s;
}

.close {
  position: absolute;
  top: 30px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.webinar-card {
  background: #fdfdfd;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 20px;
  margin: 30px 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.webinar-card img {
  width: 100%;
  margin-bottom: 20px;
  border-radius: 8px;
}

.webinar-title {
  font-weight: bold;
  font-size: 1.7rem;
  margin: 15px 0 5px;
  color: #333;
}

.webinar-info li {
  margin-bottom: 6px;
  font-size: 1.5rem;
}

.webinar-details ul {
  margin: 10px 0 15px 20px;
  font-size: 1.5rem;
  line-height: 1.6;
}

.webinar-note {
  font-size: 1.4rem;
  color: #a00;
  margin: 10px 0 20px;
}

@media (max-width: 576px) {
  .webinar-card {
    padding: 15px;
  }

  .webinar-title {
    font-size: 1.5rem;
  }

  .webinar-details ul, .webinar-info li {
    font-size: 1.4rem;
  }

  .webinar-note {
    font-size: 1.3rem;
  }
}

.webinar-history {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 20px;
}

.webinar-past-card {
  border: 1px solid #ddd;
  background: #f9f9f9;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.webinar-past-card h4 {
  font-size: 1.7rem;
  margin-bottom: 10px;
  color: #333;
}

.webinar-past-card p {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.webinar-past-card iframe {
  width: 100%;
  height: 220px;
  border-radius: 8px;
  border: none;
}

@media (max-width: 576px) {
  .webinar-past-card h4 {
    font-size: 1.5rem;
  }
  .webinar-past-card p {
    font-size: 1.4rem;
  }
  .webinar-past-card iframe {
    height: 180px;
  }
}

.responsive {
  width: 100%;
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden; /* ← 追加ここ！ */
  border-radius: 8px; /* カードと同じ角丸に */
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.responsive iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
