/*
Theme Name: ietoki GARAGE Child
Theme URI: https://garage.ietoki.co.jp/
Description: ietoki GARAGE - SWELL子テーマ（雑貨ECサイト用）
Author: ietoki株式会社
Author URI: https://ietoki.co.jp/
Template: swell
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ietoki-garage
*/

/* ============================================
   ietoki GARAGE カスタムスタイル
   ietoki.co.jp のトンマナを完全継承
   v1.1 — design-trace 統合 + 公式サイト演出
   ============================================ */

/* --------------------------------------------
   1. CSS変数定義（グローバル設定）
   -------------------------------------------- */
:root {
    /* === カラースキーム === */
    --ietoki-text: #333333;
    --ietoki-ink: #2d2a26;
    --ietoki-main: #a88e75;
    --ietoki-main-hover: #9a7f66;
    --ietoki-subtle: #b1aeaa;
    --ietoki-bg: #ffffff;
    --ietoki-soft: #f7f7f7;
    --ietoki-sand: #efe9e3;
    --ietoki-dark: #282828;
    --ietoki-border: #e5e5e5;

    /* === タイポグラフィ === */
    --ietoki-font-sans: "Noto Sans JP", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, sans-serif;
    --ietoki-font-serif: "Cormorant Garamond", serif;
    --ietoki-font-mincho: "Shippori Mincho", serif;
    --ietoki-font-weight-light: 300;
    --ietoki-font-weight-regular: 400;
    --ietoki-font-weight-medium: 500;
    --ietoki-font-weight-bold: 700;
    --ietoki-letter-spacing: 0.05em;
    --ietoki-letter-spacing-heading: 0.1em;
    --ietoki-letter-spacing-wide: 0.18em;

    /* === レイアウト === */
    --ietoki-content-width: 1200px;
    --ietoki-content-width-wide: 1400px;
    --ietoki-section-pad: 140px;
    --ietoki-section-pad-sm: 88px;

    /* === スペーシング === */
    --ietoki-space-xs: 0.5rem;
    --ietoki-space-sm: 1rem;
    --ietoki-space-md: 2rem;
    --ietoki-space-lg: 3rem;
    --ietoki-space-xl: 5rem;

    /* === シャドウ === */
    --ietoki-shadow: 0 30px 80px rgba(0, 0, 0, 0.08);
    --ietoki-shadow-hover: 0 10px 24px rgba(0, 0, 0, 0.12);
    --ietoki-shadow-card: 0 8px 30px rgba(0, 0, 0, 0.08);
}

/* --------------------------------------------
   2. ベーススタイル
   -------------------------------------------- */
body {
    font-family: var(--ietoki-font-sans);
    font-weight: var(--ietoki-font-weight-regular);
    color: var(--ietoki-text);
    letter-spacing: var(--ietoki-letter-spacing);
    background-color: var(--ietoki-bg);
    line-height: 1.8;
}

/* 見出し — 明朝体で公式サイトの上品さを継承 */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--ietoki-font-mincho);
    font-weight: var(--ietoki-font-weight-bold);
    letter-spacing: var(--ietoki-letter-spacing-heading);
    color: var(--ietoki-ink);
    line-height: 1.4;
}

/* リンク */
a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease, opacity 0.3s ease;
}

a:hover {
    color: var(--ietoki-main);
}

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

/* --------------------------------------------
   3. ヘッダースタイル（公式サイト継承）
   -------------------------------------------- */
.l-header {
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

/* ヘッダー縮小状態 */
.l-header.is-scrolled {
    padding-top: 0;
    padding-bottom: 0;
}

.l-header__inner {
    max-width: var(--ietoki-content-width-wide);
    padding: 24px;
}

/* ロゴ */
.c-headLogo img {
    max-height: 50px;
    transition: max-height 0.3s ease;
}

.l-header.is-scrolled .c-headLogo img {
    max-height: 38px;
}

/* グローバルナビ */
.c-gnav a {
    color: var(--ietoki-text);
    font-size: 13px;
    letter-spacing: var(--ietoki-letter-spacing);
    position: relative;
    padding-bottom: 6px;
}

/* ナビ下線アニメーション（公式サイト風） */
.c-gnav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: var(--ietoki-main);
    transition: width 0.3s ease;
}

.c-gnav a:hover::after {
    width: 100%;
}

.c-gnav a:hover {
    color: var(--ietoki-main);
    opacity: 1;
}

