﻿@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
/* 1536 , 1530 × 735 ,1366 *//* ←記画面幅でも崩れていないか確認 */

/* カテゴリリンクの飛び先位置の数値を適宜調整してください */

/* 修正した場合→各項目の一番下に日付をコメントアウトして追記 */


/*■■　ALL　■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/


/* color */
.txt_color_nomal, .hvr_txt_color_nomal:hover{color: var(--black);}
:root{
    --color1: #04a0ba; 
    --color2: #dbf3f5; 
    --color3: #ef81c3; 
    --color4: #eff8e6; 
    --black: #33150c; 
	--linkStyle:#057391;
}

.txt_red, .hvr_txt_red:hover{color: #C12326;}
.txt_gray, .hvr_txt_gray:hover{color: #ccc}
.txt_color1, .hvr_txt_color1:hover{color: var(--color1)} /* メインカラー */
.txt_color2, .hvr_txt_color2:hover{color: var(--color2)} /* サブカラー */
.txt_color3, .hvr_txt_color3:hover{color: var(--color3)} /* アクセントカラー1 */
.txt_color4, .hvr_txt_color4:hover{color: var(--color4)} /* アクセントカラー2 */

/* background-color */
.bg_black, .hvr_bg_black:hover{background-color: var(--black)} /* 黒背景 */
.bg_gray, .hvr_bg_gray:hover{background-color: #ccc}
.bg_color1, .hvr_bg_color1:hover{background-color: var(--color1)} /* メインカラー */
.bg_color2, .hvr_bg_color2:hover{background-color: var(--color2)} /* サブカラー */
.bg_color3, .hvr_bg_color3:hover{background-color: var(--color3)} /* アクセントカラー1 */
.bg_color4, .hvr_bg_color4:hover{background-color: var(--color4)} /* アクセントカラー2 */
.bg_color_clear, .hvr_bg_color_clear:hover{background-color: transparent!important}

/* border-color ※!important */
.border_black, .hvr_border_black:hover{border-color: var(--black)}
.border_gray, .hvr_border_gray:hover{border-color: #ccc}
.border_color1, .hvr_border_color1:hover{border-color: var(--color1)}
.border_color2, .hvr_border_color2:hover{border-color: var(--color2)}
.border_color3, .hvr_border_color3:hover{border-color: var(--color3)}
.border_color4, .hvr_border_color4:hover{border-color: var(--color4)}


.linkStyle{
	color:var(--color1);
}
.linkStyle:hover{
	color:var(--color1);
	opacity: 0.7;
	transition: all 0.5s;
}

.top_cms_box .sub_title {
  font-family: "Roboto", sans-serif;
}
.point_no{
    pointer-events: none;
}

.jp{
    font-family: 'M PLUS Rounded 1c', sans-serif;
}

.marker, .marker div {
    background-image: linear-gradient(to bottom, #fff7ae, #fff7ae);
}

.cms_link{
    display: none;
}
/*fv header*/
.header-top{
    top: 0;
    left: 0;
    z-index: 2;
    width: 100%;
}
.header-top .logo {
    max-width: 350px;
}

/*ハンバーガーメニュー*/
.overlay.open li:nth-of-type(12) {
    -webkit-animation-delay: .90s;
    animation-delay: .90s;
}

/*footer*/
footer .footer_con_box .footer_con{
        border: 1px solid #333;
}

/* fix_bnr ---------------------------------------------------------------------------------------------*/
#fix_bnr {
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 10;
    width: 37%;
    max-width: 360px;
    margin: auto;
    transition: opacity 0.8s, transform 0.8s;
    opacity: 0;
    transform: translateY(20px); 
    pointer-events: none; 
}
#fix_bnr .width_60per{
    margin-bottom: -2px;
}
.is-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
    pointer-events: auto !important; 
}

#fix_bnr a:hover{
    transform: translateY(0) scale(1.1) !important;
}

/* ---------------------------　タブレット　-------------------------- */
@media screen and (max-width: 768px){
    footer .sns_link {
            justify-content: center;
    align-items: center;
    }
    
}

/* --------------------------　スマホ　-------------------------- */
@media screen and (max-width: 667px){
#fix_bnr {
    width: 70%;
}
}



/*■■　FV　■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
#nav_menu2{
        right: 0px;
        top: 0px;
}


.main_img_wrap{
    background-image: url('/Files/img/mainbg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-width: 1200px;
    overflow: hidden;
}
.main_img .main1{
   width: 45%;
    max-width: 750px;
    left: 0;
    bottom: -5%;
}
.main_img .main2{
    width: 45%;
    max-width: 700px;
    right: 0;
    bottom: 0;
}
.main_img .main3{
        width: 40%;
    max-width: 800px;
    top: 37%;
    left: 50%;
    transform: translate(-50%,-50%);
}
.main_img .main4{
    width: 40%;
    max-width: 500px;
    bottom: 20px;
    left: 50%;
    transform: translate(-50%,-0);
}
.main_img .main5{
    width: 20%;
    max-width: 300px;
    bottom: 0;
    right: 6%;
}
/* ---------------------------　タブレット　-------------------------- */
@media screen and (max-width: 768px){
.main_img_wrap{
    min-width: auto;
}
.main_img .main3{
        width: 62%;
    top: 25%;
}
}

