html,
body {
    overflow-x: hidden;
    min-height: 100%;
}

body {
    font-family: "Kosugi Maru", sans-serif;
    background: url("/wp-content/themes/chulabes/assets/img/bg.png") no-repeat center center fixed;
    /* background-repeat: no-repeat; */
    background-size: cover;
    /* background-attachment: fixed; */
    /* background-color: #76a7f7; */
    margin: 0;
    padding-top: 15px;
    color: #333;
}


/* フォーム入力共通スタイル */
input[type="text"],
input[type="email"],
input[type="number"],
input[type="password"],
input[type="namespace"],
input[type="tel"] {
    padding: 10px 14px;
    /* 内側の余白（大きさUP） */
    font-size: 18px;
    /* 文字も見やすく */
    border: 2px solid #ccc;
    /* 少し太めの枠線 */
    border-radius: 12px;
    /* 角を丸く */
    outline: none;
    /* フォーカス時の青枠を消す */
    background: #fff;
}

select[name="payment"] {
    padding: 8px 12px;
    font-size: 12px;
    border: 2px solid #ccc;
    border-radius: 12px;
    outline: none;
    background: #fff;
}

/* フォーカス時（クリック時） */
input:focus {
    border-color: #57c8ff;
    box-shadow: 0 0 8px rgba(87, 200, 255, 0.7);
}

a {
    text-decoration: none;
}

.kosugi-maru-regular {
    font-family: "Kosugi Maru", sans-serif;
    font-weight: 400;
    font-style: normal;
}


/* header/footer 共通部分 */
.site-header {
    background: rgb(30, 139, 179);
    border-radius: 100px;
    max-width: 800px;
    margin: 0 auto;
    padding: 15px 25px;
}

.header-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
    height: 35px;
}

.brand-logo {
    width: 200px;
    height: auto;
    filter: drop-shadow(7px 5px 2px #3c5979);
    transition: .3s;
}

.brand-logo:hover {
    opacity: 0.5;
}

.main-nav {
    margin: 10px;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 18px;
    list-style: none;
    margin: 0;
    padding: 0;
    white-space: nowrap;
  }
  
.main-nav li {
    flex-shrink: 0;
}

.main-nav a {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    padding: 5px 8px;
    border-radius: 4px;
    transition: 0.3s;
}

.main-nav a:hover {
    color: #333;
    text-decoration: underline;
    /* background-color: #21ccdf; */
}

.hamburger {
    position: relative;
    z-index: 1001;
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    position: relative;
    display: block;
    width: 26px;
    height: 3px;
    margin: 5px 0;
    background: #fff;
    border-radius: 2px;
    transition: 0.3s;
}

/* ハンバーガーが開いた状態 */
.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* =========================
  Footer (Chulabes glass style)
========================= */
.site-footer {
    width: min(1120px, 100% - 48px);
    margin: 40px auto 28px;
    padding: 18px 20px;
    border-radius: 18px;
  
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  
    color: #fff;
    text-align: center;
  }
  
  /* wp_nav_menuが出すul */
  .site-footer .footer-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
  
    margin: 0;
    padding: 0;
    list-style: none;
  }
  
  .site-footer .footer-menu li {
    margin: 0;
    padding: 0;
  }
  
  /* リンクをボタンっぽく */
  .site-footer .footer-menu a {
    display: inline-block;
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    font-weight: 700;
  
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.14);
  
    transition: transform .15s ease, background .15s ease;
  }
  
  .site-footer .footer-menu a:hover {
    background: rgba(255, 255, 255, 0.30);
    transform: translateY(-2px);
  }
  
  .site-footer .copyright {
    margin: 14px 0 0;
    font-size: 12px;
    opacity: 0.85;
  }
  
  /* スマホ */
  @media (max-width: 520px) {
    .site-footer {
      width: calc(100% - 24px);
      padding: 14px 14px;
      margin: 26px auto 18px;
    }
    .site-footer .footer-menu a {
      padding: 8px 12px;
      font-size: 13px;
    }
  }
  

.admin a {
    color: #666;
    padding: 5px;
}

.admin a:hover {
    color: #fff;
    background-color: #333;
    border-radius: 50px;
}

.page-main {
    max-width: 1000px;
    margin: 10px auto;
    padding: 35px;
    background: rgba(255,255,255,0.88);
    border-radius: 28px;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 24px 0 40px;
    flex-wrap: wrap;
}
  