/* --------------------------------------------
   4. サイドバナー（固定CTA）
   -------------------------------------------- */
.ietoki-side-banners {
    position: fixed;
    right: 24px;
    top: 220px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 10;
}

.ietoki-banner {
    writing-mode: vertical-rl;
    padding: 18px 14px;
    letter-spacing: 0.2em;
    font-size: 12px;
    text-align: center;
    transition: opacity 0.3s ease;
}

.ietoki-banner:hover {
    opacity: 0.85;
}

.ietoki-banner--main {
    background: rgba(168, 142, 117, 0.8);
    color: #fff;
}

.ietoki-banner--sub {
    background: var(--ietoki-dark);
    color: #fff;
}

/* --------------------------------------------
   5. ヒーローセクション
   -------------------------------------------- */
.ietoki-hero {
    position: relative;
    min-height: 100vh;
    padding: 140px 0 0 0;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    overflow: hidden;
}

.ietoki-hero__inner {
    max-width: 560px;
    margin: 0;
    padding-left: max(24px, calc(50vw - 576px));
    z-index: 2;
}

.ietoki-hero__eyebrow {
    font-family: var(--ietoki-font-serif);
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ietoki-main);
    margin-bottom: 20px;
}

.ietoki-hero__title {
    font-family: var(--ietoki-font-mincho);
    font-size: clamp(32px, 4vw, 56px);
    line-height: 1.3;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
    color: var(--ietoki-ink);
}

.ietoki-hero__title-accent {
    color: var(--ietoki-main);
}

.ietoki-hero__lead {
    font-size: 14px;
    color: var(--ietoki-subtle);
    line-height: 2;
}

.ietoki-hero__actions {
    margin-top: 36px;
    display: flex;
    gap: 16px;
}

.ietoki-hero__image {
    height: 70vh;
    margin-right: 6vw;
    border-radius: 0 0 0 180px;
    background:
        linear-gradient(142deg, rgba(255, 255, 255, 0.2), rgba(63, 49, 35, 0.28)),
        linear-gradient(0deg, rgba(40, 32, 24, 0.18), rgba(40, 32, 24, 0.18)),
        url("assets/images/hero.jpg");
    background-size: cover;
    background-position: center 58%;
    background-repeat: no-repeat;
    box-shadow: var(--ietoki-shadow);
    background-attachment: fixed;
}

/* 背景ウォーターマーク（公式サイト風） */
.ietoki-hero__mark {
    position: absolute;
    bottom: 10vh;
    left: 50%;
    transform: translateX(-20%);
    font-family: var(--ietoki-font-serif);
    font-size: clamp(80px, 14vw, 200px);
    color: rgba(168, 142, 117, 0.08);
    letter-spacing: 0.04em;
    pointer-events: none;
    user-select: none;
}

/* パララックス対応ヒーロー背景 */
.ietoki-hero--parallax {
    background-attachment: fixed;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

/* スクロール時の背景エフェクト（公式サイト継承） */
.ietoki-hero--overlay {
    transition: background-color 2.5s ease, backdrop-filter 2.5s ease;
}

.ietoki-hero--overlay.is-scrolled {
    background-color: rgba(120, 95, 63, 0.5);
    backdrop-filter: grayscale(60%) saturate(24%) sepia(10%) blur(6px);
    -webkit-backdrop-filter: grayscale(60%) saturate(24%) sepia(10%) blur(6px);
}

/* --------------------------------------------
   6. セクション共通
   -------------------------------------------- */
.ietoki-section {
    padding: var(--ietoki-section-pad) 0;
    position: relative;
}

.ietoki-section__inner {
    max-width: var(--ietoki-content-width);
    margin: 0 auto;
    padding: 0 24px;
}

.ietoki-section__eyebrow {
    font-family: var(--ietoki-font-serif);
    font-size: 12px;
    letter-spacing: var(--ietoki-letter-spacing-wide);
    text-transform: uppercase;
    color: var(--ietoki-main);
    margin-bottom: 16px;
}

.ietoki-section__title {
    font-family: var(--ietoki-font-mincho);
    font-size: clamp(28px, 3vw, 44px);
    line-height: 1.4;
    letter-spacing: 0.1em;
    color: var(--ietoki-ink);
    margin-bottom: 20px;
}

.ietoki-section__text {
    font-size: 14px;
    color: #5f5a55;
    max-width: 520px;
    line-height: 2;
}

/* ライト版（暗い背景上のテキスト） */
.ietoki-section__eyebrow--light,
.ietoki-section__title--light,
.ietoki-section__text--light {
    color: #fff;
}

.ietoki-section__eyebrow--light {
    font-weight: var(--ietoki-font-weight-medium);
}

.ietoki-section__text--light {
    color: #f5f0eb;
}

/* 2カラムレイアウト */
.ietoki-two-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 60px;
    align-items: center;
}

