﻿/* カードが裏返るcss */
.content {
    position: relative;
    cursor: pointer;
}
.content:before {
    content: "";
    display: block;
    padding-top: 110%;
    padding-bottom: 30%;
}
.content .front, .content .back  {
    transition: all .6s;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}
.content img {
    width: 100%;
}
.content .front {
    transform: rotateY(180deg);
}
.content img {
    width: 100%;
}
.content:hover .front {
    transform: rotateY(0);
}
.content:hover .back {
    transform: rotateY(-180deg);
}
/* end */


/* ---------- font ---------- */



/* ---------- color ---------- */
.main_wrap{
    background-color: var(--color2);
}
.main_img_wrap {
    background-color: var(--color2);
    min-height: 86vh;
    margin-bottom: 150px;
    max-height: 98vh;
}
#contents, #top_cms{
    background-color: var(--color2);
}
.marker, .marker div {
    background-image: linear-gradient(to bottom, #ffff9a, #ffff9a);
    background-size: 100% 60%;
    background-position: left bottom;
    background-repeat: no-repeat;
    display: inline;
}
.button_container span {
    background-color: rgb(46, 46, 46);
}



/* ---------- all ---------- */
#page_title {
    margin-top: 86px;
}
.cms_link_box .fa, .cms_link_box .fas{
    display: none;
}
#wrap{
    min-width: 1280px;
}
.square_img, .rectangle_img, .normal_img img {
    border-radius: 15px;
}

/* header */
header.clone-nav {
    transform: translateY(0);
    background-color: rgb(255 255 255 / 70%);
}
header .logo {
    max-width: 313px;
    padding-bottom: 6px;
}
header .txt_white {
    color: #303030;
}
.menu{
    display: none;
}
.cms_link div a {
    padding: 15px 10px;
    padding-right: 50px;
    background-color: #42ba9e;
    margin: 3px 0;
}
.cms_link div a:hover{
    color: #4c4c4c;
}
.cms_link .bg_color1{
    background-color: #ffb86f;
}
.fa-phone{
    display: none;
}
.cms_link .bg_color1 {
    background-color: var(--color1);
    border-radius: 5px 0 0 5px;
}
#contents .box .box_item {
    border-radius: 15px;
}
#contents .box .box_item::before {
    border-radius: 9px;
}

/* ---------- anim ---------- */
.anim_type2{
	position: relative;
	animation-name: anim_type2;
	animation-iteration-count: infinite;
	animation-duration: 0.1s;
	animation-direction: alternate;
	animation-timing-function: steps(2);
	transition-duration: .3s;
	transition-property: transform;
}
@keyframes anim_type2 {
	0% {bottom: 0;}
	100% {bottom: -3px;}
}
@keyframes rotate {
	0% {
    transform: rotate(0);
}
100% {
    transform: rotate(
1turn);
}
}


/* ---------- top ---------- */
.t_banner_box, #question {
    display: none;
}
/* fv */
.main_img{position: relative;}
.fv_txt1 {
    width: min(40%, 700px);
    top: 19%;
    left: 4%;
}
.fv_txt2 {
    width: min(28%, 545px);
    bottom: 13%;
    right: 3%;
}
.fv_item1 {
    width: min(16.5%, 260px);
    bottom: 30%;
    right: 3%;
}
.fv_img_box, .fv_img_dod_wrap {
    width: min(49%, 1109px);
    height: 56vh;
    top: 48%;
    left: 60%;
    transform: translate(-50%, -50%);
}
.fv_img_box {
    .fv_img1{
        width: min(55%, 400px);
        left: 3%;
        top: 16%;
        transform: rotate(-8deg);
        filter: drop-shadow(5px 5px 0px rgba(160, 160, 160, 0.25));
    }
    .fv_img2{
        width: min(47%, 335px);
        left: 41%;
        top: 23%;
        transform: rotate(20deg);
        filter: drop-shadow(5px 5px 0px rgba(160, 160, 160, 0.25));
    }
    .fv_img3 {
        width: min(28%, 233px);
        left: 70%;
        top: 3%;
        transform: rotate(-19deg);
        filter: drop-shadow(5px 5px 0px rgba(160, 160, 160, 0.25));
    }
}
.fv_img_dod {
    width: 117% !important;
    position: relative;
    left: -9%;
}
.loop_txt {
    pointer-events: none;
    left: 0;
    bottom: -13%;
    width: 105%;
    height: 336px;
    transform: rotate(-10deg);
    padding-bottom: 1px;
    background-image: url(../img/loop_txt.png);
    background-size: 2087px;
    background-position-x: 0;
    background-position-y: calc(100% - 120px);
    background-repeat: repeat-x;
    animation: anime1 30s 
linear infinite;
}
@keyframes anime1 {
    0% {background-position-x: 0;}
    100% {background-position-x: -2087px;}
}
@keyframes anime2 {
    0% {background-position-x: 0;}
    100% {background-position-x: -800px;}
}

