

nav {
    background-color: #ddf1fc;
    padding-top: 20px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: fit-content;
    background: #fff;
    transition: transform 0.3s ease;
    z-index: 1000;
    background-color: transparent;
}

nav.hide {
    transform: translateY(-100%);
}
.nav__inner{
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 0;
    border-radius: 86px;
    overflow: hidden;
    background: #fff;
    border: 3px solid #0052af;
    width: 90%;
}
nav li img{
    /*width: fit-content;*/
    height: 60px;
}
nav ul{
    /*        display: grid;
        grid-template-columns: repeat(6, 1fr);
        gap: 20px;*/
    width: 80%;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
}
nav ul li p{
    position: relative;
    padding-left: 25px;
    display: flex;
    height: 100%;
    align-items: center;
    color: #000;
}
nav ul li:not(:first-child) p:before{
    content: "";
    width: 20px;
    height: 20px;
    background-image: url('/pokemon/hashtag-cp/image/ajisai-p.png');
    position: absolute;
    left: 0;
    background-size: contain;
}
nav ul li:nth-child(2n + 1) p:before{
    background-image: url('/pokemon/hashtag-cp/image/ajisai-b.png');
}




.hashtag {
    background-color: #ddf1fc;
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    padding-bottom: 100px;
}
#main .contents {
    position: relative;
    z-index: 2; /* コンテンツを最前面に */
}

/* 背景レイヤー */
#main::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}
#drop-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}
.drop {
    position: absolute;
    pointer-events: none;
    opacity: 0.8;
}

#main .contents {
    margin-top: 200px;
    /*min-width: 1200px;*/
}


#main img{
    width: 100%;
    height: auto;
    vertical-align: top;
}

/** title **/
.m-title{
    position: relative;
    /*padding-bottom: 265px;*/
}
.m-title h1{
    padding: 0;
    position: relative;
    z-index: 1;
    width: fit-content;
    margin: 0 auto;
    max-width: 1200px;
}

.m-title__deco{
    position: absolute;
    bottom: 0;
    width: fit-content;
    left: -30px;
    right: 0;
    margin: auto;
    z-index: 0;
    opacity: .8;
    max-width: 1420px;
}


.hashtag-content{
    max-width: 1200px;
    margin: 100px auto 0;
    background-color: #fff;
    padding: 80px 50px;
    border-radius: 20px;
    width: 90%;
}
/** description **/
.description {
    /*margin-top: 100px;*/
    display: grid;
    grid-template-columns: 1fr 40%;
    gap: 20px;
}
.description > p{
    font-size: 22px;
    line-height: 2;
    font-weight: bold;
    height: fit-content;
    margin: auto 0;
}
.description > p > span {
    color: #0052af;
    font-size: 40px;
    font-weight: 900;
}
.description .description__image p{
    font-weight: bold;
    text-align: right;
    margin-top: 5px;
    font-size: 15px;
}
.description__image{
    max-width: 500px;
    margin: 0 auto;
}


/** 共通ブロック **/
.item-block{
    margin-top: 80px;
}
.item-block .item-block__title{
    background-color: #e5006e;
    color: #fff;
    font-size: 25px;
    padding: 10px 30px;
    border-radius: 9px;
    width: fit-content;
}

.item-block .item-block__content{
    font-size: 20px;
    width: 90%;
    margin: 30px auto 0;
}
.item-block .item-block__content p{
    word-break: break-all;
}
.item-block__content--date{
    display: flex;
}

/** 参加方法 **/
.participate {
    display: grid;
    gap: 30px;
}
.participate >li >p:first-child{
    font-weight: bold;
    line-height: 1.5;
}
.participate >li >p:not(:first-child){
    padding: 0 2rem;
    margin-top: 15px;
}


/** リスト **/
.item-block__list{
    display: grid;
    gap: 20px;
}
.item-block__list li{
    position: relative;
    padding-left: 25px;
}
.item-block__list li:before{
    content: "";
    width: 20px;
    height: 20px;
    background-image: url('/pokemon/hashtag-cp/image/ajisai-p.png');
    position: absolute;
    left: 0;
    background-size: contain;
}
.item-block__list li:nth-child(2n + 1):before{
    background-image: url('/pokemon/hashtag-cp/image/ajisai-b.png');
}

.item-block__list--apply-inner .item-block__list li:before{
    background-image: none;
    height: 8px;
    width: 8px;
    border-radius: 50%;
    background-color: #707AB0;
    left: .5em;
    top: .5em;
}
.item-block__list li > p{

    line-height: 1.3;
}
.item-block__list li > p:not(:first-child){
    margin-top: 10px;
}
.attention {
    margin-top: 20px;
    font-weight: bold;
    text-decoration-line: underline;
    text-decoration-style: wavy;
    text-decoration-color: #e5006e; /* 色は自由 */
}