.pagination a {
    padding: 6px 12px;
    border-radius: 20px;
    background: #e0f4f7;
    color: #034c57;
    text-decoration: none;
    font-size: 14px;
}
  
.pagination a.active {
    background: #0ea5b1;
    color: #fff;
    font-weight: bold;
}

/* =========================
   WooCommerce 商品一覧
========================= */

.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
    justify-content: center;
}

.woocommerce ul.products li.product {
    list-style: none;
    background: #fff;
    border-radius: 20px;
    padding: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform .25s ease, box-shadow .25s ease;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

/* 画像 */
.woocommerce ul.products li.product img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    background: #f7f7f7;
    border-radius: 14px;
    margin-bottom: 12px;
}

/* WooCommerce デフォルト width / float 無効化 */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
}

/* 商品名 */
.woocommerce-loop-product__title {
    font-size: 15px;
    margin: 8px 0;
    color: #333;
}

/* 価格 */
.woocommerce ul.products li.product .price {
    color: #d83b79;
    font-weight: bold;
    margin-bottom: 14px;
}

/* ボタン */
.woocommerce ul.products li.product .button {
    background: #0ea5b1;
    color: #fff;
    border-radius: 999px;
    padding: 10px 20px;
    font-size: 14px;
}

/* SALE */
.woocommerce span.onsale {
    background: #ff6aa5;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
    top: 12px;
    left: 12px;
}

@media (max-width: 768px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .woocommerce ul.products li.product img {
        height: 160px;
    }
}

/* WooCommerceのclearfixを無効化（Grid崩れ防止） */
.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none !important;
    content: none !important;
}

/* .product-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 40px 0;
}

.product-card {
    background: #fff;
    border-radius: 16px;
    padding: 16px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: transform .2s ease;
} */

.product-card:hover {
    transform: translateY(-4px);
}

.product-card img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.product-name {
    margin: 12px 0 6px;
    font-size: 16px;
}

.product-card h2 {
    color: #333;
    text-decoration: none;
    font-size: 18px;
    margin: 10px 0 5px;
}

.product-card .price {
    color: #d83b79;
    font-weight: bold;
    margin-bottom: 10px;
  }
  
  /* Add to cart ボタン */
.product-card .button {
    background: #0ea5b1;
    color: #fff;
    border-radius: 999px;
    padding: 8px 16px;
}

/* .product-detail {
    max-width: 700px;
    margin: 30px auto;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.product-detail img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
}

.product-detail a {
    color: #0ea5b1;
}

.product-detail a:hover {
    text-decoration: underline;
} */

/* 商品詳細ページ */
.single-product-page {
    padding: 40px 0;
  }
  
  .single-product-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  /* 画像 */
  .single-product-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  }
  
  /* 商品情報 */
  .single-product-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  
  .product-title {
    font-size: 28px;
  }
  
  .product-price {
    font-size: 22px;
    color: #d83b79;
    font-weight: bold;
  }
  
  /* 説明文 */
  .product-description {
    line-height: 1.7;
    color: #444;
  }
  
  /* カート周り */
  .product-cart form {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  
  .product-cart .quantity input {
    width: 80px;
    padding: 6px;
    border-radius: 8px;
  }
  
  .product-cart button {
    background: #0ea5b1;
    color: #fff;
    border-radius: 999px;
    padding: 12px 24px;
    font-size: 16px;
  }
  
  /* スマホ */
  @media (max-width: 768px) {
    .single-product-wrap {
      grid-template-columns: 1fr;
    }
  
    .product-title {
      font-size: 22px;
    }
  }
  

.flash-ok {
    background: #e8fff0;
    color: #0a7a3b;
    padding: 8px;
    text-align: center;
}

.flash-err {
    background: #fff2f2;
    color: #b00020;
    padding: 8px;
    text-align: center;
}

.hero {
    /* max-width: 600px; */
    margin: 30px auto;
    padding: 10px 0;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

.hero h1 {
    color: #fff;
    font-size: 23px;
    padding: 0 16px;
}

.hero p {
    color: #e3e3e3;
    padding: 0 16px;
}

.hero a {
    color: #d3d3d3;
}

.hero a:hover {
    text-decoration: underline;
}

.add-to-cart button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #4fdaed;
    color: #fff;
    padding: 10px 16px;
    border-radius: 50px;
    text-decoration: none;
    border: none;
    font-size: 12px;
    cursor: pointer;
}

.add-to-cart button:hover {
    background: #0ea5b1;
    box-shadow: 0 0 10px #b6c6c9;
}

.cart-table {
    width: 95%;
    max-width: 980px;
    margin: 20px auto;
    background: #f5feff;
    border-collapse: collapse;
}

.cart-table th {
    text-align: left;
}

.cart-table th,
.cart-table td {
    border-bottom: 1px solid #eee;
    padding: 10px;
}

.cart-item {
    display: flex;
    gap: 10px;
    align-items: center;
}

.cart-item .thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
}

