/* カスタマイズ用CSS */

/* ------------------------------------------------------------------
   旧 EC-CUBE 3 のデザインの移植（2026-10-24〜）
   テーマカラー：#7CB342（緑）
------------------------------------------------------------------ */

/* ヘッダー：左上にキャッチコピーとロゴ、右に上からカート・電話番号・会員メニュー（Block/header.twig） */
.hasebe-header {
    align-items: flex-start;
    padding-bottom: 10px;
}
.hasebe-header .hasebe-header__brand {
    display: flex;
    align-items: center;
    width: auto;
}
.hasebe-headerCopy {
    margin: 0 0 4px;
    font-size: 12px;
    color: #525263;
}
.hasebe-header__title {
    margin: 0;
    line-height: 1;
}
/* EC-CUBE 4 の標準 CSS は .ec-headerNaviRole img などを width: 100% にするので、元の大きさに戻す */
.hasebe-header .hasebe-header__logo img {
    width: 301px;
    max-width: 100%;
    height: auto;
}
/* EC-CUBE 4 の .ec-headerNaviRole:after（clearfix）は flex の 3 つ目の項目になり、
   space-between で右のまとまりが中央寄りになるので消して、右端に寄せる */
.hasebe-header::after {
    display: none;
}
.hasebe-header .hasebe-header__right {
    flex-direction: column;
    align-items: flex-end;
    width: auto;
    margin-left: auto;
}
.hasebe-headerTel {
    margin: 8px 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 25px;
}
.hasebe-headerTel a {
    color: #000;
    text-decoration: none;
}
.hasebe-header .hasebe-headerTel img,
.ec-footerRole .ec-footerRole__inner .hasebe-footerTel img {
    /* the footer rule has two classes, so this selector needs three to win */
    width: auto;
    max-width: none;
    height: 30px;
}
.hasebe-headerTel img {
    margin: 0 10px 5px 0;
    vertical-align: middle;
}
@media screen and (max-width: 767px) {
    .hasebe-header .hasebe-header__logo img {
        width: 160px;
    }
    .hasebe-headerCopy {
        font-size: 10px;
    }
    .hasebe-headerTel {
        margin: 4px 0;
        font-size: 18px;
    }
}
@media screen and (max-width: 580px) {
    .hasebe-headerTel__number {
        display: none;
    }
}

/* ヘッダーのメニューのアイコン（旧環境の .icon-color）
   EC-CUBE 4 の .ec-headerNav .ec-headerNav__itemIcon { color: black } に勝つように 2 クラスにする */
.ec-headerNav .ec-headerNav__itemIcon,
.ec-headerLink__icon {
    color: #7CB342;
}
.ec-headerNav__item a:hover,
.ec-headerNav__item a:active {
    color: #7CB342;
}

/* フッター：キャッチコピー・電話番号 */
.hasebe-footerCopy {
    margin: 8px 0 4px;
    color: #fff;
}
.hasebe-footerTel {
    margin: 0 0 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
}
.hasebe-footerTel a {
    color: #fff;
    text-decoration: none;
}
.hasebe-footerTel img {
    margin: 0 8px 4px 0;
    vertical-align: middle;
}
.ec-footerTitle__copyright a {
    color: #fff;
}

/* 独自ページ（製品紹介・プロフィール・レッスン・アクセス）とプライバシーポリシー
   EC-CUBE 3 の Bootstrap 3 のマークアップのままなので、必要な分だけ再現する */
#help_about h2,
.ec-off1Grid__cell h2 {
    margin: 24px 0 16px;
    padding: 10px 0 10px 20px;
    font-size: 20px;
    background: rgb(240, 247, 233);
    border-top: 1px solid rgb(124, 179, 66);
    border-bottom: 1px solid rgb(124, 179, 66);
}
@media screen and (min-width: 768px) {
    #help_about h2,
    .ec-off1Grid__cell h2 {
        font-size: 24px;
    }
}
#help_about .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}
#help_about .row > [class*="col-"] {
    box-sizing: border-box;
    width: 100%;
    padding: 0 10px;
}
@media screen and (min-width: 768px) {
    #help_about .row > .col-sm-4 { width: 33.3333%; }
    #help_about .row > .col-sm-6 { width: 50%; }
    #help_about .row > .col-sm-8 { width: 66.6667%; }
    #help_about .row > .col-sm-12 { width: 100%; }
}
@media screen and (min-width: 992px) {
    #help_about .row > .col-md-10 { width: 83.3333%; }
    #help_about .row > .col-md-offset-1 { margin-left: 8.3333%; }
}
#help_about .item_photo img {
    width: 60%;
    height: auto;
}
#help_about .btn.btn-success {
    display: inline-block;
    padding: 10px 24px;
    color: #fff;
    background: #7CB342;
    border-radius: 4px;
    text-decoration: none;
}
#help_about .btn.btn-success:hover {
    opacity: .85;
}
#help_about table th {
    background-color: #52c2d0;
    color: #fff;
}

