﻿@charset "utf-8";
/* 1536 , 1530 × 735 ,1366 *//* ←記画面幅でも崩れていないか確認 */

/* カテゴリリンクの飛び先位置の数値を適宜調整してください */

/* 修正した場合→各項目の一番下に日付をコメントアウトして追記 */


/*■■　ALL　■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/

.fixbnr.close{
    opacity: 0;
    pointer-events: none;
}


.txt_color3, .hvr_txt_color3:hover {
    color: var(--normal);
}

html{
    font-size: 16px;
}

#wrap{
 min-width: 1280px;   
}

a{
    color: #4c2f05;
}


.frame{
    padding:0 25px;
}

.toppage #con_nav {
    overflow: hidden;
    background-color: #f7efe2;
}

.hp_nav{
    width: 100%;
    max-width: 82%;
    margin: 0 19% 0;
    gap: 6%;
}

.fv_pc{
    display: block;
}

.fv_sp{
    display: none;
}

.leaf{
  position:absolute; /* 根据你的布局调整 */
  bottom:0;
  right:0;
}


.TOP_logo {
    position: absolute;
    top: 3%;
    left: 1.5%;
    width: 17%;
}

#mainwrap{
 background-color: #f7efe2;
     min-height: 400px;
    position: relative;
    padding: 15px 25px 15px 0;
}

.catchcopy {
    position: absolute;
    top: 59.5%;
    left: 5%;
    width: 33%;
}

/* ---polaroid---*/

.photo-area {
    position: absolute;
    top: 37%;
    left: 10%;
    transform: translateY(-50%);
    width: 50%;
    height: 420px;
}


.polaroid {
    position: absolute;
    width: 54%;
    height: auto;
    opacity: 0;
}

.polaroid-01{
  top:0;
  left:0;
  animation: photo1 1s ease-out 1s forwards;
}

.polaroid-02 {
    top: 28%;
    left: 36%;
    animation: photo2 1s ease-out 1.6s forwards;
}


@keyframes photo1{
  0%{
    opacity:0;
    transform:translateY(40px) scale(.9) rotate(-2deg);
  }

  70%{
    opacity:1;
    transform:translateY(-5px) scale(1.02) rotate(-7deg);
  }

  100%{
    opacity:1;
    transform:translateY(0) scale(1) rotate(-5deg);
  }
}

@keyframes photo2{
  0%{
    opacity:0;
    transform:translateY(40px) scale(.9) rotate(2deg);
  }

  70%{
    opacity:1;
    transform:translateY(-5px) scale(1.02) rotate(8deg);
  }

  100%{
    opacity:1;
    transform:translateY(0) scale(1) rotate(6deg);
  }
}



/* ---polaroid end---*/

.talk-area {
    position: absolute;
    width: 17%;
    margin: 0 auto;
    left: 78%;
    top: 58%;
}

.talk-img {
  width: 100%;
  display: block;
}

.bubble {
    position: absolute;
    width: 50px;
    height: auto;
    opacity: 0;
}

/* 左上のオレンジ吹き出し */
.bubble-a {
    top: -12px;
    left: 33%;
    animation: bubbleA 3s infinite;
}

/* 右上の緑吹き出し */
.bubble-b {
    top: -9px;
    left: 55%;
    animation: bubbleB 3s infinite;
}

@keyframes bubbleA {
  0%   { opacity: 0; transform: translateY(6px); }
  10%  { opacity: 1; transform: translateY(0); }
  40%  { opacity: 1; transform: translateY(0); }
  50%  { opacity: 0; transform: translateY(6px); }
  100% { opacity: 0; transform: translateY(6px); }
}

@keyframes bubbleB {
  0%   { opacity: 0; transform: translateY(6px); }
  40%  { opacity: 0; transform: translateY(6px); }
  50%  { opacity: 1; transform: translateY(0); }
  90%  { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(6px); }
}


.fixbnr {
    position: fixed;
}

.fixbnr {
    z-index: 2;
    right: 8%;
    bottom: 1%;
    width: 185px;
    
     opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: 0.3s;
}

.fixbnr.show{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
      display: block;
}



.button_tel{
    width: 90%;
}

.leaf {
    width: 11%;
    position: absolute;
    top: 26%;
    left: 40%;
}

.heartbeat_color{
    color: #ff7e7b;
    position: absolute;
    top: 5%;
    left: 5%;
}


.con3_wrap3 pd_l-20px pd_r-20px pd_b-100px{
    
position: relative;
}

.heart-wrap {
    position: absolute;
    display: inline-block;
    top: 53%;
    left: 71%;
    width: 13%;
}



.heart-beat{
  display: block;
  width: 100%;
  height: auto;
  transform-origin: center center;
  animation: softBeat 2.4s ease-in-out infinite;
  will-change: transform;
}

@keyframes softBeat {
  0% {
    transform: scale(1);
  }
  8% {
    transform: scale(1.03);
  }
  16% {
    transform: scale(1);
  }
  24% {
    transform: scale(1.045);
  }
  36% {
    transform: scale(1);
  }
  100% {
    transform: scale(1);
  }
}


.human {
    position: absolute;
    display: inline-block;
    top: 57%;
    left: 73%;
    width: 6%;
}

.leaf_animation {
    position: absolute;
    top: 10%;
    left: 85%;
    transform-origin: bottom center;
    animation: leafSwing 4s ease-in-out infinite;
    width: 7%;
}

