@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Gabarito:wght@400..900&family=Zen+Kaku+Gothic+Antique:wght@300;400;500;700;900&display=swap');

/* .gabarito-<uniquifier> {
  font-family: "Gabarito", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
} 
  
.zen-kaku-gothic-antique-regular {
  font-family: "Zen Kaku Gothic Antique", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.zen-kaku-gothic-antique-medium {
  font-family: "Zen Kaku Gothic Antique", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.zen-kaku-gothic-antique-bold {
  font-family: "Zen Kaku Gothic Antique", sans-serif;
  font-weight: 700;
  font-style: normal;
}
  
*/


/* Reset & Basics */



body {
    font-family: "Zen Kaku Gothic Antique", sans-serif;
    line-height: 1.6;
    color: #000;
    background-color: #fff;
    font-weight: 400;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    /* display: block; */
}

.uk-navbar-container:not(.uk-navbar-transparent) {
    background: none;
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

.uk-navbar-container.scrolled-nav {
    background: transparent !important;
}

.uk-navbar-toggle {
    color: #000 !important;
}

.uk-navbar-container.scrolled-nav::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: -1;
}

.uk-navbar-nav>li>a:active {
    color: #000;
}

.uk-navbar-nav>li>a {
    height: 100%;
    padding: 0 0;
    color: #000;
    font-weight: bold;
    text-transform: uppercase;
    transition: 0.1s ease-in-out;
    transition-property: color, background-color;
}

.uk-navbar-dropdown-nav>li>a {
    color: #000;
    font-weight: bold;
}

.uk-navbar-dropdown {
    width: 200px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 5px;
    color: #000;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.uk-navbar-dropdown-nav li {
    border-bottom: dashed 1px #515151;
    margin-bottom: 10px;
    padding-bottom: 10px;
}

.uk-grid-divider> :not(.uk-first-column)::before {
    border-left: 1px solid #494949;
}

.uk-badge {
    box-sizing: border-box;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 500px;
    vertical-align: middle;
    background: #8db93b;
}

.uk-button-danger {
    background-color: #8db93b;
    color: #000;
    border: 1px solid transparent;
}



.uk-button-danger:hover {
    background-color: #b0e74a;
    color: #fff;
}



.uk-button-default:hover {
    border-color: #fff;
    color: #fff;
}

.uk-close {
    color: #000;
}

#modal-review .uk-modal-dialog {
    background: #8db93b;
}

.uk-text-success {
    color: #0173c3 !important;
}


.uk-slidenav {
    padding: 0px 0px;
    color: rgb(1 115 195);
    transition: color 0.1s ease-in-out;
}

.uk-slidenav:hover {
    color: rgb(0, 149, 255);
}

.uk-position-small {
    margin: 15px 10px 15px 10px;
    --uk-position-margin-offset: 15px;
}

.uk-dotnav>.uk-active>* {
    background-color: rgb(1 115 195 / 85%);
    border-color: transparent;
}

.uk-dotnav>*>* {
    border: 1px solid #0173c347;
}



/* Utilities */
.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.img_placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-weight: bold;
    border-radius: 8px;
}

/* Header */
header {
    background-color: #0173c3;
    /* Fallback */
    /* Gradient or Image background mimicking the sky/house scene */
    /* background: linear-gradient(to bottom, #87CEEB 0%, #E0F7FA 100%); */
    padding-bottom: 0px;
    text-align: center;
    position: relative;
    overflow: hidden;
}


.header_content h1 {
    font-size: 3rem;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
}

.header_title {
    position: relative;
    z-index: 10;
    opacity: 0;
    animation: titleFadeIn 1s ease-out 3s forwards;
    max-width: 1000px;
    width: 100%;
    height: auto;
    margin: 0 auto;
}

@keyframes titleFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.header_animation_container {
    display: grid;
    grid-template-areas: "stack";
    width: 100%;
    height: calc(100vh - 60px);
    height: calc(100dvh - 60px);
    position: relative;
}

.header_animation_container>* {
    grid-area: stack;
    width: 100%;
    height: 100%;
}

/* --- 各レイヤーのアニメーション --- */
.header_layer {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation-fill-mode: forwards !important;
    /* 終了時の状態を維持 */
}

/* 1. キャラクター (0.3s〜) */
.header_character {
    animation: fadeInBig 1.7s ease-in-out 0.3s forwards;
    z-index: 2;
}

