/*
Theme Name: ごはん屋ヒバリオンラインショップ機能付き
Description: woocommerce対応のため、storefrontを継承します. mobile-first
Template: storefront
Version: 0.9.64
Author: Akira Yagi
Text Domain:  hibarigohan-online-shop

*/
/** fonts */
@font-face {
    font-family:"Roboto Medium";
    src:url(assets/fonts/Roboto/Roboto-Medium.ttf) format("truetype");
}
@font-face {
    font-family:"Roboto Bold";
    src:url(assets/fonts/Roboto/Roboto-Bold.ttf) format("truetype");
}

/**
游ゴシック体をboldにするときは以下の記述を利用するとMacの見た目が良くなる
@link https://mdesign-y.com/frontend/445/
 ```
 font-weight: bold;
 -webkit-font-smoothing: antialiased;
 -moz-osx-font-smoothing: grayscale;
 ```
*/
body,
button, input, optgroup, select, textarea,
h1, h2, h3, h4, h5, h6 {
    font-family:
    "游ゴシック体", "YuGothic", "游ゴシック", "Yu Gothic",
    "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro",
    "メイリオ", "Meiryo", sans-serif;
    font-weight: 500;
    text-decoration: none;
}
.qty,
bdi {
    font-family: "Roboto Medium",sans-serif;
}
.hibari-page-title {
    font-family: "Roboto Medium",
    "游ゴシック体", "YuGothic", "游ゴシック", "Yu Gothic",
    "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro",
    "メイリオ", "Meiryo", sans-serif;
}

/** general */
html, body {
    height: 100%;
}
#content {
    flex: 1;
}
a {
    color:#4d4944;
}
a:hover {
    opacity: 70%;
}
h1, h2, h3, h4, h5, h6,
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
    font-weight: 700;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
*:focus {
    outline: none !important;
}
img {
    border-radius: 0;
}
.hentry .entry-content a {
    text-decoration: none;
}
.hibari-page-title {
    font-size:1em;
    letter-spacing: 3px;
    margin: .4em 0 1.3em;
    font-weight: 500;
}

/** forms */
button,
input[type="button"], 
.button {
    background-color: #f2f2f2;
    border-color: #f2f2f2;
}
input[type="text"],
input[type="email"],
input[type="number"],
input[type="tel"],
input[type="date"],
input[type="datetime-local"],
input[type="url"],
input[type="password"],
.input-text,
textarea {
    box-shadow: none;
    border: 1px solid #e2e2e2;
}
input.white-box {
    background-color: #fff;
    border: 1px solid #4d4944;
}

/* radio button */
#payment　input[type=radio] {
    display: none;
}
#payment .payment_methods>.wc_payment_method>label.radio_a {
    box-sizing: border-box;
    cursor: pointer;
    display: inline-block;
    padding: 7px 36px;
    position: relative;
    width: auto;
    margin: 0;
}
#payment .payment_methods>.wc_payment_method>label.radio_a::before {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 50%;
    content: '' !important;
    display: block;
    height: 20px;
    left: 0;
    margin-top: -8px;
    position: absolute;
    top: 38%;
    width: 20px;
}
#payment .payment_methods>.wc_payment_method>label.radio_a::after {
    background: #4d4944;
    border-radius: 50%;
    content: '' !important;
    display: block;
    height: 12px;
    left: 5px;
    margin-top: -3px;
    opacity: 0;
    position: absolute;
    top: 38%;
    transform: scale3d(.3,.3,1);
    transition: transform .2s ease-in-out, opacity .2s ease-in-out;
    width: 12px;
}
#payment .payment_methods>.wc_payment_method>input[type=radio]:checked + .radio_a::before {
    border-color: #666;
}
#payment .payment_methods>.wc_payment_method>input[type=radio]:checked + .radio_a::after {
    opacity: 1;
    transform: scale3d(1,1,1);
}
#payment .payment_methods li .payment_box {
    padding: 1.1em 2.5em;
}

/** pager */
.site-main nav.navigation {
    padding: 0 0;
}
.site-main nav.navigation .nav-next a,
.site-main nav.navigation .nav-previous a {
    font-family: "Roboto Medium", sans-serif;
    font-size: .75em;
}
.site-main nav.navigation .nav-previous a::before {
    font-family: "Roboto Medium", sans-serif;
    content: "<" ;
}
.site-main nav.navigation .nav-next a::after {
    font-family: "Roboto Medium", sans-serif;
    content: ">" ;
}
.pagination .page-numbers li .page-numbers, .woocommerce-pagination .page-numbers li .page-numbers {
    background: #ffffff;
}
.pagination .page-numbers li .page-numbers.current {
    background: #ffffff;
    border-bottom: 1px solid #4d4944;
}

