* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    line-height: 1;
}

html {
    scroll-behavior: smooth;
    font-family: 'Noto Sans JP', sans-serif;
}

body {
    color: #000000;
}

main {
    scroll-padding-top: 100px;
    overflow: hidden;
    background-color: #E9F8FF;
}

a {
    text-decoration: none;
}

img {
    width: 100%;
    display: block;
}

img.images {
    width: calc(100% + 20px);
    margin: 1em -10px;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.bp {
    display: inline-block;
}

:root {
    --base-color: #F4F4F4;
    --sub-color: #F8F4F1;
    --font-color: #000000;
    --font-color-blue: #083190;
}

/*****************

   FV

******************/

#fv {
    margin-top: -30px;
    padding: 30px 0;
    background-image: url(./fv-back.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}

#fv .inner {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.left-box,
.right-upper-box,
.right-lower-box {
    position: absolute;
}

.left-box {
    left: -40px;
    top: -400px;
    width: clamp(250px, 60vw, 350px);
}

.right-upper-box {
    right: -70px;
    top: -250px;
    width: clamp(230px, 60vw, 350px);
}

.content-wr {
    margin-top: 200px;
}

@media (min-width:800px) {
    .content-wr {
        margin-top: 50px;
    }

    .left-box {
        top: -200px;
    }

    .right-upper-box {
        right: 0;
        top: -100px;
    }
}

.content-wr .logo-wr,
.content-wr .date {
    position: relative;
    z-index: 3;
}

.content-wr .logo {
    width: 90%;
    max-width: 600px;
    margin: 0 auto 90px;
}

.content-wr .logo-wr::before,
.content-wr .logo-wr::after {
    position: absolute;
    z-index: -1;
    bottom: -80px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px !important;
    width: 2.8rem;
    aspect-ratio: 1 / 1;
    font-size: 1.4rem;
    font-weight: 600;
    color: #ffffff;
    background: url(./fv-con-back.svg);
    background-size: contain;
    background-repeat: no-repeat;
}

.content-wr .logo-wr::before {
    content: "参加無料";
    right: 50%;
}

.content-wr .logo-wr::after{
    content: "予約不要";
    left: 50%;
}

@media (min-width:600px) {
    .content-wr .logo {
        width: 80%;
    }

    .content-wr .logo-wr::before,
    .content-wr .logo-wr::after {
        width: 4rem;
        height: 4rem;
        font-size: 2rem;
    }
}

@media (min-width:1000px) {
    .content-wr .logo {
        margin: 0 auto;
    }

    .content-wr .logo-wr::before,
    .content-wr .logo-wr::after {
        position: absolute;
        z-index: -1;
    }

    .content-wr .logo-wr::before {
        right: 18%;
    }

    .content-wr .logo-wr::after{
        left: 18%;
    }
}

.content-wr .date {
    width: 70%;
    max-width: 400px;
    margin: 0 auto;
}

.right-lower-box {
    display: none;
}

@media (min-width:600px) {
    .right-lower-box {
        display: block;
        max-width: 450px;
        right: -50px;
        bottom: -42px;
    }
}

.content-wr .fv-banner {
    max-width: 400px;
    width: 90%;
    position: relative;
    z-index: 1;
    margin: 30px auto 0;
}

@media (min-width:600px) {
    .fv-banner {
        max-width: 280px !important;
    }
}

@media (min-width:1000px) {
    .fv-banner {
        position: absolute !important;
        left: 30px;
        bottom: 0;
        margin: auto;
    }
}


/*****************

   page-nav

******************/

#page-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px 20px;
    max-width: 1100px;
    margin: 20px auto 0;
}

#page-nav > a {
    display: flex;
    align-items: center;
}

#page-nav > a > p {
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 2 / 1;
    background-image: url(./block.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    width: 250px;
    font-size: 1.1rem;
    line-height: 1.2;
    font-weight: 900;
    color: var(--font-color-blue);
}

@media (min-width:750px) {
    #page-nav {
        margin: 30px auto 0;
    }

    #page-nav {
        gap: 30px 20px;
    }

    #page-nav > a > p {
        width: 300px;
        font-size: 1.3rem;
    }
}

#page-nav > a:nth-child(odd) > p {
    rotate: -5deg;
}

#page-nav > a:nth-child(even) > p {
    rotate: 5deg;
}

#page-nav > a > img {
    position: relative;
    z-index: 4;
    max-width: 60px;
    aspect-ratio: 1 / 1;
    margin-left: -36px;
    margin-top: -10px;
}

#page-nav > a:nth-child(even) > img {
    margin-top: 20px;
}




/*****************

   about

******************/

#about {
    max-width: 1000px;
    margin: 80px auto 0;
    padding: 0 10px;
}

#about h2 {
    text-align: center;
    font-size: 1.4rem;
}

