@charset "utf-8";
/* j-sta.css — J-STA.com ページ固有スタイル
   基盤: basic.css
   ----------------------------------------------------------------
   設計方針:
   - ページ全体のテーマ変数を :root で上書き
   - ヒーロー・レイアウトはこのファイルで定義
   - カードのバリエーションは #features / #usecases で上書き
   ---------------------------------------------------------------- */

/* ========== テーマ変数上書き ========== */
:root {
  --screenshot-bg: #f8fafc;
  --screenshot-border: var(--border-light);
  --screenshot-text-color: var(--text-sub);
  --catchphrase-color: var(--primary-deep);
}
#header {
	position:absolute;
	top:0;
	left:0;
	right:0;
	background-color:transparent;
	backdrop-filter: blur(0);
	border-bottom:0 ;
}
.headerTop {
	max-width: 1600px;
}

.logoArea p a,
.logoArea p a:hover,
#gnaviArea a,
#gnaviArea a:hover {
	color: var(--white);
}
#gnaviArea a::after {
	background: var(--white);
}
@media (max-width: 768px) {
#header {
	border-top: 2px solid var(--danger-gold);
	border-bottom: 1px solid var(--border-light);
}
#header {
	position: relative;
	background-color:transparent;
	backdrop-filter: blur(0);
	background: rgba(255, 255, 255, 0.98);
}
.logoArea p a,
.logoArea p a:hover,
#gnaviArea a,
#gnaviArea a:hover {
	color: var(--black);
}
}
/* ========== メインレイアウト ========== */
h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-weight: 700;
  z-index:2;
}
h2::after {
  background: var(--accent);
  margin: 1rem auto 0;
  left:50% !important;
  transform:translateX(-50%)
}
.screenshot .sec-inner{
	padding-top:0;
	padding-bottom:0;
	margin-top:-4rem;
	
}
.screenshot .scr-inner > .txtArea h2 {
	text-align:left;
}
.card-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #999;
  padding: 1rem;
  margin-bottom: 1rem;
}
.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .35s ease;
}
.sv-others-grid .card:hover .card-thumb img {
  transform: scale(1.04);
}
.sv-thumb-dummy {
  position: absolute;
  inset: 0;
  padding: 5%;
  top: 2px;
}
#other .card { padding: 0.75rem 0}
.card-name {
  font-family: var(--fd);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: .55rem;
  padding: 0 0.5em;
  text-align: left;
}
.card-desc {
  font-size: .95rem;
  color: var(--gray-text);
  line-height: 1.7;
  margin-bottom: .9rem;
  padding: 0 0.5em;
  text-align: left;
}
.card-hr {
  border: none;
  border-top: 1px solid var(--border);
  margin-top: .75rem;
  margin-bottom: .75rem;
}
.card-links {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.card-link {
  font-size: .9rem;
  color: var(--black);
  display: flex;
  align-items: center;
  gap: .25rem;
  padding: 0 0.5em;
}
.card-link::after {
  content: "↗";
  font-size: .8rem;
  color: var(--gray-text);
}

/*.card{
  background: #fff;
  border: 1px solid var(--border-card);
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 1.5rem 2rem;
}
.card h3 {
  display: block;
  color: var(--accent);
  font-weight: 800;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 0.75rem;
}
.badge {
    background: var(--danger-gold);
    color: var(--primary-deep);
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    display: inline-block;
    white-space: nowrap;
}*/
/* ========== ヒーローセクション ========== */
.main-bar {
  padding: 4rem 4% 8rem;
  text-align: center;
  background: white;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.main-bar h1 {
	letter-spacing:0.05rem;
  margin: 1.5rem auto 0;
  font-weight:700;
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
}

/* ========== #risks（共通ダークセクション） ========== */
#risks {
  background: var(--primary-deep);
  color: white;
}
#risks h2 {
  color: white;
}
#risks h2::after {
  background-color: white;
}
#risks .card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
#risks .card h3,
#risks .card strong {
  color: white;
  border-bottom-color: white;
}
#risks .card p {
  color: #cbd5e1;
}

/* ========== カード: #features（番号付き） ========== */
/* h3 に連番バッジを自動挿入 */
#features {
  counter-reset: feature-counter;
}
#features .card h3 {
  border-bottom-color: #334155;
  color: #334155;
}
#features .card h3::before {
  content: counter(feature-counter);
  counter-increment: feature-counter;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  background: var(--accent);
  color: white;
  border-radius: 4px;
  font-weight: 700;
  font-size: 1.1rem;
  margin-right: 0.75rem;
}
#usecases .card h3 {
  color: #334155;
  border-bottom-color: #334155;
}
#usecases .card h3::before {
  color: var(--accent);
  content: '✓ ';
  margin-right: 0.5rem;
}

/* ========== LOGO FLEX ========== */
.logo-flex {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}
.logo-flex .plus {
  font-size: 6rem;
  font-weight: bold;
  line-height: 1;
  color: #333;
  pointer-events: none;
}
.logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 50%;
  transition: transform 0.3s ease;
  min-width: 60px;
  max-width: 200px;
}
.logo-link:focus-visible {
  outline: 2px solid #4a90e2;
  outline-offset: 4px;
}
.logo-image {
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  max-width: 100%;
  transition: all 0.3s;
}
.logo-link:hover .logo-image {
  transform: scale(1.05);
  filter: brightness(1.1);
}
.logo-link:active .logo-image {
  transform: scale(0.98);
}

/*.cta-section {
  text-align: center;
  background: var(--border-card);
}*/


