
.hidden-pc{display: inline;}
.p-sponsor{overflow:hidden}

.p-sponsor-fv{display:flex;align-items:flex-end;width:95vw;height:300px;margin-top:90px;margin-left:auto;background:#eaeaea;background-size:cover;background-position: center;}

.p-sponsor-fv__title-box{
    display:flex;
    z-index:3;
    position:relative;
    align-items:flex-end;
    width:9em;
    height:80px;
    font-size:36px;
}

.p-sponsor-fv__title-box::after{
    z-index:1;position:absolute;
    top:0;
    left:0;
    width:calc(15vw + 240px);
    height:160px;
    background:#fff;
    content:"";
}

.p-sponsor-fv__title{z-index:5;position:relative;padding-left:10px;
    font-size:36px;}


.p-sponsor-message-section{
    height:auto;
    margin-top:100px;
    padding-top:15vw;
    padding-bottom: 20vw;
    background:#eaeaea;
    background-size:cover;
    background-position: 30% 50%;
}

.p-sponsor-message-section__title{
    position:relative;padding-bottom:12px;text-align:center;
    font-size:9vw;
    letter-spacing: 0;
}


.p-sponsor-bg{
    position: relative;
    background-color: #fff;
}

.p-sponsor-bg__image{height:500px;background-size:cover}

.p-sponsor-bg__container{width:100%;margin:100px auto 0;padding-bottom:80px}

.p-sponsor-overview{
    position:relative;
    padding-top: 7vw;
}

.p-sponsor-overview::after{
    z-index:1;
    position:absolute;
    top:6vw;
    left:0;
    width:100vw;
    height:100%;
    background:#edf2f8;
    content:"";
}

.p-sponsor__bigtexts{
    position: absolute;
    left: 0;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    width: 98%;
    font-family: "roboto";
    font-style: italic;
    font-weight: 500;
    color: #4A77B9;
    font-size: 13vw;
    line-height: 0.8;
}

.p-sponsor__bigtexts span {
    text-align: center;
}


.p-sponsor-overview__container{z-index:3;position:relative;width:90%;margin:0 auto;padding:100px 0 0}

.p-sponsor-overview__firsttext,
.p-sponsor-youtube__firsttext{
    color: #4A77B9;
    font-size: 4.2vw;
    letter-spacing:0;
    margin-top: 0;
    line-height: 1.7;
}

.p-sponsor-overview__title,
.p-sponsor-youtube__title{
    position:relative;
    padding-bottom:12px;
    font-size:30px;
    text-align:center;
    display: table;
    margin: 0 auto;
    color: #4A77B9;
    font-family: 'Noto Sans JP', sans-serif;
}

.p-sponsor-youtube__title{
    margin-bottom: 1em;
}

.p-sponsor-overview__title::after,
.p-sponsor-youtube__title::after{
    content:"";
    position:absolute;
    top: 1.6em;
    left: 50%;
    width: 100%;
    height:1px;
    transform:translateX(-50%);
    background:#4A77B9;
}

.p-sponsor-overview__title span,
.p-sponsor-youtube__title span{
    display: block;
    margin: 1em auto 0;
    font-size: 0.5em;
}
.youtube-title{
    color: #4A77B9;
}

.p-sponsor-youtube {
    padding: 15vw 5vw 0;
    position: relative;
    margin-top: 0;
}

.p-sponsor-youtube__bigtexts{
    position: absolute;
    right: 1.5%;
    top: 0;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-family: "roboto";
    font-style: italic;
    font-weight: 500;
    color: #edf2f8;
    font-size: 13vw;
    line-height: 0.8;
}

.p-sponsor-youtube__pickup-video{
    margin: 0 auto 50px;
}

.youtube-wrapper{
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin-bottom: 0.5em;
}

.p-sponsor-youtube__pickup-video{
    max-width: 85%;
    margin: 0 auto 60px;
}
.p-sponsor-youtube__pickup-video iframe{
    width: 100%;
    height: 100%;
}

.p-sponsor-youtube__lists{
    margin-top: 70px;
}

.p-sponsor-youtube__lists ul{
    display: flex;
    flex-wrap: wrap;
    gap: 4%;
}
.p-sponsor-youtube__lists ul li{
    width: 48%;
    margin-bottom: 45px;
}

.p-sponsor-youtube__lists ul li iframe{
    width: 100%;
    height: 100%;
}


.p-sponsor-message{
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    line-height: 2.5;
    font-size: 4vw;
    letter-spacing: 0;
}
.p-sponsor-overview__sportsteams{
    margin-top:50px;
}
.p-sponsor-overview__sportsteams ul{
    display: flex;
    gap: 4%;
    justify-content: space-between;
}
.p-sponsor-overview__sportsteams ul li {
    width: 48%;
}

.p-sponsor-teamlogo{
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 0 10px #eee;
    padding: 3vw 7vw;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 33vw;
    margin-bottom: 0.5em;
}


.p-sponsor-teamlogo a{
    transition: all 0.3s;
}
.p-sponsor-teamlogo a:hover{
    opacity: 0.5;
}

.p-sponsor-teamname{
    text-align: center;
    font-size: 3.5vw;
    font-family: 'Noto Sans JP', sans-serif;
}

.team__goldenbraves img{
    max-height: 18vw;
    width: auto;
}

.p-sponsor-asreet{
    margin-top: 75px;
}
.p-sponsor-overview__container.p-sponsor-asreet{
    padding-top: 50px;
}
.p-sponsor-overview__container.p-sponsor-asreet::after {
    position: absolute;
    content: "";
    display: block;
    background: #fff;
    height: 100%;
    width: calc(100vw - (100vw - 1160px) / 2);
    top: 0;
    left: 0;
    z-index: -1;    
    border-radius: 20px 0 0 20px;
}


.p-sponsor-asreet__lists{
    margin-top: 45px;
}
.p-sponsor-asreet__lists li{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 60px;
}
.p-sponsor-asreet__profile{
    position: relative;
    order: 2;
    width: 100%;
}

.p-sponsor-asreet__image.pc-layout{
    order: 1;
    max-width:396px;
    display: none;
}
.p-sponsor-asreet__image.smp-layout{
    order: 2;
    max-width:100%;
}

.p-sponsor-asreet__box-name{
    display: flex;
    position: relative;
    min-height: 150px;
    padding-bottom: 25px;
    border-bottom: 1px solid #000;
    flex-direction: column;
    margin-bottom: 30px;
    margin-left: 3vw;
}

.p-sponsor-asreet__box-name h3{
    line-height: 1.3;
    letter-spacing: 0.1em;
    order: 2;
    font-size: 7.5vw;
    font-size: 32px;
}
.p-sponsor-asreet__box-name h3 span{
    font-size: 0.6em;
    display: block;
    letter-spacing: 0;
}

.asreet-sports{
    order: 1;
    width: fit-content;
    color: #fff;
    background: #4A77B9;
    border-radius: 25px;
    padding: 8px 1em;
    margin-bottom: 20px;
    font-size: 4.5vw;
    font-family: 'Noto Sans JP', sans-serif;
    align-self: center;
}

.asreet-link{
    position: absolute;
    top: auto;
    bottom: 5vw;
    right: 0;
    display: block;
    border-radius: 100px;
    background: #fff;
    box-shadow: 0 0 10px #eee;

    width: 20vw;
    padding: 5vw;
}

.p-sponsor-asreet__box-profile dl{
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0 1.5rem;
    margin-left: 3vw;

    font-size: 20px;
    margin-bottom: 1.5em;
}

.p-sponsor-asreet__box-profile dd{
    margin: 0;
}

.asreet-history{
    font-size: 4.7vw;
    line-height: 1.5;
    padding: 1em 0.7em;
}


/* メディアクエリ内 */
@media (min-width: 768px){
    br.hidden-pc{ display: none;}
  .p-sponsor-fv{width:85vw;padding-bottom:40px}
  .p-sponsor-fv__title-box{
    align-items:center;justify-content:flex-end;
    width:480px;
    height:160px;
    text-align:right;
    }
    .p-sponsor-message{
        max-width: 720px;
        font-size: 18px;
        letter-spacing: 0.1em;
        line-height: 40px;
    }
  .p-sponsor-fv__title-box::after{width:calc(15vw + 480px)}
  .p-sponsor-fv__title{padding-right:50px}
  .p-sponsor-message-section{
        height:720px;
        padding-top:120px;
        padding-bottom: 0;
        background-position: center;
    }
  .p-sponsor-message-section__title{
        font-size:48px;letter-spacing: 0.1em;
    }
  .p-sponsor-message__profile{display:flex;width:100%;margin-left:0}
  .p-sponsor-message__profile-image{margin:0}
  .p-sponsor-message__profile-text{margin-top:auto;margin-left:16px;text-align:left}
  .p-sponsor-message__profile-name{text-align:left}
  .p-sponsor-bg__container{
        width:90%;
        max-width:1160px;
    }
  .p-sponsor-overview::after{
        width:95vw;
    }
  .p-sponsor-overview::after{width:calc(100vw - (100vw - 1160px)/2)}
  .p-sponsor-overview__container{max-width:960px}
  .p-sponsor-youtube__title{
        margin-bottom: 0;
    }

  .p-sponsor-overview__firsttext,
  .p-sponsor-youtube__firsttext{
        font-size: 20px;
        margin-top: 3em;
        letter-spacing:0.16em;
        line-height: 1.5;
    }
    .p-sponsor-teamname {
        font-size: 24px;
    }
    .p-sponsor-teamlogo{
        padding: 40px;
        min-height: 350px;
    }
    
    .team__goldenbraves img{
        max-height: none;
        width: auto;
    }

    
    .p-sponsor-asreet__lists li{
       
        flex-direction: row;
    }
    .p-sponsor-asreet__profile{
        width: 53%;
    }

    .p-sponsor-asreet__image.pc-layout{
        order: 1;
        display: block;
    }
    .p-sponsor-asreet__image.smp-layout{
        display: none;
    }

    .asreet-link{
        width: auto;
        padding: 45px;
        top: 0;
        bottom: auto;
    }

    .asreet-sports{
        align-self: unset;
        font-size: 16px;
    }
    .p-sponsor-asreet__box-name{
        margin-left: 0;
        font-size: 14px;
    }
    .p-sponsor-asreet__box-name h3{
        font-size: 32px;
    }
    .p-sponsor-asreet__box-profile dl{
        margin-left: 0;
    }
    .asreet-history{
        font-size: 20px;
        padding: 0;
    }

    .p-sponsor-youtube {
        padding-top: 15vw;
        margin-top: 7rem;
    }
    .p-sponsor-youtube__bigtexts{
        width: 88%;
        right: 2%;
        font-size: 10vw;
    }

    .p-sponsor-youtube__pickup-video{
        max-width: 740px;
    }

    .p-sponsor-youtube__lists ul{
        gap: 5% 30px;
    }
    .p-sponsor-youtube__lists ul li{
        width: 30%;
    }
}

@media (min-width: 1024px){
  .p-sponsor-message__bg{margin-right:calc((100vw - 1160px)/2)}
  .p-sponsor-message__container{margin-right:0;margin-left:auto;padding:68px 88px}
  .p-sponsor-message__container-text{padding-right:10%}
}

@media (max-width: 768px){
  .p-sponsor-overview__content-table__th{display:block;padding-bottom:4px}
  .p-sponsor-overview__content-table__td{display:block;padding-top:4px;padding-left:24px}
  .p-sponsor-history__content-table__th{display:block;padding-bottom:4px}
  .p-sponsor-history__content-table__td{display:block;padding-top:4px;padding-left:24px}
}

/* カスタム追加部分（CSSファイル末尾） */
.p-sponsor-sustainability{position:relative}
.p-sponsor-sustainability::after{z-index:1;position:absolute;top:0;left:0;width:95vw;height:100%;background:url(../images/company/bg_sustainability.jpg) no-repeat top center;background-size:cover;content:""}
.p-sponsor-sustainability__container{z-index:3;position:relative;width:90%;margin:0 auto;padding:96px 0 80px}
.p-sponsor-sustainability__title{position:relative;padding-bottom:12px;font-size:30px;text-align:center}
.p-sponsor-sustainability__title::after{position:absolute;bottom:0;left:50%;width:120px;height:1px;transform:translateX(-50%);background:#000;content:""}

@media (min-width: 768px){
  .p-sponsor-sustainability__container{max-width:980px}
  .p-sponsor-sustainability::after{width:calc(100vw -(100vw - 1160px) / 2)}
}

@media (max-width: 768px){
  .p-sponsor-sustainability__title{font-size:5.5vw}
  /* ... sustainability関連のレスポンシブ */
}