/*
Theme Name: ほねごりmini
Theme URI: https://honegori-group.com/mini/
Author: ザクロバッカ
Author URI: https://zaqrobacca.com/
Description: ほねごりmini テーマ
Version: 1.0
*/
/* -----------------------containerここから----------------------- */
html, body {
  -webkit-text-size-adjust: 100%;
}

html {
    font-family: "IBM Plex Sans JP", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 1.5;
}

body {
    overscroll-behavior: none;
    margin: 0;
    padding: 0;
    background-color: #FDFBEC;
    box-sizing: border-box;
    overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

header .header_logo {
    background-color: #fff;
    border-radius: 0 0 40px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 300px;
    padding: 20px 30px 10px 40px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 20;
}

.top .main_contents {
    width: 98vw;
    height: 100vh;
    padding-right: 2vw;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.top .main_contents .ttl_img {
    background-image: url(/mini/wp-content/uploads/2025/08/ttl_img.svg);
    background-repeat: no-repeat;
    background-position-x: 0;
    background-position-y: 0;
    background-size: contain;
    width: 64vw;
    height: 100vh;
    position: absolute;
    top: 15px;
    right: 36vw;
    z-index: 1;
    pointer-events: none;
}

.top .main_contents .shop_list {
    max-width: 540px;
    width: 50%;
    padding-right: 2%;
    z-index: 5;
    position: relative;
    left: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.top .main_contents .shop_list h2 {
    font-size: 28px;
    font-weight: 600;
    color: #8414DB;
    border-bottom: solid 1px #8414DB;
    margin-bottom: 24px;
}

.top .main_contents .shop_list .item {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
}

.top .main_contents .shop_list .item:not(:last-of-type) {
    margin-bottom: 20px;
}

.top .main_contents .shop_list .item figure {
    margin: 0;
    max-width: 260px;
    width: calc(50% - 20px);
}

.top .main_contents .shop_list .item .txt {
    width: 50%;
}

.top .main_contents .shop_list .item .txt h3 {
    margin: 0 0 1rem;
    font-size: 20px;
    color: #333;
}

.top .main_contents .shop_list .item .txt .adress {
    font-size: 14px;
    color: #333;
    margin-bottom: 14px;
}

.top .main_contents .shop_list .item .txt a {
    color: #8414DB;
    font-size: 16px;
    display: block;
    position: relative;
    text-decoration: none;
    font-weight: 600;
    width: fit-content;
}

.top .main_contents .shop_list .item .txt a::after {
    font-family: "Font Awesome 6 Free";
    font-weight: 900; 
    content: "\f054";
    font-size: 12px;
    position: absolute;
    top: 3px;
    right: -16px;
}

@media (orientation: landscape) {
  .top .main_contents {
    flex-direction: row;
  }
}

@media (orientation: portrait) {
    body {
        overflow-x: hidden;
        overflow-y: scroll;
    }

    header .header_logo {
        max-width: 30vw;
        padding: 0px 15px 0 20px;
    }

    .top .main_contents {
        flex-direction: column;
        max-width: 96%;
        height: auto;
        aspect-ratio: 1 / 1;
        padding: 30px 2% 0;
    }

    .top .main_contents .ttl_img {
        width: 100%;
        height: 100%;
        aspect-ratio: 1 / 1;
        position: relative;
        right: inherit;
        background-position-x: center;
        background-position-y: center;
    }

    .top .main_contents .shop_list {
        width: 96%;
        max-width: 96%;
        padding: 0 2% 50px;
        left: 0;
        top: auto;
        transform: none;
    }
}

@media screen and (max-width: 767px) {
    body {
        overflow-x: hidden;
        overflow-y: scroll;
    }

    header .header_logo {
        max-width: 30vw;
        padding: 0px 15px 0 20px;
    }

    .top .main_contents {
        flex-direction: column;
        max-width: 96%;
        height: auto;
        aspect-ratio: 1 / 1;
        padding: 30px 2% 0;
    }

    .top .main_contents .ttl_img {
        width: 100%;
        height: 100%;
        aspect-ratio: 1 / 1;
        position: relative;
        right: inherit;
        background-position-x: center;
        background-position-y: center;
    }

    .top .main_contents .shop_list {
        width: 96%;
        max-width: 96%;
        padding: 0 2% 50px;
        left: 0;
    }

    .top .main_contents .shop_list h2 {
        font-size: 20px;
    }

    .top .main_contents .shop_list .item {
        flex-direction: column;
    }

    .top .main_contents .shop_list .item figure {
        max-width: 100%;
        width: 100%;
    }

    .top .main_contents .shop_list .item figure img {
        width: 100%;
        height: auto;
    }

    .top .main_contents .shop_list .item .txt {
        width: 100%;
    }

    .top .main_contents .shop_list {
        padding-bottom: 30px;
        top: auto;
        transform: none;
    }
}