/* 商品一覧：バナー・来店販売の案内・送料無料・価格表 */
.hasebe-listNotice {
    width: 100%;
    margin: 16px 0 24px;
}
.hasebe-listNotice__banner img {
    max-width: 100%;
    height: auto;
}
.hasebe-listNotice__banner--sp {
    display: none;
}
@media screen and (max-width: 600px) {
    .hasebe-listNotice__banner--pc {
        display: none;
    }
    .hasebe-listNotice__banner--sp {
        display: block;
        width: 80%;
        margin: 0 auto;
    }
}
.hasebe-listNotice__shipping {
    font-size: 28px;
}
@media screen and (max-width: 600px) {
    .hasebe-listNotice__shipping {
        font-size: 20px;
    }
}
.hasebe-listNotice__amount {
    color: #0000ff;
}
.hasebe-listNotice__free {
    color: #ff0000;
}
.hasebe-priceTable {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
    border-collapse: collapse;
}
.hasebe-priceTable th,
.hasebe-priceTable td {
    padding: 10px;
    border: 1px solid #999;
    text-align: left;
    vertical-align: top;
}
.hasebe-priceTable th {
    background-color: #52c2d0;
    color: #fff;
    font-size: 15px;
    line-height: 18px;
}

/* 商品詳細：納期の注意書き */
.hasebe-deliveryNote {
    margin: 12px 0;
}

/* ------------------------------------------------------------------
   トップページ（旧 EC-CUBE 3 の構成の移植）
------------------------------------------------------------------ */
.hasebe-slider {
    margin: 0 0 24px;
}
.hasebe-slider .swiper-container {
    width: 100%;
    overflow: hidden;
}
.hasebe-slider__image {
    display: block;
    width: 100%;
    height: auto;
}

.hasebe-welcome {
    text-align: center;
}
.hasebe-welcome__title {
    margin: 16px 0;
    font-size: 20px;
}
.hasebe-welcome__text {
    line-height: 1.6;
}
.hasebe-btn {
    display: inline-block;
    padding: 10px 24px;
    color: #fff;
    background: #7CB342;
    border-radius: 4px;
    text-decoration: none;
}
.hasebe-btn:hover {
    color: #fff;
    opacity: .85;
}
.hasebe-welcome__photos,
.hasebe-pickup {
    display: flex;
    flex-wrap: wrap;
    margin: 24px -10px;
}
.hasebe-welcome__photo,
.hasebe-pickup__item {
    box-sizing: border-box;
    width: 100%;
    padding: 0 10px 16px;
}
.hasebe-welcome__photo img,
.hasebe-pickup__photo img {
    width: 100%;
    height: auto;
}
.hasebe-pickup__item {
    width: 50%;
    text-align: left;
}
.hasebe-pickup__item a {
    color: inherit;
    text-decoration: none;
}
.hasebe-pickup__comment {
    margin: 8px 0 4px;
    color: #c09853;
    font-size: 13px;
}
.hasebe-pickup__name {
    font-weight: bold;
}
.hasebe-pickup__regular {
    margin: 0;
    text-decoration: line-through;
}
.hasebe-pickup__sale {
    margin: 0;
    color: #DE5D50;
    font-weight: bold;
}
@media screen and (min-width: 768px) {
    .hasebe-welcome__photo { width: 33.3333%; }
    .hasebe-welcome__photo--wide { width: 66.6667%; }
    .hasebe-pickup__item { width: 25%; }
}

.hasebe-freeShipping {
    margin: 24px auto;
    padding: 16px;
    max-width: 320px;
    border: 2px solid #7CB342;
    text-align: center;
}
.hasebe-freeShipping strong strong {
    color: #7CB342;
    font-size: 1.4em;
}

.hasebe-twitter {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    margin: 24px 0;
}
.hasebe-twitter__icon {
    box-sizing: border-box;
    width: 100%;
    padding: 10px;
    text-align: center;
}
.hasebe-twitter__timeline {
    box-sizing: border-box;
    width: 100%;
    padding: 10px;
}
@media screen and (min-width: 768px) {
    .hasebe-twitter__icon { width: 25%; }
    .hasebe-twitter__timeline { width: 50%; }
}

.hasebe-faq h2 {
    margin: 24px 0 16px;
    padding: 10px 0 10px 20px;
    font-size: 20px;
    background: rgb(240, 247, 233);
    border-top: 1px solid rgb(124, 179, 66);
    border-bottom: 1px solid rgb(124, 179, 66);
}
.hasebe-faq h3 {
    margin: 24px 0 12px;
    font-size: 18px;
}
.qabox {
    margin-bottom: 30px;
    border: 1px solid #7CB342;
}
.qArea {
    margin: 0;
    padding: 10px 10px 15px;
    color: #fff;
    background: #7CB342;
}
.aArea {
    margin: 0;
    padding: 10px 10px 20px;
}
.qa {
    font-size: 1.5em;
    font-weight: bold;
}

/* スマートフォン：本文に左右の余白が無いので、独自の部分に余白を付ける
   （.hasebe-welcome__photos などの margin: 0 -10px が画面外にはみ出さないように） */
@media screen and (max-width: 767px) {
    .hasebe-listNotice,
    .hasebe-welcome,
    .hasebe-twitter,
    .hasebe-faq {
        box-sizing: border-box;
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* PayPal の画面が閉じてキャンセル扱いになったときのお知らせ（app/template/plugin/PayPalCheckout42 の 3 テンプレート） */
.hasebe-paypalCancel {
    margin: 0 0 12px;
    padding: 10px 12px;
    border: 1px solid #DE5D50;
    border-radius: 3px;
    background: #FDF1F0;
    color: #DE5D50;
    font-size: 14px;
    line-height: 1.6;
    text-align: left;
}
.hasebe-paypalCancel[hidden] {
    display: none;
}
