/* ---------------------------------------------
	Partner main.twig
--------------------------------------------- */
/**
* Partner ClassificationList（連携種別一覧）
*/
#classification-list .partner-img {
    position: relative;
    width: fit-content;
    background: #000;
}
#classification-list .partner-img p {
    position: absolute;
    color: white;/*文字は白に*/
    font-weight: bold; /*太字に*/
    font-size: 1.8rem;/*サイズ2倍*/
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    margin:0;
    padding:0;
}
#classification-list .partner-img img{
    opacity: 0.5;
    display: block;
}
#classification-list ul {
    position: relative;
}
#classification-list li {
    /* font-size: 1.5rem; */
    text-align: left;
    list-style-type: none !important;
    /* margin-left: 2.5em; */
    /* font-size: 1.5rem; */
    line-height: 2.0;
    color: #405174;
}
#classification-list ul li::before {
    font-family: 'Font Awesome 5 Free';
    content: "\f35a";
    position: absolute;
    left: 1em;
}
#classification-list a:hover .partner-img img {
    opacity: 0.8;
}
.w-15 {
    width: 15% !important;
}

/* ---------------------------------------------
	Partner detail.twig
--------------------------------------------- */
/**
* Partner ClassificationTitle（連携種別タイトル）
*/
#classification-title .row.my-5 {
    display: flex;
    align-items: stretch;
    box-shadow: 0 5px 10px 0 rgba(0, 0, 0, .5);
}
#classification-title .col-lg-6 {
    display: flex;
    justify-content: center;
    align-items: baseline;
    padding: 0;
}
#classification-title hr {
    border: 2px dashed var(--classification-color);  
    height: 0;
    opacity: 1;
    background-color: white;
    margin: 2em 0;
}
#classification-title .col-lg-6 img {
    max-width: 100%;
    height: 100%;
    object-fit: cover;
}
#classification-title .col-lg-6 h4 {
    font-size:4rem;
    font-weight: bold;
    color: #425378;
}
#classification-title .col-lg-6 p {
    letter-spacing: 0.05em;
}
#classification-title .gradient-overlay {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 20%);
    pointer-events: none;
    z-index: 2;
}

/**
* Partner PartnerIntro（連携パートナー紹介）
*/
#partner-intro h2
{
    font-size:clamp(1.7rem, calc(1.5rem + 0.625vw), 2.4rem) !important;
}
#topLP #partner-intro .featurewrap {
    width: 100%;
    max-width: 1320px;
    padding: 3rem;
    margin: 0;
}
#partner-intro .question {
    font-size: clamp(1.7rem, calc(1.5rem + 0.625vw), 2.4rem) !important;
    font-weight: 700 !important;
    margin: 0.5em 1em !important;
    padding: 0.3em 0.5em !important;
    border: none !important;
    line-height: 1.5 !important;
    color: #405174 !important;
    background: #eee;
}
#partner-intro .answer {
    margin: 0 4em !important;
}
#partner-intro .staff_comment {
    margin:0.5em 4em;
}
#partner-intro .gmap_iframe
{
    aspect-ratio: 16 / 9;
    width: 100%;
    height: 100%;
    padding: 10px;
}

/**
* Partner ClassificationSlider（連携種別スライダー）
*/

#classification-slider .partner-img {
    position: relative;
    /* width: fit-content; */
    background: #000;

    padding:0 !important;
}
#classification-slider .partner-img p {
    position: absolute;
    color: white !important;    /*文字は白に、topLpが効いてしまうのでimportant付与*/
    font-weight: bold;          /*太字に*/
    font-size: clamp(1.3em, calc(1.1em + 0.625vw), 2em) !important;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    margin:0;
    padding:0;
}
#classification-slider .partner-img img{
    opacity: 0.5;
    display: block;
}
#classification-slider a:hover .partner-img img {
    opacity: 0.8;
}

/**
* レスポンシブ対応 (Q&A)
*/
@media (max-width: 992px)
{
    #partner-intro .answer {
        margin: 0 1em !important;
    }
    #partner-intro .staff_comment {
        margin:0.5em 1em;
    }
}

/* ---------------------------------------------
	Partner 共通
--------------------------------------------- */
/**
* Partner PartnerList（パートナー一覧）
*/
.nav-link {
    --partner-classification-color: #425378;
    color: var(--partner-classification-color);
    font-weight: 600;
}
.nav-link.active {
    --partner-classification-color: #425378;
    background-color: var(--partner-classification-color);
    color: white;
}
#partner-list .card-header {
    padding: 0;
    margin: 0.5em 1em;
    background-color: white;
    height: 110px;
}
#partner-list .card-img-top {
    height: 100px;
    object-fit: contain;
}
#partner-list .card-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #425378;
}
.contents-icon
{
    display: flex;
    flex-wrap: wrap;
    /* width: 600px; */
    /* background-color:#ddd; */
    
}
.item-icon
{
    width: calc(100% / 6);
    /* padding: 20px 10px; */
    padding:3px;
    text-align: center;

    display: grid;
    place-items: center;
}

/**
* Partner hoverアクション "READ MORE"
*/
.hover {
    position: relative;
}
.hover .hover-img {
    margin: 0;
    padding: 0;
}
.hover-img img {
    width: 100%;
    height: 100%;
}
.hover .hover-text {
    position: absolute;
    width: 100%;
    height: 118px;
    top: 0;
    left: 0;
    color: #fff;
    background-color: rgba(0,0,0,0.5);
    opacity: 0; /*透明にして非表示*/
    transition: .3s ease-in-out; /*padding-topで上からスライド*/
}
.hover .hover-text .text1 {
    margin: 0;
    color: #fff !important;
    display:block;
    width:180px;
    border:solid 1px #fff;
    border-radius:5px;
    text-align:center;
    position:absolute;
    top:35%;
    left: 50%;
    transform: translateX(-50%);
    transition:0.3s;
    font-weight:bold;
    letter-spacing:0.2em;

    padding: 5px;
    font-size: 12px !important;
}
.hover-action .hover:hover .hover-text {
    opacity: 1; /*不透明にして表示*/
}

/**
* レスポンシブ対応（パートナー一覧）
*/
@media screen and (max-width: 767px) {
    .item-icon {
        width: calc(100% / 9);
    }
    #partner-list .card-title {
        font-size: 2.0rem;
    }
    #partner-list .card-text {
        font-size: 1.7rem;
    }
}