﻿@import url('https://fonts.googleapis.com/css2?family=M+PLUS+1p:wght@700&display=swap');

/*.bg_color4 {
    background-color: #caeaef;
}
*/

.bg_color4 {
    background-color: #79d0e4;
}

.bg_color4 {
    background-color: #80dbf1;
}

.main_box{
overflow:hidden;
}

header{
    background-image: url(./Dup/img/back.png);
    background-size: 100% 100%;
}

.head_box{
position:relative;
    overflow: visible;

}

.pc_box{
position: absolute;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    width: 92%;
}


#main_img {
    z-index: 1;
    overflow: hidden;
    position: relative;
    max-height: 100vh;
    min-height: auto;
}

.scroll_bt {
    bottom: -20px;
}

.link_box ul{
justify-content: left;
}

.link_box ul li{
margin-right:10px;
}

h1#logo.width_300-max {
    width: 100%;
    max-width: 330px;
}

#fakeloader.bg_color1{
  background-color: #80dbf1;
background-image:url(./Dup/img/back2.png);
}

#contents1 h2, #contents2 h2, #contents3 h3{
    font-weight: bold;
position:relative;
z-index:3;
font-family: 'M PLUS 1p', sans-serif;
}

.font_22 {
    font-size: 26px;
}

.main_box{
    background-image: url(./Dup/img/foot.png);
    background-size: 80%;
    background-repeat: no-repeat;
    background-position: bottom right;
    background-color: #fdfdfd;
}

#contents1{
position:relative;
}

#contents1:before {
    content: "";
    position: absolute;
    background-image: url(./Dup/img/catch.png);
    background-size: 100%;
    width: 200px;
    height: 140px;
    top: -70px;
    left: 0px;
    background-repeat: no-repeat;
    background-position: bottom;
    z-index: 1;
    pointer-events: none;
}

#contents3 h3:before {
    
    content: "";
    position: absolute;
    background-image: url(./Dup/img/poi.png);
    background-size: 100%;
    width: 120px;
    height: 100px;
    top: -100px;
    left: -10px;
    background-repeat: no-repeat;
    background-position: bottom;
    z-index: 1;
    pointer-events: none;

}

#contents2 .d_flex{
position:relative;
z-index:2;
}

 #contents2 h2:before {
       content: "";
    position: absolute;
    background-image: url(./Dup/img/poi.png);
    background-size: contain;
    width: 180px;
    height: 130px;
    top: -129px;
    left: -40px;
    background-repeat: no-repeat;
    background-position: bottom;
    z-index: 1;
    pointer-events: none;
}


#page_title .page_box{
position:relative;
    padding-left: 5px;
}

#page_title .page_box h2{
font-weight:bold;
text-shadow:none;
}

#page_title .page_box:before {
    content: "";
    position: absolute;
    background-image: url(./Dup/img/catch.png);
    background-size: 100%;
    width: 130px;
    height: 90px;
    top: -50px;
    left: 0px;
    background-repeat: no-repeat;
    background-position: bottom;
    z-index: 1;
    pointer-events: none;
    background-color: transparent;
}

.txt_color3 {
    color: #555d65;
    font-weight: bold;
}

.txt_color1 {
    color: #44a2c7;
font-family: 'M PLUS 1p', sans-serif;
}

.button:hover:after {
    box-shadow: inset 0 0 0 15em rgb(239 88 76);
}

#contents2{
position:relative;
}

#contents2:before {
       content: "";
    display: block;
    width: 80%;
    height: 100%;
    position: absolute;
    top: 10%;
    left: 60%;
    background-image: url(./Dup/img/ue.png);
    background-position: top left;
    background-repeat: no-repeat;
    -webkit-transform: translate(-50% , -50%);
    transform: translate(-50% , -50%);
    background-size: 100%;
    pointer-events: none;
    z-index: 0;
}

.border_color2 {
    border-color: #bbbbbb;
}

@media screen and (max-height: 800px){
#main_menu.mg_t-50px {
    margin-top: 35px;
}

#main_menu ul li a {
    margin-bottom: 20px;
}

header .tel_bt{
margin-top: 10px;
}


}



/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
.pc_box{
position:relative;
    transform: none;
    top: 0%;
    left: 0%;
    width: 100%;
}

header{
padding:15px 0 !important;
}

h1#logo.width_300-max {
    width: 100%;
    max-width: 80px;
}

header{
    background-image: url(./Dup/img/back.png);
    background-size: cover;
}

#contents2 figure:before {
    content: none;
    }

}

/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){
#contents3 h3:before {
    content: "";
    position: absolute;
    background-image: url(./Dup/img/poi.png);
    background-size: 100%;
    width: 100px;
    height: 100px;
    top: -100px;
    left: 0px;
    background-repeat: no-repeat;
    background-position: bottom;
    z-index: 1;
    pointer-events: none;
}

}
