@charset "utf-8";

/* ======================================
Agencies
====================================== */
/* agencies-flow-list
---------------------------------------*/
.agencies-flow-list {
    list-style: none;
    margin: 2rem auto 0;
}
.agencies-flow-list__item {
    position: relative;
    margin: 4rem auto 0;
    text-align: center;
}
.agencies-flow-list__item + .agencies-flow-list__item {
    padding: 7rem 0 0;
}
.agencies-flow-list__item + .agencies-flow-list__item::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 15px;
    height: 15px;
    border-right: solid 2px #86888A;
    border-bottom: solid 2px #86888A;
    transform: rotate(45deg);
}
.agencies-flow-list__item__num {
    display: block;
    font-size: 3.6rem;
    line-height: 1;
    color: #50555A;
}
.agencies-flow-list__item__ttl {
    margin: 1.2rem auto 1.2rem;
    font-weight: 400;
    font-size: 2.0rem;
}
.agencies-flow-list__item__img {
    margin: 2rem auto 1.5rem;
}


@media screen and (min-width : 768px) {
    .agencies-flow-list {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin: 8rem auto 0;
    }
    .agencies-flow-list__item {
        width: calc(100% / 4);
        max-width: 260px;
        margin: 0;
    }
    .agencies-flow-list__item + .agencies-flow-list__item {
        padding: 0;
        margin: 0 0 0 3rem;
    }
    .agencies-flow-list__item + .agencies-flow-list__item::before {
        top: 165px;
        left: -10%;
        right: inherit;
        margin: 0;
        width: 12px;
        height: 12px;
        transform: rotate(-45deg);
    }
    .agencies-flow-list__item__desc {
        font-size: 1.8rem;
        line-height: 1.6;
    }
}

/* agencies-list
---------------------------------------*/
.agencies-ttl {
    margin-top: 5rem;
    padding-bottom: 2rem;
    border-bottom: solid 1px #AEB0B1;
}
@media screen and (min-width : 768px) {
    .agencies-ttl {
        margin-top: 9rem;
    }
}

.agencies-headline {
    margin: 5rem auto 3rem;
    text-align: left;
    font-size: 2.2rem;
}
@media screen and (min-width : 768px) {
    .agencies-headline {
        margin: 8rem 0 0;
        font-size: 3.2rem;
    }
}

.agencies-list__item {
    margin: 2rem 0 2.5rem;
    text-align: left;
}
/*.agencies-list__item::after {
    content: '';
    display: block;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: #aeb0b1;
    transition: .4s ease;
}*/
.agencies-list__item .ttl {
    position: relative;
    cursor: pointer;
    padding: 0 2.5rem 0 0;
    margin-bottom: 1.5rem;
}
.agencies-list__item .agency {
    display: block;
    font-size: 2.0rem;
    line-height: 1.45;
}
.agencies-list__item .agency_city {
    display: block;
    position: relative;
    margin: .5rem 0 0;
    /* padding: 0 0 0 1rem;
    font-size: 1.6rem; */
    font-size: 2.0rem;
}
/* .agencies-list__item .agency_city::before {
    content: '';
    display: inline-block;
    width: .5rem;
    height: 1px;
    position: absolute;
    top: 1.3rem;
    left: 0;
    background: #191B1D;
} */
.agencies-list__item .agency_map iframe {
    width: 100%;
    height: 250px;
}

.agencies-list__item .toggle-con .address-blk {
    position: relative;
    padding: .5rem 0 0 0;
    margin: 0 0 2rem;
}
.agencies-list__item .toggle-con .address {
    display: block;
    font-size: 1.8rem;
}
.agencies-list__item .toggle-con .agency_map {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: auto;
    margin: 1rem auto;
}
.agencies-list__item .toggle-con .agency_tel {
    position: relative;
    padding: .8rem 0 .2rem 4rem;
    background: url(/global/korea/assets/images/agencies/icon_phone.svg) no-repeat 3px center;
    font-size: 1.8rem;
}
.agencies-list__item .toggle-con .agency_tel > span {
    display: block;
}
@media screen and (min-width : 768px) {
    .agencies-list__item .toggle-con .agency_tel a {
        color: #50555A;
    }
}

