@charset "UTF-8";

:root {
    --orange: #F2B90C;
    --red: #F21B1B;
    --gray-light: #F2F2F2;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    word-wrap: break-word;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #000;
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-family:"Zen Kaku Gothic New", "游ゴシック Medium", "Yu Gothic Medium", YuGothicM, 游ゴシック体, YuGothic, "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, sans-serif;
    font-weight: 400;
    font-style: normal;
    overflow-wrap: break-word;
    background: url(/design_items/pc/img/sv_happyset2024/bg.png) top center;
}
@media screen and (max-width: 640px) {
    body {
        background: url(/design_items/pc/img/sv_happyset2024/bg.png) top center / 50% 50%;
    }
    .wrapper {
        background: url(/design_items/pc/img/sv_happyset2024/bg_yellow.png) top center / 15px 15px;
    }
}

img, iframe {
    outline: none;
    vertical-align: bottom;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: #000;
}
a:hover {
    color: var(--red);
}



/* nav */
body.is-menu-open {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
}

header {
    z-index: 999;
    position: sticky;
    top: 0;
    left: 0;
    background: var(--orange);
}
.header-contents {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 40px;
}
.header-title {
    font-weight: bold;
}
.header-title br {
    display: none;
}

#header-sp-btn {
    display: none;
}

#header-nav {
    height: 100%;
}

.header-menu {
    display: flex;
    justify-content: flex-end;
}
.header-menu li {
    list-style: none;
}

.header-menu li, .header-menu a {
    display: flex;
    position: relative;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
}
.header-menu a {
    padding: 16px;
    text-align: center;
}
.header-menu a:hover {
    color: #BA2A19;
}

@media screen and (max-width: 1100px) {
    .header-contents {
        min-height: 48px;
        padding-left: 24px;
    }
    .header-title {
        font-size: .75rem;
    }
    .header-title br {
        display: block;
    }
    #header-sp-btn {
        display: flex;
        position: absolute;
        top: 7px;
        right: 16px;
        align-items: center;
        justify-content: center;
        width: 28px;
        height: 28px;
        background: #3097BF;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        border-radius: 3px;
    }
    #header-sp-btn:hover {
        cursor: pointer;
    }
    #header-sp-btn .header-sp-btn-bar {
        position: relative;
        width: 28px;
        height: 28px;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        align-items: center;
    }
    #header-sp-btn .header-sp-btn-bar span {
        display: inline-block;
        /*position: absolute;
        top: 4px;*/
        left: 25%;
        width: 50%;
        height: 2px;
        border-radius: 2px;
        background: #fff;
        transition: all 0.4s;
    }
    /*
    #header-sp-btn .header-sp-btn-bar span:nth-of-type(2) {
        top: 23px;
    }
    #header-sp-btn .header-sp-btn-bar span:nth-of-type(3) {
        top: 31px;
    }
     */
    #header-sp-btn.is-open .header-sp-btn-bar span {
        top: 18px;
        left: 18px;
        width: 50%;
        transform: translateY(7px) rotate(-45deg);
    }
    #header-sp-btn.is-open .header-sp-btn-bar span:nth-of-type(2) {
        opacity: 0;
    }
    #header-sp-btn.is-open .header-sp-btn-bar span:nth-of-type(3) {
        top: 30px;
        left: 18px;
        width: 50%;
        transform: translateY(-8px) rotate(45deg);
    }

    .is-menu-open .header-menu {
        max-height: 2000px;
        overflow-y: scroll;
        opacity: 1;
        transition: opacity 0.5s ease-in-out, max-height 0.5s ease-in-out;
        background: var(--orange);
    }
    .header-menu {
        display: block;
        z-index: 9999;
        position: absolute;
        top: 48px;
        right: 0;
        max-height: 0;
        margin-top: 0;
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        border-radius: 0;
        overflow: hidden;
        opacity: 0;
        transition: opacity 0.5s ease-in-out, max-height 0.5s ease-in-out;
    }
    .header-menu li, .header-menu a {
        display: block;
        width: 100%;
        height: auto;
    }
    .header-menu a {
        padding: 16px;
        border-bottom: 2px solid #000;
    }
}



/* layout */
.wrapper {
    overflow: clip;
    max-width: 1200px;
    margin: 0 auto 160px;
    padding: 0 0 100px;
    background: url(/design_items/pc/img/sv_happyset2024/bg_yellow.png) top center;
}
@media screen and (max-width: 800px) {
    .wrapper {
        margin: 0 12px;
    }
}

main {
    max-width: 1000px;
    margin: 0 auto;
}
.contents-inner {
    max-width: 1032px;
    margin: 0 auto;
    padding: 0 16px;
}
.contents-inner-m {
    max-width: 800px;
}
.section-block {
     margin-bottom: clamp(20px, 6.4vw,64px);
}
.col-wrapper {
    display: flex;
}

/* Start of Selection */
.col-2 {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 24px;
}
/* End of Selection */
.col-2 .col-item {
    width: 100%;
    text-align: center;
}
@media screen and (max-width: 640px) {
    .col-2 {
        flex-direction: column;
    }

    .col-2 .col-item {
        text-align: center;
    }
    .col-2 img {
        max-width: 40%;
    }
}

.btn-area {
    text-align: center;
}
.btn-red,
.btn-blue {
    display: flex;
    padding: 20px;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: #fff;
    font-size: clamp(1rem, 3vw, 1.875rem);
    font-weight: bold;
    text-decoration: none;
    background: var(--red);
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
    box-shadow: 10px 10px 0 #000;
}
.btn-blue {
    width: fit-content;
    margin: 40px auto;
    background: #3097BF;
}