/** header */
.menu-svg img {
    height: 15px;
}
.main-image img {
    width:100%;
}
button.menu-toggle, button.menu-toggle:hover {
    border: 0 none;
}
.woocommerce-active .site-branding {
    float: none;
    width: 100%;
}
.site-header {
    padding-top: 1em;
    padding-bottom: 1.618em;
}
.site-header .site-branding .site-title {
    font-size: 1.45em;
    text-align: center;
}
.site-header .site-branding img,
.top-header-navi .hibari-logo img {
    height: 15px;
    display: inline-block;
}
.site-header .site-branding .site-title {
    /*padding-right: 8.5%;*/
}
.top-header-navi .hibari-logo {
    text-align: center;
    line-height: 1;
    font-size: 2em;
    margin-bottom: .55em;
}
button.menu-toggle {
    position: absolute;
    top:16px;
    right: 0;
}
.top-header-navi .site-header-cart {
    position: absolute;
    top:10px;
}
.top-header-navi .toggled .handheld-navigation {
    margin-top: 2px;
}
button.menu-toggle::before,
button.menu-toggle::after,
button.menu-toggle span::before {
    height: 1px;
    width: 24px;
    left: 0;
}
button.menu-toggle::before {
    top: 20%;
}
button.menu-toggle span::before {
    top: 40%;
}
button.menu-toggle::after {
    top: 60%;
}
.toggled button.menu-toggle::after {
    top: 20%;
}
.toggled .handheld-navigation {
    margin-top: 18px;
    background: #f8f8f8;
}
.handheld-navigation img {
    height: 12px;
}
.handheld-navigation ul {
    padding:1.5em 0;
}
.handheld-navigation ul.menu li {
    padding-left: 34%;
}
.site-header-cart {
    position: absolute;
    right:15%;
    top: 14%;
    opacity: 1;
    transition: opacity .2s 750ms;
}
.toggled + .site-header-cart {
    opacity: 0;
    transition: opacity 0s;
}
.site-header-cart img {
    width: auto;
    height: 22px;
}
/** footer */
.site-footer {
    padding: 2em 3em 1.2em;
}
.site-footer a {
    text-decoration: none;
}
footer h5 {
    font-size: .875em;
    line-height: 1;
    letter-spacing: 1px;
}
.footer-widgets {
    padding-top: 0;
}
.footer-widgets h5 {
    text-align: center;
    font-weight: 500;
}
/* ウィジェットでHTMLへんしゅうで ｐタグに付与している。ついてない場合はつけること */
.footer-widget-1 .footer-links {
    display: flex;
    justify-content: space-between;
}
.footer-widget-1 .widget_text p {
    margin-bottom: 0.2em;
}
.footer-widget-2 .widget_text:first-of-type {
    text-align: center;
}
footer .widget_text p {
    font-size: .75em;
    margin-bottom: .75em;
}
footer .widget {
    margin-bottom: 1em;
}
.footer-col-full {
    position: relative;
}
.up-to-top {
    display: none;
}
.up-to-top span {
    display: none;
}
.copyright {
    margin: 0;
    font-size: .6em;
    text-align: center;
}
.yith-wapo-block .yith-wapo-addon .options .yith-wapo-option {
    max-width: initial !important;
}
/** content */
.entry-title {
    font-size: 1.125em;
    letter-spacing: 1px;
}
.entry-content {
    font-size: .875em;
    line-height: 1.725;
    letter-spacing: 1px;
}
.entry-date {
    font-family: "Roboto Medium", sans-serif;
    font-size: .75em;
    line-height: 1;
    display: inline-block;
    margin-bottom: 1.2em;

}
.hentry .entry-header {
    border-bottom: 0 none;
    margin-bottom: 1.5em;
}
.hentry {
    margin: 0 0 1em;
}
.page-named-access .hentry .entry-content div.wp-block-image:not(.block-editor-media-placeholder) .alignright,
.page-named-access .editor-styles-wrapper div.wp-block-image:not(.block-editor-media-placeholder) .alignright,
.page-named-access img.alignright {
    float:none;
    margin-left: auto;
    padding: 0 8%;
}

/** top page */
.page-template-top-page .site-header {
    padding-top: 0.7em;
}
.page-template-top-page.home.page:not(.page-template-template-homepage) .site-header {
    margin-bottom: 0;
}
.top-header-news {
    padding: 0.4em 1.2em;
}
.top-header-news p {
    font-size: .878em;
    line-height: 1.7;
    margin-bottom: 0;
    letter-spacing: 1px;
}
.top-content-title {
    font-size: .987em;
    display: block;
    width: 7em;
    text-align: center;
    letter-spacing: 2px;
    margin:0 auto 2.5em;
}