/* .header_character {
    animation: fadeIn 0.8s ease-in-out 0.3s forwards;
    z-index: 2;
} */

/* 2. 背景 (2.0s〜) */
.header_background {
    animation: fadeIn 0.8s ease-in-out 2s forwards;
    z-index: 1;
}

/* 3. 鳥 (3.5s〜) */
.header_bird {
    animation: birdMoveUpRight 1s linear 4s forwards;
    /* animation: birdMoveUpRight 2s cubic-bezier(0.42, 0, 0.58, 1) forwards; */
    z-index: 3;
}

/* 2. リード (3.5s〜) */
.header_mainLead {
    animation: lastFadeIn 0.8s ease-in-out 3.5s forwards;
    z-index: 1;
}



/* --- 4. SVGロゴ：一番最後(3.5s〜)に出現し、上部(top)に固定 --- */

.header_content.container {
    z-index: 10;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    /* これで一番上に配置 */
    align-items: center !important;
    height: 100% !important;
    /* 親要素と同じ高さにする */
    min-height: 100% !important;
    padding-top: 100px !important;
    /* 上端からの余白 */
    pointer-events: none;
}

.header_title {
    width: 90% !important;
    max-width: 1050px !important;
    margin: 0 auto !important;

    /* 【重要】最初から3.5秒経つまで、ずっと opacity: 0 を維持する設定 */
    opacity: 0;
    /* 3.5秒の遅延(delay)を設定し、終了後(forwards)は表示したままにする */
    animation: fadeIn 1.2s ease-out 3.5s forwards !important;
}

/* 画面高さが低い場合でもSVGが隠れないように、高さを制限して縮小させる */
.header_title svg {
    width: 100%;
    height: auto;
    max-height: 25vh;
}

/* --- アニメーション定義 --- */