/* --------------------------　スマホ　-------------------------- */
@media screen and (max-width: 667px){
    .main_img {
        height: 140vw;
    }
    .main_img .main1 {
    width: 65%;
            bottom: auto;
        top: 50%;
        transform: translate(0, -50%);
    }
    .main_img .main2 {
    width: 73%;
    }
        .main_img .main3 {
        width: 80%;
        top: 20%;
    }
    .main_img .main4 {
        bottom: 0px;
        width: 60%;
        left: 33%;
    }
    .main_img .main5{
        right: 30px;
        width: 30%;
    }
}



/*■■　TOP　■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
#catch .box .title{
    font-size: 36px;
}
#question .txt{
    width: 100%;
    margin-right: 10%;
}
#question .txt:nth-child(even) {
    margin-right: 10%;
}
#contents .box_item .pc_txt{
    font-size: 30px;
}

#contents .con_box.mg_t-100px{
    margin-top: 200px;
}
#top_cms{
    margin-bottom: 100px;
}
.top_cms_box{
    border: none;
}
#question .check{
    color: #ffef7d;
}

.item1{
    width: 25%;
    max-width: 150px;
    z-index: 1;
    bottom: 0;
    right: 2%;
}
.item2{
    width: 35%;
    max-width: 320px;
        bottom: -50px;
    z-index: 2;
    left: 50%;
    transform: translate(-50%, 0);
}
.item3{
    width: 28%;
    max-width: 270px;
    bottom: -10%;
    right: 3%;
    z-index: 1;
}

#contents .title1{
    top: 0;
    left: 50%;
    transform: translateX(-50%); 
}
.scroll_anime2 {
    opacity: 0;
    animation: fadeIn-top 1s forwards;
    animation-delay: 3s; /* ここで3秒待機を設定 */
}
@keyframes fadeIn-top {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
/* ---------------------------　タブレット　-------------------------- */
@media screen and (max-width: 768px){
#contents .con_box.mg_t-100px{
    margin-top: 100px;
}
.item3{
    bottom: -150px;
}
}

/* --------------------------　スマホ　-------------------------- */
@media screen and (max-width: 667px){
#catch .box .title{
    font-size: 28px;
}
.item1{
    width: 30%;
    bottom: auto;
    right: auto;
    top: -10%;
    left: 53%;
    transform: translate(-50%,0);
}
.item2{
    width: 55%;
}
.item3{
    width: 35%;
}
}



/*■■　下層ページ　■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
/*カテゴリリンクの飛び先位置を調整する*/
/* --- PC --- */
:root {
--header-height: 130px;
}
/* --- スマートフォン --- */
@media screen and (max-width: 667px){
:root {
--header-height: 100px;
}
}

#page_title .title span{
    font-size: 28px;
}


/*流れ*/
#cms_5-f .cate_box .open_bt .box_title1::before{
    display: none;
}
#cms_5-f .cate_box .open_bt .box_title1{
    margin-left: 45px;
}
/*サイトマップ*/

.page10 .content_wrap .more_box {
    width: 100%;
    position: relative;
}
.page10 .content_wrap .hover {
    position: absolute;
    border: 2px solid white;
    width: 200px;
    height: 200px;
    top: 0%;
    left: -250px;
    transition: .3s;
    transform: translateY(-50%) rotate(20deg);
    margin-top: auto;
}
.page10 .content_wrap .more_box:hover .hover {
    left: -135px;
}
.page10 .content_wrap .more_txt2 {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) rotate(-20deg);
    right: 10px;
    font-size: 16px;
    margin-top: auto;
    margin-right: auto;
}
.page10 .content_wrap .more {
    margin-left: 1%;
    margin-right: 1%;
    width: 31% !important;
}


/* ---------------------------　タブレット　-------------------------- */
@media screen and (max-width: 768px){
#page_title .title span{
    font-size: 20px;
}
#page_title {
    height: 180px;
}
/*サイトマップ*/
    .page10 .content_wrap .more {
        width: 95% !important;
    }
    .page10 .content_wrap .hover {
        display: none;
    }
    .more_box:hover .more_txt1 {
    margin-left: 0;
}
}

/* --------------------------　スマホ　-------------------------- */
@media screen and (max-width: 667px){
#page_title {
    height: 150px;
}
/*サイトマップ*/
.more_txt1 {
    font-size: 16px;
}
}


