/*-------------------
    共通
--------------------*/

/*背景色  */
.page-id-14 .l-contents__body, .page-id-423 .l-contents__body  {
    background-color: var(--sub-accent-color);
}


/* パーマリンク */
.page-id-14 .c-breadcrumbs, .page-id-423 .c-breadcrumbs {
    color: #fff;
}

/* mvサイズ */
@media (min-width: 640px) {
    .c-page-header[data-has-image=true] {
        height: 100vh;
    }
}

/* ページタイトル影 */
h1.c-page-header__title {
    text-shadow: 2px 2px 2px #333333;
}

.page-id-3 h1.c-page-header__title {
    text-shadow: none;
}

.page-id-1130 h1.c-page-header__title {
	display: none;
}

/* テキスト均等配置 */
.justify {
    text-align: justify;
}

/* 投稿者 */
.c-meta__item--author {
    display: none;
}

/* 字下げ */
.indent {
    text-indent: -1em;
    padding-left: 1em;
}

/* レスポンシブ順番入れ替え */
@media (max-width: 639px) {
    .replacement {
        flex-direction: column-reverse
    }
}


/* ふりがな */
.under {
	ruby-position: under;
	-webkit-ruby-position: after;
}


/*-------------------
    ボタン
--------------------*/
/* 反転アクセント */
.practice .smb-btn {
    border: 2px solid  var(--accent-color);
    transition: .4s cubic-bezier(0.37, 0, 0.63, 1);
}
.practice .smb-btn:hover {
    background: #fff;
    color: var(--accent-color);
}


/* 矢印 */
.arrow .smb-btn {
    position: relative;
}
.arrow .smb-btn__label::before{
    border-color: transparent transparent transparent #fff;
    border-style: solid;
    border-width: 6px 0 0 10px;
    content: "";
    display: block;
    margin-top: -4px;
    position: absolute;
    right: 20px;
    top: 50%;
}
.arrow .smb-btn__label::after{
    background-color: #fff;
    content: "";
    display: block;
    height: 2px;
    margin-top: 0px;
    position: absolute;
    right: 23px;
    top: 50%;
    width: 1.2rem;
}


@media screen and (min-width: 1024px) {

    .arrow .smb-btn__label::before{
        right: 40px;
        transition: right 0.3s ease;
    }
    .arrow .smb-btn__label::after{
        right: 43px;
        transition: right 0.3s ease;
    }

    /* ホバーアニメーション */
    .arrow .smb-btn.smb-btn:hover {
        filter: none;
    }
    .arrow .smb-btn:hover .smb-btn__label::before {
        right: 20px;
    }
    .arrow .smb-btn:hover .smb-btn__label::after {
        right: 23px;
    }

}

/*-------------------
ナビゲーションメニュー
--------------------*/

/* 文字サイズ */
.p-global-nav .c-navbar__item>a>span {
    font-size: 16px;
}

/* 余白 */
.p-global-nav .c-navbar__item>a {
    padding: 14px;
}

/*-------------------
    ドロワー
--------------------*/

/* ドロワー背景色 */
.c-drawer {
    background-color: var(--sub-accent-color);
    color: #fff;
}

/* ドロワー文字サイズ */
.c-drawer .menu-item {
    font-size: 16px;
}

/* ドロワー強調項目 */
.sm-nav-menu-item-highlight {
    background-color: var(--accent-color);
}


/*-------------------
    お知らせ
--------------------*/

/* お知らせライン */
.home .c-entries--text .c-entries__item>a, .c-entries--text2 .c-entries__item>a {
    padding-bottom: 10px;
    padding-top: 10px;
}

.home .c-entries--simple, .c-entries--text, .c-entries--text2 {
    border-top: none;
}

.home .c-entries--simple .c-entries__item, .c-entries--text .c-entries__item, .c-entries--text2 .c-entries__item {
    border-bottom: 1px solid #A09F9F;
}

