/* Repeatable Patterns
----------------------------------------------------*/
* {
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
}

html.is-scroll-prevent {
    height: 100%;
    overflow: hidden;
}

body {
    font-family: 'Shippori Mincho', serif;
    position: relative;
    z-index: 0;
    color: #444;
    background: #fffefb;
    font-weight: 500;
    letter-spacing: 0.07rem;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
}

body::after {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    content: "";
    background-image: url(https://s-h-i-m-a.jp/cms/wp-content/themes/shima_2024/img/bg.jpg);
    z-index: -1;
    opacity: .1;
}

/*謎の上部画像対策*/
body > img {
    display: none;
}

/* print setting */
@media print {
    html {
        font-size: 38%;
    }

    body {
        -webkit-print-color-adjust: exact;
    }
}

html.is-scroll-prevent {
    height: 100%;
    overflow: hidden;
}

.all_container {
    position: relative;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: 0.5s ease-out;
}

a img,
a svg {
    transition: 0.5s ease-out;
}

a:hover,
a:focus {
    color: #78BDC1;
    text-decoration: none;
}

::-moz-selection {
    background: #78bdc1;
    color: #fff;
    text-shadow: none;
}

::selection {
    background: #78bdc1;
    color: #fff;
    text-shadow: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    font-weight: 700;
}

p {
    margin: 0;
}

img {
    width: 100%;
    height: auto;
    max-width: none !important;
}

figure {
    margin: 0;
}

svg {
    fill: currentcolor;
}

ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

input,
textarea,
button {
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    background: none;
    border-radius: 0;
    transition: 0.3s ease-out;
    cursor: pointer;
    color: #000;
    border: none;
    font-family: 'Shippori Mincho', serif;
}

.wrapper {
    width: calc(1166 / 1366 * 100%);
    max-width: 1166px;
    margin-left: auto;
    margin-right: auto;
}

.sub_wrapper {
    width: 72%;
    margin: auto;
}

.flex {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.display_none {
    display: none;
}


/*text*/
.en {
    font-family: 'Cormorant', serif;
    letter-spacing: 0.1rem;
}

.section_sub_heading {
    font-size: 3rem;
    padding-bottom: 5.2rem;
}

.text_01 {
    font-size: 1.5rem;
    line-height: 1.8;
    text-align: justify;
}

.text_01 p + p {
    margin-top: 2rem;
}

.text_02 {
    font-size: 1.4rem;
    line-height: 1.8;
}

/*link*/

.link_line {
    position: relative;
    width: fit-content;
}

.link_line::after {
    position: absolute;
    bottom: 0;
    left: 0;
    content: '';
    width: 0;
    height: 1px;
    background-color: #444;
    transition: .2s;
}

.link_line:hover::after {
    width: 100%;
}

.link_box {
    position: relative;
    width: 22rem;
    height: 5rem;
    border-radius: 50vmax;
    justify-content: center;
    align-items: center;
    font-size: 2.2rem;
    border: 1px solid #444;
    margin: 0 auto;
}

.link_box .arrow_l {
    position: absolute;
    width: 1.7rem;
    top: 0;
    bottom: 0;
    right: 1.6rem;
    margin: auto;
    filter: invert(24%) sepia(0%) saturate(4224%) hue-rotate(62deg) brightness(100%) contrast(88%);
}

.link_box:hover {
    background: #78BDC1;
    border: solid 1px #78BDC1;
    color: #fff;
}

.link_box:hover .arrow_l {
    filter: invert(100%) sepia(0%) saturate(7500%) hue-rotate(193deg) brightness(106%) contrast(106%);
}

.link_arrow {
    width: fit-content;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    padding-bottom: .5rem;
}

.link_arrow::after {
    position: absolute;
    bottom: 0;
    left: 0;
    content: '';
    width: 0;
    height: 1px;
    background-color: #444;
    transition: .2s;
}

.link_arrow span {
    font-size: 2rem;
    padding-right: 1.4rem;
}

.link_arrow img {
    width: 1.8rem;
}

.link_arrow:hover::after {
    width: 100%;
}

/*fadein*/
.fadein {
    opacity: 0;
    transition: 1.3s ease-out;
    transform: translate(0, 1.5rem);
}

.fadein.scrollin {
    opacity: 1;
    transform: translate(0, 0);
}

@media print {
    .fadein {
        opacity: 1;
    }
}


/* Header
----------------------------------------------------*/

.main_header {
    position: relative;
    z-index: 1;
}

.header_inner {
    position: relative;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}

.header_logo {
    width: 31%;
}

.header_logo_link {
    align-items: center;
}

.header_logo img {
    width: 13.7rem;
}

.logo_en {
    padding-left: 3rem;
    font-size: 1.6rem;
    letter-spacing: .15rem;
}

.logo_shop {
    padding-top: 1.5rem;
    font-size: 1.8rem;
    letter-spacing: .1rem;
}

.header_nav {
    width: 59%;
}

.main_nav_list {
    justify-content: flex-end;
    align-items: center;
    margin: 0;
}

.main_nav_item {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.main_nav_item + .main_nav_item {
    padding-left: 4.8%;
}

.main_nav_link {
    font-size: 1.7rem;
    padding-bottom: .2rem;
}

.main_nav_item:first-child .main_nav_link {
    font-size: 1.5rem;
}

.main_nav_link:hover {
    color: #444;
}

/*商品を探すの中身*/

.detail_box_button_text {
    cursor: pointer;
    transition: 0.5s ease-out;
}

.detail_box_button span {
    font-size: 1.7rem;
    padding-right: 1.2rem;
    padding-bottom: .2rem;
    position: relative;
}

.detail_box_button span::before {
    position: absolute;
    top: .1rem;
    bottom: 0;
    right: 0;
    content: url(https://s-h-i-m-a.jp/cms/wp-content/themes/shima_2024/img/arrow_s.svg);
    width: .5rem;
    height: 1rem;
    margin: auto;
    transform: rotate(90deg);
}

.detail_box_container {
    position: absolute;
    top: 12rem;
    left: 0;
    right: 0;
    background: #fff;
    padding: 4rem 6rem;
    z-index: 9;
}

.detail_box_nav {
    display: none;
}

.category_list_heading {
    font-size: 1.6rem;
    font-weight: 700;
}

.category_list_item {
    padding-top: 1.4rem;
    padding-right: 3%;
}

.category_list_series .category_list_link {
    font-size: 1.4rem;
    line-height: 1.2;
}

.category_list_group {
    margin-top: 1.6rem;
    font-size: 1.6rem;
    font-weight: 700;
}

.category_list_link {
    position: relative;
    padding-left: 1.2rem;
}

.category_list_link::before {
    position: absolute;
    top: .2rem;
    bottom: 0;
    left: 0;
    content: url(https://s-h-i-m-a.jp/cms/wp-content/themes/shima_2024/img/arrow_s.svg);
    width: .5rem;
    height: 1rem;
    margin: auto;
}

.category_list_series .category_list_link {
    padding-left: 1.2rem;
}

.category_list_group .category_list_link {
    padding-left: 1.8rem;
}

/**/

.header_icons {
    width: 10%;
    justify-content: flex-end;
    align-items: center;
}

.header_search_button {
    margin-right: 22%;
}

.header_cart_button svg {
    height: 2rem;
}

.header_icons svg {
    filter: drop-shadow(0px 0px 6px rgba(255, 255, 255, 0.6));
}

/* Footer
----------------------------------------------------*/

.main_footer {
    position: relative;
    padding-top: 14rem;
    margin-bottom: 8rem;
}

.footer_sns_list {
    margin-bottom: 4.8rem;
}

.footer_sns_item + .footer_sns_item {
    margin-left: 2.8rem;
}

.footer_sns_link {
    align-items: center;
}

.footer_sns_link img {
    width: 2.2rem;
    margin-right: 1rem;
}

.footer_sns_link span {
    font-size: 2.2rem;
}

.footer_sns_link small {
    font-size: 70%;
}

.footer_nav_list {
    width: 72%;
}

.footer_nav_item {
    padding-top: 1.2rem;
    padding-right: 2.7%;
}

.footer_nav_link {
    font-size: 1.4rem;
}

.footer_copyright {
    position: absolute;
    bottom: 0;
    right: 0;
}

.footer_copyright small {
    font-size: 1.5rem;
}

.footer_kenri {
    font-size: 1.2rem;
    line-height: 1.5;
    color: #838383;
    width: 70%;
    text-align: justify;
    padding-top: 4rem;
}

.l-copyright__logo {
    display: none;
}

.magazine_link{
    width: 40rem;
    margin-bottom: 4rem;
    display: block;
}


/* ----- 商品一覧 ----- */

.page_heading {
    font-size: 2.8rem;
    margin-bottom: 6rem;
}

.group_children_container {
    padding-bottom: 8rem;
}

.list_page_head {
    justify-content: space-between;
    align-items: center;
    padding-bottom: 6rem;
}

.list_page_number {
    font-size: 1.6rem;
}

.item_sort_list {
    justify-content: flex-end;
    align-items: center;
}

.item_sort_item + .item_sort_item::before {
    content: "/";
    padding-left: 1rem;
    padding-right: .7rem;
    display: inline-block;
    color: #838383;
    font-size: 1.3rem;
}

.item_sort_item {
    font-size: 1.4rem;
}

.item_sort_link_current {
    color: #838383;
}

.item_list {
    margin: 0 -3%;
}

.item_list_item {
    width: calc(100% / 3);
    padding: 0 3% 6%;
}

.item_list_link {
    display: block;
    padding-bottom: 2.4rem;
}

.item_list_name {
    font-size: 1.6rem;
    line-height: 1.5;
    padding-bottom: 1.6rem;
}

.item_list_price {
    font-size: 1.3rem;
    color: #838383;
}

.error_text,
.page_not_found {
    font-size: 1.8rem;
}

/* ----- ページャー ----- */

.pager_container {
    padding-top: 6rem;
}

.pager_list {
    justify-content: center;
    align-items: center;
    font-size: 2rem;
}

.pager_item {
    padding: 0 1.2rem;
}

.pager_link {
    padding: .4rem;
}

.pager_link:hover {
    text-decoration: none;
}

.is-current.pager_link {
    border-bottom: 1px solid;
}

.is-prev.pager_link,
.is-next.pager_link {
    width: 1rem;
    height: 1rem;
    border: 0px;
    border-top: solid 1px #2f2f2f;
    border-right: solid 1px #2f2f2f;
    padding: .6rem;
    display: block;
    margin: 0 .6rem;
}

.is-prev.pager_link {
    transform: rotate(-135deg);
}

.is-next.pager_link {
    transform: rotate(45deg);
}

.is-disabled.is-prev.pager_link,
.is-disabled.is-next.pager_link {
    opacity: .4;
}

a.is-prev.pager_link:hover,
a.is-next.pager_link:hover {
    border-top: solid 1px #72a57a;
    border-right: solid 1px #72a57a;
}

/* ----- お気に入り、最近見た商品 ----- */

.favorite_container,
.history_container {
    margin-top: 18rem;
}

/* ----- パンくず ----- */

.breadcrumb_container {
    padding-top: 1.2rem;
    padding-bottom: 4.8rem;
}

.breadcrumb_list {
    align-items: center;
    opacity: .8;
}

.breadcrumb_item {
    font-size: 1.2rem;
    line-height: 1.4;
}

.breadcrumb_item_home {
    position: relative;
    padding-right: 1.4rem;
    margin-right: 1rem;
}

.breadcrumb_item_home::after {
    position: absolute;
    top: .2rem;
    bottom: 0;
    right: 0;
    content: url(https://s-h-i-m-a.jp/cms/wp-content/themes/shima_2024/img/arrow_s.svg);
    width: .45rem;
    height: .95rem;
    margin: auto;
}

.breadcrumb_item_children + .breadcrumb_item_children::before {
    padding-left: .5rem;
    padding-right: 0;
    content: '/';
    color: #bfbfbf;
}

/* ----- 検索 ----- */

.search_form {
    padding-top: 0;
    padding-bottom: 0;
    margin-bottom: 6rem;
}

.search_input {
    width: 40rem;
    margin-left: 0;
    font-size: 1.5rem;
    height: 4rem;
    border-radius: 0;
    border-bottom: 1px solid;
}

/* ----- ご利用ガイド・プライバシーポリシー ----- */

.guide_container img {
    width: auto;
    max-width: 100%;
}

.guide_heading {
    font-size: 2.2rem;
    padding-bottom: 4.8rem;
}

.guide_section + .guide_section {
    padding-top: 6rem;
    margin-top: 6rem;
    border-top: 1px dotted #ccc;
}

.guide_section_tr + .guide_section_tr {
    padding-top: 4rem;
}

.guide_section_th {
    width: 38%;
    padding-right: 8%;
    font-size: 1.6rem;
    line-height: 1.8;
}

.guide_section_td {
    width: 62%;
    font-size: 1.5rem;
    line-height: 1.8;
}



/* ----- よくあるご質問 ----- */

.faq_list dt {
    font-size: 1.7rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.faq_list dd {
    font-size: 1.5rem;
    line-height: 1.8;
    margin: 0 0 4rem;
}

.faq_list a {
    text-decoration: underline;
}

/*----------------------------------------------------

PCのみ

----------------------------------------------------*/

@media screen and (min-width: 768px) {
    .display_sp {
        display: none !important;
    }
}


@media screen and (min-width: 1400px) {
    html {
        font-size: 67%;
    }
}


@media screen and (max-width: 999px) and (min-width: 880px) {
    html {
        font-size: 59%;
    }
}

@media screen and (max-width: 879px) and (min-width: 768px) {
    html {
        font-size: 56%;
    }

    .wrapper {
        width: 90%;
    }
}

/*----------------------------------------------------

スマートフォンのみ

----------------------------------------------------*/

@media screen and (max-width: 767px) {


    .wrapper {
        width: 100%;
        padding-left: 24px;
        padding-right: 24px;
    }

    .sub_wrapper {
        width: 100%;
    }

    .display_pc {
        display: none !important;
    }

    /*text*/

    .section_sub_heading {
        font-size: 2.4rem;
        padding-bottom: 3.6rem;
    }

    .text_01 {
        font-size: 1.4rem;
    }

    .text_01 p + p {
        margin-top: 1.8rem;
    }

    .text_02 {
        font-size: 1.3rem;
    }

    /*link*/

    .link_box {
        width: 18.8rem;
        height: 4.2rem;
        font-size: 1.8rem;
    }

    .link_box .arrow_l {
        width: 1.5rem;
        right: 1.2rem;
    }

    .link_arrow {
        padding-bottom: .3rem;
    }

    .link_arrow span {
        font-size: 1.6rem;
        padding-right: 1rem;
    }

    .link_arrow img {
        width: 1.4rem;
    }


    /* Header
----------------------------------------------------*/

    .main_header {
        padding-top: 2.8rem;
        padding-bottom: 3.2rem;
    }

    .header_inner {
        width: calc(100% - 5rem);
        margin: 0;
    }

    .header_logo {
        width: 70%;
    }

    .header_logo_link {
        align-items: center;
    }

    .header_logo img {
        width: 11.6rem;
    }

    .logo_en {
        padding-left: 1.5rem;
        font-size: 1.4rem;
    }

    .logo_shop {
        padding-top: .8rem;
        font-size: 1.4rem;
    }

    .header_icons {
        width: 30%;
        padding-bottom: 2.2rem;
    }

    .header_search_button {
        margin-right: 18%;
    }

    .header_icons svg {
        width: 1.9rem;
    }

    /*drawer*/

    .drawer-hamburger {
        position: fixed;
        top: 3.5rem;
        right: 7%;
        width: 8.6%;
        height: 1rem;
        z-index: 999;
        padding: 0;
    }

    .drawer-hamburger-icon,
    .drawer-hamburger-icon:after,
    .drawer-hamburger-icon:before {
        transition: all .3s cubic-bezier(.19, 1, .22, 1);
    }

    .drawer-hamburger-icon {
        position: relative;
        display: block;
        width: 100% !important;
        height: 1px;
        margin-top: 0 !important;
        background-color: transparent;
    }

    .drawer-hamburger-icon:after,
    .drawer-hamburger-icon:before {
        position: absolute;
        content: " ";
        height: 1px;
        width: 100% !important;
        background-color: #444;
        left: 0;
        right: 0;
        margin: auto;
    }

    .drawer-hamburger-icon:before {
        top: -.4rem !important;
    }

    .drawer-hamburger-icon:after {
        top: .4rem !important;
    }

    .is-opened .drawer-hamburger-icon:before {
        transform: rotate(30deg);
        top: 0 !important;
    }

    .is-opened .drawer-hamburger-icon:after {
        transform: rotate(-30deg);
        top: 0 !important;
    }

    .drawer-nav {
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        position: fixed;
        top: 0;
        right: -100%;
        z-index: 100;
        overflow-y: scroll;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        max-height: 100%;
        transition: right .3s ease-in-out;
        -webkit-overflow-scrolling: touch;
        background: #fffefb;
    }

    .is-opened .drawer-nav {
        right: 0;
        transition: right .3s ease-in-out;
    }

    .drawer_inner {
        position: relative;
        min-height: 100vh;
        min-height: 100dvh;
        padding-top: 8rem;
        padding-bottom: 8rem;
    }

    .drawer_inner::after {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        content: "";
        background-image: url(https://s-h-i-m-a.jp/cms/wp-content/themes/shima_2024/img/bg.jpg);
        z-index: -1;
        opacity: .1;
    }

    .search_form {
        padding-top: 0;
        padding-bottom: 0;
        margin-bottom: 42px;
    }

    .search_input {
        width: calc(100% - 2.8rem);
        margin-left: 0;
        font-size: 1.4rem;
        height: 3.4rem;
        border-radius: 0;
        border-bottom: 1px solid;
    }

    .search_submit {
        padding: 0;
        width: 1.8rem;
        margin-left: .8rem;
    }

    .drawer_category {
        padding-bottom: 3.2rem;
    }

    .category_list_heading {
        padding-bottom: .4rem;
    }

    .category_list {
        flex-direction: column;
    }

    .category_list_group {
        margin-top: 3.2rem;
        border-top: 1px dotted #ccc;
        padding-top: 1.2rem;
    }

    .category_list_item {
        padding-top: 1.4rem;
        padding-right: 0;
    }

    .category_list_series .category_list_link,
    .category_list_group .category_list_link {
        padding-left: 1.4rem;
    }

    .drawer_nav {
        border-top: 1px dotted #ccc;
        padding-top: 2.8rem;
        font-size: 1.7rem;
    }

    .drawer_nav_item + .drawer_nav_item {
        padding-top: 1.4rem;
    }

    .drawer_nav_link {
        font-weight: 700;
    }

    .drawer_nav_item:first-child {
        font-size: 1.5rem;
    }
    
    .drawer_magazine_link{
        display: block;
        margin-top: 4rem;
    }

    /* Footer
----------------------------------------------------*/

    .main_footer {
        padding-top: 8rem;
        margin-bottom: 4rem;
    }

    .footer_sns_list {
        margin-bottom: 2.8rem;
    }

    .footer_sns_item + .footer_sns_item {
        margin-left: 1.8rem;
    }

    .footer_sns_link img {
        width: 1.9rem;
        margin-right: .6rem;
    }

    .footer_sns_link span {
        font-size: 1.9rem;
    }

    .footer_nav_list {
        width: 100%;
    }

    .footer_nav_item {
        padding-top: 1.4rem;
        padding-right: 3.5%;
    }

    .footer_nav_link {
        font-size: 1.2rem;
    }

    .footer_copyright {
        position: relative;
        bottom: unset;
        right: unset;
        text-align: right;
        padding-top: 6rem;
    }

    .footer_copyright small {
        font-size: 1.3rem;
    }

    .footer_kenri {
        font-size: 1.1rem;
        width: 100%;
        padding-top: 4rem;
    }
    
    .magazine_link{
        width: 100%;
    }

    /* ----- 商品一覧 ----- */

    .page_heading {
        font-size: 2.2rem;
        margin-bottom: 3.2rem;
    }

    .group_children_container {
        padding-bottom: 4.8rem;
    }

    .list_page_head {
        padding-bottom: 4rem;
    }

    .list_page_number {
        font-size: 1.4rem;
    }

    .item_sort_item + .item_sort_item::before {
        padding-left: .5rem;
        padding-right: 0;
        font-size: 1.2rem;
    }

    .item_sort_item {
        font-size: 1.3rem;
    }

    .item_list {
        margin: 0 -2.8%;
    }

    .item_list_item {
        width: calc(100% / 2);
        padding: 0 2.8% 8%;
    }

    .item_list_link {
        padding-bottom: 1.2rem;
    }

    .item_list_name {
        font-size: 1.4rem;
        padding-bottom: 1.2rem;
    }

    .item_list_price {
        font-size: 1.2rem;
    }

    .error_text,
    .page_not_found {
        font-size: 1.6rem;
    }

    /* ----- ページャー ----- */

    .pager_container {
        padding-top: 4rem;
    }

    .pager_list {
        font-size: 1.6rem;
    }

    .pager_item {
        padding: 0 .6rem;
    }

    .pager_link {
        padding: .3rem;
    }

    .is-prev.pager_link,
    .is-next.pager_link {
        width: .4rem;
        height: .4rem;
        margin: 0 0;
    }

    /* ----- お気に入り、最近見た商品 ----- */

    .favorite_container,
    .history_container {
        margin-top: 12rem;
    }

    /* ----- パンくず ----- */

    .breadcrumb_container {
        padding-top: 0;
        padding-bottom: 3.6rem;
    }

    .breadcrumb_item {
        font-size: 1.1rem;
    }

    .breadcrumb_item_home {
        padding-right: 1rem;
        margin-right: .7rem;
    }

    .breadcrumb_item_home::after {
        top: .2rem;
        width: .45rem;
        height: .95rem;
    }


    /* ----- ご利用ガイド・プライバシーポリシー ----- */

    .guide_heading {
        font-size: 1.9rem;
        padding-bottom: 3.2rem;
    }

    .guide_section + .guide_section {
        padding-top: 4rem;
        margin-top: 4rem;
    }

    .guide_section_tr + .guide_section_tr {
        padding-top: 2.4rem;
    }

    .guide_section_th {
        width: 100%;
        padding-bottom: .8rem;
        font-size: 1.5rem;
    }

    .guide_section_td {
        width: 100%;
        font-size: 1.4rem;
    }

    /* ----- よくあるご質問 ----- */

    .faq_list dt {
        font-size: 1.6rem;
        margin-bottom: .6rem;
    }

    .faq_list dd {
        font-size: 1.4rem;
        margin: 0 0 3.6rem;
    }
}