/** schedule */
.schedule {
    display: flex;
    flex-flow: column;
}
.schedule-title {
    display: inline-block;
    height: 1.3937em;
    font-size: .987em;
    line-height: 1;
    position: relative;
}
.schedule-title img {
    height: 100%;
}
#handheld-schedule-menu {
    display: none;
    /*display: flex;*/
    justify-content: space-between;
}
.schedule-svg img {

}
.obento-schedule .schedule-title {
    color: #754c24;
}
.cooking-course-schedule .schedule-title {
    color: #528736;
}
.dining-schedule .schedule-title {
    color: #c88c0e;
}
.schedule-object-list {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
    margin-bottom: 3em;
}
.schedule-object {
    position: relative;
    z-index: 20;
    list-style: none;
    border-bottom: 1px solid #e6e6e6;
    padding: 12px 6px 10px 12px;
    background: #FFFFFF;
}
.schedule-object header {
    position: relative;
    display: block;
    width: 100%;
    /*min-height: 1em;*/
    cursor: pointer;
    z-index: 20;
    background: #FFFFFF;
}
.schedule-object-title {
    font-weight: 400;
    display: block;
    font-size: .875em;
    line-height: 1;
    margin-bottom: 0;
}
.schedule-object-description-area {
    opacity: 1;
    position: relative;
    padding-bottom: 2px;
    display: none;
    z-index:1;
}
.schedule-object-description-area.open-area {
    opacity: 1;
    display: block;
}
.schedule-object .number-limit {
    position: absolute;
    width: 100px;
    right: 0;
    bottom: 2px;
    line-height: 1;
    font-size: .687em;
}
.roll-up-button {
    cursor: pointer;
    font-size: 0;
    color: transparent;
    position:absolute;
    display: inline-block;
    right: 0;
    bottom:5px;
}
.roll-up-button:after {
    content: ' ';
    display: inline-block;
    height: 10px;
    width: 10px;
    border-top: 1px solid #4f4944;
    border-left: 1px solid #4f4944;
    transform: rotate(45deg);
}
.schedule-object-description {
    margin: 8px 0 10px;
    font-size: .875em;
    line-height: 1.5;
}
.empty-text p {
    font-size: .875em;
    margin-left: 10px;
}
.introduce-text p {
    font-size: .875em;
    margin-left: 10px;
}
.product-link a {
    display: inline-block;
    padding: 8px 10px;
    background: #4d4944;
    color: #ffffff;
    line-height: 1;
    letter-spacing: 1px;
    font-size: .82em;
}
.page-template-schedule-page .entry-content {
    margin-bottom: 20px;
}

