/* --------------------------------------------------------------------------------------------------------
   01 Theme custom
 *
 * どのサイズでも共通で適用されるスタイル
 *
-------------------------------------------------------------------------------------------------------- */
/* ビルボ */
#mainImg {
    background-size: 45%;
    height: 200px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    position: relative;
    background-image: url(../img/contents/flow-bil-bg-l.png), url(../img/contents/flow-bil-bg-r.png);
    background-position: left bottom, right bottom;
    background-repeat: no-repeat;
}

h1 {
    position: relative;
}

h1:after {
    content: "";
    position: absolute;
    background: url(../img/icon/company-title-icon.png);
    top: -30px;
    right: -110px;
    width: 110px;
    height: 97px;
}

#company-info .title {
    position: relative;
    padding: 0rem 0em 0em 3rem;
    color: #333;
    margin-top: 1em;
    margin-bottom: 2em;
    font-size: 1.16em;
}

#company-info .title:after {
    position: absolute;
    top: 0;
    display: block;
    /* height: 48px; */
    content: '';
    border: 25px solid #f7392b;
    left: 0px;
    border-right-width: 15px;
    border-right-color: transparent;
}

#company-info .title span {
    position: absolute;
    top: 0;
    left: -42px;
    display: inline-block;
    /*    content: '';*/
    width: 50px;
    height: 50px;
    background: #f7392b;
}

#company-info table {
    margin-bottom: 3em;
}

#company-info ul.location {
    list-style: none;
}

ul.location li:not(:last-child) {
    margin-bottom: 2em;
}

#main table th {
    border-top: 1px solid #F51100;
}

#main table tr:last-child td {
    border-bottom: 1px solid #F51100;
    /*#eee;*/
}

#main table td {
    padding-left: 1rem;
}

/*****
#main table tr:first-child td {
   border-top: 1px solid #eee;
}
*****/
#main table td ul {
    margin: 0 0 0 1em;
}
iframe{
	width: 100%;
}
/*店内写真*/
img.asaka-shop-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.store-address .txt-wrap-asaka {
    background-image: url(//www.kaden-max.com/wp-content/themes/twentyseventeench/css/../img/contents/company-asakaten.webp);
    background-position: left 2em bottom 1em;
    background-repeat: no-repeat;
    background-size: auto 33%;
    max-width: 650px;
    margin-right: auto;
    margin-left: auto;
    padding: 2em 3em;
}

/* 店舗情報 */
.store-address .txt-wrap {
    position: relative;
    background-color: rgba(255, 255, 255, 0.6);
}

.store-address .txt-wrap:before {
    content: "";
    position: absolute;
    background-image: url(../img/contents/kirakira-man.png);
    background-repeat: no-repeat;
    height: 191px;
}

.store-address .txt-wrap-asaka {
    position: relative;
    background-color: rgba(255, 255, 255, 0.6);
}

.store-address .txt-wrap-asaka:before {
    content: "";
    position: absolute;
    background-image: url(../img/contents/kirakira-man.png);
    background-repeat: no-repeat;
    height: 191px;
}

.store-address p.accent {
    text-align: center;
    font-size: 1.2em;
    margin-top: 0;
    color: #F51100;
    border-bottom: 1px dotted #f7392b;
}

.store-address p:not(:first-child) {
    margin-top: 0.5em;
}

.store-address .gmap {
    /* margin: 0 calc(50% - 50vw);
    width: 100vw; */
    width: 100%;
    margin: 3em 0 1em 0;
}

.store-address .gmap iframe {
    width: 100%;
}

.front .store-address-bg {
    background-image: url(../img/bg/townscape.png), url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAGElEQVQYlWNgYGCQYkAF6HziAfkmDbQbAHoYANHmnjxWAAAAAElFTkSuQmCC');
    background-repeat: repeat-x, repeat;
    background-position: bottom, center;
}

.outer table . map {
    position: relative;
    display: inline-block;
    padding: 0 1.6em 0 .5em;
    margin-left: 1em;
    color: #675959;
    background-color: #ffd700;
    border-radius: 3px;
    font-size: 0.8em;
    text-decoration: none;
}

.outer .map::before {
    font-family: "Font Awesome 5 free";
    font-weight: 900;
    content: "\f105";
    display: inline-block;
    margin-right: 5px;
}

.outer .map::after {
    font-family: "Font Awesome 5 free";
    font-weight: 900;
    content: "\f3c5";
    display: inline-block;
    position: absolute;
    margin-left: 5px;
}

.access-outer {
    background-color: #FFF9C4;
}

#main p.hokan {
    display: flex;
    align-items: center;
    justify-content: center;
}