.btn-red:hover,
.btn-blue:hover {
    background: #000;
    box-shadow:  0 0 0 #000;
}

@media screen and (max-width: 640px) {
    .btn-red {
        padding: 8px 20px;
    }
}

.box-w {
    display: flex;
    flex-direction: column;
    gap: 48px;
    padding: clamp(18px, 4vw, 40px);
    border: clamp(6px, 2vw, 20px) solid var(--gray-light);
    box-shadow: clamp(6px, 2vw, 20px) clamp(6px, 2vw, 20px) 0 rgb(0 0 0 /.25);
    background: #fff;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
}
.box-w h2 {
    width: fit-content;
    margin: 0 auto;
    padding: 20px 50px;
    color: #fff;
    font-size: clamp(1rem, 3.6vw, 2.25rem);
    background: var(--red);
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
}
.box-w h3 {
    position: relative;
    margin-bottom: 16px;
    padding-left: 24px;
    font-size: inherit;
}
.box-w h3::before {
    content: "";
    position: absolute;
    top: calc(50% - 8px);
    left: 0;
    display: block;
    width: 16px;
    height: 16px;
    background: #000;
}
.box-w h4 {
    margin: 24px 0 16px;
}
.box-w ol li {
    margin-bottom: 16px;
    list-style: none;
}
.box-w ul {
    margin-left: 1.5em;
}
.box-w ul li {
    margin-bottom: 16px;
}
.box-w a {
    font-weight: bold;
}
@media screen and (max-width: 640px) {
    .box-w {
        gap: 20px;
        -webkit-border-radius: 18px;
        -moz-border-radius: 18px;
        border-radius: 18px;
    }
    .box-w h2 {
        padding: 10px 20px;
        -webkit-border-radius: 6px;
        -moz-border-radius: 6px;
        border-radius: 6px;
    }
}




/* heading */
.title-section {
    position: relative;
    width: 100%;
    text-align: center;
    line-height: 1.3;
}


/* top link */
.link-pagetop {
    position: fixed;
    z-index: 50;
    right: 8px;
    bottom: 8px;
    width: 48px;
    height: 48px;
}
.link-pagetop a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: #3097BF;
    text-indent: -9999px;
}

.link-pagetop a::before {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-right: 8px solid transparent;
    border-left: 8px solid transparent;
    border-bottom: 14px solid #ffffff;
    border-top: 0;
}


/* hero */
.hero {
    text-align: center;
}
.title-main {
    position: relative;
}
.title-main .special-books-img {
    position: absolute;
    z-index: 5;
    width: 23%;
    bottom: -30px;
    left: 20px;
}
.special-books {
    position: relative;
    margin-top: -40px;
    padding: 40px 0;
    background: var(--orange);
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
}
.special-books .special-books-credit {
    padding-right: 16px;
    text-align: right;
}

@media screen and (max-width: 640px) {
    .title-main .special-books-img {
        bottom: -10px;
        left: 0;
    }

    .special-books {
        margin-top: -20px;
        padding: 24px 16px 16px;
    }
    .special-books .special-books-credit {
        padding-right: 0;
    }
}

/* summary */
.term {
    font-size: clamp(.875rem, 2.4vw, 1.5rem);
    text-align: center;
}

.term strong {
    font-size: clamp(1rem, 3.6vw, 2.25rem);
}

/* how to get */
#howtoget .col-2 {
    margin-bottom: 40px;
}
.movie-area {
    text-align: center;
}
.movie-area iframe {
    width: 100%;
    max-width: 70%;
    height: 100%;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    margin: 0 auto;
}


/* utility */
.font-s {
    font-size: 14px;
    color: #333 !important;
}
.ta-c {
    text-align: center;
}
.ta-r {
    text-align: right;
}
.mb16 {
    margin-bottom: 16px;
}
.mb24 {
    margin-bottom: 24px;
}
@media screen and (max-width: 640px) {
    .sp-ta-c {
        text-align: center;
    }
}

/* footer */
footer {
    position: relative;
    padding: 40px 16px;
    text-align: center;
    background: #fff;
    font-size: 12px;
}
.footer-img.ta-c img {
    width: 100%;
    max-width: unset;
}
.copyright {
    margin-bottom: 24px;
}

/* 終了ワッペン */
@media screen and (max-width: 640px) {
    .owari-wappen {
        position:  absolute;        /* 位置指定 */
        width: 150px;
        height: auto;
        top: 100px;
        right: 10px;
        z-index: 100;               /* 重なり順指定 */
    }
    }

@media screen and (min-width: 640px) {
.owari-wappen {
    position:  absolute;        /* 位置指定 */
    width: 300px;
    height: auto;
    top: 280px;
    right: 180px;
    z-index: 100;               /* 重なり順指定 */
}
}


/* campaign 2nd add */
#campaign2nd .header-contents {
    padding: 0 24px;

}
#campaign2nd .special-books {
    margin-top: 0;
}
#campaign2nd .header-menu a {
    padding: 16px 8px;

}
#campaign2nd .title-main .special-books-img {
    bottom: -100px;
}
#archive .box-w {
    padding: 60px;
    border: none;
    box-shadow: none;
}

@media screen and (max-width: 640px) {
    #campaign2nd .title-main .special-books-img {
        bottom: -50px;
        left: 0;
    }
    #campaign2nd .btn-red {
        padding: 8px 10px;
    }
    #archive .box-w {
        padding: 16px;
    }
    #archive .btn-blue {
        margin: 24px auto;
    }
}