/* タグリスト */
.ietoki-tags {
    margin-top: 30px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 12px;
    color: var(--ietoki-subtle);
}

.ietoki-tags span {
    padding: 6px 12px;
    border: 1px solid rgba(168, 142, 117, 0.4);
}

/* --------------------------------------------
   7. コンセプトセクション
   -------------------------------------------- */
.ietoki-concept-image {
    height: 420px;
    border-radius: 30px;
    background:
        linear-gradient(152deg, rgba(255, 255, 255, 0.2), rgba(65, 52, 39, 0.3)),
        url("assets/images/concept.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    box-shadow: var(--ietoki-shadow);
}

.ietoki-concept-image::after {
    content: "";
    position: absolute;
    inset: 24px;
    border: 1px solid rgba(168, 142, 117, 0.4);
    border-radius: 24px;
}

.ietoki-concept-caption {
    position: absolute;
    bottom: 24px;
    right: 32px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.76);
    font-family: var(--ietoki-font-serif);
    color: #7e6853;
    letter-spacing: 0.15em;
}

/* --------------------------------------------
   8. 新着セクション（カラーバンド）
   -------------------------------------------- */
.ietoki-new-arrivals {
    background:
        linear-gradient(180deg,
            #ffffff 0%,
            #ffffff calc(var(--ietoki-section-pad) * 0.35),
            #917a65 calc(var(--ietoki-section-pad) * 0.7),
            #917a65 100%);
    color: #fff;
}

.ietoki-new-arrivals__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 40px;
}

/* 商品グリッド */
.ietoki-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.ietoki-product-card {
    background: #fff;
    color: var(--ietoki-ink);
    padding: 20px;
    border-radius: 18px;
    box-shadow: var(--ietoki-shadow-card);
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ietoki-product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.ietoki-product-thumb {
    height: 140px;
    border-radius: 12px;
    background-color: #ede7df;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.ietoki-product-thumb::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(38, 30, 23, 0.24));
    z-index: 1;
}

.ietoki-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 0;
}

.ietoki-product-card:hover .ietoki-product-thumb::before {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(38, 30, 23, 0.18));
}

.ietoki-product-thumb--glass {
    background-image: url("assets/images/product-glass.jpg");
}

.ietoki-product-thumb--textile,
.ietoki-product-thumb--warm {
    background-image: url("assets/images/product-textile.jpg");
}

.ietoki-product-thumb--metal,
.ietoki-product-thumb--dark {
    background-image: url("assets/images/product-metal.jpg");
}

.ietoki-product-thumb--wood {
    background-image: url("assets/images/product-wood.jpg");
}

.ietoki-product-tag {
    font-size: 11px;
    color: var(--ietoki-main);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.ietoki-product-title {
    font-size: 15px;
    font-weight: var(--ietoki-font-weight-medium);
    letter-spacing: 0.08em;
    line-height: 1.5;
}

.ietoki-product-desc {
    font-size: 12px;
    color: #6b645c;
}

/* --------------------------------------------
   9. カテゴリーセクション
   -------------------------------------------- */
.ietoki-category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
    margin-top: 40px;
}

.ietoki-category-card {
    border: 1px solid rgba(168, 142, 117, 0.3);
    border-radius: 12px;
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    min-height: 160px;
    color: #fff;
    background-color: #c7b8a8;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ietoki-category-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(42, 34, 26, 0.52), rgba(42, 34, 26, 0.24));
    z-index: -1;
}

.ietoki-category-card--dining {
    background-image: url("assets/images/category-dining.jpg");
}

.ietoki-category-card--workspace {
    background-image: url("assets/images/category-workspace.jpg");
}

.ietoki-category-card--storage {
    background-image: url("assets/images/category-storage.jpg");
}

.ietoki-category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--ietoki-shadow);
}