#main p.hokan img {
    max-width: 30%;
}

#map h2:before {
    background: url(../img/icon/company-speech-icon.png) center no-repeat;
    width: 48px;
    height: 48px;
}

#map dl {
    margin-left: 2em
}

#map dh {
    font-weight: 700;
    position: relative;
}

#map dh:before {
    content: "";
    position: absolute;
    width: 1.2em;
    height: 1.2em;
    top: .1em;
    left: -2em;
    background-color: #F7392B;
}

/*店長挨拶*/
#speech-heading {
    display: flex;
    justify-content: center;
    align-items: center;
}

.speech-outer .picture {
    text-align: center;
}

.merit-list dh {
    font-weight: 700;
    font-size: 1.15em;
}

.speech-outer .speech .title {
    margin-top: 0px;
    text-align: center;
    color: #f7e033;
    font-weight: 600;
    font-size: 1.3em;
    line-height: 1.6;
    text-shadow: 0 0 3px #333, 0 0 3px #333, 0 0 3px #333, 0 0 3px #333, 0 0 3px #333, 0 0 3px #333, 0 0 3px #333, 0 0 3px #333, 0 0 3px #333, 0 0 3px #333, 0 0 3px #333, 0 0 3px #333, 0 0 3px #333, 0 0 3px #333, 0 0 3px #333, 0 0 3px #333;
    position: relative;
}

.speech-outer .speech .title:after {
    content: "";
    display: inline-block;
    background: url(../img/contents/company-turtle.png) no-repeat;
    background-size: contain;
    position: absolute;
    width: 4em;
    height: 2em;
    top: 0;
}

.speech-outer .picture {
    margin-top: 2em;
}

.speech-outer .speech {
    margin-top: 0;
    padding: 1em;
    background-color: #ffebea;
    border: 4px solid #000;
    position: relative;
}

.speech-outer .speech .last {
    margin-bottom: 1em;
}

dd {
    margin: 0 0.5em 0.5em;
}

/* 767px以下*/
@media screen and (max-width: 767px) {
    #mainImg {
        height: 100px;
        background-size: auto 20%;
    }

    #mainImg.lower {
        background-size: 3em;
    }

    #mainImg.lower h1 {
        font-size: 1.2rem;
    }

    #main table th {
        padding-left: 0.5em;
        padding-right: 0.5em;
    }

    #main table td {
        padding-right: 0.5em;
    }

    #main table th,
    #main table td {
        display: block;
    }

    #company-info:before {
        position: absolute;
        content: "";
    }

    /* 店舗情報 */
    .store-address .txt-wrap {
        padding: 1em 2em;
    }

    .store-address .txt-wrap:before {
        width: 27%;
        background-size: contain;
        right: 0;
        bottom: 0;
        background-position: right bottom;
        transform: scale(-1, 1);
        filter: FlipH;
        -ms-filter: "FlipH";
    }
    
    .store-address .txt-wrap-asaka {
        padding: 1em 2em;
    }

    .store-address .txt-wrap-asaka:before {
        width: 27%;
        background-size: contain;
        right: 0;
        bottom: 0;
        background-position: right bottom;
        transform: scale(-1, 1);
        filter: FlipH;
        -ms-filter: "FlipH";
    }
    .store-address-bg,
    .support-bg {
        background-size: 80%, auto;
    }

    p.mochikomi{
        margin-bottom: 4em;
    }

    .txt-wrap-asaka p.mochikomi{
        margin-bottom: 16em !important;
    }

    .speech-outer .picture {
        /*        margin-top: 2em;*/
    }

    .speech-outer .picture img.turtle {
        width: 15%;
        height: auto;
    }

    .speech-outer .picture img.track {
        width: 18%;
        height: auto;
    }

    .speech-outer .picture img.people {
        width: 20%;
        height: auto;
    }

    .speech-outer .speech .title:after {
        display: none;
    }
}