.agencies-list__item .toggle-con .agency_url {
    position: relative;
    margin: 1rem 0 0;
    padding: .5rem 0 .5rem 4rem;
    background: url(/global/korea/assets/images/agencies/icon_globe.svg) no-repeat 0 center;
}
.agencies-list__item .toggle-con .agency_url a {
    word-break: break-all;
    font-size: 1.8rem;
}
.agencies-list__item .toggle-con .agency_mail {
    position: relative;
    margin: .3rem 0 0;
    padding: .5rem 0 .5rem 4rem;
    background: url(/global/korea/assets/images/agencies/icon_mail.svg) no-repeat 1px center;
    background-size: 24px 18px;
}

/* アコーディオン */
/*.agencies-list__item .toggle-btn::before {
    content: '';
    display: block;
    position: absolute;
    top: .9rem;
    right: .2rem;
    width: 10px;
    height: 10px;
    border-right: solid 2px #007196;
    border-top: solid 2px #007196;
    transform: rotate(135deg);
    transition: .3s ease-in-out;
}
.agencies-list__item .toggle-btn.is-active::before {
    top: 1.5rem;
    transform: rotate(-45deg);
}*/
.agencies-list__item .toggle-con {
    position: relative;
    width: 100%;
    opacity: 0;
    z-index: -1;
    transition: opacity .3s ease-in-out;
}
.agencies-list__item .toggle-con > * {
    width: 100%;
    height: 0;
    opacity: 0;
    transition: opacity .3s ease, height .4s ease;
    z-index: -1;
}
.agencies-list__item .toggle-con {
    opacity: 1;
    z-index: 0;
    padding: 0 0 1.5rem;
}
.agencies-list__item .toggle-con > * {
    height: auto;
    opacity: 1;
    z-index: 0;
}
.agencies-list__item .toggle-con .agency_map {
    height: 330px;
}
.agencies-list__item .toggle-con .agency_map > div {
    width: 100%!important;
}
.agencies-list__item .toggle-con iframe {
    height: 330px;
}

@media screen and (min-width : 768px) {
    .agencies-list {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        /*margin-left: 5rem;*/
    }
    .agencies-list__item {
        width: 47%;
        margin: 2rem 0 2rem;
    }
    .agencies-list__item .ttl {
        line-height: 1.2;
    }
    .agencies-list__item .agency {
        display: inline-block;
        font-size: 2.4rem;
    }
    .agencies-list__item .agency_city {
        display: inline-block;
        /* padding: 0 0 0 1rem;
        margin: 0 0 0 .5rem;
        font-size: 1.8rem; */
        font-size: 2.4rem;
    }
    .agencies-list__item .toggle-con iframe {
        height: 450px;
        /*height: 580px;
        margin-top: -130px;*/
    }
    .agencies-list__item .toggle-con.is-show .address-blk {
        margin-top: 1.5rem;
    }

    /* アコーディオン */
    /*.agencies-list__item .toggle-btn::before {
        top: 1.2rem;
        width: 16px;
        height: 16px;
        right: 1rem;
    }
    .agencies-list__item .toggle-btn:hover {
    }
    .agencies-list__item .toggle-con.is-show .agency_map {
        height: 450px;
    }*/
}

/* agencies-map
---------------------------------------*/
.agencies-map {
    /* display: none; */
    width: 100%;
    height: 270px;
    margin: 3rem auto 4rem;
    background: url(/global/korea/assets/images/agencies/agencies_map_default.png) no-repeat;
    background-position: right center;
    background-size: cover;
}
.agencies-map .mapcanvas {
    width: 100%;
    height: 100%;
}
@media screen and (min-width : 768px) {
    .agencies-map {
        display: block;
        width: 100%;
        height: 500px;
        margin: 5rem 0 6rem;
    }
}



