html {
    background-color: #F0F2F5;
    font-family: 'Noto Sans JP', sans-serif;
}

body {
    max-width: 1200px;
    width: 100%;
    margin: auto;
    background-color: #fff;
}

.top {
    display: flex;
    padding: 0;
    position: relative;
    width: 100%;
}

p {
    margin: 0;
}

h2 {
    margin-top: 0;
}

/*-----------------------------フッター------------------------------*/
.footer, .footer_bg {
    display: flex;
    flex-direction: column;
    position: relative;
    margin-top: 30px;
    align-items: center;
    width: 100%;
}

.footer_green {
    display: flex;
    position: relative;
    background-color: #009E41;
    width: 100%;
    height: 30px;
}

@media(max-width: 680px) {
    .footer_green {
    display: flex;
    position: relative;
    background-color: #009E41;
    width: 100%;
    height: 20px;
    }
}

@media(max-width: 480px) {
    .footer_green {
    display: flex;
    position: relative;
    background-color: #009E41;
    width: 100%;
    height: 15px;
    }
}

.footer_blue {
    display: flex;
    position: relative;
    background-color: #018BD4;
    width: 100%;
    height: 55px;
}

@media(max-width: 680px) {
    .footer_blue {
        display: flex;
        position: relative;
        background-color: #018BD4;
        width: 100%;
        height: 40px;
    }
}

@media(max-width: 480px) {
    .footer_blue {
        display: flex;
        position: relative;
        background-color: #018BD4;
        width: 100%;
        height: 35px;
    }
}

/*-------------------------------*/
.company_add, .company_nm {
    font-size: 12px;
}

@media(max-width: 680px) {
    .company_add, .company_nm {
        font-size: 9px;
    }
}

@media(max-width: 480px) {
    .company_add, .company_nm {
        font-size: 7px;
    }
}
/*-------------------------------*/
.copy_right {
    font-size: 9px;
}

@media(max-width: 680px) {
    .copy_right {
        font-size: 7px;
    }
}

@media(max-width: 480px) {
    .copy_right {
        font-size: 5px;
    }
}
/*-------------------------------*/

.company_nm, .copy_right {
    text-align: center;
}

.footer_info {
    position: absolute;
    margin-top: 8px;
    color: #fff;
}






/*-------------------------共通---------------------------*/
.section  {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: calc(100% - 280px);
    height: 100%;
    position: relative;
    margin-bottom: 70px;
}    


@media(max-width: 960px) {
    .section {
        display: flex;
        justify-content: center;
        flex-direction: column;
        width: 100%;
        margin-bottom: 70px;
    }
}

.section img {
    max-width: 100%;
    height: auto;
    display: block; 
}

.shadow {
    font-size: clamp(20px, 4vw, 45px);
    user-select: none;
    position: relative;
    left: 10%;
    top: 20px;
    font-weight: bold;
    color: #F2F2F2;
    height: 100%;
}


.en {
    font-size: clamp(20px, 4vw, 40px);
    position: relative;
    color:black;
    font-weight: bold;
    margin: 0;
}

.en::after {
    position: absolute;
    content:'';
    background-color: black;
    width: 60%;
    bottom: -6px;
    height: 3px;
    left: 50%;
    transform: translateX(-50%);
}

.jp_small {
    font-size: clamp(12px, 2vw, 18px);
    color:black;
    margin: 12px 0 24px 0;
    position: relative;
}

.jp_big {
    font-size: clamp(8px, 1.5vw, 20px);
    position: relative;
    color:black;
}


.title {
    display: flex;
    flex-direction: column;
    margin-left: 2em;
    align-items: center;
    width: 250px;
}


/* ------------------------------
   タブレット対応
   ------------------------------ */
@media (max-width: 1024px) {
    .title {
        width: 200px;
    }
    .shadow {
        font-size: clamp(18px, 5vw, 35px);
        top: 10px;  
        left: 15%;
        color: #CCCCCC;
    }
    .en {
        font-size: clamp(18px, 5vw, 32px);
    }
}

/* ------------------------------
   スマホ対応
   ------------------------------ */
@media (max-width: 480px) {
    .title {
        width: 160px;
        margin-left: 1em;
    }
    .shadow {
        font-size: clamp(16px, 6vw, 28px);
        top: 10px;  
        left: 10%; 
        color: #CCCCCC;
    }
    .en {
        font-size: clamp(16px, 6vw, 24px);
    }
    .jp_small {
        font-size: clamp(10px, 3vw, 14px);
        margin-bottom: 0; 
    }
}




/* PC（961px以上）：スマホ用改行は消す */
@media (min-width: 961px) {
    .br_sp { 
        display: none; 
    }

    .greeting_info p {
        line-height: 1.8; 
    }
}

/* スマホ・タブレット（960px以下）：スマホ用改行を有効にする */
@media (max-width: 960px) {
    .br_sp { 
        display: inline; 
    }
    .greeting_info p {
        text-align: center;
        line-height: 1.8;
    }
}




.banner-wrap {
    position: relative;
    display: inline-block;
    width: 450px;
    text-decoration: none;
    overflow: hidden;
    margin-top: 50px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.banner {
    display: block;
    width: 100%;
    height: auto;
    filter: saturate(85%) brightness(95%);
    transition: transform 0.3s ease;
}

.banner-wrap:hover .banner {
    transform: scale(1.02);
}

.banner-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    transition: background 0.3s ease;
}

.banner-wrap:hover .banner-overlay {
    background: rgba(255, 255, 255, 0.5);
}

.banner-text {
    position: absolute;
    bottom: 0;
    left: 0;
    color: #222; 
    font-size: 1.2rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.85); 
    padding: 10px 16px;
    border-top-right-radius: 8px;
    backdrop-filter: blur(4px);
    transition: background 0.3s ease;
}

.banner-wrap:hover .banner-text {
    background: rgba(255, 255, 255, 0.95);
}


@media (max-width: 600px) {
    .banner-wrap {
        width: 100%;
        margin-top: 30px;
        border-radius: 0;
    }

    .banner-text {
        font-size: 1rem;
        padding: 8px 14px;
    }
}