/** map **/
.map-window{
    max-width: 200px;
    min-width: 150px;
}
.map-window img{
    max-height: 100px;
    width: 100%;
    height: 100%;
    vertical-align: top;
    object-fit: cover;
}
.map-window__link{
    margin-top: 10px;
    background-color: #0052af;
    text-align: center;
    padding: 5px 0;
    border-radius: 5px;
}
.map-window__link a{
    color: #fff;
}
.map-window > div > p {
    margin-top: 5px;
    font-size: 16px;
}
.map-list{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
#main .map-list img {
    width: 100%;
    height: 200px;
    vertical-align: top;
    object-fit: cover;
}
.map-list li {
    border: 2px solid #6C9BD2;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;

    transition: box-shadow 0.2s ease, transform 0.2s ease;
}


#map-list li:hover {

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}
#map-list li[data-index="1000"]{
    cursor: default;        /* 手のカーソルにしない */
}
#map-list li[data-index="999"] {
    pointer-events: none;   /* クリック無効 */
    cursor: default;        /* 手のカーソルにしない */
}

/* hover 効果を無効化 */
#map-list li[data-index="1000"]:hover,
#map-list li[data-index="999"]:hover {
    box-shadow: none;
    transform: none;
}
.map-list li:nth-child(2n + 1) {
    border: 2px solid #BAA0CA;
}
#main .map-list li[data-index="1000"]{
    border: none;
    grid-column: 4/5;
}
#main .map-list li[data-index="1000"] > div{
    display: flex;
    height: 100%;
    align-items: end;
    justify-content: center;

}
#main .map-list li[data-index="1000"] > div img {
    object-fit: contain;
    /*height: fit-content;*/
    height: 190px;
}

.map-image{
    overflow: hidden;
}
#map-list li:hover .map-image img{
    transform: scale(1.1);
    transition: all .3s;
}
.map-txt{
    /*margin-top: 10px;*/
    padding: 15px 10px;
}
.map-txt > p:first-child{
    font-size: 18px;
    font-weight: bold;
    color: #e5006e;
    position: relative;
    padding-left: 25px;
}
.map-txt > p:first-child:before{
    content: "";
    width: 20px;
    height: 20px;
    background-image: url('/pokemon/hashtag-cp/image/ajisai-p.png');
    position: absolute;
    left: 0;
    background-size: contain;
}
.map-list li:nth-child(2n + 1) .map-txt > p:first-child:before{
    background-image: url('/pokemon/hashtag-cp/image/ajisai-b.png');
}


.map-txt > p:not(:first-child){
    margin-top: 10px;
    font-size: 16px;
    line-height: 1.2;
}
.map-txt > p a {
    color: #0052af;
}

.map-window a:focus-visible {
    outline: none;
    box-shadow: none;
}
#googleMap button:focus-visible {
    outline: none;
    box-shadow: none;
}

/** ステッカー **/
.sticker__image {
    width: 65%;
    margin: 20px auto 0;
}
.sticker__image > p {
    text-align: right;
    margin-top: 5px;
    font-weight: bold;
    font-size: 15px;
}
.sticker__description{
    margin-top: 30px;
}
.sticker__description p{
    font-size: 25px;
    font-weight: bold;
    text-align: center;
    line-height: 1.5;
}
.sticker__description p span {
    color: #0052af;
    font-size: 1.2em;
    font-weight: bold;
}

/** プレゼント **/
.present-list{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.item-block__list--present li p {
    line-height: 1.3
}

.collaboration__image{
    position: relative;
}
.collaboration__image-base{
    border: 5px solid #4878B2;
    border-radius: 20px;
    overflow: hidden;
    border-left-color: #A574AF;
    border-bottom-color: #A574AF;
}
.collaboration__image-deco-top{
    position: absolute;
    top: -20px;
    width: 80px;
    left: -20px;
}
.collaboration__image-deco-bottom{
    position: absolute;
    width: 200px;
    right: -53px;
    bottom: -30px;
}
.collaboration__image-attention{
font-size: 15px;
    margin-top: 10px;
    /*text-align: right;*/
}

/** 応募規約・注意事項 **/
.item-block__list--present,
.item-block__list--apply {
    margin-top: 20px;
    height: 500px;
    overflow: auto;
    border: 2px solid #0052af;
    border-radius: 10px;
    padding: 30px;
}

.item-block__list--present{
    margin-top: 10px;
}
.item-block__list--apply-inner{
    margin-top: 20px;
}

/* 全体のスクロールバー */
::-webkit-scrollbar {
    width: 12px;
}
/*  背景部分  */
::-webkit-scrollbar-track {
    background: #ddf1fc;
    border-radius: 12px;
}
/*  つまみ部分  */
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #61B0E0, #4878B2);
    border-radius: 12px;
    border: 3px solid #fafafa;
}
/*  hover 時  */
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #61B0E0, #4878B2);
}

.item-block__list--present::-webkit-scrollbar-track,
.item-block__list--apply::-webkit-scrollbar-track {
    background: #fff;
    margin: 6px 0;
}

/** フッター **/
section.p-footer{
    margin-top: 0;
    border-top: 70px solid #0052af;
    background-color: #ddf1fc;
}