@keyframes fadeInBig {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }

    50% {
        opacity: 1;
        transform: scale(0.8);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes birdMoveUpRight {
    0% {
        opacity: 0;
        /* スタート：左側の低い位置 */
        transform: translate(-100px, 50px) rotate(0deg);
    }

    100% {
        opacity: 1;
        /* ゴール：少し落ち着いて水平に */
        transform: translate(0, 0) rotate(0deg);
    }
}

/* ロゴ専用：下からふわっと出て、そのまま表示され続ける */
@keyframes lastFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- その他のセクション（プロフィールの崩れ防止など） --- */
section {
    padding: 60px 0;
}

.container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-blue {
    background-color: #0173c3;
    color: #fff;
}

@media (max-width: 768px) {
    .header_animation_container {
        height: calc(100vh - 60px);
        height: calc(100dvh - 60px);
    }

    .header_content.container {
        padding-top: 50px !important;
        padding-bottom: 0 !important;
    }
}

/* 黒衣説明セクション */
.kuroko_description_container {
    max-width: 800px;
    margin: 50px auto 30px;
    position: relative;
}

.kuroko_card {
    background: #fff;
    border-radius: 20px;
    padding: 40px 40px 10px 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

/* 左から覗くキャラクター */
.kuroko_mascot {
    position: absolute;
    width: 120px;
    left: -113px;
    top: 20px;
    z-index: 2;
}

.kuroko_title {
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 20px;
    letter-spacing: 0.1em;
}

.kuroko_text {
    font-weight: bold;
    font-size: 1rem;
    line-height: 1.8;
}

.kuroko_illust {
    width: 100%;
    max-width: 150px;
    display: block;
    margin: 0 auto;
}

@media (max-width: 960px) {
    .kuroko_description_container {
        margin-left: 50px;
        margin-right: 20px;
    }

    .kuroko_mascot {
        width: 80px;
        left: -75px;
        top: 20px;
    }
}

@media (max-width: 640px) {
    .kuroko_card {
        padding: 15px;
        margin-left: 44px;
        max-width: 66vw;
    }

    .kuroko_mascot {
        width: 80px;
        left: -31px;
        top: 20%;
    }

    .kuroko_illust {
        margin-top: 20px;
    }
}

/* Sections */
section {
    padding: 60px 0 100px;
    position: relative;
    overflow: hidden;
}

.JPmidashi {
    position: relative;
    padding: 0.5rem 0 1rem;
    font-weight: bold;
    background: linear-gradient(90deg, #ffffff 0% 50%, #353535 50%);
    background-repeat: no-repeat;
    background-size: 4rem 0.2rem;
    background-position: bottom;
    text-align: center;
    /* 最小 20px、推奨 8vw、最大 120px */
    font-size: clamp(20px, 7vw, 35px);
}

/* 文字ごとのアニメーション */
.JPmidashi span {
    display: inline-block;
    opacity: 0;
    transform: scale(0.3);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.JPmidashi.in-view span {
    opacity: 1;
    transform: scale(1);
}

.section_title {

    text-align: center;
    margin-bottom: 40px;
    border-bottom: 0px solid red;
}

.section_title h2 {
    font-family: "Gabarito", sans-serif;
    font-weight: 700;
    /* 最小 20px、推奨 8vw、最大 120px */
    font-size: clamp(35px, 15vw, 120px);
    color: #fff;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 10px;
}

.section_title h2 span {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.section_title h2.in-view span {
    opacity: 1;
    transform: translateY(0);
}

.section_title p {
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
}

/* Wave Shapes Divider */
.wave-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

/* Profile Section (Blue) */
.section-blue {
    background-color: #3949AB;
    /* Deep Blue */
    color: #fff;
    padding-top: 80px;
}

/* Using clip-path for waved bottom or pseudo elements */
.section-blue::after {
    content: "";
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: #3949AB;
    border-radius: 0 0 50% 50% / 0 0 100% 100%;
    transform: scaleX(1.5);
    z-index: 1;
}

/* Alternative approach for waves using pure CSS shapes overlaps to match image easier */

/* Resetting ::after for a more controlled approach */
.section-blue::after {
    display: none;
}

/* Decoration */
.profile_content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
}

.profile_text {
    text-align: right;
    font-size: 1.3rem;
    line-height: 1.8;
    font-family: "Zen Kaku Gothic Antique", sans-serif;
    font-weight: 700;
}

.profile_text p {
    margin-bottom: 20px;
}

.kuroko_info {
    max-width: 600px;
    margin: 0 auto;
}


/* Quiz Section (Teal) */
.section-teal {
    background-color: #8BC34A;

    padding-top: 100px;
}

/* Wave separator between Profile (Blue) and Quiz (Teal) */
/* Actually, let's use a specific SVG shape for the transition to look like the image (organic curve) */
/* Since I cannot easily generate complex assets, I will use border-radius tricks */

#profile {
    padding-bottom: 150px;
    /* The bottom of profile is the blue curve */
    background: #0173c3;
    z-index: 2;
}

#profile::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: #80CBC4;
    /* Color of next section */
    clip-path: ellipse(60% 100% at 50% 100%);
    /* This creates a convex curve. The image shows a complex wave. 
       Let's try a simpler approach: 
       Blue section ends. 
       Teal section starts with a curved top.
    */
    display: none;
}

/* Better Wave Approach: SVG data URI */
.wave_bottom_blue {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.wave_bottom_blue::before {
    content: "";
    display: block;
    width: 100%;
    height: 100px;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1200 120' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z' fill='%2380CBC4'/%3E%3C/svg%3E");
    background-size: cover;
    background-repeat: no-repeat;
}

/* Override the SVG fill color for the connection */
/* The SVG fills the top of the NEXT section color, but placed at bottom of CURRENT section. */

/* Let's simplify and just use flat colors with border radius for the "wave" look as requested by standard web design when assets aren't provided */

/* Resetting mask for standard implementation */
/* Resetting mask for standard implementation */
#profile {
    /* background-image: url(../img/profile_bg02.svg), url(../img/profile_bg.webp); */
    background-size: contain, 100px auto;
    background-position: bottom 100px center, center;
    background-repeat: no-repeat, repeat;
    ;
    padding-bottom: 200px;
    /* Space for wave */
    position: relative;
    z-index: 1;
}

#quiz {
    background-color: #91BF3C;
    /* Fallback */
    position: relative;
    z-index: 2;
    padding-top: 50px;
    margin-top: -100px;
    /* Overlap */
}

/* Wave separator */
#quiz::before {
    content: "";
    position: absolute;
    top: -150px;
    left: 0;
    width: 100%;
    height: 151px;
    /* +1px to fix hairline */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%234DB6AC' fill-opacity='1' d='M0,224L80,197.3C160,171,320,117,480,112C640,107,800,149,960,165.3C1120,181,1280,171,1360,165.3L1440,160L1440,320L1360,320C1280,320,1120,320,960,320C800,320,640,320,480,320C320,320,160,320,80,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
    background-repeat: no-repeat;
    pointer-events: none;
}

