header{
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    height: 110px;
    max-width: 1920px;
    border-bottom: 2px solid #fff;
    background-image: url(../img/bg.png);
    background-repeat: repeat;
    background-position: center top;
    background-size: 100% auto;
    position: fixed;
    top: 0;
    left: 50%;
    z-index: 100;
    transform: translateX(-50%);
}
header:after{
    content: "";
    display: block;
    width: 100%;
    height: 10px;
    border-top: 2px solid #fff;
    background-image: url(../img/bg-line.png);
    background-repeat: repeat;
    background-position: center;
    background-size: cover;
    position: absolute;
    bottom: 0;
    left: 0;
}
header nav{
    width: 90%;
    max-width: 1200px;
}
header .nav{
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 25px;
    width: 100%;
    height: 100px;
}
header .nav li{
    display: flex;
    align-items: center;
    line-height: 1;
}
header .nav li:nth-of-type(1):before{
    content: url(../img/icon-nav01.png);
}
header .nav li:nth-of-type(2):before{
    content: url(../img/icon-nav02.png);
}
header .nav li:nth-of-type(3):before{
    content: url(../img/icon-nav03.png);
}
header .nav li:nth-of-type(4):before{
    content: url(../img/icon-nav04.png);
}
header .nav li:nth-of-type(5):before{
    content: url(../img/icon-nav05.png);
}
header .nav li:before{
    margin-right: 10px;
    opacity: 0;
    transition: opacity 0.5s;
}
header .nav li:hover:before{
    opacity: 1;
}
header .nav li a{
    position: relative;
}
header .nav li a:after{
    content: "";
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: left top;
    background-size: contain;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s;
}
header .nav li:nth-of-type(1) a:after{
    background-image: url(../img/nav01on.png);
}
header .nav li:nth-of-type(2) a:after{
    background-image: url(../img/nav02on.png);
}
header .nav li:nth-of-type(3) a:after{
    background-image: url(../img/nav03on.png);
}
header .nav li:nth-of-type(4) a:after{
    background-image: url(../img/nav04on.png);
}
header .nav li:nth-of-type(5) a:after{
    background-image: url(../img/nav05on.png);
}
header .nav li a:hover:after{
    opacity: 1;
}
header .nav li a img{
    vertical-align: top;
}
header .nav li a:hover img{
    opacity: 0;
}

footer{
    width: 100%;
    height: 260px;
    margin-top: 180px;
    padding-top: 5.0em;
    background-image: url(../img/bg-footer.png);
    background-repeat: repeat;
    background-position: center top;
    background-size: 100% auto;
    color: #fff;
    font-size: 12px;
    text-align: center;
    line-height: calc(20/12);
    position: relative;
}
footer:after{
    content: "";
    display: block;
    width: 100%;
    height: 14px;
    border-top: 2px solid #fff;
    border-bottom: 2px solid #fff;
    background-image: url(../img/bg-line.png);
    background-repeat: repeat;
    background-position: center;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
}
.logo-piapro{
    display: inline-block;
    width: auto;
    height: 1.0em;
    vertical-align: text-bottom;
}
copyright{
    display: block;
    margin: 2.2em 0;
    color: #909191;
}

#wrapper{
    max-width: 1920px;
    margin: 0 auto;
    background-color: #fff;
    background-image: url(../img/bg-special.jpg);
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: contain;
}

.inner{
    width: 90%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}


#lead{
    height: 328px;
    background-image: url(../img/bg-lead.png);
    background-position: center;
    background-repeat: repeat-y;
    background-size: 100% auto;
    position: relative;
}
#lead:before,
#lead:after{
    content: "";
    display: block;
    width: 100%;
    height: 14px;
    border-top: 2px solid #fff;
    border-bottom: 2px solid #fff;
    background-image: url(../img/bg-line.png);
    background-repeat: repeat;
    background-position: center;
    background-size: cover;
    position: absolute;
    left: 0;
}
#lead:before{
    top: 0;
}
#lead:after{
    bottom: 0;
}
#lead .inner{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 90%;
    height: 100%;
    color: #fff;
    font-size: 24px;
    line-height: calc(50/24);
    text-align: center;
}
#lead h2{
    width: 100%;
    padding-bottom: 1.0em;
    font-size: 40px;
    letter-spacing: 0.04em;
    background-image: url(../img/lead-line.png);
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: auto;
}

#anniversary {
    background-color: #fff;
}
#anniversary .inner{
    max-width: 1222px;
    padding-top: 120px;
    padding-bottom: 80px;
}
#anniversary h2{
    display: flex;
    justify-content: center;
}