.cart-item .name {
    font-weight: 600;
}

.cart-empty {
    max-width: 600px;
    margin: 30px auto;
    padding: 30px 0;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

.cart-empty p {
    color: #fff;
    margin: 0 0 8px;
    font-size: 23px;
    padding: 0 16px;
}

.cart-empty a {
    color: #0ad9e8;
}

.cart-empty a:hover {
    text-decoration: underline;
}

.soldout {
    color: #b00020;
    font-size: 12px;
}

.qty-hint {
    font-size: 11px;
    color: #888;
}

.cart-total td {
    background: #f8fcfc;
}

.cart-actions {
    max-width: 980px;
    margin: 16px auto;
    display: flex;
    gap: 12px;
}

.cart-actions a:active,
.cart-actions button:active {
    transform: scale(0.97);
}

.btn-link {
    background: none;
    border: none;
    color: #1976d2;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
}

.pass {
    text-align: center;
    background-color: #fff;
    max-width: 600px;
    margin: 0 auto;
    padding: 10px 0;
    border-radius: 10px;
}

.pass label {
    color: #333;
    font-size: 25px;
}

.pass button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #4fdaed;
    color: #fff;
    padding: 10px 28px;
    border-radius: 50px;
    text-decoration: none;
    border: none;
    font-size: 15px;
    cursor: pointer;
}

.pass button:hover {
    background: #47c3d4;
    box-shadow: 0 0 10px #e0f4f7;
}

.btn {
    display: inline-flex;
    /* ← a も button も高さ揃う */
    align-items: center;
    /* ← 垂直中央揃え */
    justify-content: center;
    /* ← 水平中央揃え */
    background: #42ddf2;
    color: #fff;
    padding: 10px 28px;
    border-radius: 50px;
    text-decoration: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    height: 35px;
    /* ← ボタン高さの統一 */
    line-height: 1;
    /* ← テキストのズレ防止 */
}

.btn:hover {
    background: #2a8d98;
    box-shadow: 0 0 10px #e0f4f7;
}

.btn-checkout {
    display: inline-flex;
    /* ← a も button も高さ揃う */
    align-items: center;
    /* ← 垂直中央揃え */
    justify-content: center;
    /* ← 水平中央揃え */
    background: #60a2ff;
    color: #fff;
    padding: 10px 28px;
    border-radius: 50px;
    text-decoration: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    height: 35px;
    /* ← ボタン高さの統一 */
    line-height: 1;
    /* ← テキストのズレ防止 */
}

.btn-checkout:hover {
    background: #256aab;
    box-shadow: 0 0 10px #e0f4f7;
}

.btn-update {
    display: inline-flex;
    /* ← a も button も高さ揃う */
    align-items: center;
    /* ← 垂直中央揃え */
    justify-content: center;
    /* ← 水平中央揃え */
    background: #949f9b;
    color: #fff;
    padding: 8px 18px;
    border-radius: 50px;
    text-decoration: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    height: 48px;
    /* ← ボタン高さの統一 */
    line-height: 1;
    /* ← テキストのズレ防止 */
}

.btn-update:hover {
    background: #5d5f60;
    box-shadow: 0 0 10px #e0f4f7;
}

.checkout-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #4fdaed;
    color: #fff;
    padding: 10px 16px;
    border-radius: 50px;
    text-decoration: none;
    border: none;
    font-size: 12px;
    cursor: pointer;
}

.checkout-form button:hover {
    background: #0ea5b1;
    box-shadow: 0 0 10px #b6c6c9;
}

/* ============================
   マイページ：注文一覧テーブル
   ============================ */
