@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    list-style: none;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    /* width + margin = 100%でOK */
}

html {
    font-size: 18px;
    scroll-behavior: smooth;
}

:target {
    scroll-margin-top: 80px;
}



body {
    margin: 0;
    padding: 0;
    background: #fff;
    font: 90% 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif;
}

body.no-scroll {
    overflow: hidden;
}


a {
    text-decoration: none;
    color: #0033cc;
}

a:hover {
    text-decoration: underline;
    color: #dd0000;
}

/* Form Inputs for Order Form */
.form-table input[type="text"],
.form-table input[type="email"],
.form-table input[type="tel"],
.form-table select {
    line-height: 30px;
    height: 35px !important;
    padding: 1px 5px;
    border: 1px solid #d4d4d7;
    background-color: #fff;
    border-radius: 4px;
    /* Slightly rounded as per commonly associated style */
    text-align: left;
    width: 100%;
    /* Ensure they fill the cell/container if needed, or stick to default */
    box-sizing: border-box;
    /* To handle padding correctly */
}

/* 共通ボタン（黒背景・やや角丸） */
.btn-black {
    background: #000;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: opacity 0.3s;
    -webkit-appearance: none;
    appearance: none;
    line-height: normal;
    /* 行高さをリセットして位置を揃える */
}

.btn-black:hover {
    opacity: 0.8;
    color: #fff;
    text-decoration: none;
}

/* 白ボタン（枠線あり） */
.btn-white {
    background: #fff;
    color: #333;
    border: 1px solid #ccc;
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    -webkit-appearance: none;
    appearance: none;
    line-height: normal;
    /* 行高さをリセットして位置を揃える */
}

.btn-white:hover {
    background: #f5f5f5;
    color: #333;
}

/* シンプルボタン (細い枠線・角丸・About風) */
.btn-simple {
    background: #fff;
    color: #333;
    /* 濃いグレー */
    border: 1px solid #c0c0c0;
    /* やや薄めのグレー */
    padding: 8px 20px;
    /* 少し控えめなパディング */
    border-radius: 5px;
    /* 角丸 */
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    -webkit-appearance: none;
    appearance: none;
    margin-top: 30px;
}

.btn-simple:hover {
    opacity: 0.7;
    background: #fafafa;
}

/* Header */
header {
    width: 100%;
    margin: 0;
    padding: 0;
    background: #fff;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background-color 0.3s, opacity 0.3s, box-shadow 0.3s;
}

header.scrolled {
    opacity: 0.95;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

header.nav-open {
    opacity: 1 !important;
    background-color: #fff !important;
}

.header-inner {
    width: 100%;
    max-width: 1480px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    height: 80px;
}

/* Compensate for fixed header height */
body {
    padding-top: 80px;
}

.site-logo h1,
.site-logo h1 a {
    display: block;
    height: 80px;
    display: flex;
    align-items: center;
}

.site-logo h1 img {
    width: 270px;
    height: 80px;
    object-fit: contain;
    object-position: left;
    /* 左寄せに配置 */
}

.site-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 15px;
}

.site-nav li {
    font-size: 14px;
    color: #444;
}

.site-nav li a {
    color: #444;
    text-decoration: none;
}

.site-nav li+li::before {
    content: "|";
    margin-right: 15px;
    color: #ccc;
}

/* Mobile Header Actions */
.mobile-header-actions {
    display: none;
    /* Hidden on PC */
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    margin: 0 auto 40px;
}

.hero-section img {
    width: 100%;
    max-height: 750px;
    object-fit: cover;
    display: block;
    border-radius: 4px;
}

/* Pankuzu (Breadcrumb) */
.pankuzu {
    width: 100%;
    max-width: 1480px;
    margin: 0 auto 1em;
    padding: 10px 0;
    text-align: left;
    font-size: 14px;
    color: #666;
}

.pankuzu a {
    color: #666;
}

.pankuzu a::after {
    content: ">";
    margin: 0 10px;
    color: #ccc;
}

.pankuzu span {
    font-weight: bold;
}

/* Mobile Adjustments */

#top-bar {
    background: #078080;
    padding: 1px;
    text-align: right;
    color: #fff;
    font-size: smaller;
}