/* お知らせあしらい矢印 */
.home .c-entry-summary__header {
    position: relative;
    display: inline-block;
    padding-left: 20px;
}
.home .c-entry-summary__header:before {
    content: '';
    width: 6px;
    height: 6px;
    border: 0;
    border-top: solid 2px #fff;
    border-right: solid 2px #fff;
    transform: rotate(45deg);
    position: absolute;
    top: 0;
    right: 20px;
    bottom: 0;
    margin: auto;
}
.home .c-entry-summary__meta {
    padding-left: 20px;
}



/*-------------------
    フッター
--------------------*/

/* フッターナビ */
.footer-nav a{
    text-decoration: none;
    color: var(--_color-text);
}

/* コピーライト  */
.c-copyright--inverse {
    background-color: #eaeaea;
    color: var(--_color-text);
}

.l-footer-widget-area {
    background-color: #eaeaea;
}

/* モバイル固定ナビ */
.p-footer-sticky-nav {
    background-color: var(--accent-color);
}
.p-footer-sticky-nav .c-navbar__item>a {
    color: var(--sub-accent-color);
}

.p-footer-sub-nav {
    background-color: #eaeaea;
}

.l-footer .c-sub-nav .c-navbar {
    justify-content: center;
}

/*-------------------
    mvスライダー
--------------------*/

/*スライダーズーム  */
@keyframes zoomOut {
	0% {
		transform: scale(1);
	}
	100% {
		transform: scale(1.3);
	}
}

.swiper-slide-active .slide-image,
.swiper-slide-duplicate-active .slide-image,
.swiper-slide-prev .slide-image {
	animation: zoomOut 8s linear 0s;
	animation-fill-mode: both;
}

.section-mv h2 {
    text-shadow: 1px 1px 1px #545454;
}

/*-------------------
    画像スライダー
--------------------*/

@keyframes infinity-scroll-left {
    from {
        transform: translateX(0);
    }
    to {
    transform: translateX(-100%);
    }
}
.scroll-infinity__wrap {
    display: flex;
    overflow: hidden;
    width: 100vw;
}
.scroll-infinity__list {
    display: flex;
    list-style: none;
    padding: 0;
}
.scroll-infinity__list--left {
    animation: infinity-scroll-left 60s infinite linear 0.5s both;
}
.scroll-infinity__item {
    display: flex;
    align-items: center;
    width: calc(100vw / 4);

}

@media screen and (max-width: 640px) {
    .scroll-infinity__item {
        width: calc(100vw / 2);
    }
}

.slide-section .c-container {
	margin-left: 0;
}


/*--------------------
    information
---------------------*/

.is-style-infomation .smb-information__item {
    margin-top: 0
}

.is-style-infomation .smb-information__item>.c-row>.c-row__col:first-child {
    padding-top: 1.5rem
}

.is-style-infomation .smb-information__item>.c-row>.c-row__col:last-child {
    border-bottom: 1px solid #cfcfcf;
    padding-bottom: 1.5rem
}

.is-style-infomation .smb-information__item__label {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.8
}

.is-style-infomation .smb-information__item__body>p {
    line-height: 1.8
}

.is-style-infomation[data-sm-split-column=true] .smb-information__item>.c-row>.c-row__col:first-child {
    border-bottom: 1px solid #fff;
    padding-bottom: 1.5rem
}

.is-style-infomation[data-sm-split-column=true] .smb-information__item>.c-row>.c-row__col:last-child {
    padding-top: 1.5rem
}

@media screen and (min-width: 640px) {
    .is-style-infomation .smb-information__item>.c-row>.c-row__col:first-child {
        border-bottom:1px solid #fff;
        padding-bottom: 1.5rem
    }

    .is-style-infomation .smb-information__item>.c-row>.c-row__col:last-child {
        padding-top: 1.5rem
    }
}

@media screen and (min-width: 640px) and (max-width:1023px) {
    .is-style-infomation .smb-information__item>.c-row>.c-row__col--md-1-4 {
        flex-basis:22.5%;
        margin-right: 2.5%;
        max-width: 22.5%
    }

    .is-style-infomation .smb-information__item>.c-row>.c-row__col--md-1-3 {
        flex-basis: 30.8%;
        margin-right: 2.5%;
        max-width: 30.8%
    }
}