.ietoki-category-en {
    font-family: var(--ietoki-font-serif);
    font-size: 20px;
    letter-spacing: 0.12em;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.ietoki-category-ja {
    font-size: 18px;
    font-weight: var(--ietoki-font-weight-medium);
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

/* --------------------------------------------
   10. ジャーナルセクション
   -------------------------------------------- */
.ietoki-journal {
    background: var(--ietoki-soft);
}

.ietoki-journal-image {
    height: 360px;
    border-radius: 30px;
    background:
        linear-gradient(120deg, rgba(25, 22, 18, 0.44), rgba(25, 22, 18, 0.12)),
        url("assets/images/journal.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    box-shadow: var(--ietoki-shadow);
    overflow: hidden;
}

.ietoki-journal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --------------------------------------------
   11. アクセスセクション
   -------------------------------------------- */
.ietoki-access-card {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    padding: 40px;
    border: 1px solid rgba(168, 142, 117, 0.3);
    background: #fff;
    box-shadow: var(--ietoki-shadow);
}

.ietoki-access-map {
    border-radius: 20px;
    min-height: 300px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(34, 29, 24, 0.34)),
        url("assets/images/access.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.ietoki-access-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 20px;
}

/* --------------------------------------------
   12. コンタクトセクション
   -------------------------------------------- */
.ietoki-contact {
    padding-top: 60px;
    padding-bottom: 0;
}

.ietoki-contact-box {
    border-top: 1px solid rgba(168, 142, 117, 0.2);
    border-bottom: 1px solid rgba(168, 142, 117, 0.2);
    padding: 48px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

/* --------------------------------------------
   13. ボタンスタイル（ピル型 — design-trace統合）
   -------------------------------------------- */
.ietoki-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 26px;
    font-size: 13px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ietoki-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--ietoki-shadow-hover);
    opacity: 1;
}

.ietoki-btn--primary {
    background: var(--ietoki-main);
    color: #fff;
}

.ietoki-btn--primary:hover {
    background: var(--ietoki-main-hover);
    color: #fff;
}

.ietoki-btn--ghost {
    background: transparent;
    border: 1px solid rgba(168, 142, 117, 0.6);
    color: var(--ietoki-main);
}

.ietoki-btn--ghost:hover {
    background: var(--ietoki-main);
    color: #fff;
}

.ietoki-btn--light {
    background: #fff;
    color: var(--ietoki-dark);
}

.ietoki-btn--light:hover {
    color: var(--ietoki-main);
}

/* SWELL既存ボタンのオーバーライド */
.swell-block-button a,
.wp-block-button__link,
.c-button {
    background-color: var(--ietoki-main) !important;
    color: #ffffff !important;
    border: none;
    border-radius: 999px;
    font-size: 14px;
    letter-spacing: var(--ietoki-letter-spacing);
    padding: 1em 2.5em;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.swell-block-button a:hover,
.wp-block-button__link:hover,
.c-button:hover {
    background-color: var(--ietoki-main-hover) !important;
    transform: translateY(-2px);
    box-shadow: var(--ietoki-shadow-hover);
    opacity: 1;
}

/* アウトラインボタン */
.is-style-outline .wp-block-button__link {
    background-color: transparent !important;
    color: var(--ietoki-main) !important;
    border: 1px solid rgba(168, 142, 117, 0.6);
    border-radius: 999px;
}

.is-style-outline .wp-block-button__link:hover {
    background-color: var(--ietoki-main) !important;
    color: #ffffff !important;
}

/* --------------------------------------------
   14. パララックス背景セクション（公式サイト継承）
   -------------------------------------------- */
.ietoki-parallax {
    background-attachment: fixed;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
}

.ietoki-parallax::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

/* フルワイド背景画像 */
.ietoki-fullimg {
    width: 100%;
    overflow: hidden;
}

.ietoki-fullimg img {
    width: 100%;
    height: auto;
    display: block;
}

/* --------------------------------------------
   15. WooCommerce スタイル
   -------------------------------------------- */

/* 商品一覧 */
.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--ietoki-space-md);
}

.woocommerce ul.products li.product {
    text-align: center;
    margin: 0;
    padding: var(--ietoki-space-sm);
    background: var(--ietoki-bg);
    border: 1px solid var(--ietoki-border);
    border-radius: 18px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.woocommerce ul.products li.product:hover {
    box-shadow: var(--ietoki-shadow);
    transform: translateY(-4px);
}

/* 商品画像 */
.woocommerce ul.products li.product a img {
    margin-bottom: var(--ietoki-space-sm);
    border-radius: 12px;
}

/* 商品タイトル */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: var(--ietoki-font-sans);
    font-size: 14px;
    font-weight: var(--ietoki-font-weight-regular);
    color: var(--ietoki-text);
    padding: 0;
    margin-bottom: var(--ietoki-space-xs);
}

/* 価格 */
.woocommerce ul.products li.product .price {
    color: var(--ietoki-main);
    font-size: 16px;
    font-weight: var(--ietoki-font-weight-bold);
}

/* 商品詳細ページ */
.woocommerce div.product {
    max-width: var(--ietoki-content-width);
    margin: 0 auto;
}

.woocommerce div.product .product_title {
    font-family: var(--ietoki-font-mincho);
    font-size: 24px;
    font-weight: var(--ietoki-font-weight-bold);
    letter-spacing: var(--ietoki-letter-spacing-heading);
    margin-bottom: var(--ietoki-space-md);
}

.woocommerce div.product p.price {
    color: var(--ietoki-main);
    font-size: 20px;
    font-weight: var(--ietoki-font-weight-bold);
}

/* カートボタン */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    background-color: var(--ietoki-main) !important;
    color: #ffffff !important;
    border-radius: 999px;
    font-weight: var(--ietoki-font-weight-regular);
    letter-spacing: var(--ietoki-letter-spacing);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
    background-color: var(--ietoki-main-hover) !important;
    transform: translateY(-2px);
}