#top-bar a {
    color: #fff !important;
}

h1 {
    font-size: x-large;
    margin: .3em;
    color: #444;
}

.ta-c {
    text-align: center;
}

.ta-r {
    text-align: right !important;
}

.ta-l {
    text-align: left;
}

#top-image {
    margin: 1em auto;
    width: 1480px;
}

#top-image img {
    border-radius: 10px;
    width: 100%;
}

#top-ttl {
    text-align: center;
    width: 1480px;
    height: 100px;
    background: #3B5998;
    color: #fff;
    padding: 5px;
    margin: 0 auto;
    vertical-align: middle;
}

#main {
    width: 100%;
    max-width: 1480px;
    background: #fff;
    margin: 1em auto;
    padding: 3px;
    display: flex;
    flex-direction: row-reverse;
    gap: 40px;
    align-items: flex-start;
}

#side-menu {
    width: 20%;
    flex-shrink: 0;
    text-align: left;
    padding: 5px;
    background: #fff;
}

#main-menu {
    width: 100%;
    text-align: center;
    padding: 5px;
    margin: 0 auto 50px;
}

/* 商品一覧グリッド (Flexbox Responsive) */
.product-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
    justify-content: flex-start;
}

.product-item {
    text-align: center;
    position: relative;
    width: calc(25% - 15px);
    /* PC: 4列 */
    box-sizing: border-box;
    padding: 10px;
}

/* Tablet (2列) */

/* Mobile (2列) */

.product-item a {
    text-decoration: none;
    color: #333;
    display: block;
}

.product-item img {
    width: 100%;
    height: auto;
    max-width: 250px;
    object-fit: contain;
}

.product-item p {
    margin: 10px 0 0;
    font-size: 14px;
}

/* SOLD OUT オーバーレイ */
.sold-out-overlay {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    max-width: 250px;
    /* 画像幅に合わせる */
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    font-size: 1.5em;
    pointer-events: none;
    /* クリック透過 */
}

/* 商品詳細用 */
.sold-out-text {
    color: #cc0000;
    font-weight: bold;
    font-size: 1.5em;
    font-family: serif;
    /* 明朝体っぽく */
    margin: 10px 0;
    display: block;
    text-align: left;
}

.low-stock-warning {
    color: #cc0000;
    font-weight: bold;
    margin-top: 5px;
    display: block;
}

div.clear {
    clear: both;
}

.heading {
    background: #333;
    padding: .8em;
    width: 100%;
    border-radius: 4px;
    box-sizing: border-box;
    margin-bottom: 20px;
}

.heading p {
    margin: 0;
    padding: 0 10px;
    color: #fff;
    font-weight: bold;
    border: none;
}

.heading-in {
    margin: 10px 0 30px 5px;
}

#find {
    width: 150px;
    padding: 4px;
}

#prog-bar {
    table-layout: fixed;
    border-collapse: collapse;
    margin: 1em auto;
}

#prog-bar td {
    text-align: center;
}

#prog-bar td span {
    font-size: smaller;
}

#prog-bar td.act,
#prog-bar td.in-act {
    width: 80px;
}

#prog-bar td.arrow {
    width: 22px;
    color: #aaa;
}

#prog-bar td p {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    color: #fff;
    font-weight: bold;
    margin: 0 auto;
    line-height: 50px;
    font-size: normal;
}

#prog-bar td.act p {
    background: #078080;
}

#prog-bar td.in-act p {
    background: #b9d6c4;
}

.menu-ttl {
    width: 550px;
    background: #e3e3e3;
    color: #000;
    padding: 1.2em;
    text-align: center;
    margin: 1.5em auto;
    border-radius: 8px;
}

.menu-ttl span {
    color: #ccc;
}

.cart {
    margin: 0 auto 1em auto;
    padding: 1em;
    border-radius: 6px;
    max-width: 980px;
}

.item {
    display: table;
    width: 100%;
}

.item-img {
    display: table-cell;
    vertical-align: top;
    text-align: center;
    width: 50%;
}

.item-name {
    font-weight: bold;
    font-size: larger;
    color: #078080;
}