#contents .box .box_item:before{
    pointer-events: none;
}
.contents_midasi{
    width: min(90%, 600px);
    margin: auto;
    margin-bottom: 50px;
}
.kurukuru_txt {
    z-index: 0;
    width: min(51%, 800px);
    bottom: -26%;
    left: -18%;
    -webkit-animation: rotate 19s 
linear infinite;
    animation: rotate 19s 
linear infinite;
}

.box.con1 .sub_title{
    color: var(--color5);
}
.box.con2 .sub_title{
    color: var(--color3);
}
.box.con3 .sub_title{
    color: var(--color6);
}

#contents .box .box_item h3{
    font-size: -webkit-calc(1rem + 12px);
    font-size: calc(1rem + 12px);
}

.cms_title {
    justify-content: center;
    text-align: center;
}
.cms_title .font_12up {
    font-size: -webkit-calc(1rem + 20px);
    font-size: calc(1rem + 20px);
}
#top_cms{
    padding-bottom: 200px;
}



/* ---------- under ---------- */
.blogListPattern_item .border_color2 {
    border-color: var(--color3);
}
#page_title {
    background-position: bottom;
    background-attachment: scroll;
}
#cms_2-g .cate_title {
    line-height: 1.3;
}


/* ---------- tablet ---------- */
@media screen and (max-width: 768px){
#wrap{
    min-width: 100%;
}

.main_img_wrap {
    min-height: 714px;
    margin-bottom: 100px;
}
.fv_txt1 {
    width: min(59%, 700px);
    top: 1%;
    left: 2%;
    transform: rotate(1deg);
}
.fv_img_box, .fv_img_dod_wrap {
    width: min(71%, 1109px);
    height: 431px;
    top: 61%;
    left: 51%;
    transform: translate(-50%, -50%);
}
.fv_img3 {
    width: min(28%, 233px);
    left: 69%;
    top: -7%;
}
.fv_item1 {
    width: min(23.5%, 260px);
    bottom: auto;
    right: 8%;
    top: 9%;
}
.loop_txt {
    bottom: -23%;
    height: 275px;
    background-size: 1000px;
}
.content{
    pointer: none;
    pointer-events: none;
}
.kurukuru_txt {
    width: min(63%, 800px);
    bottom: -6%;
    left: -18%;
}
}


/* ---------- mobile ---------- */
@media screen and (max-width: 667px){
header .logo img {
    height: 34px !important;
}
.cms_link div a{
    display: none;
}
#catch {
        background-position: -200px;
}
#contents .box .box_item h3 {
    font-size: -webkit-calc(1rem + 6px);
    font-size: calc(1rem + 6px);
}
.kurukuru_txt {
    width: min(86%, 800px);
    bottom: -4%;
    left: -33%;
}