/* 768px以上 */
@media screen and (min-width: 48em) {

    #main tbody {
        position: relative;
    }

    #company-info {
        max-width: 1050px;
        background: rgb(255 249 196 / 20%);
        padding: 2em;
        box-shadow: 3px 3px 6px -2px #555,
            3px 3px 8px rgb(255 255 255 / 80%) inset;
        border: 4px solid #ff1a1a;

    }

    #company-info .title {
        padding: .5rem 1em .5em 3rem;
        font-size: 18px;
    }


    #main table th {
        width: 30%;
        padding-left: 1.5em;
        padding-right: 1em;
        border-top: none;
        border-bottom: 1px solid #F51100;
    }

    #main table tr:last-child td,
    #main table td {
        border-bottom: 1px solid #ccc;
        padding: 1rem 1.5rem;
    }

    p.hokan img {
        vertical-align: middle;
    }

    .merit-list {
        padding-left: 2em;
        padding-top: .5em;
    }

    dd {
        margin: 0 1.5em 1.5em;
    }

    /* 店舗情報 */
    .store-address .txt-wrap {
        background-image: url(../img/contents/store-img.png);
        background-repeat: no-repeat;
        background-position: right 3em bottom 13em;
        background-size: auto 35%;
        max-width: 650px;
        margin-right: auto;
        margin-left: auto;
        padding: 2em 3em;
    }

    .store-address .txt-wrap:before {
        width: 176px;
        left: -5em;
        bottom: -2em;
        background-size: 45%;
        background-position: left bottom;
    }

    .store-address .txt-wrap-asaka {
        background-image: url(../img/contents/company-asakaten.webp) !important;
        background-position: right 3em bottom 11em !important;
        background-size: auto 35%;
        max-width: 650px;
        margin-right: auto;
        margin-left: auto;
        padding: 2em 3em;
    }

    .store-address .txt-wrap-asaka:before {
        width: 176px;
        left: -5em;
        bottom: -2em;
        background-size: 45%;
        background-position: left bottom;
    }

    .store-address p.accent {
        width: 60%;
        margin-right: auto;
        margin-left: auto;
    }

    .speech-outer .speech .title {
        padding: 1rem 1rem;
        font-size: 2em;
    }


}

/* 幅 1072px 以上 */
@media screen and (min-width: 67em) {

    /* 店舗情報 */
    .store-address .txt-wrap:before {
        background-size: 80%;
        left: -10em;
    }

    .store-address .txt-wrap-asaka:before {
        background-size: 80%;
        left: -10em;
    }

    .company-bg {
        background-image: url(../img/bg/com-bg1.png), url(../img/bg/com-bg2.png);
        background-repeat: no-repeat;
        background-position: left top 150px, right bottom 400px;
        background-size: 17vw;
        position: relative;
        z-index: 1;
    }

    #company-info .title:before {

        position: absolute;
        bottom: -22px;
        left: -42px;
        width: 0;
        height: 0;
        content: '';
        border-top: 10px solid #f7392b;
        border-left: 10px solid transparent;

    }
}

/* 1264px以上 */
@media screen and (min-width: 79em) {
    #mainImg {
        background-size: auto;
    }

    .company-bg {
        /*
        background-image: url(../img/bg/com-bg1.png),
        url(../img/bg/com-bg2.png);
        background-repeat: no-repeat;
        background-position: left top 150px,
        right bottom 400px;
        background-size: 17vw;
        position: relative;
        z-index: 1;
*/
    }
}