.item-data {
    display: table-cell;
    vertical-align: top;
    text-align: left;
    width: 50%;
}

.item-foot {
    text-align: right;
    font-size: smaller;
}

.mt-1em {
    margin-top: 1.5em !important;
}

.detail {
    margin-top: 1em;
    text-align: left;
    border-top: 1px dotted gray;
    padding: .7em 0;
}

.detail-data {
    text-align: left;
}

.cart-detail {
    width: 100%;
    max-width: 640px;
    border: 1px solid gray;
    margin: 3px auto 8px auto;
    padding: 5px;
}

.back-btn {
    margin-top: 1.5em;
    text-align: center;
}

.back-btn input[type="submit"],
.back-btn input[type="button"] {
    width: 130px;
    height: 35px;
}

div.dot {
    border-bottom: 1px dotted #b6b6b6;
    padding: 16px 0px;
}

.price {
    font-size: 0.8rem;
}

input.spinner {
    padding: 3px;
    width: 40px;
    margin-right: 6px;
}

input.spin {
    width: 35px;
    margin-right: 6px;
}

input.cart-in {
    width: 170px;
    height: 32px;
    margin: 5px 0 5px 8px;
}

.cart-tbl {
    border-collapse: collapse;
    margin: 2em auto;
}

.cart-tbl th,
.cart-tbl td {
    padding: 1em;
    color: #333;
}

.cart-tbl th {
    border-top: 1px solid #bbb;
    border-bottom: 1px solid #bbb;
}

.cart-tbl td {
    text-align: left;
    border-bottom: 1px solid #bbb;
}

td.top-line {
    border-top: 1px solid #bbb;
}

.indata {
    width: 30em;
}

input.cart-num {
    width: 26px;
    ime-mode: inactive;
    border: 1px solid gray;
}

.cart-img,
.cart-item {
    display: inline-block;
}

.cart-item b {
    color: #078080;
    font-size: lager;
}

.navi {
    font-weight: bold;
    letter-spacing: 1px;
    color: gray;
}

.req::before {
    content: "\f06a";
    /* fa-circle-exclamation */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: red;
    margin-right: 5px;
}

.req {
    padding-left: 0;
}

.opt {
    padding-left: 16px;
}

input.cart-btn {
    height: 35px;
    width: 120px;
    margin: 1em;
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    font-size: 16px;
    font-weight: bold;
}

/* 商品詳細のカートボタン（幅広） */
.detail-cart-btn {
    width: 100%;
    max-width: 400px;
    height: 50px;
    font-size: 18px;
    letter-spacing: 1px;
}

div.cart-now {
    background: #fff;
    padding: 10px;
}

div.total {
    text-align: right;
    border-top: 1px dashed #6f8289;
    padding: 5px;
    width: 80%;
    margin: 0 auto;
}

div.total span {
    font-family: Verdana, Helvetica, Arial;
}

td.nums {
    white-space: nowrap;
}

textarea.memo {
    width: 370px;
}

th.tbl-key span {
    border-left: 2px solid #dd0000;
    padding-left: 3px;
}

.addr-ttl {
    width: 260px;
    padding: .5em;
    margin: 1em auto;
    text-align: center;
    color: #078080;
    background: #eaf4ed;
    border-radius: 5px;
}

table.addr-cart {
    width: 620px;
    margin: 1em auto;
}

input.w-s,
input.picker {
    width: 150px;
    padding: 4px;
    border: 1px solid gray;
}

input.w-m {
    width: 300px;
    padding: 4px;
    border: 1px solid gray;
}

input.w-l {
    width: 380px;
    padding: 4px;
    border: 1px solid gray;
}

textarea.w-t {
    width: 380px;
    height: 3em;
    padding: 4px;
    border: 1px solid gray;
}

ul.cat-list {
    list-style: none;
    padding: 0 10px;
    margin: 0;
}

ul.cat-list li {
    padding: 10px 0;
    border-bottom: 1px dotted #ccc;
    color: #555;
    position: relative;
    padding-left: 15px;
}

/* Order Form Redesign */
.order-form-wrapper {
    max-width: 700px;
    margin: 40px auto;
    padding: 40px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eaeaea;
}

