:root {
    /* COLORS */

    --realwhite: #ffffff;
    --realblack: #000000;

    /* NAVIGATION */

    --burgericon: url(/assets/images/burger.svg);
    --closeicon: url(/assets/images/close.svg);

    /* SWIPER.JS */
    --swiper-navigation-size: 60px !important;

    --swiper-pagination-color: #000000;
    --swiper-pagination-top: auto;
}

.default {
    --primary-lighter-3: #fcf8fa;
    --primary-lighter-2: #fff5fa;
    --primary-lighter: #fff3f9;
    --primary-light: #ffd9ed;
    --primary-color: #fea7d4;
    --primary-darker: #fa89c3;
    --primary-darker-2: #f5188a;
    --primary-darker-3: #b80260;
    --secondary-color: #bde9f2;
    --secondary-darker: #427ea3;
    --header: url('/assets/images/guestbook_sidebar1.png');
}

html {
    font-size: 16px;
}

body {
    background: #bde9f2;
    font-family: "Livvic", "Helvetica", "Arial", sans-serif;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

/* FONTS */

@font-face {
    font-family: Caveat;
    src: url("/assets/fonts/Caveat-VariableFont_wght.ttf");
}

@font-face {
    font-family: Nunito;
    src: url("/assets/fonts/Nunito-VariableFont_wght.ttf");
}

p,
ul {
    font-size: 1rem;
    font-family: Nunito;
}

mark {
    background-color: var(--primary-light);
}

body h2,
h3,
h4,
h5 {
    font-weight: 400;
    font-family: Nunito;
}

/* h2 */
.first {
    font-size: 3rem !important;
    color: var(--realwhite) !important;
    font-weight: bold;
    text-shadow: var(--primary-color) 1px 0 10px, var(--primary-color) 1px 0 10px;
    text-align: center;
}

/* SIDEBAR / ASIDE */

.pink {
    background-color: var(--primary-darker) !important;
    margin: -10px 25px 10px 25px;
}

/*.sidebar-inner {
			position: sticky;
			top: 1.5rem;
		}*/

.sidebar-header-img {
    width: 112%;
    background-image: var(--header);
    background-size: cover;
    background-position: center;
    /* background-color: rgba(0, 0, 0, 0.15);*/
    min-height: 550px;
    position: relative;
    left: -50px;
}

.sidebar-buttons {
    padding: 1.25rem;
}

/* Additions */

/*.window-title {
    font-family: Caveat;
    font-size: 2.8rem;
    color: #f08cbc;
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
}*/

.window-title {
    position: absolute;
    top: 40px;
    left: -30px;
    width: 100%;
    text-align: center;
    font-family: Caveat;
    font-size: 2.8rem;
    color: #f08cbc;
}

.window-scene {
    position: relative;
}

.flower-nav {
    position: absolute;
    bottom: 30px;
    left: -50px;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.flower-tag {
    background: white;
    border: 2px solid var(--primary-light);
    padding: 6px 12px;
    border-radius: 8px;
    color: #555;
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
    transform: rotate(-2deg);
    transition: .2s;
}

.flower-tag:nth-child(2) {
    transform: rotate(2deg);
}

.flower-tag:nth-child(3) {
    transform: rotate(-3deg);
}

.flower-tag:hover {
    transform: translateY(-3px);
}

/* NAVIGATION */

.btn-nav {
    background-color: rgba(255, 255, 255, 0.22) !important;
    color: white !important;
    border: none !important;
    font-family: "Livvic", sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
    text-decoration: none !important;
    text-align: center;
    padding: 0.45rem 0.5rem;
    border-radius: 0.375rem;
    transition: background-color 0.15s;
}

.btn-nav:hover,
.btn-nav:focus {
    background-color: rgba(255, 255, 255, 0.38) !important;
    color: white !important;
}

.btn-nav.active {
    background-color: rgba(255, 255, 255, 0.45) !important;
}

/* MAIN */

.entry-box {
    background-color: #ffffff;
    border: none;
    width: 100%;
    margin-bottom: 1.25rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.entry-box:last-child {
    margin-bottom: 0;
}

/* Version 1*/

.question {
    background-color: #ffd9ed;
    padding: 10px;
    margin-top: 15px;
    width: 100%;
}

.answer {
    background-color: white;
    padding: 10px;
    width: 100%;
    border: 2px solid #ffd9ed;
    margin-bottom: 15px;
}

/* Test */

.boxstripe {
    background: url(/assets/images/stripes.gif);
    /*box-shadow: 0 1px 3px #000;*/
    /* 影 */
    box-sizing: border-box;
    margin: 1em;
    /* 中央寄せは0をautoに変更 */
    padding: 20px;
    max-width: 100%;
    width: 1000px;
}

.boxs-inner {
    background: white;
    /* box-shadow: 0 1px 3px #000;*/
    /* 影 */
    padding: 20px
}

/* Version 2 */

.pink-card {
    background: var(--primary-color);
    border-radius: 0px;
    overflow: hidden;
    padding: 10px 10px 0 10px;
    /*margin: 1em auto;*/
    width: 100%;
    max-width: 1000px;
}

.pink-inner {
    background: #fff;
    border-radius: 8px 8px 0 0;
    padding: 24px 20px;
}

.pink-inner p {
    margin: 0;
    /*font-size: 15px;*/
    line-height: 1.7;
    color: #333;
}

.pink-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
}

.stripe-dot {
    font-size: 14px;
    color: #6b2040;
    opacity: 0.7;
}

.pink-footer .footer-sender,
.pink-footer .footer-sender a {
    font-size: 13px;
    font-weight: 600;
    color: #6b2040;
    text-decoration: none;
}

.pink-footer .footer-sep {
    color: #d67a97;
}

.pink-footer .footer-date {
    font-size: 12px;
    color: #8c3054;
    margin-left: auto;
}

.answer-card {
    padding: 10px 10px 0px 10px;
    background: #fff;
    border: 2px solid var(--primary-color);
}

/* BUTTONS */

.buttons {
    background-color: var(--primary-color) !important;
    border: 1px solid var(--primary-color) !important;
    color: rgb(0, 0, 0) !important;
}

.buttons:hover {
    background-color: var(--primary-darker) !important;
    border: 1px solid var(--primary-darker) !important;
    color: var(--realwhite) !important;
}

[role="tab"][aria-selected="false"] {
    background-color: var(--realwhite) !important;
    border: 1px solid var(--primary-color) !important;
}

[role="tab"][aria-selected="false"]:hover {
    color: var(--secondary-darker) !important;
}

.tips-d {
    background-color: rgba(255, 255, 255, 0.9);
    color: #444;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.5;
    max-width: 600px;
    margin: 10px auto;
    position: relative;
}

.tips-d::before {
    content: '';
    display: block;
    position: absolute;
    left: -17px;
    top: -2px;
    width: 60px;
    height: 18px;
    background-color: #fea7d4a8;
    /* Subtle jagged edges to mimic actual tape */
    clip-path: polygon(0 0, 100% 0, 100% 50%, 98% 100%, 2% 100%, 0 50%);
    transform: rotate(-25deg);
    z-index: 100;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* PAGES / PAGINATION */

ul.pages {
    display: flex;
    list-style: none;
    margin: 10px auto;
    justify-content: center;
}

ul.pages li {
    width: 30px;
    height: 30px;
    text-align: center;
    margin: 0 1px 0 0;
    line-height: 30px;
}

@media (min-width: 1025px) {
    ul.pages li {
        width: 40px;
        height: 40px;
        line-height: 40px;
    }
}

ul.pages li a {
    display: block;
    width: 100%;
    height: 100%;
    background: var(--realwhite);
    border: 1px solid var(--primary-color);
    color: var(--realblack);
    text-decoration: none;
    transition: 0.3s;
}

ul.pages li.active {
    background: var(--primary-color);
    color: var(--realwhite);
    border: 1px solid var(--primary-color);
}

ul.pages li.page a:hover {
    background: var(--primary-color);
    color: var(--realwhite);
    border: 1px solid var(--primary-color);
    transition: 0.3s ease;
}

/* RESPONSIVE */

@media (min-width: 1920px) {
    .window-title {
        top: 90px;
        transform: translateX(-25%);
        font-size: 4rem !important;
    }

    .flower-nav {
        bottom: 50px;
        /*left: -130px;*/
        width: 100%;
        transform: translateX(-20%);
        font-size: 1.3rem;
    }

    .sidebar-header-img {
        min-height: 900px;
        width: 150%;
        left: -250px;
        position: relative;
    }
}

@media (1400px <= width <= 1919px) {
    .window-title {
        top: 40px;
        left: 0px;
    }

    .flower-nav {
        bottom: 20px;
        left: 20px;
    }

    .sidebar-header-img {
        width: 90%;
        left: 20px;
    }
}

@media (1300px <= width <= 1359px) {
    .window-title {
        top: 40px;
        left: -30px;
    }

    .flower-nav {
        bottom: 20px;
        left: -20px;
    }

}

@media (1200px <= width <= 1299px) {
    .window-title {
        top: 40px;
        left: 10px;
    }

    .flower-nav {
        bottom: 20px;
        left: 50px;
    }

    .sidebar-header-img {
        left: 1px;
    }
}

@media (992px <= width <= 1199px) {
    .window-title {
        top: 40px;
        left: -5px;
    }

    .flower-nav {
        bottom: 20px;
        left: 10px;
    }

    .sidebar-header-img {
        width: 130%;
    }
}

@media (835px <= width <= 991px) {
    .window-title {
        top: 100px;
        font-size: 4rem !important;
        left: 1px;
    }

    .flower-nav {
        bottom: 60px;
        font-size: 1.2rem;
    }

    .sidebar-header-img {
        padding-bottom: 150%;
    }
}

@media (820px <= width <= 834px) {
    .window-title {
        top: 100px;
        font-size: 4rem !important;
        left: 1px;
    }

    .flower-nav {
        bottom: 60px;
        font-size: 1.2rem;
    }

    .sidebar-header-img {
        padding-bottom: 150%;
    }
}

@media (801px <= width <= 819px) {
    .window-title {
        top: 100px;
        left: 1px;
        font-size: 4rem !important;
    }

    .flower-nav {
        bottom: 60px;
        font-size: 1.2rem;
    }

    .sidebar-header-img {
        padding-bottom: 150%;
    }
}

@media (max-width: 800px) {
    .window-title {
        top: 100px;
        left: 1px;
    }

    .flower-nav {
        bottom: 60px;
    }

    .sidebar-header-img {
        padding-bottom: 150%;
    }
}

@media (max-width: 744px) {
    .window-title {
        top: 60px;
        left: -15px;
    }
    
    .flower-nav {
        bottom: 40px;
    }
}

@media (712px <= width <= 800px) {
    .window-title {
        font-size: 4rem !important;
    }

    .flower-nav {
        bottom: 60px;
        font-size: 1.2rem;
    }

}

@media (max-width: 712px) {
    .window-title {
        top: 70px;
    }

    .flower-nav {
        bottom: 40px;
    }

    .sidebar-header-img {
        padding-bottom: 800px;
    }
}

@media all and (max-width: 500px) {
    .sidebar-header-img {
        min-height: 400px;
        padding-bottom: 600px;
        width: 414px;
        transform: translateX(12%);
    }
}

@media (412px <= width <= 414px) {
    .window-title {
        top: 50px;
        left: 2px;
    }

    .flower-nav {
        bottom: 30px;
        left: 10px;
    }
}

@media (max-width: 402px) {
    .window-title {
        top: 50px;
        left: 1px;
    }

    .flower-nav {
        bottom: 30px;
        left: 10px;
    }

    .sidebar-header-img {
        min-height: 400px;
        padding-bottom: 600px;
        width: 402px;
        transform: translateX(13%);
    }
}

@media (max-width: 393px) {
    .window-title {
        top: 30px;
        left: -10px;
    }

    .flower-nav {
        bottom: 30px;
        left: 10px;
    }

    .sidebar-header-img {
        min-height: 400px;
        padding-bottom: 500px;
        width: 360px;
        transform: translateX(16%);
    }
}

@media (360px <= width <= 390px) {
    .window-title {
        top: 30px;
        left: 1px;
    }

    .flower-nav {
        bottom: 30px;
        left: 10px;
    }

    .sidebar-header-img {
        min-height: 400px;
        padding-bottom: 500px;
        width: 360px;
        transform: translateX(13%);
    }
}