/** online shop */
.page-template-template-homepage:not(.has-post-thumbnail) .site-main {
    padding-top: 0;
}
li.product {
    width: 47%;
    margin-right: 6%;
    float: left;
}
ul.products li.product img {
    display: block;
    margin: 0 auto 1.18em;
}
ul.products li.product,
ul.products .wc-block-grid__product,
.wc-block-grid__products li.product,
.wc-block-grid__products .wc-block-grid__product {
    margin-bottom: 2.2em;
}
ul.products li.product .price,
ul.products .wc-block-grid__product .price,
.wc-block-grid__products li.product .price,
.wc-block-grid__products .wc-block-grid__product .price {
    text-align: left;
}
ul.products li.product .woocommerce-loop-product__title,
ul.products .wc-block-grid__product .woocommerce-loop-product__title,
.wc-block-grid__products li.product .woocommerce-loop-product__title,
.wc-block-grid__products .wc-block-grid__product .woocommerce-loop-product__title {
    text-align: left;
    font-size: 1em;
}
.item-list {
    margin-bottom: 2em;
}
.purchase-related-link {
    text-align: center;
    font-size: .78em;
    margin-bottom: 3em;
}
.purchase-related-link a {
    display: inline-block;
    margin: 0 1.5em .5em;
}
/** product */
.schedule-item .product_title {
    border-bottom: 1px solid #4d4944;
    line-height: 1.8;
    font-weight: 500;
    padding-bottom: 12px;
    padding-left: 10px;
}
.schedule-item .entry-content {
    padding-left: 10px;
}
.single-product div.product p.price {
    font-size: 1.5625em;
    margin: 16px 0;
    line-height: 1;
}
.single-product div.product p.price small {
    font-size: .56em;
}
.product.general-shop-item .quantity-text {
    padding-left: 0;
}
.product.general-shop-item .qty {
    background: #ffffff;
    border: 1px solid #4d4944;
    border-radius: initial;
    padding: 8px 8px 8px 0;
    width: 40px;
    height: 40px;
}
.single-product div.product.general-shop-item form.cart .quantity {
    display: inline-block;
    width: auto;
    vertical-align: top;
}
.single-product div.product.general-shop-item form.cart {
    border-bottom: 1px solid #4d4944;
}
button.single_add_to_cart_button {
    width: 66%;
}
.wc-forward {
    display: none;
}
.woocommerce-message {
    padding: 0.5em;
}
.woocommerce-message::before {
    content: none;
}
.product.schedule-item .single_add_to_cart_button {
    height: 50px;
    display: block;
    margin: 0 auto;
}
.product.general-shop-item .single_add_to_cart_button {
    height: 40px;
    padding-top: 12px;
    padding-bottom: 10px;
}
.single-product div.product form.cart {
    padding: 10px 0;
}
.single-product div.product form.cart .quantity {
    float: none;
    width: 100%;
    padding-bottom: 10px;
}
.quantity-text {
    padding-left: 10px;
    padding-right: 10px;
    font-size: .875em;
    display: inline-block;
}
.cart-area {
    padding-top: 10px;
    padding-bottom: 10px;
}
.input-text.qty {
    border-radius: 5px;
    padding: 8px 8px;
    text-align: right;
    line-height: 1;
    font-size: .875em;
}
.single-product .schedule-item.product p.price {
    margin: 0;
    font-size: 1.5625em;
    border-bottom: 1px solid #4d4944;
    line-height: 1.2;
    padding-bottom: 15px;
    padding-left: 10px;
}
.single_add_to_cart_button {
    font-size: .875em;
    padding: 1.2em 3em;
    letter-spacing: 1px;
    font-weight: 500;
    line-height: 1;
    margin-left: 10px;
}
.yith-wapo-addon .wapo-block-title {
    font-size: .875em;
    font-weight: 600;
    margin-left: 10px;
}
.yith-wapo-addon .options {
    margin-left: 10px;
}
.exclusive-category-item-in-cart p {
    font-size: .875em;
    font-weight: 600;
}

/** cart */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews, p.no-comments {
    background: #4d4944;
}
table.cart td.product-name a {
    display: inline-block;
    text-decoration: none;
}
.cart.shop_table thead {
    display: none;
}
.cart .cart_item {
    display: block;
    border-top: 1px solid #4d4944;
    position: relative;
}
.cart .cart_item td {
    display: inline-block;
}
.cart .product-name {
    width: 100%;
}
.cart .cart_item .product-price {
    display: none;
}
.woocommerce-cart-form .cart .cart_item .product-subtotal {
    padding-top: 20px;
}
table.cart td.actions,
table:not( .has-background ) tbody tr:nth-child(2n) td.actions {
    border-top: 1px solid #4d4944;
    padding-top: 10px;
}
table.cart td.actions input {
    display: inline-block;
    width: 48%;
}
table.cart td.actions .coupon {
    display: none;
    border: 0 none;
}
table:not( .has-background ) tbody tr:nth-child(2n) td,
fieldset,
fieldset legend,
table:not( .has-background ) tbody td {
    background: #ffffff;
    border-top: 0 none;
    padding: 14px 1.41575em;
}
table:not( .has-background ) th,
table.cart th,
.shop_table th {
    background: #ffffff;
}
.cart_totals table.shop_table {
    width: 86%;
    margin-left: 7%;
    margin-right: 7%;
    table-layout: fixed;
}

