﻿@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100&family=Potta+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100&family=Mochiy+Pop+One&display=swap');

body, .txt_color_nomal {
    color: #443531;
}

.con_no, .font_en{
    font-family: 'Potta One', cursive !important;
}
h2, h3, h4, .cate_list li a, #main_menu ul li a{
font-family: 'Mochiy Pop One', sans-serif !important;
}

#body{
        background-color: #feefd9;
}

.bg_color1 {
    background-color: #EEA057;
}

.bg_color3 {
    background-color: #5f3700;
}

.bg_color4 {
    background-color: #feefd9;
}

.head_banner{
        width: 90%;
    margin: auto;
    border-radius: 20px;
}

#main_img {
    z-index: -1;
    overflow: hidden;
    position: relative;
    max-height: 100%;
    min-height: 100%;
     padding-top: 8%;
}

#main_img:before{
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    background-image: url(./Dup/img/hasi.png);
    background-position: right top;
    background-repeat: no-repeat;
    -webkit-transform: translate(-50% , -50%);
    transform: translate(-50% , -50%);
    background-size: 70%;
    pointer-events: none;
    z-index: 1;
    
}

.txt_color3 {
    color: #5f3700;
}

.flexslider{
        max-width: 700px;
    margin: auto;
    margin-left: 10%;
    width: 90%;
    border-radius: 40px;
    overflow: hidden;
        z-index: 0;
        position: relative;
}

#main_img img.object_fit_img {
    max-height: 100%;
    min-height: 100%;
}

#contents_box{
    position: relative;
}

#contents_box:before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 40%;
    left: 30%;
    background-color: white;
    -webkit-transform: translate(-50% , -50%);
    transform: translate(-50% , -50%);
    pointer-events: none;
    z-index: -1;
    border-radius: 0 210px 0 0;
}

#contents_box:after {
    content: "";
    display: block;
    width: 290px;
    height: 290px;
    position: absolute;
    top: -7%;
    left: 78%;
    background-image: url(./Dup/img/ira.png);
    background-position: top right;
    background-repeat: no-repeat;
    -webkit-transform: translate(-50% , -50%);
    transform: translate(-50% , -50%);
    background-size: contain;
    pointer-events: none;
    z-index: 0;
}

figure{
        border-radius: 40px;
    overflow: hidden;
}

.kara1, .kara2, .kara3{
        max-width: 400px;
    width: 30%;
    display: inline-block;
    position: fixed;
    z-index: -1;
}

.kara1{
        top: 44%;
    left: 19%;
}

.kara2{
        top: 22%;
    left: 40%;
}

.kara3{
     top: 60%;
    left: 70%;
}

#main_img figure:before{
        content: "";
    display: block;
    width: 30%;
    height: 30%;
    position: absolute;
    top: 40%;
    left: 35%;
    background-image: url(./Dup/img/ira.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;
}

#main_img figure:after {
    content: "";
    display: block;
    width: 50%;
    height: 60%;
    position: absolute;
    top: 30%;
    left: 67%;
    background-image: url(./Dup/img/copy.png);
    background-position: 50% 50%;
    background-repeat: no-repeat;
    -webkit-transform: translate(-50% , -50%);
    transform: translate(-50% , -50%);
    background-size: contain;
    pointer-events: none;
    z-index: 0;
}

#contents1 {
    padding: 100px 10%;
    width: 60%;
    position: relative;
}

#contents1:before{
    content: "";
    display: block;
    width: 150px;
    height: 100%;
    position: absolute;
    top: 56%;
    left: 107%;
    background-image: url(./Dup/img/hata.png);
    background-position: bottom right;
    background-repeat: no-repeat;
    -webkit-transform: translate(-50% , -50%) rotate(5deg);
    transform: translate(-50% , -50%) rotate(5deg);
    background-size: contain;
    pointer-events: none;
}

.flex_box{
    overflow: hidden;
}

/*#main_img:after{
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    background-image: url(./Dup/img/copy2.png);
    background-position: center right;
    background-repeat: no-repeat;
    -webkit-transform: translate(-50% , -50%);
    transform: translate(-50% , -50%);
    background-size: 60%;
    pointer-events: none;
    z-index: 1;
}*/

.cop2{
    position: relative;
}

.cop2 img{
    margin: auto;
    max-width: 190px;
    margin-right: 0;
    display: block;
    position: absolute;
    top: -50%;
    right: 20%;
    margin-top: -60%;
    width: 20%;
    z-index: 2;
}

.linkStyle{
color: #d62c1b;
font-weight: bold;
}

.font_14 {
    font-size: 16px;
}

html, body {
    font-size: 16px;
}

.border_color2 {
    border-color: #d7b99b;
}

@media screen and (max-width: 1280px){
    .cop2 img {
    right: 10%;
    margin-top: -110%;
    width: 20%;
    z-index: 2;
}
}

/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){

.flexslider {
    margin-left: auto;
    width: 80%;
    margin: auto;
}

#contents_box:before {
    left: 50%;
}

h1#logo {
    max-width: 120px;
}

.kara1 {
    left: 2%;
}

}

/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){

#contents1 {
    padding: 50px 6% 300px;
    width: 100%;
    box-sizing: border-box;
}

#contents1:before {
    width: 95px;
    top: 55%;
    left: 75%;
}

h1#logo{
    max-width: 120px;
}

#main_img figure{
        position: absolute;
    bottom: 40px;
}

#main_img {
    max-height: 60vh;
    min-height: 60vh;
}

#contents_box:before {
    top: 47%;
}

#main_img:before {
    background-size: contain;
        z-index: 0;
}

.main_box {
    padding-top: 80px;
}

.kara1, .kara2, .kara3 {
    width: 35%;
}

.kara2 {
    left: 32%;
}

.kara3 {
    left: 60%;
}

#contents_box:after {
    width: 210px;
    height: 170px;
    top: -5%;
    left: 78%;
}

#main_img figure:after {
    width: 70%;
    top: 17%;
    left: 67%;
}

#main_img {
    padding-top: 1%;
}

#main_img {
    max-height: 60vh;
    min-height: 60vh;
}

.cop2 img {
    filter: drop-shadow(0px 0px 4px white) drop-shadow(0px 0px 4px white);
}

}