﻿@charset "utf-8";
/* 1536 , 1530 × 735 ,1366 *//* ←記画面幅でも崩れていないか確認 */

/* カテゴリリンクの飛び先位置の数値を適宜調整してください */

/* 修正した場合→各項目の一番下に日付をコメントアウトして追記 */


/*■■　ALL　■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Rammetto+One&family=Zen+Maru+Gothic&display=swap');
body, .overlay .overlay-nav .en, .hgs{
    font-family: "Noto Sans JP", "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif!important;
}
#main_img .scr, #page_title_img .scr, .liana, #intro .intro_photo h2, .patrima, .top_title h2{
    font-family: "Rammetto One", sans-serif!important;    
}
header.scr_header {
    background-color: rgb(16 119 56 / 91%)!important;
    border-color: var(--color5);
}

#intro_wrap, .patrima, .top_title .title, .con_box_wrap, #top_cms, #footer_nav a {
    color: var(--black);
}
#logo img{
    max-width: 197px!important;
    transition: all .3s
}
header.scr_header #logo img{
    max-width: 106px !important;
}
.menu-trigger, .close-trigger{
    top: 34%!important;
}
header.scr_header .menu-trigger, header.scr_header .close-trigger{
    top: 57%!important;
}
#pc_nav{
    top: 43px;
    position: fixed;
    right: 80px;
}

.blur {
    background: rgb(255 255 255 / 85%);
}

#logo2 img{
    max-width: 162px;
    padding-top: 14px;
}
.info_txt {
    font-size: 14px;
}

/* ---------------------------　タブレット　-------------------------- */
@media screen and (max-width: 768px){
#logo img {
    max-width: 133px !important;
}
#logo2 img {
    max-width: 105px;
    padding-top: 14px;
}
}

/* --------------------------　スマホ　-------------------------- */
@media screen and (max-width: 667px){
#logo img {
    max-width: 92px !important;
}
.menu-trigger, .close-trigger {
    top: 56%!important;
}
header.scr_header #logo img {
    max-width: 80px !important;
}
#loading_logo{
    max-width: 150px;
}
}



/*■■　FV　■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
.fv_item1{
    width: min(14%, 210px);
    bottom: -5%;
    left: -15px;
}
.fv_txt_wrap {
    z-index: 2;
    width: min(67%, 750px);
    top: 45%;
}
.fv_txt_wrap.none{
    opacity: 0;
}
.fv_svg-container {
    width: min(21%, 165px);
    height: auto;
    top: 44%;
    left: 0%;
}
svg {
    width: 100%;
    height: auto;
}
.st0 { fill: #FFFFFF; }
.st1 { fill: #070707; }
.pupil {
    transform-origin: center;
    transform-box: fill-box;
    animation: blink-animation 2s infinite;
}
@keyframes blink-animation {
    0%, 80%, 100% {
        transform: scaleY(1);
    }
    83% {
        transform: scaleY(0.1); /* 1回目のパチ */
    }
    86% {
        transform: scaleY(1);   /* 一瞬開く */
    }
    89% {
        transform: scaleY(0.1); /* 2回目のパチ */
    }
    92% {
        transform: scaleY(1);   /* 完了 */
    }
}

/* トランプ */
@keyframes bounce {
    0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(0.8, 0, 1, 1); }
    50% { transform: translateY(0); animation-timing-function: cubic-bezier(0, 0, 0.2, 1); }
}

.animate-bounce {
    animation: bounce 1s infinite;
}

/* カードボックス（メインコンテナ） */
.card-box {
    position: absolute;
    bottom: -15%;
    left: -154px;
    width: min(45%, 645px);
    z-index: 3;
}
/* SVG トランプのドロップシャドウ */
.card-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 25px 25px rgba(0, 0, 0, 0.15));
}

/* カードの共通アニメーション設定 */
.card-group {
    transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-box: fill-box;
    transform-origin: center bottom;
    /* 初期状態：一点に重なっている状態 */
    transform: translate(var(--target-x, 0), var(--target-y, 0)) rotate(0deg);
}

/* ホバー時に本来の広がり位置に戻る */
.card-box:hover .card-group {
    transform: translate(0, 0) rotate(0deg);
}