.order-form-wrapper .form-section-header {
    margin-top: 0;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #078080;
    font-size: 1.4em;
    font-weight: bold;
    color: #333;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #444;
}

.form-label span.badge-required {
    background: #ff4d4f;
    color: #fff;
    font-size: 0.75em;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 8px;
    vertical-align: text-bottom;
}

.form-control {
    width: 100%;
    max-width: 100%;
    /* Override previous max-width if necessary */
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

.form-control:focus {
    border-color: #078080;
    outline: none;
    box-shadow: 0 0 0 2px rgba(7, 128, 128, 0.1);
}

.form-note {
    font-size: 0.85em;
    color: #888;
    margin-top: 5px;
}

.payment-methods {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 4px;
    margin-top: 30px;
}

.payment-label {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    cursor: pointer;
    font-size: 1.1em;
}

.payment-label input[type="radio"] {
    margin-right: 10px;
    transform: scale(1.2);
}

.form-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    /* 垂直方向を中央揃えに */
    gap: 20px;
    margin-top: 40px;
}

/* Address Grouping (Pref + City) */
.address-group {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 15px;
}



ul.cat-list li a {
    color: #444;
    text-decoration: none;
    font-size: 15px;
    letter-spacing: 0.05em;
    display: block;
}

ul.cat-list li a:hover {
    color: #000;
    opacity: 0.7;
}

div.err-ttl {
    width: 100%;
    font-size: 150%;
    font-weight: bold;
    color: #fff;
    background: #725a36;
    border: 1px solid #997948;
    font-family: Verdana, Helvetica, Arial;
}

div.err-box {
    width: 550px;
    margin: 3em auto;
    color: red;
    background: #fff;
    border: 1px solid #9f6522;
}

div.err-msg {
    padding: 1.5em;
}

p.cate-name {
    width: 640px;
    text-align: left;
    font-weight: bold;
    margin: 5px auto;
}

p.cate-name span {
    color: orange;
}

.pay-msg {
    width: 640px;
    margin: 2em auto;
    padding: 2em;
    background: #eaf4ed;
    border-radius: 6px;
    text-align: center;
}

.pay-msg input[type="submit"] {
    width: 300px;
    height: 35px;
}

.eiji {
    font-family: Verdana, Helvetica, Arial !important;
    font-size: 90%;
}

/* アイコン */
img.icon {
    vertical-align: middle;
    border: none;
}

/* 進行パネル */
#prog-tbl {
    margin: 8px auto;
}

#prog-tbl td {
    text-align: center;
}

#prog-tbl td.act {
    background: #F2AB00;
    color: #fff;
    font-weight: bold;
    padding: 6px 20px;
}

#prog-tbl td.ina {
    background: #A8A8A8;
    color: #eee;
    padding: 6px 20px;
}

/* ページ繰越ボタン */
div.pgbtn {
    margin: 1em 0;
}

/*
	ページ送り
	参考: http://css-happylife.com/template/page_nav/
*/
ul.pager {
    margin: 0 0 10px;
    padding: 10px 10px 5px;
    text-align: center;
}

ul.pager li {
    display: inline;
    margin: 0 2px;
    padding: 0;
}

ul.pager li span,
ul.pager li a {
    display: inline-block;
    margin-bottom: 5px;
    padding: 1px 8px;
    background: #fff;
    border: 1px solid #aaa;
    text-decoration: none;
    vertical-align: middle;
}

ul.pager li a:hover {
    background: #eeeff7;
    border-color: #00f;
}

/* Footer */
#site-footer {
    width: 100%;
    background: #fff;
    padding: 60px 0;
    margin-top: 40px;
}

.footer-container {
    max-width: 1480px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* 垂直方向中央 */
    padding: 0 20px;
    gap: 40px;
}

.footer-info {
    width: 45%;
}

.footer-logo {
    font-size: 28px;
    font-family: "Yu Mincho", "YuMincho", serif;
    margin-bottom: 20px;
    color: #333;
}

.footer-logo i {
    margin-right: 5px;
}

.footer-logo span {
    display: block;
    font-size: 14px;
    font-family: sans-serif;
    color: #666;
    margin-top: 5px;
}