@media (max-width: 640px) {
.card{
  padding: 1rem 1.2rem !important;
}
}

/* ========== TOPIMG ========== */
section#topimg {
	overflow:hidden;
	padding:0;
	width:100%;
	position:relative;
	max-height:900px;
	background-color:var(--black);
	position:relative;
	z-index:1;
	background-image:url(/web/img/main_01_LL.webp);
	background-size:cover;
	background-position:center:
}
section#topimg .sec-inner {
	display:flex;
	position:absolute;
	top:0;
	right:0;
	bottom:0;
	left:0;
	z-index:5;
	align-items:center;
	max-width:inherit;
}
/*section#topimg #player_outer {
	aspect-ratio: 16 / 9;
	max-width:1600px;
	width:100%;
	margin:auto;
}

*/

#player_outer {
  position: relative;
  width: 100%;
  display:block;
  overflow: hidden;
  /* アスペクト比16:9を維持 */
  aspect-ratio: 16 / 9;
}


#player_outer #player {
  position: absolute;
  top: -60px;
  left: 0;
  width: 100% !important;
  height: calc(100% + 120px) !important;
  border: none;
  display: block;
}
#player_outer iframe {
  position: absolute;
  left: 0;
  width: 100% !important;
  height: calc(100% + 120px) !important;
  border: none;
  display: block;
}
#player_btn {
	display:none
}
section#topimg .sec-inner #cover {
	width:100%;
	max-width:1520px;
	margin:auto;
	-webkit-animation:cover_text 1s ease-out 1s both;
	animation:cover_text 1s ease-out 1s both
}
section#topimg .sec-inner #cover h1 {
	color:var(--white);
	font-size: clamp(1.6rem, 5vw, 3.0rem);
	text-shadow: 0 0 6px rgba(0, 0, 0, 0.7);
	font-weight: 500;
	letter-spacing: -0.01em;
	line-height: 1.2;
}
@-webkit-keyframes cover_text {
0% {
opacity:0;
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"
}
100% {
opacity:1;
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"
}
}
@keyframes cover_text {
0% {
opacity:0;
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"
}
100% {
opacity:1;
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"
}
}
@media all and (min-width:1601px) {
section#topimg #player_outer,
section#topimg #player_outer iframe {
	aspect-ratio: 16 / 9;
	width:1600px;
	height:900px;
	margin:auto
}
}

@media all and (max-width:640px) {
section#topimg {
	background-image:url(/web/img/main_01_sp.webp);
	background-size:cover;
}
#player_outer {
    aspect-ratio: 1 / 1;
}
/*section#topimg .sec-inner {
	padding:0 15px
}
section#topimg .sec-inner #cover {
	padding:0 0 0;
	text-align:right
}
section#topimg .sec-inner #cover .btn {
	width:200px
}*/
}

/* ========== ICONS ========== */
section#icons h2 {
	display:none
}
section#icons ul {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 5つ均等 */
  gap: 1.5rem;
}
section#icons ul li {
	display: inline-block;
	text-align:center;
	opacity:1;
}
section#icons ul li .img_box {
	height:95px;
	margin:0 auto 20px;
	background-position:center;
	background-repeat:no-repeat;
	background-size:contain;
	display:block;
	font-size:1px;
	line-height:1px;
	overflow:hidden;
	text-align:left;
	text-indent:100%;
	white-space:nowrap
}
section#icons a{ text-decoration:none; color:var(--black)}
section#icons ul li.about .img_box {
	background-image:url('web/img/icon_about.svg')
}
section#icons ul li.business .img_box {
	background-image: url(web/img/icon_business.svg)
}
section#icons ul li.activity .img_box {
	background-image:url('web/img/icon_activity.svg')
}
section#icons ul li.gallery .img_box {
	background-image:url('web/img/icon_gallery.svg')
}
section#icons ul li.system .img_box {
	background-image: url(web/img/icon_system.svg)
}
section#icons ul li .text .sTitle {
	font-size:28px;
	line-height:1;
	margin-bottom:13px
}
section#icons ul li .text .sDescription {
	font-family:'Arial', sans-serif;
	font-size:14px;
	line-height:1
}
@media only screen and (max-width:767px) {
section#icons ul li .text .sTitle {
	font-size:19px
}
}

@media (max-width: 640px) {
  section#icons ul {
    grid-template-columns: repeat(6, 1fr); /* 6列ベース */
  }

  /* 上3つ：各2マス */
  section#icons ul li:nth-child(1) { grid-column: 1 / 3; }
  section#icons ul li:nth-child(2) { grid-column: 3 / 5; }
  section#icons ul li:nth-child(3) { grid-column: 5 / 7; }

  /* 下2つ：1マス空けて各2マス → space-around相当 */
  section#icons ul li:nth-child(4) { grid-column: 2 / 4; }
  section#icons ul li:nth-child(5) { grid-column: 4 / 6; }
}
/*@media only screen and (max-width:560px) {
section#icons {
	padding:30px 15px;
	height:auto;
	min-height:0
}
section#icons ul {
	flex-wrap: wrap;
	overflow:hidden;
	margin:auto;
}
section#icons ul li {
	width:calc(( 100% - 3rem ) / 3);
	display: inline-block;
	text-align:center;
}
section#icons ul li .img_box {
	background-size:auto 50px;
	margin:0 auto 10px;
	height:50px
}
section#icons ul li .text .sTitle {
	font-size:18px;
	font-size:1.125rem;
	margin-bottom:2px
}
section#icons ul li .text .sDescription {
	font-size:8px
}
}*/