/* 地図のデフォルト表示 */
#agencies-map-default {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    height: 100%;
}
.agencies-map-default__countries {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.agencies-map-default__countries li {
    position: relative;
    min-width: 150px;
    margin: .5rem .5rem;
    text-align: center;
    color: #064D79;
    border: solid 1px #064D79;
    border-radius: 40px;
    background: #fff;
}
.agencies-map-default__countries li >* {
    display: block;
    padding: 1rem 1.0rem 1rem 1.0rem;
}

@media screen and (min-width : 768px) {
    #agencies-map-default {
        display: block;
        padding: 3rem 4rem;
    }
    .agencies-map-default__countries {
        display: block;
        width: 20%;
        text-align: left;
    }
    .agencies-map-default__countries li {
        display: inline-block!important;
        margin: .5rem 0;
        transition: .2s ease-in-out;
        min-width: 120px;
        font-size: 1.6rem;
        cursor: pointer;
    }
    .agencies-map-default__countries li >* {
        padding: .7rem 1.5rem .7rem 1.5rem;
    }
    .agencies-map-default__countries li:hover {
        color: #fff;
        background: #064D79;
        text-decoration: none;
    }
    .agencies-map-default__countries li a {
        display: block;
        width: 100%;
        height: 100%;
    }
    .agencies-map-default__countries li:hover >* {
        color: #fff;
        text-decoration: none;
    }
}




/* 地図の吹き出し */
@media screen and (min-width : 768px) {
    .agencies-map .agency_name {
        display: inline-block;
    }
    .agencies-map .city_id {
        display: inline-block;
        padding: 0 0 0 1.5rem
    }
    .agencies-map .gm-style .gm-style-iw-d {
        text-align: left;
    }
    .agencies-map .agency_tel > span + span, .agency_url > span + span, .agency_email > span + span {
        margin-left: 1rem;
    }
}

/* agencies-filter
---------------------------------------*/
.agencies-filter-blk {
    margin: 2rem auto 0;
    padding: 0 2rem;
}
.agencies-filter {
    margin: .5rem 0;
    cursor: default;
}
@media screen and (min-width : 768px) {
    .agencies-filter-blk {
        display: flex;
        /* justify-content: space-between; 品番検索窓がある場合はこちら*/
        justify-content: center;
        width: 100%;
        max-width: 1200px;
        margin: 4rem auto 6rem;
        padding: 0;
    }
    .agencies-filter-blk > * {
        width: 33%;
    }
    .agencies-filter {
        margin: 0;
    }
    .agencies-filter + .agencies-filter {
        margin-left: 2rem;
    }
}

/* agencies-filter
---------------------------------------*/
/* reset */
input[type="text"] {
    padding: 0;
    border: none;
    border-radius: 0;
    outline: none;
    background: none;
}
select {
    -moz-appearance: none; /* selectの矢印非表示 */
    -webkit-appearance: none; /* selectの矢印非表示 */
    appearance: none;
    margin: 0;
    padding: 0;
    border-radius: 0;
    border: none;
    outline: none;
    background: transparent;
    background-image: none;
    box-shadow: none;
    vertical-align: middle;
    font-size: inherit;
    color: inherit;
}
select::-ms-expand {
    display: none; /* selectの矢印非表示 */
}
option {
    -webkit-appearance: none; /* WebKit/Chromium */
    -moz-appearance: none; /* Gecko */
    border: 0;
    outline: 0;
}
button, input[type="submit"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 0;
    border: none;
    outline: none;
    background: transparent;
}

/* Select */
.agencies-filter .select-box {
    position: relative;
    height: 100%;
}
.agencies-filter .select-box::before {
    content: '';
    display: block;
    position: absolute;
    top: 36%;
    right: 1.5rem;
    width: 10px;
    height: 10px;
    margin: auto;
    padding: 0;
    /* border: solid 4px transparent; */
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    pointer-events: none;
    transform: rotate(45deg);
}
.agencies-filter .select-box select, .agencies-filter .select-box option {
    width: 100%;
}
.agencies-filter .select-box select {
    height: 100%;
    padding: 1.7rem 3rem 1.7rem 1.5rem;
    outline: none;
    border: solid 1px #006994;
    background: #fff;
    outline-color: red;
    transition: .2s ease;
    opacity: 1;
    cursor: pointer;
    color: #fff;
    background: #006994;
}
.agencies-filter .select-box select:hover {
}
.agencies-filter .select-box select:disabled {
    opacity: .65;
    cursor: default;
}
.agencies-filter .select-box select:focus {
    border-color: #006994;
}
.agencies-filter .select-box option {
    padding: 1.5rem;
    border: solid 1px #006994;
    background: #f4faff;
    color: #006994;
}
.agencies-filter .select-box option:hover {
    color: #fff;
    background: #006994;
}
.agencies-filter .select-box select:focus .select-box option {
    border: solid 1px #AEB0B1;
}