/* Footer */
#site-footer {
    background: #f9f9f9;
    padding: 60px 0 20px;
    border-top: 1px solid #eee;
    color: #333;
}

.footer-container {
    width: 100%;
    max-width: 1480px;
    margin: 110px auto;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding: 0 20px;
    box-sizing: border-box;
}

.footer-col {
    flex: 1;
}

/* 左カラム：ショップの顔 */
.footer-shop-img img {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 4px;
    object-fit: cover;
}

/* 中央カラム：店舗情報 */
.footer-shop-details .footer-logo {
    margin-bottom: 20px;
}

.footer-address {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #555;
}

.footer-hours p {
    margin: 3px 0;
    font-size: 14px;
    color: #666;
}

.footer-hours h6,
.footer-section h6 {
    margin: 0 0 10px;
    font-size: 15px;
    font-weight: bold;
    color: #333;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
}

.footer-sns {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.sns-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    color: #444;
    transition: all 0.3s;
}

.sns-icon:hover {
    background: #f0f0f0;
    color: #000;
}

/* NOTICE List */
.footer-notice-list {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}

.footer-notice-list li {
    margin-bottom: 8px;
}

.footer-notice-list li a {
    color: #555;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}

.footer-notice-list li a:hover {
    color: #078080;
}

/* 右カラム：配送・支払い */
.footer-section p {
    font-size: 14px;
    margin: 5px 0;
    color: #555;
}

.footer-payment-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 15px;
}

.footer-payment-list li {
    font-size: 13px;
    color: #666;
    background: #fff;
    padding: 3px 10px;
    border: 1px solid #eee;
    border-radius: 3px;
}

/* フッター底面 */
.footer-bottom {
    max-width: 1480px;
    margin: 60px auto 0;
    padding: 20px;
    border-top: 1px solid #eee;
    text-align: center;
    font-size: 12px;
    color: #999;
}

/* スマホ対応 */


/* 商品詳細ページ用スタイル */
.product-detail-container {
    width: 90%;
    margin: 40px auto;
    text-align: left;
}

.detail-product-name {
    font-size: 24px;
    margin-bottom: 30px;
    border-bottom: none;
    font-weight: normal;
}

.detail-flex {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.detail-image {
    width: 50%;
    text-align: center;
}

.detail-image img {
    max-width: 100%;
    height: auto;
    border: 1px solid #eee;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.detail-info {
    width: 50%;
}

.detail-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.detail-table th,
.detail-table td {
    padding: 15px 10px;
    border-bottom: 1px solid #ccc;
    text-align: left;
}

.detail-table th {
    font-weight: bold;
    width: 30%;
}

.detail-qty {
    width: 50px;
    padding: 5px;
    border: 1px solid #ccc;
}

.detail-btn-area {
    text-align: right;
    margin-top: 20px;
}

.detail-cart-btn {
    background: #1abc9c;
    border: 1px solid #1abc9c;
    padding: 10px 40px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
    color: #fff;
}

.detail-cart-btn:hover {
    background: #1abc9c;
}

.detail-description {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    line-height: 1.8;
    color: #444;
}

/* Restore sidebar to bottom on mobile */

/* Checkout Step Flow - Unified Bar Style */
.step-flow {
    display: flex;
    width: 100%;
    max-width: 1000px;
    margin: 20px auto 40px;
    padding: 0;
    list-style: none;
    border: 1px solid #e0e0e0;
    border-radius: 2px;
    overflow: hidden;
}

.step-flow li {
    flex: 1;
    padding: 15px 0;
    background: #f4f4f4;
    color: #999;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    border-right: 1px solid #e0e0e0;
}

.step-flow li:last-child {
    border-right: none;
}

.step-flow li.active {
    background: #337ab7;
    color: #fff;
}

.step-flow li.active .num {
    color: #fff;
}

.step-flow .num {
    margin-right: 5px;
    font-size: 1.1em;
}

/* Updated Form Headers */
.form-section-header {
    background: #f9f9f9;
    color: #333;
    border-bottom: 2px solid #078080;
    /* Consistent color */
    padding: 15px;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: bold;
    font-size: 1.2em;
    text-align: left;
    /* Left align as per user request */
}

.form-note {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 20px;
    text-align: left;
    /* Left align as per user request */
}

/* Order Form Redesign */
.order-form-wrapper {
    max-width: 700px;
    margin: 40px auto;
    padding: 40px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eaeaea;
    text-align: left;
    /* Ensure content is left-aligned */
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: #333;
    font-size: 1.1em;
}

.form-label span.badge-required {
    background: #ff4d4f;
    color: #fff;
    font-size: 0.7em;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 8px;
    vertical-align: middle;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: #078080;
    outline: none;
    box-shadow: 0 0 8px rgba(7, 128, 128, 0.1);
}

.payment-methods {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 6px;
    margin-top: 40px;
    border: 1px solid #eee;
}

.payment-label {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 1.1em;
}

.payment-label input[type="radio"] {
    margin-right: 12px;
    transform: scale(1.3);
}

.form-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
}

