@charset 'UTF-8';

/* iOS対策 */
.banner_shrink {
    transform: translate3d(0, 0, 0);
}

/* --------------------------------------- */
.banner_shrink.fix_top {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
}

.banner_shrink .fl_base {
    align-items: stretch;
    display: flex;
    overflow: hidden;
    flex-wrap: nowrap;
}

.banner_shrink,
.banner_shrink .banner_info {
    box-sizing: border-box;
}

.frame_shrink,
.banner_shrink .fl_inner,
.img_shrink {
    transform-origin: left top;
    transition: all 0.4s cubic-bezier(0.39, 0.58, 0.57, 1);
}

.img_shrink {
  will-change:transform;
}
/* --------------------------------------- */
/* バナー全体枠 */
.frame_shrink,
.banner_shrink {
    background-color: #fff;
}
.menu_opn .frame_shrink {
    height: auto !important;
}
.banner_shrink {
    overflow: hidden;
}

.banner_shrink .fl_base {
    margin: auto;
    max-width: 480px;
}

/* --------------------------------------- */
/* 画像枠 */
.banner_shrink .banner_img {
    aspect-ratio: 8/3;
    margin: auto;
    max-width: 480px;
    width: 100%;
}

.banner_shrink .fl_inner.banner_img {
    flex: 0 0 auto;
    width: 100%;
}

.banner_shrink.fix_top .banner_img {
    max-width: 240px;
    width: 58.315vw;
}

.banner_shrink .img_shrink {
    left: 0;
    position: relative;
    top: 0;
    width: 100%;
}

/* --------------------------------------- */
/* 情報枠 */
.banner_shrink .fl_inner.banner_info {
    flex: 1 0 auto;
}

.banner_shrink:not(.fix_top) .banner_info {
    opacity: 0;
}

.banner_shrink .banner_info {
    padding: 0 6px 6px;
}

/* 縦並び */
.banner_info > .fl_base {
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

/* 閉じるボタン */
.banner_shrink .btn_close {
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
    -webkit-appearance: none;
    background-color: transparent;
    border: none;
    color: inherit;
    display: block;
    font-size: 26px;
    margin-bottom: 6px;
    margin-top: 4px;
    opacity: 0.6;
    outline: none;
    padding: 0;
    text-align: right;
    width: 100%;
}

/* 詳しく見るボタン */
.banner_shrink .link_detail {
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid #666;
    border-radius: 8px;
    box-sizing: border-box;
    color: #666;
    display: block;
    font-size: 14px;
    font-weight: bold;
    padding: 6px;
    text-align: center;
    text-shadow: 0 0 1px #fff;
    width: 100%;
}

/* --------------------------------------- */
/* エリア版 */
/* --------------------------------------- */
.local_area .banner_shrink {
    background-color: #000;
    color: #eee;
}

.local_area .banner_shrink .btn_close {
    color: #eee;
    opacity: 1;
}

.local_area .banner_shrink .link_detail {
    background-color: transparent;
    border-color: #fff;
    color: inherit;
    text-shadow: none;
}