.main_img_wrap {
            min-height: 100%;
    height: 605px;
    margin-bottom: 100px;
}
.fv_img_box, .fv_img_dod_wrap {
    width: min(89%, 1109px);
    height: 291px;
    top: 56%;
    left: 51%;
transform: translate(-50%, -50%);
}
.fv_txt1 {
    width: min(88%, 700px);
    top: 2%;
    left: -2%;
    transform: rotate(1deg);
}
.fv_item1 {
    width: min(41.5%, 260px);
    bottom: 5%;
    right: -3%;
    top: auto;
    z-index: 4;
}
.loop_txt {
    bottom: -17%;
    height: 280px;
    background-size: 771px;
    /* transform: rotate(0deg); */
}
.page-top {
    bottom: 0;
}

#page_title {
    margin-top: 65px;
}
}


/* fix_bnr ---------------------------------------------------------------------------------------------*/
#fix_bnr {
    bottom: 9px;
    right: 67px;
    z-index: 10;
    width: 70%;
    max-width: 320px;
    transition: 0.5s;
    opacity: 1;
pointer-events: none;
z-index: 3;
}
#fix_bnr.scroll{
    opacity: 1;
pointer-events: auto;
}
#fix_bnr.close{
    opacity: 0;
    z-index: -1;
}
@media screen and (max-width: 768px){
#fix_bnr.close{
    transform: translateX(200px);
}
}
@media screen and (max-width: 667px){
#fix_bnr {
    width: 69%!important;
    right: 0;
    left: 0;
    margin: auto;
    bottom: 10px;
}
}
/* fix_bnr end ---------------------------------------------------------------------------------------------*/



/* fix_bnr ---------------------------------------------------------------------------------------------*/
/*CIRCLE*/
/*#fix_bnr {
    bottom: 0;
    right: 18px;
    z-index: 25;
    transition: 0.5s;
    opacity: 0;
}
#fix_bnr.scroll{
    opacity: 1;
}

#fix_bnr.close{
    opacity: 0;
    z-index: -1;
}
.circle-btn__center {
    position: relative;
    z-index: 1;
    display: block;
}
.circle-btn__txt {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    z-index: 2;
	overflow: hidden;
	border-radius: 50%;
}
.circle-btn > img {
    -webkit-animation: rotate 19s linear infinite;
    animation: rotate 19s linear infinite;
}
@keyframes rotate {
	0% {
    transform: rotate(0);
}
100% {
    transform: rotate(
1turn);
}
}
.circle-btn {
    bottom: 48px;
    right: 40px;
    z-index: 10;
    cursor: pointer;
    transition: transform 1s 
cubic-bezier(.23, 1, .32, 1), opacity .5s;
    z-index: 6;
    background: #fff;
    border-radius: 50%;
    width: 200px;
    height: 200px;
    padding: 10px;
    border: 2px solid var(--color1);
}
.circle-btnPic {
	width: 150px;
	height: 150px;
	border-radius: 50%;
} 
.circle-btn:hover .circle-btnPic {
	transform: scale(1.2);
}
.circle-btn:before {
    content: "";
    position: absolute;
    background-image: url(../img/fixbnr_txt.png);
    background-size: 100%;
    background-position: left;
    background-repeat: no-repeat;
    bottom: -39px;
    left: 3px;
    z-index: 18;
    width: 95%;
    height: 52px;
}


@media screen and (max-width: 768px){
#fix_bnr {
    bottom: 12px;
    right: 18px;
}
.circle-btn {
    bottom: 36px;
    right: 40px;
    width: 156px;
    height: 156px;
}
.circle-btnPic {
    width: 120px;
    height: 120px;
}
}
@media screen and (max-width: 667px){
#fix_bnr {
    bottom: 0px;
    right: auto;
    left: 20px;
}
.circle-btn {
    bottom: 10px;
    right: auto;
    left: -5px;
    width: 120px;
    height: 120px;
    padding: 4px;
}
.circle-btnPic {
    width: 85px;
    height: 85px;
}
}*/
/* fix_bnr end ---------------------------------------------------------------------------------------------*/