.cart-collaterals .cart_totals .shop_table th {
    width: 74px;
    font-size: 1.1em;
}
.cart-collaterals .cart_totals .shop_table td {
    font-size: 1.1em;
}
.cart-collaterals .shop_table .order-total th,
.cart-collaterals .shop_table .order-total td {
    background: #f4f0e6;
}
.page-named-cart .cart-collaterals .cart_totals .shop_table th {
    padding: 12px 20px 12px 0;
    text-align: right;
}
.page-named-cart .cart-collaterals .cart_totals .shop_table td {
    padding: 12px 0 12px 20px;
}
.woocommerce-cart-form table.cart .cart_item td.product-remove {
    padding-top: 20px;
    font-size: .75em;
    position: static;
}
table.cart td.product-remove a.remove {
    right: 0;
    top: initial;
    bottom: 1em;
    text-decoration: none;
    background: #e2e2e2;
    text-align: center;
    text-indent: initial;
    width: 4em;
    display: inline-block;
}
table.cart th,
table.cart td {
    padding: 1.5em 10px 1.5em;
    text-align: center;
}
table.cart .product-name {
    text-align: left;
}
table.cart p {
    margin: 0;
}
table.cart .quantity-text {
    display: none;
}
a.remove::before {
    display: none;
}
.button.update_cart,
.button.apply_coupon {
    background: #ffffff;
    border: 1px solid #4d4944;
}
.button.apply_coupon {
    width: 50%;
}
table.cart td.product-quantity .qty {
    background: #ffffff;
    border: 1px solid #4d4944;
    border-radius: initial;
    padding: 8px 6px;
    width: 38px;
}
.checkout-area {
    display: flex;
    justify-content: flex-start;
    flex-flow: column-reverse;
    width: 80%;
    margin: 30px auto 10px;
}
.checkout-area > div {
    height: 50px;
    width: 200px;
    margin: 0 auto 20px;
}
.back-to-page a.button {
    display: block;
    text-align: center;
    background: #fff;
    border: 1px solid #4d4944;
    padding:1em 0;
    height: 100%;
    letter-spacing: 1px;
}
.wc-proceed-to-checkout .button.checkout-button {
    font-size: 1em;
    padding:1em 0;
    height: 100%;
    font-weight: 500;
    letter-spacing: 1px;
}
.wc-forward::after, .woocommerce-Button--next::after {
    display: none;
    content: none;
}
/** checkout */
.checkout h3 {
    font-size: 1.285715em;
}
.hibari-checkout-rows {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
}
.hibari-form-title {
    font-size: 1em;
    flex-basis: 100%;
    padding-top: .65em
}
.hibari-checkout-rows p {
    margin-bottom: 1em;
}
.hibari-checkout-rows .form-row-first {
    margin-right: auto;
}
.hibari-checkout-rows .form-row-first,
.hibari-checkout-rows .form-row-last {
    flex-basis: 47%;
}
.hibari-checkout-rows .hide_parts {
    margin: 0;
    padding: 0;
}
.hibari-checkout-rows .form-row-half {
    flex-basis: 100%;
}
.hibari-checkout-rows .form-row-wide {
    flex-basis: 100%;
}

