@charset "utf-8";

/*-----------------------

   reset

-----------------------*/

/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0;
    vertical-align: baseline;
    font: inherit;
    font-size: 100%;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-spacing: 0;
    border-collapse: collapse;
}

.wrap img {
    max-width: 100%;
    height: auto;
}


/*-----------------------

   common

-----------------------*/
body {
    background-color: #006cb6;
    background-image: url(../images/bg_flower.png);
    background-repeat: repeat;
    background-position: top center;
    background-size: auto;
}

.wrap {
    min-width: 320px;
    max-width: 1200px;
    background-color: #b2dfed;
    background-image: url(../images/bg_main.webp);
    background-size: 100px auto;
    border-left: solid 10px #00b1ec;
    border-right: solid 10px #00b1ec;
    margin: 0px auto;
    font-family:
        "Zen Maru Gothic", "Noto Sans JP", "Hiragino Sans", Meiryo, "Helvetica Neue", Arial, sans-serif;
    font-weight: bold;
    line-height: 150%;
    padding-bottom: 50px;
}

@media screen and (max-width: 1000px) {
    .wrap {
        border: none;
    }

}



/* header */
.wrap header {
    background-image: url(../images/bg_header.webp);
    background-position: top center;
    background-size: contain;
    background-repeat: no-repeat;
}

.wrap header h1 {
    text-align: center;
    padding-top: 12%;
}

.wrap header h1 img {
    width: 40%;
}

.wrap header h1 img.text {
    padding-top: 20px;
}


/* main */
.wrap .main .box {
    position: relative;
    max-width: 960px;
    width: calc(100% - 20px);
    background-color: #fff;
    border-radius: 50px;

    border: solid 10px #00b1ec;

    padding: clamp(40px, 1.591rem + 4.545vw, 80px) 20px;
    margin: clamp(30px, 0.284rem + 7.955vw, 100px) auto 50px;
}

.wrap .main .box::before {
    position: absolute;
    content: " ";
    background-image: url(../images/img_flower.webp);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top center;
    max-width: 850px;
    height: 125px;

    top: clamp(-90px, -1.36px + -7.39vw, -25px);
    left: 0;
    right: 0;
    margin: auto;
}



/* modal */
/* メインボタン */
.wrap .btn-open {
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.btn-open:active {
    transform: scale(0.95);
}

/* ダイアログ本体 */
dialog {
    border: none;
    background: transparent;
    padding: 0;
    max-width: 90vw;
    width: 800px;
    max-height: 85vh;
    overflow: visible;
    outline: none;
    color: #006cb6;
}

dialog[open] {
    animation: show 0.3s ease forwards;
    display: flex;
    flex-direction: column;
}

@keyframes show {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

dialog::backdrop {
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

/* 閉じる */
.close-btn-outer {
    position: absolute;
    top: -45px;
    right: 0;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    font-size: 0.9rem;
    transition: opacity 0.2s;
}

.close-btn-outer:hover {
    opacity: 0.8;
}

.modal-container {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-height: inherit;
}

.modal-header {
    flex-shrink: 0;
    padding: 1.25rem 1.5rem;
    background: #ffe200;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
}

.modal-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 1.5rem;
    background-color: white;
    -webkit-overflow-scrolling: touch;
}

.modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-body::-webkit-scrollbar-track {
    background: transparent;
}

.modal-body::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.content-inner p {
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}





/* info */
.wrap .main .info {
    color: #006cb6;
    font-size: clamp(1rem, 0.927rem + 0.36vw, 1.2rem);
    line-height: 200%;
}

.wrap .main .info p {
    margin-bottom: 1rem;
}

.wrap .main .info figure {
    text-align: center;
    padding: 50px 10px;
}

.wrap .main .info figure img {
    width: 400px;
}

.wrap .main .info #openModal {
    font-family: "Zen Maru Gothic";

    position: relative;
    display: block;
    width: fit-content;
    border-radius: 100vw;
    box-shadow: 5px 5px 0px #006cb6;
    background-color: #ffe200;
    color: #006cb6;

    text-decoration: none;
    font-weight: 700;
    font-size: clamp(1rem, 0.927rem + 0.36vw, 1.2rem);

    padding: 20px 50px;
    margin: auto;

}

.wrap .main .info #openModal span {
    display: inline-block;
    transition: all 0.6s ease 0s;
}

.wrap .main .info #openModal span:hover {
    transform: rotateX(360deg);
}

.wrap .main .info #openModal::before {
    content: "";
    position: absolute;
    top: -10px;
    right: 0;
    left: -45px;
    width: 80px;
    height: 90px;
    background-image: url("../images/bg_b_l.webp");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.wrap .main .info #openModal::after {
    content: "";
    position: absolute;
    top: 10px;
    right: -45px;
    width: 80px;
    height: 80px;
    background-image: url("../images/bg_b_r.webp");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.wrap .main .detail h2 {
    text-align: center;
}

.wrap .main .detail h2 img {
    max-width: 40%;
}


.wrap .main .detail dl {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    row-gap: 15px;

}

.wrap .main .detail dl dt {
    width: 20%;
    letter-spacing: 2px;
    border-right: 4px solid #ffe200;
    padding: 20px 10px;
    color: #006cb6;
    text-align: right;
}

.wrap .main .detail dl dd {
    width: 80%;
    padding: 20px 10px;
}

@media screen and (max-width: 800px) {

    .wrap .main .detail dl dt,
    .wrap .main .detail dl dd {
        width: 100%;
        padding: 10px;
    }

    .wrap .main .detail dl dt {
        background-color: #006cb6;
        border-radius: 10px;
        letter-spacing: 2px;
        border-right: none;
        text-align: center;
        color: #fff;
    }

}


.wrap .main .detail dl dd.goods_info figure {
    padding: 0px 0px 15px;
    margin-bottom: 15px;
}


.wrap .main .detail dl dd.goods_info figure img {
    max-height: 250px;
    border: 10px solid #fff;
    border-radius: 10px;
    margin: 20px 0px 5px;
}

.wrap .main .detail dl dd.goods_info figure .title {
    background-color: #d7e9ee;
    border-radius: 5px;
    padding: 5px 10px;
}


.wrap .main .detail dl dd.goods_info figure .title span {
    color: #006cb6;
    margin-right: 10px;
}

@media screen and (max-width: 800px) {
    .wrap .main .detail dl dd.goods_info figure .title span {
        display: block;
    }
}

/* footer */
footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    color: #006cb6;
}

footer a {
    background-color: #ffe200;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 50vw;
    color: #006cb6;
}