﻿@media all and (-ms-high-contrast: none){

#page8 .contact_tel a{
    padding:20px 40px 14px;
}
}
.logo3 img{
    max-width:250px;
}
.f_contact_box p.font_16.txt_color1.font_bold.txt_center.mg_b-10px {
    margin-top: 10px;
}
.logo1{
    max-width: 250px;
}
.logo2 a,#fakeloader .fl{
    max-width:300px;
}
.pagetitle_img{
    background-size:cover;
    opacity:0.4;
}
.pagetitle{
    background:transparent;
}
#main_bottom{
    position:absolute;
    bottom:0;
}
#main_img {
    max-height: 90vh;
    position: relative;
}
#main_txt {
    position: absolute;
    width: 41vw;
    right: 8vw;
    top: 12vw;
}
@media screen and (min-width:768px) and (max-width:1450px){
    #main_txt {
        width: 46vw;
    right: 6vw;
    top: 17vw;
}
}
/*
section#con3::before {
    width: 100%;
    height: 80px;
    background: url(Dup/img/nami2.png);
    content: "";
    position: absolute;
    top: -20px;
    left: 0px;
    background-position: center;
}
section#con3::after {
    width: 100%;
    height: 80px;
    background: url(Dup/img/nami2.png);
    content: "";
    position: absolute;
    bottom: -20px;
    transform: scale(-1,-1);
    background-position: center;
}
*/
#con2 p.font_22.font_20_sp.txt_color2 {
    position: relative;
    display: inline-block;
}

#con2 p.font_22.font_20_sp.txt_color2::after {
    width: 220px;
    height: 150px;
    background: url(Dup/img/ya.png);
    content: "";
    position: absolute;
    background-repeat: no-repeat;
    background-size: contain;
    right: 50px;
    top: -50px;
    opacity: 0.7;
    background-position: center;
    z-index: -1;
}
.con1_squ {
    display: none;
}
/*
#con1::before {
    width: 100%;
    height: 131px;
    background: url(Dup/img/nami.png);
    content: "";
    position: absolute;
    background-repeat: no-repeat;
    background-size: contain;
    left: 0;
    bottom: -10px;
    background-position: bottom center;
}
#con1{
    position:relative;
    padding-bottom:180px;
}*/
#con3 .box::before {
    width: 100px;
    height: 120px;
    background: url(Dup/img/maru.png);
    content: "";
    position: absolute;
    background-repeat: no-repeat;
    background-size: contain;
    left: -10px;
    top: -40px;
    background-position: center;
}
#con3 .box{
    position:relative;
}
#con3 figure{
    border: 4px solid #a4e2f7;
    position:relative;
}
#con1 h2::before {
    width: 100%;
    height: 160px;
    background: url(Dup/img/mizu1.png);
    content: "";
    position: absolute;
    background-repeat: no-repeat;
    background-size: contain;
    left: 0;
    top: -87px;
    background-position: center;
}
#con1 h2 {
    position: relative;
    text-align: center;
}
#con1 {
    background: url(Dup/img/bg1.jpg);
    background-size: cover;
}
#con3{
   position:relative;
}

/*-------------------------------------------タブレット------------------------------------*/
@media screen and (max-width:768px){
    #main_txt {
    top: 23vw;
}
#con3 .box::before {
    width: 70px;
    height: 50px;
    background: url(Dup/img/maru.png);
    content: "";
    position: absolute;
    background-repeat: no-repeat;
    background-size: contain;
    left: 0px;
    top: -20px;
    background-position: center;
}
    
}
/*-------------------------------------------ここまで------------------------------------*/

/*-------------------------------------------スマホ-----------------------------------*/
@media screen and (max-width:667px){
.logo1 {
    max-width: 200px;
}
h4.font_50.txt_center.linehight_h.en{
    font-size: 36px;
}
#con3 .box::before{
    top:10px;
}
#con3 .box .img {
    border-radius: 200px;
}
#con2 p.font_22.font_20_sp.txt_color2::after {
    width: 200px;
    height: 150px;
    background: url(Dup/img/ya.png);
    content: "";
    position: absolute;
    background-repeat: no-repeat;
    background-size: contain;
    right: 50px;
    top: -40px;
    opacity: 0.7;
    background-position: center;
    z-index: -1;
}
   
    #main_txt {
    top: 30vw;
}
#main_txt {
    position: absolute;
    width: 54vw;
    right: 3vw;
}
#con1 h2::before {
    width: 100%;
    height: 120px;
    background: url(Dup/img/mizu1.png);
    content: "";
    position: absolute;
    background-repeat: no-repeat;
    background-size: contain;
    left: 0;
    top: -64px;
    background-position: center;
}
.logo3 img{
    max-width:180px !important;
}
}
/*-------------------------------------------ここまで------------------------------------*/