.table-mypage {
    width: 90%;
    border-collapse: collapse;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
    font-size: 15px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* ヘッダー */
.table-mypage thead th {
    background: #e0f4f7;
    color: #034c57;
    text-align: left;
    padding: 12px 14px;
    font-weight: 600;
    border-bottom: 2px solid #d2edf1;
}

/* セル */
.table-mypage tbody td {
    padding: 12px 14px;
    border-bottom: 1px solid #f1f5f6;
    color: #333;
}

/* 最後の行の境界線なし */
.table-mypage tbody tr:last-child td {
    border-bottom: none;
}

/* 奇数行・偶数行 */
.table-mypage tbody tr:nth-child(odd) {
    background: #fafafa;
}

/* ホバー表現 */
.table-mypage tbody tr:hover {
    background: #e8f7fa;
}

/* 詳細リンク */
.table-mypage a {
    color: #0ea5b1;
    font-weight: 600;
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
}

.table-mypage a:hover {
    background: #0ea5b1;
    color: #fff;
}

/* テキスト中央揃えしたい列に使える */
.table-mypage td.center {
    text-align: center;
}

.btn-cancel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #4fdaed;
    color: #fff;
    margin-left: 60px;
    padding: 10px 28px;
    border-radius: 50px;
    text-decoration: none;
    border: none;
    font-size: 15px;
    cursor: pointer;
}

.btn-cancel:hover {
    background: #0ea5b1;
    box-shadow: 0 0 10px #e0f4f7;
}

.show {
    padding-left: 10px;
    padding-right: 10px;
}

.show p {
    color: #333;
    padding-left: 60px;
}

/* ============================
   ログインページ
   ============================ */
.login-page .wrap {
    max-width: 420px;
    margin: 30px auto;
    padding: 30px 28px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.login-page h1 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    color: #0ea5b1;
}

/* ラベル付き入力欄 */
.login-page form div {
    margin-bottom: 18px;
    font-size: 15px;
    color: #333;
}

.login-page input[type="namespace"],
.login-page input[type="email"],
.login-page input[type="password"] {
    width: 100%;
    padding: 10px 12px;
    font-size: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-sizing: border-box;
    background: #f8f8f8;
    transition: border-color 0.2s, background 0.2s;
}

.login-page input:focus {
    background: #fff;
    border-color: #0ea5b1;
    outline: none;
}

/* ボタン */
.login-page button {
    width: 100%;
    padding: 12px 0;
    font-size: 16px;
    font-weight: bold;
    background: #0ea5b1;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

.login-page button:hover {
    background: #0c8a95;
}

/* 新規登録リンク */
.login-page p a {
    color: #0ea5b1;
    text-decoration: none;
    font-weight: 600;
}

.login-page p a:hover {
    text-decoration: underline;
}

/* エラーメッセージ */
.login-page p[style*="color:red"] {
    padding: 8px 10px;
    background: #ffecec;
    border: 1px solid #ff8a8a;
    border-radius: 6px;
    font-size: 14px;
}

.reset button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #4fdaed;
    color: #fff;
    padding: 10px 16px;
    border-radius: 50px;
    text-decoration: none;
    border: none;
    font-size: 12px;
    cursor: pointer;
}

.reset button:hover {
    background: #0ea5b1;
    box-shadow: 0 0 10px #b6c6c9;
}

.grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

.left-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.card {
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .04);
}

.card a:hover {
    text-decoration: underline;
}

@media (max-width: 1024px) {
    .product-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .site-header {
        border-radius: 0;
        padding: 12px 16px;
    }

    .brand-logo {
        width: 150px;
    }

    .header-inner {
        justify-content: space-between;
    }

    .hamburger {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 260px;
        height: 100vh;
        background: rgb(119, 161, 176);
        padding-top: 80px;
        transition: right 0.3s ease;
        z-index: 999;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 20px;
        padding-left: 20px;
    }

    .main-nav.active {
        right: 0;
    }

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

    .left-columns {
        grid-template-columns: 1fr;
    }

    .card {
        padding: 16px;
    }

    .product-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 12px;
    }

    .product-card {
        width: 100%;
        /* ← Gridに任せる */
        border-radius: 8px;
    }

    .product-card img {
        height: 140px;
        width: auto;
    }

    .product-card h2 {
        font-size: 14px;
        /* ← 少し小さく */
        margin: 6px 0 4px;
    }

    .product-card .price {
        font-size: 13px;
    }

    .product-detail {
        flex-direction: column;
        align-items: center;
    }

    .product-detail img {
        width: 100%;
        max-width: 320px;
        height: auto;
    }

    .cart-table,
    .table-mypage {
        font-size: 13px;
    }

    .cart-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero {
        margin-left: 10px;
        margin-right: 10px;
    }

    .cart-empty {
        margin-left: 10px;
        margin-right: 10px;
    }

    .cart-actions {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }

    .btn-update {
        height: 40px;
        font-size: 14px;
        padding: 8px 16px;
        opacity: 0.85;
    }

    .btn {
        height: 44px;
        font-size: 15px;
        padding: 10px 20px;
    }

    .btn-checkout {
        background: linear-gradient(135deg, #60a2ff, #256aab);
        height: 52px;
        font-size: 17px;
        font-weight: bold;
        letter-spacing: 0.05em;
        box-shadow: 0 6px 16px rgba(37, 106, 171, 0.35);
    }

    select[name="payment"] {
        width: 100%;
        height: 44px;          /* ← iOS推奨タップサイズ */
        font-size: 16px;       /* ← これ超重要（ズーム防止） */
        padding: 10px 12px;
        border-radius: 12px;
    }

    .checkout-form button {
        margin-top: 5px;
    }

    .thanks h1 {
        font-size: 20px;
    }

    .page-main {
        padding: 10px;
    }

}