@media screen and (min-width: 1024px) {
    .is-style-infomation .smb-information__item>.c-row>.c-row__col:first-child {
        flex-basis:240px;
        margin-right: 2.5rem;
        max-width: 240px
    }

    .is-style-infomation .smb-information__item>.c-row>.c-row__col:last-child {
        flex-basis: calc(100% - 280px);
        max-width: calc(100% - 280px)
    }
}

@media screen and (max-width: 1023px) {
    .is-style-infomation .smb-information__item>.c-row>.c-row__col--1-4 {
        flex-basis:22.5%;
        margin-right: 2.5%;
        max-width: 22.5%
    }

    .is-style-infomation .smb-information__item>.c-row>.c-row__col--1-3 {
        flex-basis: 30.8%;
        margin-right: 2.5%;
        max-width: 30.8%
    }
}

/*-------------------
    お問い合わせフォーム
--------------------*/
/* 入力欄100% */
input.smf-text-control__control {
    width: 100%;
}

/* last下線なし */
.smf-form--business .smf-item:last-child {
	border-bottom: none;
}

.contact-form .smf-item:nth-last-of-type(2) {
	border-left: 1px solid #ddd;
	border-right: 1px solid #ddd;
	text-align: center;
}

/* ボタン装飾 */
.smf-action .smf-button-control__control {
    border-radius: 50px;
    padding: 10px 50px;
    background: var(--accent-color);
    color: #fff;
    border: 2px solid  var(--accent-color);
    font-weight: bold;
    transition: .4s cubic-bezier(0.37, 0, 0.63, 1);
}

@media screen and (min-width: 1023px) {
    .smf-action .smf-button-control__control:hover {
        background: #fff;
        color: var(--accent-color);
    }

}

/* トラッカー色 */
[data-screen=back] .smf-progress-tracker__item--input .smf-progress-tracker__item__number, [data-screen=complete] .smf-progress-tracker__item--complete .smf-progress-tracker__item__number, [data-screen=confirm] .smf-progress-tracker__item--confirm .smf-progress-tracker__item__number, [data-screen=input] .smf-progress-tracker__item--input .smf-progress-tracker__item__number, [data-screen=invalid] .smf-progress-tracker__item--input .smf-progress-tracker__item__number {
    background-color: var(--accent-color);
}

.contact-check {
	padding: 0 10px;
}


/*--------------------
    メッセージアクセント
---------------------*/

.is-style-message_accent:not(:root) {
    border: 1px solid #999;
    margin-bottom: 3rem;
    margin-top: 3rem;
    padding: 3rem 1rem;
    position: relative
}

.is-style-message_accent:not(:root):after,.is-style-message_accent:not(:root):before {
    background-color: #999;
    content: "";
    display: block;
    height: 1px;
    position: absolute;
    transform: rotate(-60deg);
    width: 3.75rem;
    z-index: 2
}

.is-style-message_accent:not(:root):before {
    left: -1.425rem;
    top: .8rem
}

.is-style-message_accent:not(:root):after {
    bottom: .8rem;
    right: -1.425rem
}

@media screen and (min-width: 640px) {
    .is-style-message_accent:not(:root) {
        margin-bottom:6rem;
        margin-top: 5rem;
        padding: 5rem;
    }

    .is-style-message_accent:not(:root):after,.is-style-message_accent:not(:root):before {
        width: 6.25rem;
    }

    .is-style-message_accent:not(:root):before {
        left: -2.2rem;
        top: 1.7rem;
    }

    .is-style-message_accent:not(:root):after {
        bottom: 1.7rem;
        right: -2.2rem
    }

}


/*--------------------
    メッセージ
---------------------*/
/* 背景画像 */

.bgimg-message{
    position: relative;
}
.bgimg-message::after{
    position: absolute;
    z-index: 3;
    content: '';
    display: inline-block;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    width: 50vw;
}

.bgimg-message::after{
    top: 2rem;
    right: 0;
    background-position: bottom right;
}