.address-group {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 15px;
}


/* Google Map */
#shop-map-container {
    width: 100% !important;
    height: 400px !important;
    overflow: hidden;
    margin-bottom: 0;
    position: relative;
    /* Ensure it takes space */
    background: #f0f0f0;
    /* Fallback background */
}

#shop-map-container iframe {
    width: 100% !important;
    height: 100% !important;
    border: none;
    display: block;
    /* Remove inline-block gaps */
}

/* Remove gap between map and footer */
#shop-map-container+#site-footer {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* 送料一覧グリッド */
.shipping-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* Desktop: 4 items (Pref + Price) */
    gap: 0;
    border-top: 1px solid #eee;
    border-left: 1px solid #eee;
    margin-bottom: 20px;
}

.shipping-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
    border-right: 1px solid #eee;
    background-color: #fff;
    font-size: 0.95rem;
}

.shipping-item .pref {
    font-weight: bold;
    color: #333;
}

.shipping-item .price {
    color: #555;
    white-space: nowrap;
}



/* Guide Page Styles (Shared with Privacy, Legal, Contact) */
.guide-title {
    font-size: 1.4rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ddd;
    color: #333;
}

.guide-text {
    line-height: 1.8;
}

/* Contact Page Styles */
.contact-intro {
    line-height: 2;
    margin-top: 10px;
}

.contact-form-container {
    max-width: 680px;
    text-align: left;
    margin: 0 auto;
}

.btn-submit {
    border-radius: 20px;
    padding: 10px 40px;
}


/* --- Mobile / Responsive Styles --- */

/* Tablet / Small Desktop (< 900px) */
@media screen and (max-width: 900px) {
    .shipping-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tablet / Mobile (< 768px) */
@media screen and (max-width: 768px) {

    /* Header & Nav */
    .mobile-header-actions {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .mobile-phone-btn {
        font-size: 24px;
        color: #333;
        text-decoration: none;
    }

    .hamburger-btn {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 40px;
        height: auto;
        position: relative;
        right: auto;
        top: auto;
        cursor: pointer;
        z-index: 100;
    }

    .hamburger-btn .bars {
        width: 30px;
        height: 20px;
        position: relative;
    }

    .hamburger-btn span {
        display: block;
        width: 100%;
        height: 2px;
        background: #333;
        position: absolute;
        transition: all 0.3s;
    }

    .hamburger-btn span:nth-child(1) {
        top: 0;
    }

    .hamburger-btn span:nth-child(2) {
        top: 9px;
    }

    .hamburger-btn span:nth-child(3) {
        bottom: 0;
    }

    .hamburger-btn.active span:nth-child(1) {
        transform: rotate(45deg);
        top: 9px;
    }

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

    .hamburger-btn.active span:nth-child(3) {
        transform: rotate(-45deg);
        top: 9px;
        bottom: auto;
    }

    .menu-text {
        font-size: 10px;
        font-weight: bold;
        margin: 4px 0 0 0;
        color: #333;
        line-height: 1;
    }

    header {
        padding: 0;
        height: 80px;
    }

    .header-inner {
        padding: 0 10px;
    }

    /* Mobile Header Fix (Small Screens) */
    .site-logo h1 img {
        width: auto;
        max-width: 180px;
        height: auto;
        max-height: 50px;
    }

    .site-nav {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background: #fff;
        z-index: 99;
        overflow-y: auto;
    }

    .site-nav.active {
        display: block;
        opacity: 1;
    }

    .site-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .site-nav li {
        border-bottom: 1px solid #eee;
    }

    .site-nav li a {
        display: block;
        padding: 15px 20px;
    }

    .site-nav li+li::before {
        content: none;
    }

    /* Layout & Products */
    .product-item {
        width: calc(50% - 13px);
        /* 2 cols */
    }

    #main {
        flex-direction: column;
    }

    #side-menu {
        width: 100%;
    }

    /* Detail Page */
    .detail-flex {
        flex-direction: column;
    }

    .detail-image,
    .detail-info {
        width: 100%;
    }

    /* Footer Layout */
    .footer-container {
        flex-direction: column;
        gap: 40px;
    }

    .footer-col {
        width: 100%;
    }

    .footer-shop-img img {
        max-width: 100%;
    }

    /* Footer Reordering */
    .footer-shop-face {
        display: block;
        order: 3;
        /* Image at bottom */
    }

    .footer-shipping-payment {
        order: 1;
        /* Links at top */
    }

    .footer-shop-details {
        order: 2;
        /* Shop info middle */
    }
}