/* WooCommerceページの白背景を消す */
.page-main,
.site-content {
  background: transparent !important;
}

/* 商品一覧を包んでいる白い箱を消す */
.woocommerce-columns-4,
.woocommerce ul.products {
  background: transparent !important;
}

/* WooCommerceページの背景を完全に透過 */
/* body.woocommerce-page, */
body.woocommerce-page #page,
body.woocommerce-page .site-content,
body.woocommerce-page .site-main,
body.woocommerce-page main,
body.woocommerce-page .woocommerce {
  background: transparent !important;
}

/* =========================
   My Account 全体
========================= */
.woocommerce-account .woocommerce {
    max-width: 900px;
    margin: 60px auto;
    padding: 30px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    /* backdrop-filter: blur(6px); */
  }
  
  /* メニュー（上部） */
  .woocommerce-MyAccount-navigation {
    width: 100%;
    margin-bottom: 30px;
  }
  
  .woocommerce-MyAccount-navigation ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 0;
    margin: 0;
  }
  
  .woocommerce-MyAccount-navigation li {
    list-style: none;
    margin: 5px 0;
  }
  
  /* メニューボタン */
  .woocommerce-MyAccount-navigation a {
    background: rgba(255,255,255,0.25);
    padding: 10px 18px;
    border-radius: 999px;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    transition: 0.2s;
  }
  
  .woocommerce-MyAccount-navigation a:hover,
  .woocommerce-MyAccount-navigation .is-active a {
    background: #fff;
    color: #0ea5b1;
  }
  
  /* 中身（右側だった部分） */
  .woocommerce-MyAccount-content {
    margin: 0 auto;            /* ← ここが超重要 */
    margin-top: 30px;
    max-width: 700px;
    background: rgba(255,255,255,0.25);
    padding: 30px;
    border-radius: 16px;
    color: #fff;
    text-align: left;
  }
  
  
  /* リンク色 */
  .woocommerce a {
    color: #fffb;
  }
  
  .woocommerce a:hover {
    color: #fff;
  }
  
  /* マイページ全体をカード化 */
.woocommerce-account .woocommerce {
    max-width: 900px;
    margin: 40px auto;
    background: rgba(255,255,255,0.15);
    border-radius: 20px;
    padding: 30px;
  }
  
  /* メニュー＋中身を縦に */
  .woocommerce-MyAccount-navigation {
    margin-bottom: 25px;
  }
  
  /* メニューを中央寄せ */
  .woocommerce-MyAccount-navigation ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    flex-direction: column;
  }
  
  /* ボタン風 */
  .woocommerce-MyAccount-navigation a {
    background: rgba(255,255,255,0.25);
    padding: 10px 18px;
    border-radius: 999px;
    color: #fff;
    font-weight: bold;
  }
  
  .woocommerce-MyAccount-navigation .is-active a {
    background: #fff;
    color: #0ea5b1;
  }
  
  /* 中身 */
  .woocommerce-MyAccount-content {
    margin-top: 25px;
    background: rgba(255,255,255,0.2);
    padding: 24px;
    border-radius: 16px;
  }
  
  .woocommerce-MyAccount-content,
.woocommerce-MyAccount-content p {
  color: #fff;
}

.woocommerce-MyAccount-content a {
  color: #0ff;
  font-weight: bold;
}

