.hero-bg {
  position: relative;
  width: 100%; /* ← 修正 */
  aspect-ratio: 1920 / 920;
  background: url('../images/top/hero-bg.jpg') center center/cover no-repeat;
  background-attachment: fixed;
  overflow: hidden;

}

.catchcopy-img {
  position: absolute;
  bottom: 10%;
  left: 10%;
  max-width: 100%;
  height: auto;
  z-index: 2;
}
.imageWrap{
    width: 1400px;
    margin: 0 auto;
    position: relative;
}

@media (max-width: 768px) {
    .hero-bg {
        aspect-ratio: 1.5;
		background-attachment: scroll;
    }
    .catchcopy-img {
        max-width: 60vw;
    }
}


h2{
    font-size: 40px;
}
h2.top-section-title{
    text-align: center;
    font-size: 40px;
    text-align: center;;
    
}
.section-description{
    text-align: center;
    font-size: 18px;;
}


/* =========================================================== */
/* =======       Layout Section       ======================== */
/* =========================================================== */

/* イントロ ----------------------------------------------------- */

#scanning{
    padding: 100px 0;
    background-color: #f1f8fd;
}
#scanning .top-section-title{
    padding-bottom: 50px;
    color: #013384
}
#scanning .section-description{
    padding-bottom: 40px;
}

@media screen and (max-width:768px) {
    #scanning{
        padding: 50px 0;;
    }
    #scanning .section-description{
        text-align: left;;
    }
    
}

/* 事業案内 ----------------------------------------------------- */

#service{
    padding: 100px 0;
    background-color: #013384;
}
#service h2{
    color: #fff;
}

#service .items{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;;
    gap:50px;
    margin-bottom: 50px;;
}   
#service .items .item{
    width: calc(50% - 25px);
    color:white;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    aspect-ratio: 1;;
}
#service .items .item.item-1{
    background-image:url("../images/top/item1.jpg");
}
#service .items .item.item-2{
    background-image:url("../images/top/item2.jpg");
}
#service .items .item.item-3{
    background-image:url("../images/top/item3.jpg");
}
#service .items .item.item-4{
    background-image:url("../images/top/item4.jpg");
}
#service .items .item .filmWrap{
    position: absolute;
    bottom: 0;
    left:0;
    width: 100%;
    min-height: 220px;;
    background-color: rgba(0,0,0,0.5);
    padding: 25px;
}
#service .items .item .title{
    font-size: clamp(20px, 5vw, 40px);
    text-align: center;;
}
#service .items .item p{
    font-size: 18px;
}

@media screen and (max-width:1240px) {
    #service .items .item{
        width: 100%;
        max-width: 600px;
        margin:auto;
    }
}
@media screen and (max-width:575px) {

    #service .items .item{
        width: 100%;
    }

    #service .items .item .filmWrap{
        min-height: 100px;
    }
    #service .items .item .title{
        font-size: 20px;
    }
    #service .items .item p{
        font-size: 14px;
    }
}





#news {
    padding: 80px 0;
    background-color: #f1f8fd;
}

#news .news-box {
    padding: 80px !important;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

#news .news-item {
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
}

#news .news-item:last-child {
    border-bottom: none;
}

#news .news-date span {
    font-size: 14px;
    color: #999;
}

#news .news-icon span {
    font-size: 12px;
    background-color: #013384;
    color: white;
    padding: 2px 12px;
    border-radius: 4px;
}

#news .news-content a {
    font-size: 16px;
    color: #333;
    text-decoration: none;
}

#news .news-content a:hover {
    text-decoration: underline;
}

#news .news-arrow img {
    margin-left: 10px;
}

@media (max-width: 575px) {
    #news .news-box {
        padding: 20px !important;
    }
    #news .news-item {
        display: flex;
        
        gap: 6px;
        padding: 16px 0;
        position: relative;
    }
    /* 横並びを強制 */
    #news .news-date,
    #news .news-icon {
        display: inline-flex;
        align-items: center;
        vertical-align: middle;
        margin-right: 8px;
    }
    #news .news-date {
        margin-right: 8px;
    }
    #news .news-meta {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 2px;
        flex-direction: row;
    }
    #news .news-content {
        width: 100%;;
        font-size: 15px;
        margin-left: 0;
        text-align: left;
    }
    #news .news-arrow {
        position: absolute;
        top: 50%;
        right: 0;
        transform: translateY(-50%);
    }
    #news .news-arrow img {
        margin-left: 6px;
        width: 16px;
        height: auto;
    }
}
