﻿

.bg_color1 {
    background-color: #f6f6ed;
    color: #34463d;
}

.border_color2 {
    border-color: #b9b3b3;
}

#contents1 h2 span{
        text-indent: -0.5em;
            font-size: 38px;
}

.menu_bt span {
    background-color: #215421;
}

#page-top {
    background-color: #215421;
}

#contents2:after{
    content: none;
}

#contents2 > span {
    background-color: rgba(19, 46, 16, 0.5) !important;
        mix-blend-mode: multiply;
            z-index: 1;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}


.fadein{
     opacity: 0;
     transition: all 1s;
}

.fadein.fadetrans{
     opacity: 1;
          transition: all 1s;
}

#contents2 h3{
        font-size: 42px;
}

#contents2 p{
        font-size: 22px;
}

.top_cms_box h3{
    max-height: 280px;
        line-height: 1.2em;
}

#contents1 figure{
    position: relative;
}

#contents1 figure:before{
    content: "";
    display: block;
    width: 60%;
    height: 60%;
    position: absolute;
    top: 140%;
    left: 0%;
    background-image: url(./Dup/img/pet1.jpg);
    background-position: center;
    background-repeat: no-repeat;
    -webkit-transform: translate(-50% , -50%);
    transform: translate(-50% , -50%);
    background-size: contain;
    pointer-events: none;
}

#contents3 h3{
        font-size: 28px;
    border-bottom: 1px solid green;
    margin-bottom: 30px !important;
}

#main_nav .nav li a {
    text-shadow: 0 0 15px rgba(0,0,0,0.2);
    color: #1e401e;
}

#header h1 span {
    display: inline-block;
        border: none;
    padding: 10px 20px;
}

#contents1{
        background-image: url(./Dup/img/back.jpg);
}

#contents3 > div {
        max-width: 1180px;
}


#page_title {
    background-image: url(./Dup/img/back.jpg);
    background-size: cover;
}

#page_title >div {
        color: black;
}

#page_title h2 span{
    -webkit-writing-mode: horizontal-tb;
    -ms-writing-mode: lr-tb;
    writing-mode: horizontal-tb;
}




#page8 > div.font_bold .txt_white{
    color: black;
}

#top_cms .more a img {
    display: none;
}

.linkStyle{
color: #29a9e0;
font-weight: bold;
}

.hvr_bg_color3:hover {
    background-color: #b1c69f;
}

#page9 a img {
display: none;
}

.cate_list a img {
display: none;
}

#footer_menu li a{
    color: black;
}

.banner2{
      bottom: 0px;
      left: 0;
      z-index: 100;
}

.dec2{
    font-weight: bold;
}

#footer .tel a{
    font-size: 30px;
    
}

/*--20231218 add start--*/

#main_img {
    height: auto;
    margin-bottom: -20px;
    position: relative;
}

#main_img img{
    position: absolute;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
        max-width: 500px;
    width: 25%;
    filter: drop-shadow(2px 2px 2px gray);
}

.ani{
        opacity: 0;
    transition: opacity 3s ease-out;
}

/*--20231218 add end--*/

/*--20240111 add start--*/

#footer .tel.sec a {
    font-size: 20px;
}

/*--20240111 add end--*/


/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
.video {
    width: auto !important;
    height: 100vh !important;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    position: absolute;
}

#contents2 {
    min-height: 80vh;
    background-position: 40% 50%;
    background-size: cover;
}

#main_img {
    height: 100vh;
}

}

/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){


#contents1 h2 span {
    font-size: 32px;
}

#contents1 figure:before {
    left: 90%;
        top: 120%;
}

#contents2 {
    padding: 10px;
    min-height: auto;
}

#header h1 span {
    padding: 10px;
    padding-top: 0;
}

.video{
    width: auto !important;
    height: 40vh !important;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    position: absolute;
}


#contents2 h3 {
    font-size: 32px;
    line-height: 1.2em;
}

#contents2 p {
    font-size: 14px;
}

#page_title h2{
        font-size: 23px;
    letter-spacing: 0.1em;
}

#footer .tel a {
    font-size: 26px;
    letter-spacing: 0.15em;
}

#main_img {
    height: 40vh;
}

}