.quiz_intro {
    text-align: center;
    color: #fff;
    margin-bottom: 30px;
    font-weight: bold;
}

.quiz_visual {
    margin-bottom: 30px;
}

/* Download Section (Light Blue) */
#download {
    background-color: #ffd900;
    z-index: 0;
}



.download_visual {
    margin-bottom: 40px;
}


/* Footer */
footer {
    background: #fff;
    padding: 40px 0;
    text-align: center;
    color: #000;
    position: relative;
    z-index: 10;
}

.footer_links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
    font-size: 0.8rem;
    font-weight: 400 !important;
}

.social_links {
    margin-bottom: 20px;
}

.social_links span {
    display: inline-block;
    width: 30px;
    height: 30px;
    background: #ccc;
    border-radius: 50%;
    line-height: 30px;
    color: #fff;
    font-size: 0.7rem;
    margin: 0 5px;
}

#pagetop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #8bc34a;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

#pagetop.in-view {
    opacity: 1;
    pointer-events: auto;
}


/* Responsive */
@media (max-width: 768px) {
    .header_content h1 {
        font-size: 2rem;
    }

    .profile_content {
        flex-direction: column-reverse;
        text-align: center;
    }

    .profile_text {
        text-align: center;
    }

    .calendar_grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .header_animation_container {
        height: calc(100vh - 60px);
        height: calc(100dvh - 60px);
    }
}


.calendar-card {
    position: relative;
    cursor: pointer;
}



/* 中の画像 */
.month-img {
    width: 60px;
    position: absolute;
    top: -20px;
    right: 0;
    z-index: 2;
    filter: drop-shadow(2px 2px 3px rgba(0, 0, 0, 0.2));
}

.calendar-card img.character-img {
    height: auto;
    display: block;
    transition: transform 0.5s ease;

}

a.uk-link-toggle {
    display: block;
}

a.uk-link-toggle:focus-visible {
    outline: 3px dotted #000 !important;
    outline-offset: 0px;
}

/* ホバー時に画像を少しだけ拡大して見やすくする */
.calendar-card:hover img.character-img {
    transform: scale(1.05);
}

/* ダウンロード文字の装飾（任意） */
.download-text {
    position: absolute;
    bottom: 10px;
    right: 10px;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    padding: 2px 8px;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s;
}

.calendar-card:hover .download-text {
    opacity: 1;
}

a.newwin {
    padding: 0 0 0 20px;
    display: inline-block;
    position: relative;
}

a.newwin:before {
    content: ' ';
    margin: auto 0;
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 14px;
    height: 14px;
    background: url(../img/ico_popup_bk.svg) no-repeat left top;
    background-size: 100% auto;
}


/* ==========================================================================
   history Section
   ========================================================================== */

/* セクション全体のスタイル */
.section-orange {
    background-color: #FF9800;
    /* オレンジ */
    color: #fff;
    padding-top: 100px;
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;
}

.history__bg {
    background-image: url(../img/cartain_top.webp), url(../img/cartain_left.webp), url(../img/cartain_right.webp);
    background-size: cover;
    background-position: top center, left top, right top;
    background-repeat: no-repeat, no-repeat, no-repeat;
}

.historyPadding {
    padding: 40px;
}

/* スマホ用の設定（画面幅 767px 以下の時） */
@media screen and (max-width: 767px) {
    .history__bg {
        background-image: url(../img/cartain_smp.webp);
        background-size: cover;
        background-position: top center;
    }

    .historyPadding {
        padding: 0px;
    }
}

#history_slide h3 {
    color: #0173c3;
    border-bottom: #0173c3 dashed 1px;
    padding-bottom: .3rem;
}

#history_slide h3 span {
    color: #000000;
}

.historybox {
    position: relative;
}

.historybox::before {
    content: "";
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 10px;
    right: 10px;
    border: 1px dashed #0173c3;
    border-radius: inherit;
    pointer-events: none;
}


.review-card {
    position: relative;
}

.review-card::before {
    content: "";
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 10px;
    right: 10px;
    border: 1px dashed #8db93b;
    border-radius: inherit;
    pointer-events: none;
}