/* Mobile (< 600px) */
@media screen and (max-width: 600px) {

    /* Order Form */
    .order-form-wrapper {
        padding: 20px;
        margin: 20px 10px;
        border: none;
        box-shadow: none;
    }

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

    .form-actions {
        flex-direction: column;
    }

    .btn-black,
    .btn-white {
        width: 100%;
    }

    /* Shipping Grid */
    .shipping-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .shipping-item {
        padding: 8px 5px;
        font-size: 0.8rem;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 2px;
    }

    /* Cart Layout (Vertical) */
    .cart {
        padding: 10px 10px 20px;
    }

    .item {
        display: block !important;
        margin-bottom: 20px;
        padding-bottom: 20px;
        border-bottom: 1px solid #eaeaea;
    }

    .item-img {
        display: block;
        width: 100% !important;
        text-align: center;
        margin-bottom: 15px;
    }

    .item-img img {
        max-width: 80%;
        height: auto;
        border-radius: 6px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    }

    .item-data {
        display: block;
        width: 100% !important;
        text-align: left;
        padding: 0 10px;
    }

    .item-name {
        font-size: 1.1rem;
        font-weight: bold;
        display: block;
        margin-bottom: 10px;
        text-align: center;
    }

    .item-data p {
        margin: 8px 0;
        font-size: 0.95rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px dashed #eee;
        padding-bottom: 5px;
    }

    .item-data input[type="number"] {
        width: 60px;
        padding: 8px;
        font-size: 1rem;
        text-align: center;
        margin: 0 5px;
    }

    .item-data button.btn-simple {
        width: 100%;
        margin-top: 15px;
        background: #fff;
        border: 1px solid #ccc;
        color: #d00;
        padding: 10px;
    }

    .cart table {
        width: 100% !important;
        margin-top: 20px;
    }

    .cart table th,
    .cart table td {
        font-size: 1rem;
        padding: 10px 5px;
    }

    .cart input[type="submit"],
    .cart button {
        width: 100%;
        margin: 10px 0 0;
        padding: 12px;
        display: block;
    }
}

/* Small Mobile (< 480px) */
@media screen and (max-width: 480px) {
    .product-item {
        width: calc(50% - 10px);
    }

    #top-image {
        width: 100%;
    }

    #top-image img {
        width: 100%;
        border-radius: 5px;
    }

    #top-ttl {
        width: 100%;
    }

    #main,
    #side-menu,
    #main-menu {
        width: 100%;
        float: none;
    }

    .cart {
        width: 100%;
        margin: 0 auto .5em auto;
        padding: .5em;
    }

    .item {
        display: block;
    }
}

/* Privacy Policy Note in Order Form */
.privacy-policy-note {
    margin: 20px 0;
    text-align: left;
    font-size: 0.7rem;
    color: #666;
}

.privacy-policy-note a {
    color: #333;
    text-decoration: underline;
    font-weight: bold;
}