/* TOPセクション */
#visual {
  padding: 0;
  background: #1a1a1a;
  display: flex;
  align-items: stretch;
  width: 100%;


}

.hero-container {
  width: 100%;
 
  display: flex;
  align-items: stretch;
}

/* 左側：メイン画像（50%） */
.hero-image-section {
  flex: 0 0 50%;
  position: relative;
  overflow: hidden;
  height: 100%;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
}

.image-caption {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: rgba(0,0,0,.8);
  color: #fff;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: .8rem;
  z-index: 2;
}

/* 右側：コンテンツ（50%） */
.hero-content-section {
  flex: 0 0 50%;
  display: flex;
  align-items: center;
  height: 100%;
  overflow-y: auto;
}

.hero-content {
  width: 100%;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
}

/* 画像タイトル */
.hero-content h1 {
  margin: 20px 0 25px;
  text-align: center;
}

.hero-content h1 img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
max-height: 360px;
}

/* リード文 */
.hero-lead {
  margin-bottom: 25px;
  text-align: center;
}

.lead-text {
  font-size: 1.1rem;
  font-weight: bold;
  color: #f39c12;
  margin-bottom: 10px;
  line-height: 1.4;
}

.sub-text {
  font-size: .95rem;
  color: #e0e0e0;
  line-height: 1.5;
  margin: 0;

}

/* 重要情報 */
.hero-info-list {
  margin-bottom: 25px;
}

.info-item {
  display: flex;
  flex-direction: column;
  margin-bottom: 12px;
  padding: 12px;
  background: rgba(255,255,255,.08);
  border-radius: var(--border-radius);
  border-left: 4px solid var(--primary-color);
}

.info-label {
  font-size: .8rem;
  color: #FFD700;
  font-weight: bold;
  margin-bottom: 3px;
}

.info-value {
  font-size: .85rem;
  color: #f0f0f0;
  font-weight: bold;
  line-height: 1.3;
}

/* CTA */
.hero-cta {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: bold;
  font-size: .95rem;
  transition: var(--transition);
}

.hero-btn--primary {
  background: var(--primary-color);
  color: #fff;
  border: 2px solid var(--primary-color);
}

.hero-btn--primary:hover {
  background:#8B0E2F;
  border-color:#8B0E2F;
  transform:translateY(-2px);
}

.hero-btn--secondary {
  background:transparent;
  color:#f0f0f0;
  border:2px solid #f0f0f0;
}

.hero-btn--secondary:hover {
  background:#f0f0f0;
  color:#1a1a1a;
}

.btn-icon {
  font-size:1.1em;
}


/* 高さ800以下 */
@media (max-height:800px){

.hero-content{
padding:20px 40px;
}

.hero-content h1{
margin-bottom:20px;
}

.hero-lead{
margin-bottom:20px;
}

.hero-info-list{
margin-bottom:20px;
}

.info-item{
padding:10px;
margin-bottom:10px;
}

}


/* 高さ700以下 */
@media (max-height:700px){

.hero-content{
padding:15px 40px;
}

.hero-content h1{
margin-bottom:15px;
}

.hero-lead{
margin-bottom:15px;
}

.hero-info-list{
margin-bottom:15px;
}

.info-item{
padding:8px;
margin-bottom:8px;
}

.info-label{
font-size:.75rem;
}

.info-value{
font-size:.8rem;
}

.hero-btn{
padding:10px 18px;
font-size:.9rem;
}

}


/* 1200px以下 */
@media (max-width:1200px){

.hero-content{
padding:0 30px;
}

}


/* ========= レスポンシブ（修正版） ========= */

@media (max-width:1024px){

#visual{
height:auto;
min-height:100vh;
max-height:none;
overflow:visible;
}

.hero-container{
flex-direction:column;
height:auto;
}


/* 修正部分 */
.hero-image-section{
flex:none;
width:100%;
height:auto;
background:#1a1a1a;
display:block;
padding:0;
overflow:visible;   /* ←切れ防止 */
}

.hero-image{
width:100%;
max-width:100%;
height:auto;        /* ←高さ自動 */
display:block;
object-fit:contain; /* ←全体表示 */
object-position:center;
}


/* ここから既存 */
.hero-content-section{
flex:none;
height:auto;
padding:20px 0;
}

.hero-content{
padding:0 10px;
text-align:center;
min-height:auto;
}

.hero-content h1{
margin-bottom:25px;
}

.hero-content h1 img{
max-width:100%;
}

.hero-lead{
margin-bottom:25px;
}

.hero-info-list{
margin-bottom:25px;
}

.info-item{
padding:12px;
margin-bottom:12px;
}
.image-caption {
  position: absolute;
  bottom: 5px;
  right: 5px;
  background: rgba(0,0,0,.8);
  color: #fff;
  padding: 6px;
  border-radius: 4px;
  font-size: 10px;
  z-index: 2;
}

}