.hibari-checkout-rows .select2-container .select2-selection--single {
    height:41px;
    border-radius: 0;
}
.hibari-checkout-rows .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 40px;
}
.hibari-checkout-rows .select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 8px;
}
.place-order {
    text-align: center;
}
form.checkout {
    margin-bottom: 60px;
}
#order-review .checkout-totals .order-total th,
#order-review .checkout-totals .order-total td {
    background: #f4f0e6;
}
.wc-proceed-to-purchase .button {
    font-size: 1em;
    padding:1em 0;
    height: 100%;
    font-weight: 500;
    letter-spacing: 1px;
    width: 100%;
}
.register-billing-area, .register-shipping-area, .woocommerce-checkout-payment {
    margin-bottom: 3em;
}
/** contact */
.wpcf7 form .wpcf7-response-output,
.wpcf7 form.sent .wpcf7-response-output {
    border: 0 none;
}
.wpcf7-text {
    width: 100%;
}
.wpcf7-form .wpcf7-submit {
    margin: 0 auto;
    display: block;
    padding: .8em 4.8em;
    letter-spacing: 1px;
}
/** for tablet, PC width */
@media (min-width: 768px) {
    /** structure */
    .col-full {
        max-width: 60em;
    }
    .footer-col-full {
        max-width: 51.25em;
        margin: 0 auto;
    }

    /** header */
    .menu-item a:hover img {
        opacity: 70%;
    }
    .woocommerce-active .site-branding {
        float: left;
        width: calc(100% - 120px);
    }
    .site-header {
        width:60em;
        margin:0 auto 3.3em;
        border-bottom: 0 none;
        display: flex;
        justify-content: space-between;
        padding-top: 1.618em;
        padding-bottom: 1.618em;
    }
    .site-header .site-branding .site-title {
        text-align: left;
        font-size: 1.15em;
    }
    .site-header .site-branding img {
        height: 16px;
    }
    .woocommerce-active .site-header .site-branding {
        width: 100%;
        padding: 1.46em 0;
    }
    .header-left-container {
        flex-basis: 30%;
    }
    .header-left-container ~ .storefront-primary-navigation {
        flex-basis: 70%;
        position: relative;
    }
    .hibari-menu::after {
        content: ' ';
        display: block;
        clear: both;
    }
    .site-header .hibari-menu .main-navigation {
        margin-right: 2px;
        float: right;
    }
    .cart-in-item .site-header .hibari-menu .main-navigation {
        float: left;
        margin-left: 88px;
    }
    .hibari-menu .primary-navigation {
        min-width: 512px;
    }
    .hibari-menu .primary-navigation .menu {
        display: flex;
        justify-content: flex-end;
    }
    .main-navigation ul.menu>li,
    .main-navigation ul.nav-menu>li {
        margin-right: 3.3em;
    }
    .main-navigation ul.menu>li>a,
    .main-navigation ul.nav-menu>li>a {
        position: relative;
        padding-left: 0;
        padding-right: 0;
    }
    .hibari-menu .current-menu-item a::after {
        display: block;
        content: "";
        position: absolute;
        bottom: .5em;
        left: 0;
        height: 1px;
        border-top: 1px solid #4d4944;
        padding: 0;
        width: 100%;
    }
    .main-navigation ul li:last-of-type {
        margin-right: 2px;
    }
    .woocommerce-active .site-header .site-header-cart {
        display: block;
        top: 20px;
        right: 0;
        position: relative;
        width: auto;
        float: right;
    }
    .woocommerce-active .site-header .site-header-cart li {
        display: inline-block;
    }
    .cart-icon img {
        width: auto;
        height: 1.3em;
    }

    /** footer */
    .site-footer {
        padding: 4.8em 0 2.4em;
    }
    .footer-widgets.col-3 .footer-widget-1 {
        width: 27%;
    }
    .footer-widgets.col-3 .footer-widget-2 {
        width: 49%;
    }
    .footer-widgets.col-3 .footer-widget-3 {
        width: 18%;
        margin-right: 0;
    }
    .footer-widgets h5 {
        text-align: left;
        font-weight: 600;
    }
    .footer-widget-1 .widget_text {
        display: block;
    }
    .footer-widget-1 .footer-links {
        flex-flow: column;
        justify-content: flex-start;
    }
    .footer-widget-1 .footer-links a:last-of-type {
        margin-top: 2em;
    }
    .footer-widget-2 .widget_text:first-of-type {
        text-align: left;
    }
    footer .widget {
        margin-bottom: 1.2em;
    }
    .copyright {
        position: absolute;
        right: 0;
        bottom: 38px;
        margin: 0;
        font-size: .6em;
    }
    .up-to-top {
        display: block;
        position: absolute;
        right: 2px;
        top: 4px;
    }
    .up-to-top a::before {
        content: ' ';
        display: block;
        position: relative;
        width: 20px;
        height: 20px;
        border-left: 1px solid #fff;
        border-top: 1px solid #fff;
        transform: rotate(45deg);
    }

    /** content */
    .hibari-page-title {
        font-size: 21px;
        letter-spacing: 4px;
        margin:0 0 2.2em;
        font-weight: 600;
    }
    .hentry .entry-header {
        margin-bottom: 1em;
    }
    .hentry {
        margin: 0 0 4.235801032em;
    }
    .entry-content {
        font-size: .875em;
        line-height: 1.725;
        letter-spacing: initial;
    }
    .page-named-access .hentry .entry-content div.wp-block-image:not(.block-editor-media-placeholder) .alignright,
    .page-named-access .editor-styles-wrapper div.wp-block-image:not(.block-editor-media-placeholder) .alignright,
    .page-named-access img.alignright {
        float:right;
        margin-left: 2.617924em;
        padding: 0 40px 0 0;
    }

    /** pager */
    .site-main nav.navigation {
        padding: 2.617924em 0;
    }

    /** top page */
    .main-image {
        width:500px;
    }
    .page-template-top-page .site-header {
        display: block;
        padding-top: 3.1em;
    }

    .top-col-full {
        max-width: 51.25em;
        margin: 0 auto;
        text-align: left;
    }
    .top-header:after {
        display: block;
        clear:both;
        content:"";
    }
    .top-header-navi {
        float:left;
        width: 36%;
        margin-right: 1%;
        padding-top: 2em;
    }
    .top-header-image {
        float:right;
        width: 63%;
        margin-left: 0;
    }
    .top-header-news {
        padding-top: 1.2em;
    }
    .top-header-news p {
        text-align: center;
        font-size: .82em;
        margin-bottom: 0;
    }
    .top-header .hibari-logo {
        text-align: left;
        margin:.3em 0 1em;
    }
    .top-header .hibari-logo img {
        width: auto;
        height: 15px;
    }
    .top-header .main-navigation ul.menu>li {
        margin-top: .6em;
        margin-bottom: 1.65em;
    }
    .top-header .main-navigation ul.menu>li>a {
        padding-top: .6em;
        padding-bottom: .6em;
    }
    .woocommerce-active .site-header .top-header .main-navigation {
        float:none;
        width: 100%;
    }
    .top-header .main-navigation ul li img {
        height:11px;
    }
    .top-header .main-navigation ul li {
        display: block;
    }
    .top-header .main-navigation ul.menu {
        display: block;
        margin-left: 0;
    }
    .woocommerce-active .site-header .top-header .site-header-cart {
        top: 0;
        float: none;
    }
    .top-content-title {
        display: inline-block;
        margin-bottom: 1em;
    }

    /** schedule */
    .schedule {
        flex-flow: row;
        justify-content: space-between;
    }
    .schedule-box {
        flex-basis: 350px;
    }
    .page-template-schedule-page .schedule {
        width: 835px;
    }
    #handheld-schedule-menu {
        display: none;
    }

    /**  product */
    .storefront-full-width-content.single-product div.product.schedule-item .summary {
        width: 100%;
        float: none;
    }
    .schedule-item .product_title {
    }
    .schedule-item .entry-summary {
        display: flex;
        justify-content: space-between;
    }
    .schedule-item-primary-content {
        flex-basis: 570px;
        margin-left: 0;
    }
    .schedule-item-secondary-content {
        flex-basis: 310px;
        margin-right: 0;
    }
    .single-product .schedule-item.product p.price {
    }
    .single-product .schedule-item.product p.price .woocommerce-price-suffix {
        font-size: .875rem;
    }

    /** online shop */
    ul.products li.product img {
        margin: 0 auto 1.618em;
    }
    ul.products li.product,
    ul.products .wc-block-grid__product,
    .wc-block-grid__products li.product,
    .wc-block-grid__products .wc-block-grid__product {
        margin-bottom: 4.235801032em;
    }
    .item-list {
        margin-bottom: 120px;
    }
    .page-template-template-homepage-php .site-main ul.products.columns-4 li.product,
    .page-template-template-fullwidth-php .site-main ul.products.columns-4 li.product {
        width:20.8%;
        margin-right:5.6%
    }
    .page-template-template-homepage-php .site-main ul.products.columns-4 li.product:nth-of-type(4n) {
        margin-right: 0;
    }
    .storefront-full-width-content.single-product div.product .woocommerce-product-gallery {
        width: 460px;
        margin-right: 70px;
    }
    .storefront-full-width-content.single-product div.product .summary {
        width: 430px;
    }
    .single-product div.product p.price small {
        font-size: .56em;
    }
    table.cart td.product-quantity .qty {
        padding: 8px 0;
        width: 38px;
    }

    .product.general-shop-item .quantity-text {
        padding-left: 0;
    }
    .product.general-shop-item .qty {
        background: #ffffff;
        border: 1px solid #4d4944;
        border-radius: initial;
        padding: 8px 0;
        width: 40px;
        height: 40px;
    }
    .single-product div.product.general-shop-item form.cart .quantity {
        display: inline-block;
        width: auto;
        vertical-align: top;
    }
    .single-product div.product.general-shop-item form.cart {
        border-bottom: 1px solid #4d4944;
    }
    button.single_add_to_cart_button {
        width: 200px;
    }
    .product.schedule-item .single_add_to_cart_button {
        height: 50px;
        margin: 0 10px;
    }
    .product.general-shop-item .single_add_to_cart_button {
        height: 40px;
        padding-top: 12px;
        padding-bottom: 10px;
    }
    .product.general-shop-item .woocommerce-product-gallery__wrapper a {
        display: block;
        width: 460px;
        height: 460px;
        overflow: hidden;
    }
    .product.general-shop-item .wp-post-image {
        width: 100%;
    }
    .purchase-related-link {
        font-size: .875em;
        margin-bottom: 4.2em;
    }
    .purchase-related-link a {
        display: inline-block;
        margin: 0 1.5em;
    }
    .transaction-law-link {
        position: relative;
    }
    .transaction-law-link:after {
        position: relative;
        content: '|';
        right: -1.6em;
    }


    /** cart */
    table.cart td.product-name img {
        width: 50px;
    }
    .woocommerce-cart-form table.cart .cart_item td.product-remove {
        padding-top: 14px;
    }
    table.cart td.product-remove a.remove {
        font-size: 1.2em;
        letter-spacing: 1px;
        line-height: 1.3;
        width: 4em;
        position: static;
        height: auto;
        display: inline-block;
        padding-top: 2px;
        padding-bottom: 2px;
    }

    table.shop_table th,
    table.shop_table .cart_item td {
        border-bottom: 1px solid #4d4944;
        border-collapse: collapse;
        vertical-align: middle;
    }
    .cart.shop_table thead {
        display: table-header-group;
    }
    .cart .cart_item {
        display: table-row;
    }
    .cart .cart_item td {
        display: table-cell;
    }
    .cart_totals table.shop_table {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
    .cart_totals table.shop_table th,
    .cart_totals table.shop_table td {
        border-bottom: 0 none;
    }
    table.shop_table th.product-name {
        width: 600px;
    }
    table.shop_table .cart_item td.product-remove {
        border-bottom: 1px solid #4d4944;
        padding: 1.5em 10px .875em;
    }
    table.shop_table tr th,
    table.shop_table tbody tr .product-price,
    table.shop_table tbody tr .product-quantity,
    table.shop_table tbody tr .product-subtotal,
    table.shop_table tbody tr .product-remove {
        text-align: center;
    }
    .woocommerce-cart-form .cart .cart_item .product-price {
        display: table-cell;
    }
    .woocommerce-cart-form .cart .cart_item .product-subtotal {
        padding-top: 14px;
    }
    table.shop_table tr .product-name,
    table:not( .has-background ) tbody tr:nth-child(2n) td.product-name {
        padding-left: 10px;
        text-align: left;
    }
    table.cart td.actions,
    table:not( .has-background ) tbody tr:nth-child(2n) td.actions {
        border-top: 0 none;
        padding-top: 10px;
    }
    table:not( .has-background ) tbody tr:nth-child(2n) td.actions {
        padding-left: 0;
        padding-right: 0;
    }
    table.cart td.actions input {
        display: inline-block;
        width: auto;
        margin: 0;
    }
    .page-template-template-fullwidth-php .cart-collaterals .cart_totals, .page-template-template-fullwidth-php .cart-collaterals .shipping_calculator {
        width: 100%;
        float: none;
    }
    .cart-collaterals .cart_totals .shop_table {
        width: 18em;
        float: right;
        margin-bottom: 0;
    }
    .cart-collaterals .cart_totals::after {
        display: block;
        content: " ";
        clear: both;
    }
    .cart_totals table.shop_table th {
        width: 98px;
    }
    .cart_totals table.shop_table tbody tr th
    {
        text-align: right;
        padding-left: 20px;
    }
    .cart_totals table.shop_table tbody tr td {
        text-align: left;
    }
    .cart-subtotal th,
    .tax-rate th,
    .cart-subtotal .amount,
    .tax-rate .amount {
        font-size: 1.2857em;
        font-weight: 500;
    }
    .button.apply_coupon {
        width: auto;
    }
    .order-total {
        font-size: 1.2857em;
        font-weight: 600;
    }
    .checkout-area > div {
        margin: initial;
    }
    .checkout-area {
        flex-flow: row;
        justify-content: space-between;
        width: 450px;
        margin: 52px auto 50px;
    }
    /** checkout */
    .hibari-form-title {
        font-size: 1em;
        flex-basis: 150px;
        padding-top: .65em;
    }
    .hibari-checkout-rows p {
        margin-bottom: 1.5em;
    }
    .hibari-checkout-rows .form-row-first {
        margin-right: 4.347826087%;
    }
    .hibari-checkout-rows .form-row-first,
    .hibari-checkout-rows .form-row-last,
    .hibari-checkout-rows .form-row-half {
        flex-basis: 300px;
    }
    .hibari-checkout-rows .form-row-wide {
        flex-basis: calc(100% - 150px);
    }
    .register-billing-area,
    .register-shipping-area,
    .woocommerce-checkout-payment {
        margin-bottom: 94px;
    }
    .checkout .woocommerce-checkout-review-order-table {
        margin-bottom: 70px;
        table-layout: fixed;
    }
    .checkout .woocommerce-checkout-review-order-table .product-name {
        width: 640px;
    }
    .checkout .woocommerce-checkout-review-order-table .product-quantity {
        width: 100px;
    }
    .checkout .woocommerce-checkout-review-order-table .product-subtotal {
        text-align: left;
    }
    table.shop_table td.product-subtotal {
        padding-bottom: 1em;
    }
    table.shop_table.checkout-totals {
        table-layout: fixed;
        width: 330px;
        margin-left: 66.4%;
    }
    .checkout-totals .includes_tax {
        display: block;
    }
    table.shop_table.checkout-totals th {
        border-bottom: 0 none;
        text-align: right;
        width: 90px;
        padding: 0.7em 1em;
    }
    #order-review table.shop_table.checkout-totals td {
        padding-left: 36px;
    }
    dl.variation {
        display: inline-block;
        margin: 0 1em;
    }
    dl.variation dt,
    dl.variation dd {
        display: inline-block;
        margin: 0;
    }
}
@media (min-width: 1200px) {
    #page {
        display: flex;
        flex-flow: column;
        min-height: 100vh;
    }
    .admin-bar #page {
        min-height: calc(100vh - 32px);
    }
}
@media (max-width: 767px) {
    li.product:nth-of-type(2n) {
        margin-right: 0;
    }
}