/* マイページ全体を左右レイアウトに */
.woocommerce-account .woocommerce {
    display: flex;
    gap: 32px;
    align-items: flex-start;
  }

  .woocommerce-MyAccount-navigation {
    width: 220px;
    margin-bottom: 0;
  }
  
  .woocommerce-MyAccount-content {
    flex: 1;
    margin-top: 0;
  }

  @media (max-width: 768px) {
    .woocommerce-account .woocommerce {
      flex-direction: column;
      /* max-width: 600px; */
      margin: 0 auto;
    }
  
    .woocommerce-MyAccount-navigation {
      width: 100%;
    }

    .woocommerce-MyAccount-navigation ul {
        flex-direction: row;
    }
  }
  
  @media (max-width: 375px) {
    .woocommerce-account .woocommerce {
        flex-direction: column;
        margin: 0 auto;
      }

    .woocommerce-account .woocommerce-MyAccount-content,
    body.woocommerce-page .woocommerce {
        margin: 0 auto;
    }
  }

/* My Account 枠がはみ出ないように */
.woocommerce-account .woocommerce,
.woocommerce-account .woocommerce * {
  box-sizing: border-box;
}

/* 外枠を画面幅に合わせる */
.woocommerce-account .woocommerce {
  width: min(900px, calc(100% - 24px)); /* 左右12pxずつ余白 */
  margin: 24px auto;
  padding: 20px;
}

/* 右側（こんにちは〜の枠）を必ず100%以内に */
.woocommerce-account .woocommerce-MyAccount-content {
  width: 100%;
  max-width: 100%;
  margin-top: 20px;
  overflow: hidden; /* 何かがはみ出す時の保険 */
}

/* 文章が長くても横に伸びないように */
.woocommerce-account .woocommerce-MyAccount-content,
.woocommerce-account .woocommerce-MyAccount-content p,
.woocommerce-account .woocommerce-MyAccount-content li {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* さらに小さい画面はpadding減らす */
@media (max-width: 768px) {
  .woocommerce-account .woocommerce {
    width: calc(100% - 16px);
    padding: 14px;
  }
  .woocommerce-account .woocommerce-MyAccount-content {
    padding: 16px;
  }
}

/* =========================
   Checkout（見た目仕上げ）
========================= */

/* checkout全体の箱（ショートコード/ブロック両対応） */
.woocommerce-checkout .woocommerce,
.woocommerce-checkout #page .site-content,
.woocommerce-checkout .wp-site-blocks,
.woocommerce-checkout .wp-block-woocommerce-checkout {
  max-width: 980px;
  margin: 60px auto;
  padding: 28px;
  border-radius: 20px;
  background: rgba(255,255,255,0.16);
  backdrop-filter: blur(8px);
}

/* タイトル */
.woocommerce-checkout h3,
.woocommerce-checkout .wc-block-components-title,
.woocommerce-checkout .wp-block-woocommerce-checkout h2 {
  color: #fff;
  margin: 0 0 14px;
  font-size: 22px;
}

/* フォームの中身をカード化 */
.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-shipping-fields,
.woocommerce-checkout #order_review,
.woocommerce-checkout .wc-block-checkout__form,
.woocommerce-checkout .wc-block-checkout__order-summary {
  background: rgba(255,255,255,0.22);
  border-radius: 16px;
  padding: 18px;
}

/* ラベルを白に */
.woocommerce-checkout label,
.woocommerce-checkout .wc-block-components-text-input label,
.woocommerce-checkout .wc-block-components-select label {
  color: #fff !important;
  font-weight: 700;
}

/* 入力欄は横幅100%（あなたのinput共通スタイルに寄せる） */
.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout input[type="number"],
.woocommerce-checkout select,
.woocommerce-checkout textarea {
  width: 100%;
  box-sizing: border-box;
}

/* 2カラムの余白調整（従来checkout向け） */
.woocommerce-checkout .col2-set {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* 注文ボタンを目立たせる */
.woocommerce-checkout #place_order,
.woocommerce-checkout .wc-block-components-checkout-place-order-button {
  border: none;
  border-radius: 999px;
  padding: 14px 22px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  width: 100%;
}

/* スマホ：1カラムに */
@media (max-width: 768px) {
  .woocommerce-checkout .woocommerce,
  .woocommerce-checkout .wp-block-woocommerce-checkout {
    margin: 24px 10px;
    padding: 16px;
  }

  .woocommerce-checkout .col2-set {
    grid-template-columns: 1fr;
  }
}