/* 各カードの重なり位置オフセット */
.card-1 { --target-x: 250px; --target-y: 50px; }
.card-2 { --target-x: -150px; --target-y: -150px; }
.card-3 { --target-x: -250px; --target-y: 150px; }
.card-4 { --target-x: -50px; --target-y: 100px; }
.card-5 { --target-x: 50px; --target-y: 200px; }
.card-6 { --target-x: 150px; --target-y: 150px; }

/* フッターテキスト */
.footer-info {
    margin-top: 3rem;
    color: #94a3b8; /* slate-400 */
    font-size: 0.875rem;
    max-width: 448px; /* md */
    text-align: center;
}

/* 登場時アニメーション */
/* 画面全体の揺れアニメーション */
.shake-screen {
    animation: screen-shake 0.2s 0.5s ease-out; /* 落下タイミングに合わせて発動 */
}

@keyframes screen-shake {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(5px, -5px); }
    50% { transform: translate(-5px, 5px); }
    75% { transform: translate(5px, 5px); }
}

/* アニメーションを適用するアイテム */
.fv_txt_anim{
    opacity: 0;
    transform: scale(5) rotate(-1080deg);
    transform-origin: center;
}
.fv_txt_anim.start {
    animation: drop-and-spin 0.6s cubic-bezier(0.17, 0.89, 0.32, 1.27) forwards;
}

/* クルクルクルクル、ドンっ！！！のアニメーション定義 */
@keyframes drop-and-spin {
    0% {
        opacity: 0;
        /* 画面の奥（巨大）から、3回転しながら迫ってくる */
        transform: scale(5) rotate(-1080deg);
        filter: blur(10px);
    }
    70% {
        opacity: 1;
        /* 着地の瞬間：少しだけ大きくして勢いを表現 */
        transform: scale(1.1) rotate(0deg) ;
        filter: blur(0);
    }
    85% {
        /* リバウンド：少し小さくなる */
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        /* 最終位置 */
        transform: scale(1) rotate(0deg);
    }
}


@media screen and (max-width: 1330px){
.fv_txt_wrap{
    width: min(50%, 750px);
}
.card-box {
    width: min(51%, 645px);
}
}

/* ---------------------------　タブレット　-------------------------- */
@media screen and (max-width: 768px){

}

/* --------------------------　スマホ　-------------------------- */
@media screen and (max-width: 667px){
#video video {
    width: auto !important;
    height: 88vw;
}
#video {
    height: 88vw;
}
.card-box, .fv_item1{
    display: none;
}
.fv_txt_wrap {
    width: min(84%, 750px);
    top: 51%;
    transition: opacity .3s;
}
#main_img .scr{
    font-size: 17px;
}
}



/*■■　TOP　■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
.top_cms_box {
    border-color: var(--black);
}
.more .more_item:before {
    background-color: var(--color5)!important;
}
.more .more_item{
    border-color: var(--color5);
}
.more .more_item:hover .icon-right.after:after{
    color: var(--color5);
}
#contents .con_title{
    display: none;
}
.top_title h2 {
    font-size: 100px;
    line-height: 1;
    width: 100%;
}
#intro .intro_photo h2{
    display: none;
}
.con_box_item {
    position: relative;
}
.top_title3 {
    margin-top: -16%;
}
.top_title3_item{
    position: absolute;
    z-index: 3;
    width: 27%;
    top: -5%;
    right: -100%;
    transition: all .3s .3s;
}
.top_title3_item.start{
    right: -11%;
}
.item1{
    bottom: -9%;
    right: -20%;
    width: min(46%, 250px);
    z-index: 4;
}

.kaku {
    animation: kaku 1s infinite steps(2);
}
 @keyframes kaku {
0% { transform: rotate(0deg); }
100% { transform: rotate(-10deg); }
}

.modal_title2 {
    font-size: clamp(20px, 3vw, 25px);
    font-weight: bold;
}



/* ---------------------------　タブレット　-------------------------- */
@media screen and (max-width: 768px){
.item1 {
    bottom: -5%;
    right: -5%;
}
.top_title h2 {
    font-size: 55px;
}
}