@keyframes leafSwing {

  0%{
    transform: rotate(0deg);
  }

  25%{
    transform: rotate(9deg);
  }

  50%{
    transform: rotate(0deg);
  }

  75%{
    transform: rotate(-9deg);
  }

  100%{
    transform: rotate(0deg);
  }

}


#tel_txt .title {
    color: var(--normal) !important;
}

.consult{
    padding: 30px 15%;
    
}


/* ---------------------------　タブレット　-------------------------- */
@media screen and (max-width: 768px){



#wrap{
min-width: 100%;
}

.fv_pc{
    display: none;
}

.fv_sp{
    display: block;
}

    #mainwrap {
        background-image: url(/Files/img/Fv_sp.png);
        min-height: 884px;
        position: relative;
        padding: 25px 25px 25px 0px;
        background-size: cover;
        background-position: bottom;
    }
    
    .catchcopy_sub{
        position: absolute;
        top: 15%;
        left: 15%;
    }
    
    .catchcopy {
        position: absolute;
        top: 9%;
        left: 66%;
        width: 23%;
    }
    
    .catchcopy_sub {
        position: absolute;
        top: 56%;
        left: 22%;
        width: 10%;
    }
    
    .photo-area {
        position: absolute;
        top: 44%;
        left: 10%;
        transform: translateY(-50%);
        width: 91%;
        height: 420px;
    }
    
    .polaroid-01 {
    top: 10%;
    left: 0;
    animation: photo1 1s ease-out 1.6s forwards;
    z-index: 2;
    }
    
    .polaroid-02 {
    top: -25%;
    left: -7%;
    animation: photo2 1s ease-out 1s forwards;
    }
    

    .TOP_logo {
        position: absolute;
        top: 3%;
        left: 3%;
        width: 44%;
    }
    
    .talk-area {
    position: absolute;
    width: 34%;
    margin: 0 auto;
    left: 55%;
    top: 85%;
    }
    
    .bubble-a {
    top: -28px;
    left: 33%;
    animation: bubbleA 3s infinite;
    }
    
    .bubble-b {
    top: -34px;
    left: 55%;
    animation: bubbleB 3s infinite;
    }
    
    .leaf {
        width: 24%;
        position: absolute;
        top: 46%;
        left: 61%;
    }
    
    .leaf_animation {
    position: absolute;
    top: 9%;
    left: 85%;
    transform-origin: bottom center;
    animation: leafSwing 4s ease-in-out infinite;
    width: 7%;
    }
    
    .human {
        position: absolute;
        display: inline-block;
        top: 80%;
        left: 13%;
        width: 8%;
    }
    
    .heart-wrap {
        position: absolute;
        display: inline-block;
        top: 79%;
        left: 8%;
        width: 19%;
    }
    
    #top_news{
    margin-top: 0px;
    }
    
    
    .d_flex .flex_row-re .width_1280-max .pd_t-30px .pd_b-30px
    {
        padding: 0 20px;
    }
}

/* --------------------------　スマホ　-------------------------- */
@media screen and (max-width: 667px){
    #mainwrap {
        background-image: url(/Files/img/Fv_sp.png);
        min-height: 569px;
        position: relative;
        padding: 25px 25px 25px 0px;
        background-size: cover;
        background-position: bottom;
    }
    
    .photo-area {
        position: absolute;
        top: 58%;
        left: 10%;
        transform: translateY(-50%);
        width: 108%;
        height: 420px;
    }
    
    .polaroid-01 {
        top: 0%;
        left: 0;
        animation: photo1 1s ease-out 1.6s forwards;
        z-index: 2;
    }
    
    .polaroid-02 {
        top: -21%;
        left: -7%;
        animation: photo2 1s ease-out 1s forwards;
    }
    
    .catchcopy {
        position: absolute;
        top: 16%;
        left: 65%;
        width: 28%;
    }
    
    .catchcopy_sub {
        position: absolute;
        top: 60%;
        left: 22%;
        width: 10%;
    }
    
    
    .talk-area {
        position: absolute;
        width: 34%;
        margin: 0 auto;
        left: 55%;
        top: 91%;
    }
    
    .leaf {
        display: none;
    }
    
    .human {
        display: none;
    }
    
    .heart-wrap {
        display: none;
    }
    
        .catchcopy_sub {
        position: absolute;
        top: 55%;
        left: 16%;
        width: 14%;
    }
    .contact_btn_sp{
        font-size: 3rem;
    }
    
}



/*■■　FV　■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/




/* ---------------------------　タブレット　-------------------------- */
@media screen and (max-width: 768px){

}

/* --------------------------　スマホ　-------------------------- */
@media screen and (max-width: 667px){

}



/*■■　TOP　■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/




/* ---------------------------　タブレット　-------------------------- */
@media screen and (max-width: 768px){

}

/* --------------------------　スマホ　-------------------------- */
@media screen and (max-width: 667px){

}



/*■■　下層ページ　■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
/*カテゴリリンクの飛び先位置を調整する*/
/* --- PC --- */
:root {
--header-height: 150px;
}


/* --- スマートフォン --- */
@media screen and (max-width: 667px){
:root {
--header-height: 150px;
}
}






/* ---------------------------　タブレット　-------------------------- */
@media screen and (max-width: 768px){

}

/* --------------------------　スマホ　-------------------------- */
@media screen and (max-width: 667px){

}