#comment{
    background-image: url(../img/bg.png);
    background-position: center;
    background-repeat: repeat-y;
    background-size: 100% auto;
    position: relative;
}
#comment:before,
#comment:after{
    content: "";
    display: block;
    width: 100%;
    height: 14px;
    border-top: 2px solid #fff;
    border-bottom: 2px solid #fff;
    background-image: url(../img/bg-line.png);
    background-repeat: repeat;
    background-position: center;
    background-size: cover;
    position: absolute;
    left: 0;
}
#comment:before{
    top: 0;
}
#comment:after{
    bottom: 0;
}
#comment .inner{
    padding-top: 80px;
    padding-bottom: 80px;
    aspect-ratio: 1200/880;
}
#comment h2{
    margin-bottom: 40px;
}
#comment h2 img{
    width: min(566px,100%*(566/1200));
}
#comment p{
    color: #bcbcbc;
    font-size: 80px;
    letter-spacing: 0.04em;
    text-align: center;
}
.comment-list{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 20px 60px;
    max-width: 1060px;
    margin: 0 auto;
    list-style-type: none;
}
.comment-list li{
    margin-left: 0;
    padding-bottom: 20px;
    padding-left: 5px;
    padding-right: 100px;
    font-size: 24px;
    line-height: 1.2;
    position: relative;
}
.comment-list li:nth-last-of-type(n+3){
    background: url(../img/comment-line.png) repeat-x left bottom;
}
.comment-list li span{
    display: block;
    margin-top: 0.5em;
    font-size: 16px;
}
.comment-list li .btn{
    display: inline-block;
    margin-top: 0;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

#special .inner{
    padding-top: 80px;
}
#special h2{
    margin-bottom: 40px;
    box-shadow: 0px 0px 20px 10px #fff;
}
.special-box{
    padding: 49px;
    background-color: rgba(255,255,255,0.9);
    border-radius: 10px;
    border: 1px solid #d5d5d5;
    box-shadow: 0px 0px 20px 10px #fff,0px 0px 10px 5px #fff inset;
}
.special-column:not(:last-child){
    padding-bottom: 50px;
}
.special-column:nth-of-type(n+2){
    padding-top: 50px;
    background-image: url(../img/border.png);
    background-position: center top;
    background-repeat: repeat-x;
    background-size: auto;
}
.special-column h3{
    margin-bottom: 50px;
}
.special-information{
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 16px 20px;
    line-height: 30px;
}
.special-information dt{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 30px;
    background-image: url(../img/label.png);
    background-size: cover;
    color: #fff;
    font-size: 20px;
    text-align: center;
}
.special-information dd{
    font-size: 24px;
    line-height: calc(30/24);
}
.special-information dd figure{
    display: inline-block;
    margin-top: 0.5em;
}
.special-information dd .day{
    display: inline-block;
    width: 3.8em;
}
.special-information dd small{
    display: inline-block;
    margin-top: 0.5em;
    font-size: 18px;
    line-height: 1.5;
}
.special-information dd .sup,
.special-column .sup{
    display: inline-block;
    padding-left: 1.0em;
    text-indent: -1.0em;
    line-height: 1.5;
}
.special-information dd .sup{
    font-size: 14px;
}
.special-column .sup{
    font-size: 18px;
}
.special-column .sup2{
    line-height: 1.5;
    font-size: 18px;
}
.special-column h4{
    font-size: 30px;
    color: #00a7ac;
    line-height: 1.4em;
    margin-top: 20px;
}
.special-column h5{
    font-size: 22px;
    color: #00a7ac;
}
.special-news{
    color: #f00;
    font-size: 24px;
    font-weight: bold;
}
.special-column .bb{
    padding-bottom: 30px;
    background-image: url(../img/border.png);
    background-position: center bottom;
    background-repeat: repeat-x;
    background-size: auto;
    margin-bottom: 30px;
}
.special-goods-wrap{
    display: grid;
    grid-template-columns: repeat(auto-fit,248px);
    gap: 24px 36px;
    justify-content: center;
    width: 100%;
}
.special-goods-wrap h4{
    font-size: 18px;
    font-weight: 700;
    line-height: calc(26/18);
}
.special-goods-wrap p{
    font-size: 15px;
    font-weight: 400;
    line-height: calc(22/15);
}
.special-goods-wrap a{
    text-decoration: none;
}
.special-goods-wrap figure{
    display: flex;
    justify-content: center;
    position: relative;
    margin-bottom: 10px;
}
.special-goods-wrap figure img{
    width: 268px;
    max-width: inherit;
}
.contest-text{
    margin-top: 16px;
    font-size: 27px;
    line-height: calc(45/27);
}