/* --------------------------　スマホ　-------------------------- */
@media screen and (max-width: 667px){
.item1 {
    bottom: -34%;
    right: -5%;
}
.top_title h2 {
    font-size: 40px;
}
.title_img{
    margin-top: 20px;
}
.top_title1 {
    margin-top: 0;
}
.top_title3 {
    margin-top: 0;
}
.modal-open.more{
    margin-top: 18px;
}
.top_title3_item.start {
    top: 14%;
}
}



/*■■　下層ページ　■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/

/*カテゴリリンクの飛び先位置を調整する*/
/* --- PC --- */
:root {
--header-height: 130px;
}
/* --- スマートフォン --- */
@media screen and (max-width: 667px){
:root {
--header-height: 100px;
}
}

#tel_txt .title {
    color: var(--normal)!important;
}
#page2 .txt_white, .page_container.txt_white, .page_container .txt_white,#page7 .txt_white{
    color: var(--normal);
}
.page_title_box {
    position: relative;
}
#page_title .en {
    top: 45px;
    left: 30px;
    font-size: 50px;
    font-weight: 600;
}
#page_title .jp{
    font-family: "Rammetto One", sans-serif !important;
    font-size: 18px;
    top: 98px;
    left: -7px;
}
#page_title .jp span {
    line-height: 1.2;
    text-align: center;
}
#page_title .en:before{
    background-color: var(--black);
}
#page_title_img{
    background: url( "../img/pagetitle_bg.jpg" ) center / cover no-repeat;
}
#page_title_img:before{
    background-color: rgb(0 0 0 / 18%);
}
#page_title_img {
    height: 350px;
}
#page_title_img .scr,#page_title_im .scroll_d > span{
    display: none;
}

#page8 .con_txtBOx {
    text-align: center;
}
#page8 p{
    text-align: left;
}
#page8 .con_txtBOx_title {
    margin-top: 20px;
    padding: 10px;
    font-weight: bold;
    position: relative;
    display: inline-block;
}
#page8 .con_txtBOx_title::before, #page8 .con_txtBOx_title::after {
    content: "";
    width: 77px;
    height: 1px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--normal);
}
#page8 .con_txtBOx_title::before{
    left: -79px;
}
#page8 .con_txtBOx_title::after{
    right: -79px;
}

#tel_txt .title {
    color: var(--normal);
}

#page10 .border_white, .hvr_border_white:hover {
    border-color: var(--normal);
    border-left: 2px solid;
}
#page10 .d_flex.con_box {
    align-items: stretch;
}

.cate_list a:hover{
    transform: translateY(-5px);
}

/*バナー*/
.btn_container {
    width: min(100%, 450px);
}


/* ---------------------------　タブレット　-------------------------- */
@media screen and (max-width: 768px){
#page_title_img {
    height: 269px;
}
}

/* --------------------------　スマホ　-------------------------- */
@media screen and (max-width: 667px){
#page8 .con_txtBOx_title::before, #page8 .con_txtBOx_title::after{
    width: 24px;
}
#page8 .con_txtBOx_title::before {
    left: -23px;
}
#page8 .con_txtBOx_title::after {
    right: -23px;
}

#page_title .jp{
   top: 77px;
    left: -17px;
    display: none;
}
#page_title .en {
    top: 27px;
    left: 9px;
    font-size: 31px;
    font-weight: 600;
    padding-left: 17px;
}
#page_title_img {
    height: 192px;
}
}

/* fix_bnr ---------------------------------------------------------------------------------------------*/
#fix_bnr {
    bottom: 22px;
    right: 20px;
    z-index: 10;
    width: 70%;
    max-width: 374px;
    transition: 0.5s;
    opacity: 0;
    pointer-events: none;
    z-index: 2;
}
#fix_bnr.scroll{
    opacity: 1;
pointer-events: auto;
}
#fix_bnr.close{
    opacity: 0;
    pointer-events: none;
}
#fix_bnr a:hover{
    opacity: 1;
    transform: translateY(-5px);
}

.fix_bnr_svg {
    width: 30%;
    left: -22px;
    top: -10px;
    z-index: 2;
}

@media screen and (max-width: 768px){
#fix_bnr.close{
    transform: translateY(200px);
}
}
@media screen and (max-width: 667px){
#fix_bnr {
    width: 82%!important;
    right: 0;
    left: 0;
    margin: auto;
    bottom: 10px;
}
}
/* fix_bnr end ---------------------------------------------------------------------------------------------*/