#about h2 img {
    max-width: 400px;
    margin: 0 auto;
}

#about p {
    font-size: 18px;
    line-height: 2;
    margin: 60px 0 40px;
    text-align: center;
}

#about p .block {
    margin: 1rem 0;
}

#about > img {
    max-width: 1000px;
}

@media (min-width:700px) {
    #about p .block {
        display: block;
        text-align: center;
        margin: 2rem 0;
    }
}




/*****************

   イベントプログラム

******************/
#program {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 10px;
}

#program hgroup {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#program hgroup .illust {
    width: min(35%,140px);
    aspect-ratio: 1;
    object-fit: contain;
}

#program .program-list > li {
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    border-radius: 30px;
    padding: 10px 10px 20px;
    margin-top: 80px;
}

#program .program-list > li:last-child {
    margin-top: 42px;
    padding: 20px 10px;
}

#program .program-list > li h3 {
    margin: -60px auto 0;
    max-width: 500px;
}

#program .program-list > li h3 text {
    fill: var(--font-color-blue);
}

#program .program-contents {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0 32px;
}

#program .program-contents li {
    max-width: 400px;
    margin: 1em 0;
    display: flex;
    flex-flow: column;
    flex: 350px 1 1;
}

#program .program-list > li:last-child .program-contents li {
    margin: 0;
}

#program .program-contents li h4 {
    color: #007BB0;
    font-size: clamp(16px, 3.5vw, 20px);
    text-align: center;
    line-height: 1.6;
    margin-bottom: 6px;
}

#program .program-contents h4 .highlight {
    font-size: clamp(20px,4vw,24px);
}

#program .program-contents .program-inner {
    background-color: #DCDDDD;
    flex-grow: 1;
}

#program .program-contents .program-inner img {
    width: min(100%,440px);
    aspect-ratio: 2/1;
    object-position: 50% 20%;
    object-fit: cover;
}

#program .program-contents .program-inner .break {
    object-position: 50% 55%;
}

#program .program-contents .program-inner p {
    padding: 10px;
    line-height: 1.4;
}

#program .program-contents .program-inner .time {
    font-weight: bold;
    max-width: 320px;
    margin: 0 auto;
    display: block;
}

@media (min-width:872px) {
    #program .program-list > li:not(:last-child) {
        padding: 32px 10px;
        margin-top: 100px;
    }
    
    #program .program-list > li h3 {
        margin-top: -86px;
    }
}
/*****************

   access

******************/

#access {
    margin: 60px auto;
    max-width: 900px;
    padding: 0 10px;
}

#access h2 img {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
}

#access .human {
    width: 100px;
    margin: -16px auto 0;
}

#access .access-wr {
    margin: 0 auto 2em;
    width: fit-content;
}

#access .access-wr p {
    margin: 12px 0;
}

#access .access-wr .adress {
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-items: center;
    gap: 16px;
    line-height: 1.1;
}

#access .access-wr .adress .label {
    height: fit-content;
    padding: 8px 16px;
    background-color: var(--font-color);
    color: #fff;
    border-radius: 100px;

}

#access .access-wr .tel a {
    color: var(--font-color);
    border-bottom: 1px solid #000;
    outline-offset: 4px;
}

#access iframe {
    width: 100%;
    aspect-ratio: 3 / 2;
}

@media (min-width:500px) {
    #access .access-inner {
        display: flex;
        justify-content: center;
        gap: 1em;
        margin: 0 auto 2em;
    }
    #access .human {
        width: 100px;
        margin: 0;
        object-fit: contain;
    }
    #access .access-wr {
        margin: 0;
        width: fit-content;
    }
}




/*****************

   footer

******************/

footer {
    background-color: var(--base-color);
    padding: 30px 0;
}

footer .inner {
    max-width: 1000px;
    display: flex;
    justify-content: center;
    gap: 30px 100px;
    align-items: flex-end;
    margin: 0 auto;
    flex-flow: row wrap;
}

footer .company img {
    max-width: 270px;
}

footer .company p {
    color: #000000;
}

footer .company .guidance {
    margin-top: 10px;
    text-align: center;
    color: #00A3E9;
    text-decoration: underline;
}

footer .foot-btn {
    position: relative;
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 20px 30px;
    background-color: #007BB0;
    color: #ffffff;
}

footer .foot-btn::before,
footer .foot-btn::after {
    content: "";
    display: block;
    background-repeat: no-repeat;
    background-size: contain;
    height: auto;
}

footer .foot-btn::before {
    left: -36px;
    position: absolute;
    width: 70px;
    aspect-ratio: 1 / 1;
    background-image: url(./keisoku.png);
}

footer .foot-btn::after {
    margin-top: 6px;
    width: 14px;
    aspect-ratio: 1 / 2;
    background-image: url(./arrow-w.svg);
}