/* SP用 */
@media screen and (max-width: 1000px) {

    /** ナビゲーション **/
    nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background: #fff;
        z-index: 1000;
        padding-top: 0;
        border-bottom: #0052af 2px solid;
    }

    .hamburger {
        display: block;
        width: 30px;
        height: 22px;
        position: absolute;
        right: 16px;
        top: 18px;
        cursor: pointer;
    }

    .hamburger span {
        display: block;
        height: 3px;
        background: #0052af;
        margin: 5px 0;
        transition: 0.3s;
        border-radius: 5px;
    }
    .hamburger span:first-child{
        margin: 0;
    }

    /* 開いた時のアニメーション */
    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* メニューを隠す */
    #nav-menu {
        position: fixed;
        top: 60px;
        right: -100%;
        width: 100%;
        height: 100vh;
        padding: 20px;
        transition: right 0.3s ease;
        display: block;
        background-color: #0052af;
        opacity: .95;
    }

    /* メニューを開く */
    #nav-menu.open {
        right: 0;
    }

    /* SPでは縦並び */
    #nav-menu ul {
        flex-direction: column;
        width: 60%;
        margin: 30px auto;
        gap: 35px;
    }

    /* 背景スクロール停止用 */
    body.no-scroll {
        overflow: hidden;
    }

    #nav-menu ul li p{
        color: #fff;
        font-weight: bold;
    }

    .nav__inner{
        width: 90%;
        border: none;
    }
    .nav-logo{
        width: 50px;
    }
    .nav-logo img{
        width: 100%;
        height: auto;
        vertical-align: top;
    }
    .nav-bottom-sp img{
        height: auto;
        width: 90%;
        margin: auto;
        display: block;
    }


    /** タイトル **/
    #main .contents{
        margin-top: 140px;
    }
/*    .m-title{
        padding-bottom: 80px;
    }*/
    .m-title h1{
        width: 90%;
    }
    .m-title__deco{
        left: 0;
    }

    /** コンテンツ **/
    .hashtag-content{
        margin-top: 80px;
        padding: 50px 20px;
    }

    /** 概要 **/
    .description{
        grid-template-columns: 1fr;
    }
    .description > p{
        /*grid-row: 2;*/
        font-size: 16px;
    }
    .description > p > span{
        font-size: 22px;
    }
    .description .description__image p{
        font-size: 12px;
    }

    .item-block .item-block__title{
        font-size: 18px;
        padding: 10px 20px;
        line-height: 1.2;
    }
    .item-block .item-block__subtitle{
        font-size: 16px;
        margin-top: 10px;
        display: block;
    }
    .item-block .item-block__content{
        font-size: 16px;
        line-height: 1.5;
    }

    /** 期間 **/
    .item-block__content--date{
        flex-direction: column;
    }
    .item-block__content--date p:nth-child(2){
        margin-left: auto;
    }

    /** 参加 **/
    .participate >li >p:not(:first-child){
        padding: 0px 10px;
    }

    /** map **/
    #googleMap{
        height: 350px;
    }
    .map-window > div > p{
        font-size: 15px;
    }
    .map-window__link{
        margin-top: 5px;
    }
    .map-window__link a p{
        font-size: 12px
    }
    .map-list{
        grid-template-columns: 1fr;
    }
    .map-window{
        max-width: 100%;
        min-width: 110px;
    }



    /** ステッカー **/
    .sticker__description p{
        font-size: 18px;
        text-align: left;
    }

    .sticker__image > p{
        font-size: 12px;
    }

    /** プレゼント **/
    .present-list{
        grid-template-columns: repeat(2, 1fr);
    }
    .collaboration__image-base{
        border-width: 2px;
        border-radius: 10px;
    }
    .collaboration__image-deco-top{
        top: -20px;
        width: 50px;
        left: -20px;
    }
    .collaboration__image-deco-bottom{
        width: 100px;
        right: -24px;
        bottom: -18px;
    }
    .collaboration__image-attention{
                font-size: 12px;
                margin-top: 5px;
        width: fit-content;
        background-color: rgba(255, 255, 255, .8);
        z-index: 1;
        position: relative;
        border-radius: 10px;
    }
    /** 応募規約・注意事項 **/
    .item-block__list--present,
    .item-block__list--apply{
        padding: 15px 10px;
        height: 350px;
    }
    .item-block__list--apply-inner{
        margin-left: -15px;
    }
    .item-block__list--present {
        margin-top: 5px;
    }

}


/** タブレット用 **/
@media screen and (min-width: 768px) and (max-width: 1024px) {

    .item-block__content--date {
        flex-direction: inherit;
    }
    .item-block__content--date p:nth-child(2) {
        margin-left: 0;
    }

    .map-list{
        grid-template-columns: repeat(2, 1fr);
    }
    #main .map-list li:last-child > div img{
        max-width: 77%;
    }
    #main .map-list li:last-child{
        display: block;
        grid-column: 2/3;
    }
}














.petal {
    position: fixed;
    width: 14px;
    height: 14px;
    background-image: url('/pokemon/hashtag-cp/image/ajisai-p.png'); /* 花びら画像 */
    background-size: cover;
    pointer-events: none;
    animation: fall 1.2s ease-out forwards;
    opacity: 0;
    z-index: 99999;
}

@keyframes fall {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(var(--x), var(--y)) scale(0.6) rotate(360deg);
        opacity: 0;
    }
}