/*
Theme Name: TSUNAGU
Theme URL: テーマのサイトのURI
Description: TSUNAGU
Version: テーマのバージョン
Tags: テーマの特徴を表すタグ（カンマ区切り/オプション）
License: テーマのライセンス
License URI: テーマのライセンスのURI
*/


html { scroll-behavior: smooth;}

.main_single_image {
    width: 100%!important;
    max-width: 1080px!important;
    height: 550px!important;
    border-radius: 10px!important;
    overflow: hidden!important;
    display: flex!important;
    align-items: center!important;
    justify-content: center!important;
}

.main_single_image img {
    max-height: 100%!important;
    max-width: 100%!important;
    height: auto!important;
    width: auto!important;
    object-fit: contain!important; /* 念のため指定 */
    border-radius: 10px!important;
}

.agency_area_m {
    width: 95%;
    margin: 0 auto -40px;
    padding: 40px 0 0;
    max-width: 1080px;
    text-align: center;
}

.agency_area_m div {
        width: 120px;
        height: 30px;
        background: #977f35;
        border-radius: 15px;
        color: #fff;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 115%;
        font-weight: normal;
    }

.margin-bottom20{
	margin:0 0 20px;
	}
.margin-bottom50{
	margin:0 0 50px;
	}

.wp_content h5
 {
        margin: 30px 0 10px;
        position: relative;
        padding-left: 21px;
        font-size: 135%;
        color: #24324f;
    }
.wp_content h5::after {
        background: #977f35;
        border-radius: 50%;
        width: 15px;
        height: 15px;
        content: "";
        left: 0;
        top: 7px;
        position: absolute;
    }

.wp_content h3 {
    color: #24324f;
    font-size: 190%;
    padding-bottom: 10px;
    margin-bottom: 30px;
    border-bottom: 1px solid #ccc;
}
.wp_content h4 {
    font-size: 150%;
    margin-bottom: 20px;
}

.wp_content h6 {
    font-size: 120%;
    margin-bottom: 10px;
}

.div_store_information_contact {
    margin: 30px 0 65px;
}

.few-images {
    max-width: 300px;
    margin: 25px auto 50px;
}

.agem_map iframe{
    width: 100%;
    max-width: 880px;
}

.agem_btn {
    width: 250px;
    padding-bottom: 80px;
    margin: 100px auto 0!important;
}

.wp_sns {
    font-size: 15px;
    display: block;
    margin: 20px 0 0;
}

.wp_sns dl {
    display: flex;
}
.wp_sns li {
    position: unset !important;
}
.agem_term{
    display: flex;
}
.agem_term h5{
    margin-right: 10px;
}
.age_m dl dd p span{
    margin-right: 10px;
}
.agem02dl a {
        color: #005ec4;
}

.thumbnail-count-7 {
    max-width: 680px;
}
.thumbnail-count-6 {
    max-width: 580px;
}
.thumbnail-count-5 {
    max-width: 480px;
}
.thumbnail-count-4 {
    max-width: 380px;
}
.thumbnail-count-3 {
    max-width: 280px;
}
.thumbnail-count-2 {
    max-width: 180px;
}

.no_pointer:hover {
    text-decoration-line: none !important;
}

.ed01 {
    display: flex;
    align-items: center;
}

#pagination {
    text-align: center;
    margin: -100px 0 100px;
}

#pagination .page-btn {
  background: #f0f0f0;
  border: none;
  margin: 2px;
  padding: 8px 12px;
  cursor: pointer;
}

#pagination .page-btn.active {
  background: #333;
  color: #fff;
}

#pagination .dots {
  display: inline-block;
  margin: 0 4px;
  color: #888;
}

.margin-top0{
    margin-top: 0px!important;
}

.slick-img img {
    border-radius: 10px;
}

.agem_img div {
    margin-bottom: 60px;
}
.eve_mn div a {
    align-items: center;
}
@media screen and (min-width: 1px) and (max-width: 899px) {

.main_single_image {
    width: 100%;
    max-width: 1080px;
        height: 350px;
        border-radius: 10px;
        overflow: hidden;
}

.main_single_image img {
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
    height: 350px;
    overflow: hidden;
}

}


@media screen and (min-width: 1px) and (max-width: 499px) {

.main_single_image {
    width: 100%!important;
    max-width: 1080px!important;
    height: auto!important;
    border-radius: 10px!important;
    overflow: hidden!important;
    display: flex!important;
    align-items: center!important;
    justify-content: center!important;
}

.main_single_image img {
    max-height: 100%!important;
    max-width: 100%!important;
    height: auto!important;
    width: auto!important;
    object-fit: contain!important; /* 念のため指定 */
    border-radius: 10px!important;
}







}
