@charset "UTF-8";
/*
Theme Name: HACHI MARKET Child
Theme URI: https://kogma.work
Description: Child theme for HACHI MARKET.
Author: KOGMA
Author URI: https://kogma.work
Template: 8market
Version: 1.0.0
Text Domain: 8market-child
*/

/* Add your custom CSS below */
#site-branding {
    padding: 0 2% 0 0;
}
#site-branding img {
    max-width: 250px;
}

#site-branding a img:hover { filter: unset; opacity:.8; }
.area-buttons{
    display:grid;
    grid-template-columns:repeat(4, minmax(0, 1fr));
    gap:12px;
    margin:20px 0;
}
.contact-kankaku{margin-bottom:20px;}
.is-sticky #sticky-header {background-color: #fff;}
.contact-box-left {
  border-right: 0;
  float: unset;
  padding-right: 0;
  width: 100%;
}
.contact-form .submit p{
    display: flex;
    flex-wrap: wrap;
}
input[type="reset"]{
    width: 20%;
    margin: 0 2%;
    order: 2;
}
.contact-form input[type="submit"] {
    margin: unset;
    width: 55%;
    order: 1;
}
.area-buttons a{
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    min-width:0;
    box-sizing:border-box;
    padding:12px 10px;
    background:#f5f5f5;
    border:1px solid #ddd;
    background: #2db1f4;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    border-radius:6px;
    text-decoration:none;
    color: #fff;
    line-height:1.4;
    transition:.2s;
}

.area-buttons a:hover{
    background:#234b9f;
    color:#fff;
    border-color:#234b9f;
}
.area-buttons a span{
    display:block;
    width:100%;
    box-sizing:border-box;
}
.area-buttons{
    overflow:visible;
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
}

.area-buttons > *{
    min-width:0;
}
.higashi-osaka-banner{
    position: relative;
    display: flex;
    align-items: stretch;
    width: 90%;
    margin: 0 auto;
    /* min-height: 180px; */
    overflow: hidden;
    border-radius: 20px;
    text-decoration: none;
    background: linear-gradient(135deg,#39bdf8 0%,#1194e8 100%);
    box-shadow: 0 12px 30px rgba(0,0,0,0.18);
    transition: transform .3s ease, box-shadow .3s ease;
}

.higashi-osaka-banner:hover{
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.22);
}

.higashi-osaka-banner__content{
    position: relative;
    z-index: 2;
    width: 43%;
    max-width: 1200px;
    padding: 0 0 0 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
}

.higashi-osaka-banner__content::after{
    content: "";
    position: absolute;
    top: 0;
    right: -120px;
    width: 240px;
    height: 100%;
    background: linear-gradient(135deg,#39bdf8 0%,#1194e8 100%);
    transform: skewX(-18deg);
    z-index: -1;
}

.higashi-osaka-banner__sub{
    display: inline-block;
    margin-bottom: 0;
    font-size: 13px;
    text-align: left;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    opacity: .9;
}

.higashi-osaka-banner__content h2{
    margin: 0;
    padding: 0;
    line-height: 1.3;
    font-size: clamp(28px,4vw,36px);
    font-weight: 800;
    font-family: 'Sawarabi Mincho', "SF Pro JP", sans-serif;
    letter-spacing: .04em;
    text-align: left;
    white-space: nowrap;
    color: #fff;
    width: 100%;
    text-shadow: 0 4px 12px rgba(0,0,0,0.25);
}
.higashi-osaka-banner__content h2:before,
.higashi-osaka-banner__content h2:after{border: 0;}
.higashi-osaka-banner__image{
    width: 57%;
    position: relative;
}

.higashi-osaka-banner__image img{
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}
.area-buttons-title{
    border-bottom: none;
    display: inline-block;
    font-family: 'Sawarabi Mincho', "SF Pro JP", sans-serif;
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.25;
    margin: 20px 0;
    padding: 16px 55px;
    position: relative;
}

.area-buttons-icon{display:none;}
@media (max-width: 767px){
 .higashi-osaka-banner{
        min-height: auto;
        flex-direction: column;
        width: 90%;
        border-radius: 5px;
    }

    .higashi-osaka-banner__content{
        width: 100%;
        padding: 12px 24px;
    }

.higashi-osaka-banner__image,.higashi-osaka-banner__sub{
        display: none;
    }
.higashi-osaka-banner__content h2 {
    text-align: center;font-size:24px;
}
.higashi-osaka-banner__content::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0px;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #39bdf8 0%, #1194e8 100%);
    transform: skewX(-18deg);
    z-index: -1;
}
}
@media (max-width: 600px){
#block-18, #block-15, #block-16, #block-14, #block-17{margin-bottom: 0;
}
    .area-buttons a {
    padding: 8px;
    line-height: 1;
    font-size: .85em;
}
.higashi-osaka-banner__content h2 {font-size:20px;
}}
@media(max-width:980px){
	.main-navigation .sub-menu {
    display: none;
}

.main-navigation .menu-item-has-children.active > .sub-menu {
    display: block;
}
	    .main-navigation a {
        padding: 20px 5%;
    }
        .main-navigation.toggled-on {
        background-color: rgb(255 255 255 / 98%);
        padding: 0;
        margin: 0;
    }
 #site-branding {
    padding: 10px 2% 0;
  }  }
@media(max-width:767px){
    input[type="reset"]{
    width: 30%;
}
.contact-form input[type="submit"] {
    width: 25%;
}
        .info-bottom a {
        width: 100%;
    }
.area-buttons{
grid-template-columns:repeat(2,1fr);
}
    .area-buttons-title{
        cursor: pointer;
    }

    .area-buttons-icon{
        display: inline-block;
        font-size: 20px;
        line-height: .85;
        background: #fff;
        color: #333;
        width: 20px;
        height: 20px;
        border-radius: 50%;
    }

    .area-buttons{
        display: none;
    }

    .area-buttons-wrap.active .area-buttons{
        display: grid;
        width: 100%;
        gap: 5px;
    }

    .area-buttons-wrap.active .area-buttons-icon{
        content: "−";
    }
#block-14{margin-top:15px;}
    .area-buttons a{
        /* border-radius: 12px; */
        font-size: 13px;
        width: 96%;
        margin: 0 auto;
    }
.area-buttons-title{font-size: 20px;line-height: 1;margin: 10px 0;padding: 5px 0;width: 90%;background: linear-gradient(135deg, #39bdf8 0%, #1194e8 100%);color: #fff;border-radius: 5px;}
}
@media(max-width:480px){#sticky-header {height: 59px;}
    .menu-toggle {
        margin: 0 2%;
        /* padding: 0 5px; */
    }
    #site-branding img {
        width: 100%;
    }}