/* パンくずリスト */
.woocommerce .woocommerce-breadcrumb {
    font-size: 12px;
    color: #999;
    margin-bottom: var(--ietoki-space-md);
}

/* --------------------------------------------
   16. お問い合わせフォーム
   -------------------------------------------- */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
    border: 1px solid var(--ietoki-border);
    border-radius: 0;
    padding: 1em;
    font-family: var(--ietoki-font-sans);
    font-size: 16px;
    width: 100%;
    transition: border-color 0.3s ease;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
    border-color: var(--ietoki-main);
    outline: none;
}

.wpcf7 input[type="submit"] {
    background-color: var(--ietoki-main);
    color: #ffffff;
    border: none;
    border-radius: 999px;
    padding: 1em 3em;
    font-size: 16px;
    cursor: pointer;
    letter-spacing: var(--ietoki-letter-spacing);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.wpcf7 input[type="submit"]:hover {
    background-color: var(--ietoki-main-hover);
    transform: translateY(-2px);
}

/* --------------------------------------------
   17. フッタースタイル
   -------------------------------------------- */
.l-footer {
    background-color: var(--ietoki-soft) !important;
    margin-top: 0;
}

.l-footer__inner {
    max-width: var(--ietoki-content-width-wide);
}

.l-footer,
.l-footer a {
    color: var(--ietoki-text);
}

.l-footer a:hover {
    color: var(--ietoki-main);
}

/* コピーライト */
.c-copyright {
    font-size: 12px;
    letter-spacing: var(--ietoki-letter-spacing);
}

/* LP用フッター */
.ietoki-footer {
    background: var(--ietoki-soft);
    padding: 60px 0;
    margin-top: 0;
}

.ietoki-footer__inner {
    max-width: var(--ietoki-content-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.ietoki-footer__logo {
    display: flex;
    flex-direction: column;
    gap: 4px;
    letter-spacing: var(--ietoki-letter-spacing-wide);
    text-transform: uppercase;
}

.ietoki-footer__logo-en {
    font-family: var(--ietoki-font-serif);
    font-size: 14px;
    color: var(--ietoki-main);
}

.ietoki-footer__logo-ja {
    font-size: 18px;
    font-weight: var(--ietoki-font-weight-medium);
}

.ietoki-footer__text {
    font-size: 12px;
    color: #6b645c;
    margin-top: 10px;
}

.ietoki-footer__links {
    display: flex;
    gap: 22px;
    font-size: 12px;
    color: #6b645c;
}

/* --------------------------------------------
   18. メインコンテンツ（SWELL互換）
   -------------------------------------------- */
.l-content {
    max-width: var(--ietoki-content-width);
    margin: 0 auto;
}

/* セクション余白（ホワイトスペース重視） */
.post_content > * + * {
    margin-top: var(--ietoki-space-md);
}

section,
.wp-block-group {
    padding-top: var(--ietoki-space-xl);
    padding-bottom: var(--ietoki-space-xl);
}

/* --------------------------------------------
   19. アニメーション
   -------------------------------------------- */
.ietoki-reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 1.2s ease, transform 1.2s ease;
}

.ietoki-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.ietoki-reveal--delay-1 { transition-delay: 0.2s; }
.ietoki-reveal--delay-2 { transition-delay: 0.4s; }
.ietoki-reveal--delay-3 { transition-delay: 0.6s; }

@media (prefers-reduced-motion: reduce) {
    .ietoki-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* --------------------------------------------
   20. レスポンシブ対応
   -------------------------------------------- */
@media screen and (max-width: 1100px) {
    .ietoki-hero {
        grid-template-columns: 1fr;
    }

    .ietoki-hero__image {
        margin: 40px 24px 0;
        height: 50vh;
        border-radius: 40px;
    }

    .ietoki-two-col {
        grid-template-columns: 1fr;
    }

    .ietoki-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ietoki-category-grid {
        grid-template-columns: 1fr;
    }

    .ietoki-category-card {
        min-height: 140px;
    }

    .ietoki-access-card {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 900px) {
    .ietoki-side-banners {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    :root {
        --ietoki-section-pad: 88px;
        --ietoki-space-xl: 3rem;
    }

    body {
        font-size: 15px;
        line-height: 1.9;
    }

    h1 { font-size: 24px; }
    h2 { font-size: 20px; }
    h3 { font-size: 18px; }

    /* ヘッダー */
    .l-header__inner {
        padding: 10px 15px;
    }

    .c-headLogo img {
        max-height: 40px;
    }

    /* コンテンツ */
    .l-content {
        padding: 0 15px;
    }

    /* WooCommerce 商品一覧 */
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .woocommerce ul.products li.product {
        padding: 10px;
    }

    .woocommerce ul.products li.product .woocommerce-loop-product__title {
        font-size: 13px;
    }

    /* ボタン */
    .swell-block-button a,
    .wp-block-button__link {
        width: 100%;
        text-align: center;
    }

    /* LP Hero */
    .ietoki-hero__inner {
        padding-left: 24px;
        padding-right: 24px;
    }

    .ietoki-hero__actions {
        flex-direction: column;
        align-items: flex-start;
    }

    /* New arrivals */
    .ietoki-new-arrivals__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .ietoki-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ietoki-category-card {
        min-height: 120px;
        padding: 24px 20px;
    }

    /* Contact box */
    .ietoki-contact-box {
        flex-direction: column;
        text-align: center;
    }

    /* Footer */
    .ietoki-footer__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    /* パララックスはモバイルで無効化 */
    .ietoki-parallax,
    .ietoki-hero__image {
        background-attachment: scroll;
    }
}

@media screen and (max-width: 480px) {
    .woocommerce ul.products {
        grid-template-columns: 1fr;
    }

    .woocommerce div.product .product_title {
        font-size: 20px;
    }

    .ietoki-product-grid {
        grid-template-columns: 1fr;
    }
}

/* --------------------------------------------
   21. ユーティリティクラス
   -------------------------------------------- */
.u-text-center { text-align: center; }
.u-text-left { text-align: left; }
.u-text-right { text-align: right; }

.u-mt-0 { margin-top: 0 !important; }
.u-mt-sm { margin-top: var(--ietoki-space-sm) !important; }
.u-mt-md { margin-top: var(--ietoki-space-md) !important; }
.u-mt-lg { margin-top: var(--ietoki-space-lg) !important; }
.u-mt-xl { margin-top: var(--ietoki-space-xl) !important; }

.u-mb-0 { margin-bottom: 0 !important; }
.u-mb-sm { margin-bottom: var(--ietoki-space-sm) !important; }
.u-mb-md { margin-bottom: var(--ietoki-space-md) !important; }
.u-mb-lg { margin-bottom: var(--ietoki-space-lg) !important; }
.u-mb-xl { margin-bottom: var(--ietoki-space-xl) !important; }

/* フォント指定ユーティリティ */
.u-font-serif { font-family: var(--ietoki-font-serif); }
.u-font-mincho { font-family: var(--ietoki-font-mincho); }
.u-font-sans { font-family: var(--ietoki-font-sans); }

/* 余白感（ホワイトスペース）強調用 */
.u-whitespace {
    padding: var(--ietoki-space-xl) 0;
}

.u-whitespace-lg {
    padding: calc(var(--ietoki-space-xl) * 1.5) 0;
}

/* カラーユーティリティ */
.u-color-main { color: var(--ietoki-main); }
.u-color-ink { color: var(--ietoki-ink); }
.u-color-subtle { color: var(--ietoki-subtle); }
.u-bg-soft { background-color: var(--ietoki-soft); }
.u-bg-sand { background-color: var(--ietoki-sand); }