.bgimg-message::after{
    background-image: url("https://hinumashijimi.jp/wp-content/uploads/2024/09/shijimi-bgimg.webp");
}


@media screen and (max-width: 1024px) {
    .bgimg-message::after{
        top: 1rem;
        right: 0;
}
}


/*--------------------
    商品一覧
---------------------*/
/* 背景画像 */

.bgimg-products{
    position: relative;
}
.bgimg-products::after{
    position: absolute;
    z-index: 3;
    content: '';
    display: inline-block;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    width: 30vw;
}

.bgimg-products::after{
    top: 6rem;
    right: 0;
    background-position: bottom right;
}


.bgimg-products::after{
    background-image: url("https://hinumashijimi.jp/wp-content/uploads/2024/09/products-bgimg.webp");
}


@media screen and (max-width: 640px) {
    .bgimg-products::after{
        top: 2rem;
        right: 0;
        width: 50vw;
}
}


/*---------------------
    ローディング
---------------------*/
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeOut 0.5s 7.5s forwards;
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        visibility: hidden;
    }
}

.loading-bg {
    width: 100%;
    height: 100vh;
    background-color: #8b8b8b;
    position: fixed;
    top: 0;
    left: 0;
}

.loading-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: 5;
    opacity: 1;
    transition: opacity 1s ease;
}

.loading-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px; /* ロゴのサイズ調整 */
    z-index: 6;
    opacity: 0;
    transition: opacity 1s ease;
}

.fade-in {
    opacity: 1 !important;
}

.fade-out {
    opacity: 0.2 !important;
}

.skip-button {
    position: absolute;
    bottom: 20px;
    right: 20px;
    padding: 10px 20px;
    background: rgba(40, 40, 40, 0.3);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    z-index: 7;
}

@media screen and (max-width: 640px) {
    .skip-button {
        bottom: 100px;
    }
}

/* スマホ動画表示位置 */
.loading-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    object-position: right center; /* 右側の中央を表示 */
    z-index: 5;
    opacity: 1;
    transition: opacity 1s ease;
}

/* 注文フォーム確認画面非表示 */
[data-screen="confirm"] .input {
display:none;
}


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

           reCAPTCHA

------------------------------------------*/
.grecaptcha-badge { visibility: hidden; }





/*-----------------------------------------
	注文フォーム
------------------------------------------*/

/* 送料 */

.wp-block-table thead {
    border-bottom: 2px solid #b7b7b7;
}

.shippingPopup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    box-sizing: border-box;
    display: none;
}

.popupContent {
    position: relative;
}

.shippingPopup h3 {
    margin-top: 0;
    text-align: center;
    font-size: 1.2em;
}

.shippingPopup table {
    width: 100%;
}

/* カラムの幅を設置 */
.shippingPopup td:nth-child(1),
.shippingPopup th:nth-child(1) {
    width: 20%;
}

.shippingPopup td:nth-child(3),
.shippingPopup th:nth-child(3) {
    width: 20%;
}

.shippingPopup table, th, td {
    border: 1px solid #ddd;
    border-collapse: collapse;
}

.shippingPopup th, td {
    padding: 8px;
    text-align: center;
    font-size: 0.9em;
}

/* 「×」ボタンを四角にし、下に「閉じる」を追加 */
.closeContainer {
    position: absolute;
    top: -30px;
    right: 10px;
    text-align: center;
}

.closePopup {
    position: relative;
    width: 30px;
    height: 30px;
    background-color: rgb(255, 128, 0);  /* 背景を赤色に設定 */
    border: none;
    cursor: pointer;
}

.line {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 2px;
    background-color: white;  /* 線を白に設定 */
    display: block;
}

.line:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
}

.line:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
}



/* 閉じるのテキスト */
.closeText {
    display: block;
    font-size: 10px;
    font-weight: bold;
    color: #333;
}


.popupContent.wp-block-table td, .popupContent.wp-block-table th {
    padding: 4px;
}

.item .smf-placeholder, .item .wp-block-buttons {
    margin-top: 0 !important;
}