#sponsor .inner{
    padding-top: 80px;
}
#sponsor h2{
    margin-bottom: 40px;
    box-shadow: 0px 0px 20px 10px #fff;
}
.sponcer-list-wrap{
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 20px;
    list-style-type: none;
}
.sponcer-list-wrap li{
    margin-left: 0;
    aspect-ratio: 300/100;
    background-color: #fff;
}
.sponcer-list-wrap li img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.sponcer-list-wrap li a,
.sponcer-list-wrap li span{
    display: block;
    position: relative;
}
.sponcer-list-wrap li a:hover{
    opacity: 0.7;
}
.sponcer-list-wrap li a:hover img{
    opacity: 1;
}
.sponcer-list-wrap li a:before,
.sponcer-list-wrap li span:before{
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    border: 1px solid #fff;
    position: absolute;
    top: 0;
    left: 0;
}


#win{
    display: none;
    width: 100%;
    height: calc(100% - 110px);
    position: fixed;
    top: 110px;
    left: 0;
    background: url(../img/bg-comment.png) repeat center/cover;
    z-index: 50;
    overflow-y: auto;
}
#win #prev,
#win #next{
    width: calc(116px/2);
    height: 116px;
    background: #fff url("../img/arrow-prev.png") no-repeat 80% center;
    border-top-left-radius: 58px;
    border-bottom-left-radius: 58px;
    overflow: hidden;
    position: absolute;
    top:50%;
    cursor: pointer;
    z-index: 60;
}
#win #prev{
    left:  max(10% - 56px,(100% - 1200px)/2 - 56px);
    transform: translateY(-50%);
}
#win #next{
    right: max(10% - 56px,(100% - 1200px)/2 - 56px);
    transform: translateY(-50%) scale(-1,-1);
}
#comment6.active{
    height: auto;
    max-height: inherit;
    padding-bottom: 40px;
    /*aspect-ratio: 1200/calc(740*4 + 40*5);*/
}
.win{
    display: grid;
    gap: 40px;
    align-items: center;
    width: 80%;
    max-width: 1200px;
    padding: 40px 0;
    overflow: hidden;
    box-sizing: content-box;
    position: absolute;
    top: max(0px,(100% - 740px)/2);
    left: 50%;
    transform: translate(-50%,0%);
    z-index: 100;
    -webkit-transition: all 0.6s ease;
    -moz-transition: all 0.6s ease;
    -ms-transition: all 0.6s ease;
    transition: all 0.6s ease;
}
.win.active{
    opacity:1;
    z-index:1;
}
.win:not(.active){
    display: none;
    opacity:0;
    z-index:0;
}
.win .box{
    display: flex;
    align-items: center;
    max-width:1200px;
    max-height: 740px;
    aspect-ratio: 1200/740;
    padding: 40px;
    background: #fff;
    border-radius: 10px;
    position: relative;
}
.win .flex{
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
    aspect-ratio: 1120/580;
    margin-top: 20px;
}
.win .photo{
    width: min(480px,100%*(480/1120));
    font-size: 20px;
    text-align: center;
    line-height: 1.4;
}
.win .photo figure{
    width: 100%;
    margin-bottom: 16px;
    aspect-ratio: 480/500;
    background-color: #ccc;
    border-radius: 10px;
    overflow: hidden;
}
.win .photo img{
    display: inline-block;
}
.win .photo span{
    display: inline-block;
    font-size: 15px;
}
.win .txt{
    width: min(590px,100%*(590/1120));
    aspect-ratio: 590/500;
    padding-right: 16px;
}
.win .txt.scroll{
    overflow-y: auto;
}
.win .txt p{
    font-size: 18px;
    line-height: 1.8;
}
.win .txt p.en{
    border-top: 1px solid #ccc;
    margin-top: 1em;
    padding-top: 1em;
}
.win .close,
.win .close2{
    width: min(40px,100vw*(40/1120));
    height: min(40px,100vw*(40/1120));
    background: url("../img/close.png") no-repeat center/contain;
    cursor: pointer;
    position: absolute;
    top:20px;
    right: 30px;
}
.win .close2{
    background: url("../img/close2.png") no-repeat center/contain;
}