﻿:root{
    --co1: #e7dfd4;
}

body{
    font-family: "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

.page_title .p_title_back .p_title_box {
    max-width: 1280px;
    margin: auto;
}

.bef, .aft{
    position: relative;
}

.bef > span, .aft > span{
        position: absolute;
    padding: 2px 5px;
    background-color: #31302b;
    border-radius: 0 0 10px 0;
    color: white;
}

#wrap{
    background-color: #fdf5ea;
}

h1.logo, div.logo{
    max-width: 100px;
}

#main .logo{
    max-width: 550px;
    filter: drop-shadow(2px 4px 10px rgba(255, 255, 255, 0.5)) drop-shadow(0px 0px 5px rgba(255, 255, 255, 0.2));
        left: 13%;
}

.top_page footer:before {
       background-color: rgba(255, 255, 255, 0.75);
}

.top_page #header{
    padding: 5px;
}

.top_page footer .logo {
    max-width: 230px;
}

#footer .txt_white{
    color: black;
}

#header #nav_menu, #header .header_menu{
    transform: translateY(-20px);
}

#loader{
    background-color: var(--co1);
}

#contents1_2 .con2 .box_item {
    width: 28%;
}

#contents1_2 div.con2.box figure{
    position: relative;
}

#contents1_2 div.con2.box figure:before{
    content: "";
    display: block;
    width: 250px;
    height: 250px;
    position: absolute;
    top: 55%;
    left: 105%;
    background-image: url(/files/img/yashi.png);
    background-position: center;
    background-repeat: no-repeat;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background-size: contain;
    pointer-events: none;
    z-index: 1;
}

#contents1_2 .con1 {
    transform: translateY(7.5vh);
}

#contents3 div.box figure{
    position: relative;
}

#contents3 div.box figure:before{
    content: "";
    display: block;
    width: 250px;
    height: 250px;
    position: absolute;
    top: 87%;
    left: 110%;
    background-image: url(/files/img/eye.png);
    background-position: center;
    background-repeat: no-repeat;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background-size: contain;
    pointer-events: none;
    z-index: 1;
}

#page_title:before {
    height: 50%;
    background: linear-gradient(to bottom, #ffffff00 35%, #fdf5ea 65%, #fdf5ea 100%);
}

.page_title .p_title_back {
        backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    padding-top: 280px;
}

#page_title{
        background-position: center;
            background-attachment: scroll;
}

.top_page footer #footer {
     filter: none; 
}

.page_title h2 {
    color: white;
    opacity: 0.7;
}

.vegas-animation-kenburns {
    animation: kenburns ease-out;
}

@keyframes kenburns {
    0% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.site_list {
    max-width: 1280px;
    margin: auto;
}

.top_page #header {
    background: none;
}

#header-change {
    background: rgb(253, 245, 234, 0.8);
    backdrop-filter: blur(2px);
}

#footer div.sns_link li{
    background-color: white;
}

.cate{
        padding-top: 100px;
    margin-top: -100px;
}

#header-change div.logo{
    max-width: 70px;
}

.border_color2 {
    border-color: #dbdbdb;
}

.overlay.open {
    height: 100vh !important;
}

/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
#main .logo {
    max-width: 550px;
    filter: drop-shadow(2px 4px 15px rgba(255, 255, 255, 1)) drop-shadow(0px 0px 4px rgba(255, 255, 255, 0.7));
    left: 5%;
    top: 50%;
}

#main {
        height: 65vh;
    }

#contents1_2{
    padding-top: 0;
}

#contents1_2 .con1 .box_item, #contents1_2 .con2 .box_item {
    width: 100%;
}

#contents1_2 div.con2.box figure:before {
    width: 120px;
    height: 120px;
    top: 80%;
    left: 10%;
}

#contents3 div.box figure:before {
    width: 120px;
    height: 120px;
    top: 87%;
    left: 100%;
}

#contents3 .box .box_item {
    width: 80%;
    padding: 50px 10% 50px 10%;
}

#contents3 .img_wrap .box_img .img1 {
    top: 15%;
}

#contents3 .img_wrap .box_img .img2 {
    bottom: 10%;
}

.top_page footer:before {
    background-color: rgba(255, 255, 255, 0.5);
}

}

/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){

#main .logo {
    width: 65%;
}

#main {
    height: 60vh;
}

#contents1_2 .con2 .box_item {
    width: 85%;
}

.font_8up_sp {
    font-size: -webkit-calc(1rem + 4px);
    font-size: calc(1rem + 4px);
}

.nav_menu {
    transform: translateY(-30px);
}

 #header-change div.logo {
    max-width: 80px;
}

.top_page footer .logo {
    max-width: 110px;
}

.top_page footer:before {
    background-color: rgba(255, 255, 255, 0.85);
}

.top_page footer .logo {
    max-width: 110px;
}

h2.modal_title{
    font-size: -webkit-calc(1rem + 2px);
        font-size: calc(1rem + 2px);
}

.top_cms_box .cms_title h2 {
    font-size: -webkit-calc(1rem + 20px);
    font-size: calc(1rem + 20px);
}

.page_title h2 {
    font-size: -webkit-calc(1rem + 16px);
    font-size: calc(1rem + 16px);
    line-height: 1;
}

}