@charset "UTF-8";
/* =====================================================================
   ULTOWA PROFESSIONAL Store（salon.ultowa.com）
   ---------------------------------------------------------------------
   旧 /btob/store/ のデザインを忠実にトレースした書き直し版
   ・旧CSSの「:root{font-size:1vw}」による全画面比例拡大をやめ、固定pxに変換
     （換算基準：PC = 1400px幅時の実寸 / SP = 390px幅時の実寸）
   ・クラス名は旧のまま（PHP側の変更が不要）
   ・重複していたPC/SP二重定義を「共通＋SP上書き」に整理
   ・修正点は「FIX:」コメントで明示
   ---------------------------------------------------------------------
   目次
     1. 変数・リセット・共通
     2. ヘッダー／ハンバーガーナビ
     3. フッター
     4. TOP（MV／ログイン名／バナー／検索／お知らせ）
     5. TOP（カテゴリ／初回セット／送料／お気に入り）
     6. ブランド一覧（商品カード）
     7. 商品詳細・カート（次ステップ用に旧から移植）
     8. フォーム部品（input／checkbox／radio／select）
     9. ログイン・マイページ・その他
    10. 新Store追加分（エラー表示・準備中）
    11. スマホ（max-width: 1170px）
   ===================================================================== */


/* =====================================================================
   1. 変数・リセット・共通
   ===================================================================== */
:root {
    /* 色 */
    --c-main:   #5d94b4;   /* ヘッダー・フッター・ボタンの青 */
    --c-accent: #6cc6d6;   /* リンクの水色 */
    --c-pink:   #E58181;   /* 送料バー・注文ボタンの赤桃 */
    --c-badge:  #F57E7E;   /* カート個数バッジ */
    --c-red:    #ff0000;   /* 強調（欠品案内など） */
    --c-text:   #1a1a1a;   /* 純黒をやめて締まった墨色に */
    --c-sub:    #67717B;   /* 補助テキスト（税抜・説明など）読める濃さに */
    --c-faint:  #9BA4AC;   /* 最弱（プレースホルダ等の装飾専用） */
    --c-band:   #7C8791;   /* ページ帯（白文字が読めるスレートグレー） */
    --c-gray-bg:#F2F4F6;   /* ブランド一覧の背景（ブランドの水色に寄せた冷グレー） */
    --c-gray-item:#F6F8F9; /* 商品画像の下地 */
    --c-gray-input:#F6F8F9;/* 入力欄の下地 */
    --c-gray-line:#E3E7EA; /* 罫線 */

    /* 書体（Typekit + Google Fonts。旧と同一） */
    --f-base:  source-han-sans-japanese, "Noto Sans JP", sans-serif;
    --f-serif: trajan-pro-3, serif;      /* ブランド名見出し */
    --f-logo:  ultowa, sans-serif;       /* ロゴ */
    --f-en:    'Montserrat', sans-serif; /* 英字見出し */

    /* レイアウト */
    --w-content: 1200px;   /* 白背景コンテンツの最大幅（旧: 左右10vw余白） */
    --w-inner:   1010px;   /* ブランド一覧カードの最大幅（旧: 左右14vw余白） */
    --h-header:  70px;
}

.clear {
    clear: both;
    font: 0pt/0pt sans-serif;
}

.owl-nav.disabled {
    display: none;
}

img {
    vertical-align: top;
    display: block;
    padding: 0;
    margin: 0;
    border: 0;
    max-width: 100%;
}

* {
    -webkit-appearance: none;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

html {
    margin-top: 0 !important;
}

html, body, ul, ol, li, h1, h2, h3, h4, h5, h6, p, div {
    margin: 0;
    padding: 0;
    font-weight: 400;
    list-style: none;
}

body {
    -webkit-overflow-scrolling: touch;
    font-family: var(--f-base);
    width: 100%;
    font-weight: 400;
    color: var(--c-text);
    background: #fff;
    line-height: 1.7;
    font-size: 14px;
    letter-spacing: 0.03em;   /* 本文の字間は最小限。広い字間は英字ブランド要素だけ */
}

a.a_link,
a.a_link_no_under,
a.login_pass {
    color: var(--c-accent);
}
a.a_link_no_under {
    text-decoration: none;
}

::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #fff;
    border-left: solid 1px #ececec;
}
::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 10px;
    box-shadow: inset 0 0 0 2px #fff;
}

input, select, textarea {
    font-family: inherit;
    font-size: 15px;
}

.blue {
    background: var(--c-main);
}

span.red {
    display: block;
    margin: 28px 0;
    font-size: 15px;
    font-weight: bold;
    color: var(--c-red);
}


/* =====================================================================
   2. ヘッダー／ハンバーガーナビ
   ===================================================================== */
header {
    position: fixed;
    width: 100%;
    z-index: 10;
    top: 0;
}

div#header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: var(--h-header);
}

/* ハンバーガー */
div#gnav {
    width: 42px;
    height: 35px;
    margin: 14px;
    cursor: pointer;
    position: relative;
    z-index: 999;
}
div#gnav span {
    width: 28px;
    height: 2px;
    background: #fff;
    display: block;
    margin: 7px;
    transition: all .4s;
}
#gnav.active span:nth-of-type(1) {
    background: #fff;
    transform: translateY(6px) rotate(-45deg);
}
#gnav.active span:nth-of-type(2) {
    opacity: 0;
}
#gnav.active span:nth-of-type(3) {
    background: #fff;
    transform: translateY(-11px) rotate(45deg);
}

/* ロゴ */
h1#header_logo {
    width: 210px;
    margin-left: 42px;
    font-weight: 600;
    color: #fff;
    font-family: var(--f-logo);
    font-size: 20px;
    letter-spacing: 14px;
    text-indent: 14px;
}
h1#header_logo sup {
    position: absolute;
    font-size: 7px;
    margin-left: -14px;
}
h1#header_logo small {
    display: block;
    font-size: 7px;
    font-weight: bold;
    letter-spacing: 1em;
}
h1#header_logo a {
    text-decoration: none;
    color: #fff;
}

/* 右上アイコン */
ul#header_icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 14px;
}
ul#header_icon li {
    width: 49px;
    padding: 14px 7px;
    position: relative;
}
ul#header_icon li:last-child {
    width: 39px;
}
ul#header_icon li svg {
    stroke: #fff;
    color: #fff;
}
span.cart_num {
    position: absolute;
    z-index: 1;
    background: var(--c-badge);
    width: 18px;
    height: 18px;
    line-height: 18px;
    text-align: center;
    color: #fff;
    display: block;
    right: 0;
    padding-left: 1px;
    top: 7px;
    border-radius: 14px;
    font-size: 12px;
    letter-spacing: 0;
}

/* 開閉ナビ */
#header_nav {
    position: fixed;
    z-index: 10;
    top: 0;
    left: -120%;
    width: 100%;
    height: 100vh;
    background: rgb(36 36 36 / 73%);
    transition: all 0.6s;
}
#header_nav.panelactive {
    left: 0;
}
#header_nav ul {
    position: absolute;
    z-index: 10;
    top: 10vh;
    width: 100%;
}
#header_nav li {
    list-style: none;
    padding: 7px 28px;
    margin: 7px 28px;
    border-bottom: 1px solid rgb(255 255 255 / 25%);
    font-size: 20px;
    color: #fff;
}
#header_nav li small {
    display: block;
    font-size: 13px;
}
#header_nav li a {
    color: #fff;
    text-decoration: none;
    letter-spacing: 0.05em;
}
.product_list {
    margin-top: 14px;
}
.product_list span {
    display: block;
    padding: 7px 14px;
    margin: 0 14px;
    font-size: 20px;
}
.product_list span:before {
    content: "\002d";
}


/* =====================================================================
   3. フッター
   ===================================================================== */
footer {
    background: var(--c-main);
}
nav#footer_nav {
    background: #fff;
    padding: 28px 0;
    text-align: center;
}
ul.footer_nav_ul li {
    display: inline-block;
    padding: 14px 7px;
}
ul.footer_nav_ul li a {
    text-decoration: none;
    letter-spacing: 0.08em;
    color: #414141;
}
h4#footer_h4 {
    font-family: var(--f-logo);
    color: #fff;
    text-align: center;
    padding: 28px;
    position: relative;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 0.5em;
    width: 252px;
    margin: 0 auto;
}
h4#footer_h4 small {
    display: block;
    font-weight: bold;
    font-size: 8px;
    letter-spacing: 1.2em;
}
h4#footer_h4 sup {
    font-size: 11px;
    position: absolute;
    top: 34px;
    margin-left: 4px;
}


/* =====================================================================
   4. TOP（MV／ログイン名／バナー／検索／お知らせ）
   ===================================================================== */
div#mv {
    background-image: url(../img/top_mv.png);
    background-size: cover;
    background-position: center;
    height: 364px;
    max-width: var(--w-content);
    margin: 110px auto 0;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}
h1#mv_h1 {
    color: #fff;
    font-weight: bold;
    margin: 28px 42px;
    font-size: 84px;
    line-height: 1.2;
    font-family: var(--f-en);
}

div#top_login_name {
    max-width: var(--w-content);
    margin: 24px auto;
    text-align: center;
    background: var(--c-main);
    padding: 13px;
    border-radius: 10px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-indent: 0.1em;
}

.initialseries_img {
    width: 280px;
    margin: 56px auto;
}
p.initialseries_p {
    margin: 0 auto 70px;
    max-width: 560px;
}

div#top_search {
    background: #E8E8E8;
    padding: 28px;
    text-align: center;
}
select.select_search {
    width: 560px;
    max-width: 100%;
    padding: 19px 21px 19px 63px;
    font-size: 14px;
    border: none;
    background: #fff;
    border-radius: 10px;
    letter-spacing: 0.04em;
    box-shadow: 0 1px 3px rgb(20 40 60 / 8%);
    cursor: pointer;
}
div#top_search:before {
    content: "";
    position: absolute;
    background-image: url(../img/search.svg);
    width: 28px;
    height: 28px;
    background-size: cover;
    z-index: 2;
    margin: 14px;
    pointer-events: none;   /* FIX: 虫めがねの上でもセレクトを押せるように */
}
input.search_input {
    border: none;
    padding: 21px 21px 21px 84px;
    border-radius: 7px;
    width: 100%;
    max-width: 1120px;
    position: relative;
}

.top_p {
    max-width: 1000px;
    margin: 56px auto 28px;
    padding: 0 40px;
}
.top_news_p {
    max-width: 1000px;
    margin: 56px auto 84px;
    padding: 0 40px;
}
.top_news_p span.red {
    margin: 0;   /* お知らせ内の赤文字は本文幅そのまま */
}

span.text_small {
    display: block;
    margin-top: 14px;
    font-size: 14px;
}
small.comment_small {
    text-align: right;
    font-size: 14px;
    display: block;
}

span.gw {
    display: block;
    max-width: 800px;
    margin: 0 auto 56px;
    padding: 28px;
    background: var(--c-gray-item);
    text-align: center;
}
center.gw_title {
    display: block;
    margin-bottom: 42px;
    font-size: 25px;
}
ul.gw_ul {
    width: 322px;
    text-align: left;
    margin: 0 auto 28px;
    font-size: 17px;
    line-height: 1.8;
}
ul.gw_ul li {
    font-weight: 500;
}
li.red {
    color: var(--c-red);
}


/* =====================================================================
   5. TOP（カテゴリ／初回セット／送料／お気に入り）
   ===================================================================== */
h2.content_h2 {
    text-align: center;
    font-weight: bold;
    margin-bottom: 48px;
    font-size: 26px;
    letter-spacing: 0.14em;
    text-indent: 0.14em;
}
h2.content_h2.--left {
    text-align: left;
}
h2.content_h2 small {
    display: block;
    font-size: 17px;
    font-weight: normal;
    margin-top: 14px;
}
.content {
    max-width: var(--w-content);
    margin: 0 auto;
    padding: 56px 40px;
}

div#item_category {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 28px;
    flex-wrap: wrap;
}
.item_category_img {
    width: 140px;
    height: 140px;
    background: var(--c-gray-item);
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 5px 12px rgb(20 40 60 / 12%);
    margin: 0 auto;
    transition: transform .25s ease, box-shadow .25s ease;
}
.item_category:hover .item_category_img {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgb(20 40 60 / 16%);
}
.item_category a {
    text-decoration: none;
    color: inherit;
}
.item_category_img img {
    width: 140px;
    height: 140px;
    object-fit: cover;
}
h3.item_category_h3 {
    text-align: center;
    margin: 14px 0;
    text-indent: 0.2em;
}

div#item_set {
    box-shadow: 0 5px 10px rgb(0 0 0 / 10%);
    background-image: url(../img/set_ban.jpg);
    background-size: cover;
    background-position: center;
    margin: 56px;
    height: 476px;
    padding: 28px;
    position: relative;
    border-radius: 14px;
    overflow: hidden;
}
h4.item_set_h4 {
    position: absolute;
    bottom: 42px;
    left: 56px;
    color: #fff;
    font-size: 42px;
    font-weight: bold;
}
h4.item_set_h4 small {
    display: block;
    font-size: 20px;
}

div#delivery_price {
    background: var(--c-pink);
    text-align: center;
    margin: 0 56px;
    padding: 14px;
    color: #fff;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-indent: 0.1em;
}

div#favorite {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}
.favorite {
    width: 227px;
    height: 227px;
    background: var(--c-gray-item);
    border-radius: 14px;
    overflow: hidden;
}
.favorite img {
    width: 227px;
    height: 227px;
    object-fit: cover;
}


/* =====================================================================
   6. ブランド一覧（商品カード）
   ===================================================================== */
section#content_gray {
    background: var(--c-gray-bg);
    padding: 56px 24px;
}
.content.--inner {
    max-width: var(--w-inner);
    padding: 36px 32px;
    background: #fff;
    border-radius: 16px;
    margin: 28px auto;
}
h3.brand_h3 {
    font-family: var(--f-serif);
    font-size: 26px;
    margin-bottom: 22px;
    letter-spacing: 0.03em;
}
div#brand {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 32px 28px;
}
.brand {
    width: auto;
}
.brand > a,
.brand_img a {
    text-decoration: none;
    color: inherit;
}
.brand_img {
    background: var(--c-gray-item);
    width: 100%;
    aspect-ratio: 1 / 1;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}
.brand_img img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    transition: transform .35s ease;
}
.brand:hover .brand_img img {
    transform: scale(1.04);
}
h4.brand_item_name {
    margin: 12px 0 6px;
    font-size: 13px;
    line-height: 1.5;
    min-height: 40px;
    letter-spacing: 0.04em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.brand_price {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.04em;
}
.brand_price small {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: var(--c-sub);
    margin-top: 1px;
}
span.favorite_span {
    font-size: 34px;
    color: #fff;
    position: absolute;
    right: 12px;
    bottom: 6px;
    cursor: pointer;
    letter-spacing: 0;
    text-shadow: 0 1px 8px rgb(0 0 0 / 35%);
    transition: transform .15s ease;
}
span.favorite_span:hover {
    transform: scale(1.12);
}


/* =====================================================================
   7. 商品詳細・カート（次ステップ用に旧から移植）
   ===================================================================== */
div#under_mv {
    margin: 63px 0 0;
    text-align: center;
    background: var(--c-band);
    padding: 14px;
    color: #fff;
}
#under_title_brandname {
    font-family: var(--f-serif);
}
div#brand_img {
    height: 476px;
    background: var(--c-gray-item);
    overflow: hidden;
}

div#brand_cart {
    margin: 56px 0;
}
.brand_cart {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 56px;
    flex-wrap: wrap;
    padding: 8px 0 0;
    margin: 0 0 52px;
}
.brand_cart_img {
    height: 224px;
    width: 224px;
    background: var(--c-gray-item);
}
.brand_cart_img img {
    height: 224px;
    width: 224px;
    object-fit: cover;
}
.brand_cart_item {
    margin: 0;
    font-size: 22px;
    margin-bottom: -14px;
}
.brand_cart_price {
    font-size: 20px;
    margin-top: 28px;
}
.brand_cart_price small {
    display: block;
    font-size: 14px;
}
/* FIX: 旧CSSの .brand_cart_price small:before { content:"-" } を削除。
   税抜価格の頭に「-」が付いて「-¥2,500(税抜)」に見えていた原因 */
.brand_cart_text {
    width: 420px;
}
span.salon_price {
    display: block;
    margin-bottom: 28px;
    font-size: 14px;
    font-weight: bold;
}

.cart_count {
    width: 350px;
    text-align: center;
    position: relative;
}
input.number {
    padding: 11px;
    border: 1px solid var(--c-gray-line);
    height: 45px;
    width: 112px;
    text-align: center;
}
button.minus {
    border: none;
    height: 45px;
    background: #E5E5E5;
    vertical-align: top;
    width: 42px;
    border-radius: 6px 0 0 6px;
    cursor: pointer;
}
button.plus {
    border: none;
    height: 45px;
    background: #E5E5E5;
    vertical-align: top;
    width: 42px;
    border-radius: 0 6px 6px 0;
    cursor: pointer;
}
.cart_delete {
    margin-top: 56px;
}

div#total_price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 56px;
    flex-wrap: wrap;
    padding: 14px;
    margin: 14px 0;
    font-size: 28px;
}
.total_price_text {
    font-weight: bold;
}
.total_price {
    font-weight: bold;
    text-align: right;
}
.total_price:before {
    content: "\00ffe5";
}

h2.content_h2.--cartinfo {
    text-align: left;
    font-size: 19px;
    letter-spacing: 0.1em;
    margin: 48px 0 24px;
}
span.order_cart_span {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 12px;
    color: var(--c-sub);
    letter-spacing: 0.05em;
}
.order_cart {
    margin: 0 0 26px;
    font-size: 15px;
    line-height: 1.8;
}

/* ボタン（カート投入・注文） */
input.cart_in,
a.cart_in {
    display: block;
    width: 560px;
    max-width: 100%;
    margin: 56px auto;
    text-align: center;
    background: var(--c-main);
    border: none;
    padding: 20px;
    border-radius: 7px;
    font-size: 22px;
    color: #fff;
    letter-spacing: 0.2em;
    font-weight: bold;
    cursor: pointer;
    font-family: var(--f-base);
    text-decoration: none;
}
a.cart_in {
    margin: 0 auto 4em;
}
input.cart_in_order,
#checkout-button {
    display: block;
    width: 560px;
    max-width: 100%;
    margin: 56px auto;
    text-align: center;
    background: var(--c-pink);
    border: none;
    padding: 20px;
    border-radius: 7px;
    font-size: 22px;
    color: #fff;
    letter-spacing: 0.2em;
    font-weight: bold;
    cursor: pointer;
    font-family: var(--f-base);
}


/* =====================================================================
   8. フォーム部品（input／checkbox／radio／select）
   ===================================================================== */
input.text {
    border: none;
    padding: 14px;
    font-size: 17px;
    font-family: var(--f-base);
    width: 100%;
    background: var(--c-gray-input);
    margin: 7px 0;
}
input.text2 {
    border: none;
    padding: 14px;
    font-size: 17px;
    font-family: var(--f-base);
    width: 280px;
    margin: 7px 7px 7px 0;
    background: var(--c-gray-input);
}
input#zip1 {
    border: none;
    padding: 14px;
    font-size: 17px;
    font-family: var(--f-base);
    width: 140px;
    margin: 7px 7px 7px 0;
    background: var(--c-gray-input);
}
input#zip2 {
    border: none;
    padding: 14px;
    font-size: 17px;
    font-family: var(--f-base);
    width: 210px;
    margin: 7px 0 7px 7px;
    background: var(--c-gray-input);
}
textarea.textarea {
    border: none;
    padding: 14px;
    font-size: 17px;
    font-family: var(--f-base);
    width: 100%;
    background: var(--c-gray-input);
    margin: 7px 0;
    height: 140px;
}
select.select {
    border: none;
    padding: 14px;
    font-size: 17px;
    font-family: var(--f-base);
    width: 420px;
    max-width: 100%;
    background: var(--c-gray-input);
    margin: 7px 0;
}
select.select2 {
    background: #ededed;
    border: none;
    padding: 14px;
    width: 140px;
    font-size: 17px;
}
.item_box_total {
    margin-top: 20px;
}

/* チェックボックス */
input[type=checkbox] {
    display: none;
}
.checkbox {
    box-sizing: border-box;
    cursor: pointer;
    display: inline-block;
    padding: 5px 30px;
    position: relative;
    width: auto;
}
.checkbox::before {
    background: #fff;
    border: 1px solid #231815;
    content: '';
    display: block;
    height: 16px;
    left: 5px;
    margin-top: -8px;
    position: absolute;
    top: 50%;
    width: 16px;
}
.checkbox::after {
    border-right: 3px solid var(--c-main);
    border-bottom: 3px solid var(--c-main);
    content: '';
    display: block;
    height: 9px;
    left: 10px;
    margin-top: -7px;
    opacity: 0;
    position: absolute;
    top: 50%;
    transform: rotate(45deg);
    width: 5px;
}
input[type=checkbox]:checked + .checkbox::after {
    opacity: 1;
}
label.checkbox.--label_space {
    border: solid 1px var(--c-gray-line);
    padding: 14px 28px 14px 70px;
    width: 100%;
}
label.checkbox.--label_space:before {
    background: #fff;
    border: 1px solid #231815;
    content: '';
    display: block;
    height: 16px;
    left: 28px;
    margin-top: -8px;
    position: absolute;
    top: 50%;
    width: 16px;
}
label.checkbox.--label_space:after {
    border-right: 3px solid var(--c-main);
    border-bottom: 3px solid var(--c-main);
    content: '';
    display: block;
    height: 9px;
    left: 34px;
    margin-top: -7px;
    opacity: 0;
    position: absolute;
    top: 50%;
    transform: rotate(45deg);
    width: 5px;
}

/* ラジオボタン */
input[type=radio] {
    display: none;
}
.radio01 {
    box-sizing: border-box;
    cursor: pointer;
    position: relative;
    width: auto;
    display: block;
    border: solid 1px var(--c-gray-line);
    padding: 14px 56px;
    margin: 7px 0;
}
.radio01::before {
    background: #fff;
    border: 1px solid var(--c-gray-line);
    border-radius: 50%;
    content: '';
    display: block;
    height: 21px;
    width: 21px;
    left: 21px;
    margin-top: -11px;
    position: absolute;
    top: 50%;
}
.radio01::after {
    background: var(--c-main);
    border-radius: 50%;
    content: '';
    display: block;
    height: 17px;
    width: 17px;
    left: 23px;
    margin-top: -9px;
    opacity: 0;
    position: absolute;
    top: 50%;
}
input[type=radio]:checked + .radio01::after {
    opacity: 1;
}
div#delivery {
    display: none;
}
span.settlement {
    display: block;
    padding: 14px;
    background: var(--c-gray-item);
    margin: 14px 0 0;
    font-size: 14px;
    font-weight: bold;
}
.settlement_text p {
    font-size: 14px;
    margin: 14px 0 28px;
}


/* =====================================================================
   9. ログイン・マイページ・その他
   ===================================================================== */
.content.--login_content {
    margin-top: 56px;
}
div#login_form {
    width: 560px;
    max-width: 100%;
    margin: 0 auto;
}
div#login_form input {
    border: 1px solid var(--c-gray-line);
    margin: 7px 0;
    border-radius: 10px;
    transition: border-color .15s ease, box-shadow .15s ease;
}
div#login_form input:focus {
    outline: none;
    border-color: var(--c-main);
    box-shadow: 0 0 0 3px rgb(93 148 180 / 18%);
}
.login_check {
    text-align: center;
    margin: 14px 0 28px;
}
.forgot {
    text-align: right;
    display: block;
    margin: 14px 0;
}
div#login_p_user_entry {
    max-width: 800px;
    margin: 56px auto;
    padding: 56px 0;
    border-top: 1px solid;
}
p.news_user_p {
    text-align: center;
}
.qa_code {
    margin: 28px 0;
}
.qa_code img {
    display: block;
    text-align: center;
    margin: 0 auto;
    box-shadow: 0 0 10px rgb(0 0 0 / 18%);
}
.line_bt img {
    display: block;
    margin: 0 auto;
    padding: 0 28px;
    background: #00b900;
    width: 266px;
    border-radius: 140px;
}

.pass_forgot {
    text-align: center;
    margin: 56px 0;
}
.pass_forgot_tell {
    font-size: 28px;
    font-weight: bold;
}

h2.top_content {
    text-align: center;
    margin-bottom: 28px;
    text-indent: 0.5em;
    margin-top: 56px;
}
ul.top_content_ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
}
span.general_login {
    text-align: center;
    display: block;
    margin: 56px 0;
    text-indent: 0.5em;
}
ul.top_content_ul li {
    box-shadow: 0 1px 3px rgb(0 0 0 / 20%);
    background: #fff;
    padding: 14px;
    width: 336px;
    text-align: center;
    letter-spacing: 20px;
    text-indent: 20px;
    border-radius: 4px;
    border: solid 1px #000;
    font-size: 20px;
    font-weight: bold;
}
ul.top_content_ul li:first-child {
    background: var(--c-main);
    color: #fff;
}
ul.top_content_ul li a {
    display: block;
    text-decoration: none;
    color: #000;
}
ul.top_content_ul li:first-child a {
    display: block;
    text-decoration: none;
    color: #fff;
}

div#mypage {
    margin: 112px 0 56px;
}
ul.order_history {
    padding: 14px 0;
}
ul.order_history li {
    display: inline-block;
    margin-right: 28px;
}
ul.content_tab {
    max-width: var(--w-content);
    margin: 0 auto;
    padding: 0 40px;
}
ul.content_tab li {
    cursor: pointer;
    border: solid 2px var(--c-gray-line);
    width: 196px;
    padding: 14px;
    text-align: center;
    display: inline-block;
    font-weight: bold;
}
li.select {
    background: #323232;
    color: #fff;
}
li.select a {
    color: #fff !important;
    text-decoration: none;
}
ul.content_tab li a {
    text-decoration: none;
    color: #414141;
    display: block;
}
.trial {
    display: block;
    text-align: left;
    margin-bottom: 28px;
    font-size: 17px;
}


/* =====================================================================
   10. 新Store追加分（エラー表示・準備中）
   ===================================================================== */
p.login_error {
    color: #c0392b;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    margin: 0 0 16px;
}
img.top_news_img {
    max-width: 480px;
    width: 100%;
    margin: 0 0 14px;
    border-radius: 8px;
}

/* お知らせ（TOP）：日付＋タイトル＋本文 */
div#top_news_list {
    max-width: 760px;
    margin: 48px auto 24px;
    padding: 0 32px;
}
.top_news {
    margin: 0 0 44px;
    text-align: left;
}
.top_news_head {
    margin-bottom: 12px;
}
.top_news_date {
    display: block;
    font-family: var(--f-en);
    font-size: 12px;
    color: var(--c-sub);
    letter-spacing: 0.12em;
    margin-bottom: 2px;
}
.top_news_title {
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.05em;
    line-height: 1.5;
}
.top_news_body {
    font-size: 13px;
    line-height: 2;
    color: var(--c-text);
}
.top_news_body p {
    margin: 0 0 1em;
}
div.stub_notice {
    margin: 42px auto 28px;
    line-height: 2;
    max-width: 560px;
    text-align: center;
}
div.stub_back {
    margin: 0 auto 56px;
    max-width: 560px;
}
div.stub_back a {
    color: var(--c-accent);
}


/* =====================================================================
   11. スマホ（max-width: 1170px）
   ・換算基準：旧 :root 3.124vw × 390px幅 ＝ 1rem ≒ 12px
   ・幅は固定値をやめて % / aspect-ratio で崩れないように整理
   ===================================================================== */
@media screen and (max-width: 860px) {

body {
    font-size: 13px;
    letter-spacing: 0.04em;
}
input, select, textarea {
    font-size: 13px;
}

/* --- ヘッダー --- */
div#gnav {
    width: 36px;
    height: 30px;
    margin: 12px;
}
div#gnav span {
    width: 24px;
    margin: 6px;
}
#gnav.active span:nth-of-type(1) {
    transform: translateY(5px) rotate(-45deg);
}
#gnav.active span:nth-of-type(3) {
    transform: translateY(-10px) rotate(45deg);
}
h1#header_logo {
    width: 132px;
    margin-left: 18px;
    font-size: 17px;
    letter-spacing: 12px;
    text-indent: 12px;
}
h1#header_logo sup {
    font-size: 6px;
    margin-left: -12px;
}
h1#header_logo small {
    font-size: 6px;
}
ul#header_icon {
    margin-right: 12px;
}
ul#header_icon li {
    width: 34px;
    padding: 16px 6px;
}
ul#header_icon li:last-child {
    width: 28px;
}
span.cart_num {
    width: 15px;
    height: 15px;
    line-height: 15px;
    top: 10px;
    font-size: 10px;
}
#header_nav li {
    padding: 6px 24px;
    margin: 6px 24px;
    font-size: 17px;
}
#header_nav li small {
    font-size: 11px;
}
.product_list span {
    padding: 6px 12px;
    margin: 0 12px;
    font-size: 17px;
}
div#header-inner {
    min-height: 56px;
}

/* --- フッター --- */
ul.footer_nav_ul li {
    display: block;
    padding: 6px 12px;
    text-align: left;
    margin: 6px 12px;
    border-bottom: 1px solid var(--c-gray-item);
}
ul.footer_nav_ul li a {
    display: block;
}
h4#footer_h4 {
    font-size: 24px;
    width: 240px;
    padding: 24px;
}
h4#footer_h4 small {
    font-size: 7px;
}
h4#footer_h4 sup {
    font-size: 10px;
    top: 29px;
    margin-left: -6px;
}

/* --- TOP：MV〜検索 --- */
div#mv {
    height: 122px;
    margin: 80px 24px 0;
    border-radius: 6px;
}
h1#mv_h1 {
    margin: 17px 24px;
    font-size: 24px;
}
div#top_login_name {
    margin: 12px 24px;
    padding: 7px;
    border-radius: 8px;
    font-size: 12px;
}
.initialseries_img {
    width: 92%;
    max-width: 360px;
    margin: 48px auto;
}
p.initialseries_p {
    margin: 0 24px 48px;
}
div#top_search {
    padding: 24px;
}
select.select_search {
    width: 100%;
    max-width: 324px;
    padding: 12px 18px 12px 54px;
    font-size: 12px;
    border-radius: 4px;
}
div#top_search:before {
    width: 18px;
    height: 18px;
    margin: 10px 12px;
}
input.search_input {
    padding: 14px 14px 14px 36px;
    width: 100%;
}

/* --- TOP：お知らせ --- */
.top_p {
    margin: 24px 12px 12px;
    padding: 0;
}
.top_news_p {
    margin: 0 12px 48px;
    padding: 0;
}
div#top_news_list {
    margin: 32px auto 12px;
    padding: 0 20px;
}
.top_news {
    margin: 0 0 36px;
}
.top_news_head {
    margin-bottom: 8px;
}
.top_news_title {
    font-size: 13px;
}
.top_news_body {
    font-size: 12px;
    line-height: 1.9;
}
span.text_small {
    margin-top: 6px;
    font-size: 7px;
}
small.comment_small {
    font-size: 8px;
}
span.gw {
    margin: 0 0 48px;
    padding: 24px 12px;
}
center.gw_title {
    margin-bottom: 24px;
    font-size: 19px;
}
ul.gw_ul {
    width: 276px;
    font-size: 14px;
}
span.red {
    margin: 24px 0;
    font-size: 11px;
}
select.select2 {
    padding: 6px;
    width: 60px;
    font-size: 10px;
}
.trial {
    font-size: 10px;
    margin-bottom: 12px;
}

/* --- TOP：カテゴリ〜お気に入り --- */
h2.content_h2 {
    margin-bottom: 28px;
    font-size: 17px;
}
.content {
    padding: 24px;
}
div#item_category {
    gap: 12px;
}
.item_category_img,
.item_category_img img {
    width: 96px;
    height: 96px;
}
h3.item_category_h3 {
    margin: 12px 0;
    font-size: 11px;
    line-height: 1.2;
}
h3.item_category_h3 small {
    font-size: 8px;
}
div#item_set {
    margin: 24px 12px;
    height: 144px;
    padding: 24px;
    border-radius: 6px;
}
h4.item_set_h4 {
    bottom: 12px;
    left: 12px;
    font-size: 17px;
}
h4.item_set_h4 small {
    font-size: 11px;
}
div#delivery_price {
    margin: 0 12px;
    padding: 12px;
    font-size: 12px;
    border-radius: 6px;
}
div#favorite {
    justify-content: flex-start;
    gap: 12px;
}
.favorite,
.favorite img {
    width: calc((100% - 24px) / 3);
    aspect-ratio: 1 / 1;
    height: auto;
    border-radius: 6px;
}
.favorite img {
    width: 100%;
    object-fit: cover;
}

/* --- ブランド一覧 --- */
section#content_gray {
    padding: 28px 12px;
}
.content.--inner {
    padding: 20px 16px;
    border-radius: 12px;
    margin: 20px auto;
}
h3.brand_h3 {
    font-size: 17px;
    margin-bottom: 12px;
}
div#brand {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 12px;
}
h4.brand_item_name {
    margin: 10px 0 4px;
    min-height: 36px;
    font-size: 12px;
    line-height: 1.5;
    letter-spacing: 0.02em;
}
.brand_price {
    font-size: 14px;
}
.brand_price small {
    font-size: 10px;
}
span.favorite_span {
    font-size: 24px;
    right: 8px;
    bottom: 4px;
}

/* --- 商品詳細・カート --- */
div#under_mv {
    margin: 54px 0 0;
    padding: 12px;
}
#under_title_brandname,
#under_title {
    font-size: 17px;
}
div#brand_img {
    width: 100%;
    height: 240px;
}
div#brand_img img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}
div#brand_cart {
    margin: 24px 0;
}
.brand_cart {
    justify-content: center;
    align-items: initial;
    gap: 10px;
    padding: 4px 0 0;
    margin: 0 0 32px;
}
.brand_cart_img,
.brand_cart_img img {
    height: 84px;
    width: 84px;
}
.brand_cart_item {
    letter-spacing: 0;
    font-size: 12px;
    margin-bottom: -6px;
}
.brand_cart_price {
    letter-spacing: 0;
    font-size: 12px;
    margin-top: 0;
}
.brand_cart_price small {
    font-size: 10px;
}
.brand_cart_text {
    width: 132px;
}
h2.brand_cart_h2 {
    letter-spacing: 0;
    font-size: 10px;
    font-weight: bold;
}
span.salon_price {
    font-size: 8px;
    letter-spacing: 0;
    margin: 0 0 12px;
}
.cart_count {
    width: 96px;
}
input.number {
    padding: 10px;
    height: 26px;
    width: 30px;
    text-align: center;
    border-radius: 0;
}
button.minus {
    height: 26px;
    width: 30px;
    border-radius: 2px 0 0 2px;
}
button.plus {
    height: 26px;
    width: 30px;
    border-radius: 0 2px 2px 0;
}
div#total_price {
    padding: 0;
    margin: 24px 0;
    font-size: 14px;
}
input.cart_in,
a.cart_in,
input.cart_in_order,
#checkout-button {
    width: 100%;
    max-width: 324px;
    margin: 24px auto;
    padding: 12px 0;
    border-radius: 5px;
    font-size: 14px;
}
a.cart_in {
    margin: 0 auto 4em;
}
h2.content_h2.--cartinfo {
    font-size: 15px;
    margin: 36px 0 16px;
}
span.order_cart_span {
    margin-bottom: 5px;
    font-size: 11px;
}
.order_cart {
    margin: 0 0 20px;
    font-size: 13px;
}

/* --- フォーム --- */
input.text {
    padding: 12px;
    font-size: 12px;
}
input.text2 {
    padding: 12px;
    font-size: 12px;
    width: 96px;
}
input#zip1 {
    padding: 12px;
    font-size: 12px;
    width: 96px;
}
input#zip2 {
    padding: 12px;
    font-size: 12px;
    width: 120px;
}
textarea.textarea {
    padding: 12px;
    font-size: 12px;
    height: 120px;
}
select.select {
    padding: 12px;
    font-size: 12px;
    width: 100%;
}
.radio01 {
    padding: 12px 48px;
    margin: 6px 0;
}
.radio01::before {
    height: 18px;
    width: 18px;
    left: 18px;
    margin-top: -10px;
}
.radio01::after {
    height: 14px;
    width: 14px;
    left: 20px;
    margin-top: -8px;
}
span.settlement {
    padding: 12px;
    font-size: 12px;
}
.settlement_text p {
    font-size: 12px;
}
.item_box_total {
    margin-top: 16px;
}

/* --- ログイン・マイページ --- */
div#login_form {
    width: 100%;
}
.forgot {
    margin: 12px;
}
div#login_p_user_entry {
    margin: 48px 0;
    padding: 48px 0;
}
h2.content_h2 small {
    font-size: 14px;
}
.line_bt img {
    width: 228px;
    padding: 0 24px;
}
.pass_forgot {
    margin: 48px 0;
}
.pass_forgot_tell {
    font-size: 24px;
}
h2.top_content {
    margin: 24px 0;
    font-size: 12px;
}
ul.top_content_ul {
    display: block;
}
ul.top_content_ul li {
    width: 288px;
    letter-spacing: 17px;
    text-indent: 17px;
    font-size: 12px;
    margin: 12px auto;
}
div#mypage {
    margin: 96px 0 48px;
}
ul.order_history li {
    margin-right: 24px;
}
ul.content_tab {
    margin: 0;
    padding: 0 24px 12px;
    white-space: nowrap;
    overflow-x: scroll;
}
ul.content_tab li {
    width: 90px;
    padding: 12px 0;
    font-size: 8px;
}

/* --- 新Store追加分 --- */
div.stub_notice,
div.stub_back {
    margin-left: 12px;
    margin-right: 12px;
}

}

/* =====================================================================
   商品一覧・商品詳細・カート（step3 追加分）
   ===================================================================== */

/* カテゴリ名バンド（ヘッダー下のグレー帯） */
#under_title_brandname small {
    display: block;
    font-size: 14px;
    letter-spacing: 0.14em;
    font-family: var(--f-base);
}

/* 小カテゴリバナー */
div#brand_img {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 14px;
    background: var(--c-gray-item);
    overflow: hidden;
    margin-bottom: 40px;
}
div#brand_img img {
    height: 476px;
    width: auto;
    max-width: 100%;
    object-fit: cover;
}

/* 商品行のリンク */
.brand_cart_item a {
    color: inherit;
    text-decoration: none;
}
.brand_cart_item a:hover {
    color: var(--c-main);
}
.brand_cart_img a {
    display: block;
}
.brand_cart_img {
    border-radius: 10px;
    overflow: hidden;
}

/* 欠品中ラベル */
span.soldout_label {
    display: inline-block;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.7;
    color: var(--c-pink);
}
span.soldout_label small {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: var(--c-sub);
}

/* 商品なし・フラッシュ */
p.brand_empty {
    text-align: center;
    margin: 56px 0;
    color: var(--c-sub);
}
p.cart_flash {
    text-align: center;
    margin: 0 auto 28px;
    font-size: 14px;
    font-weight: 600;
    color: var(--c-main);
}

/* カートページ */
.cart_subtotal {
    margin-top: 10px;
    font-size: 14px;
    font-weight: 700;
}
.cart_delete_link {
    margin-top: 14px;
}
button.cart_remove_btn {
    border: none;
    background: none;
    color: var(--c-sub);
    font-size: 13px;
    cursor: pointer;
    text-decoration: underline;
    font-family: var(--f-base);
    letter-spacing: 0.08em;
}
button.cart_remove_btn:hover {
    color: var(--c-pink);
}
p.cart_shipping_note {
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--c-main);
    margin: -24px 0 24px;
}
a.cart_in.--order {
    background: var(--c-pink);
    margin: 0 auto 8px;
}
p.cart_note {
    text-align: center;
    font-size: 11px;
    color: var(--c-sub);
    margin-bottom: 40px;
}

@media screen and (max-width: 860px) {
#under_title_brandname small {
    font-size: 10px;
}
div#brand_img {
    border-radius: 8px;
    margin-bottom: 24px;
}
div#brand_img img {
    height: 240px;
}
span.soldout_label {
    font-size: 11px;
}
span.soldout_label small {
    font-size: 9px;
}
.cart_subtotal {
    font-size: 12px;
    margin-top: 6px;
}
p.cart_shipping_note {
    font-size: 11px;
    margin: -12px 0 16px;
}
}

/* =====================================================================
   購入手続き・注文確認・完了（step4 追加分）— 罫線なし、余白とタイポで区切る
   ===================================================================== */
#order_form_wrap {
    max-width: 760px;
    margin: 0 auto;
    text-align: left;
}
.order_section {
    margin: 0 0 56px;
}
.order_radio_group .radio01 {
    border-radius: 10px;
}
.order_sub_note {
    font-size: 13px;
    color: var(--c-pink);
    font-weight: 600;
    margin: 10px 0 0;
    line-height: 1.9;
}
.pay_desc {
    font-size: 13px;
    color: var(--c-sub);
    margin: 6px 0 18px;
    line-height: 1.9;
}
.pay_fixed {
    font-size: 15px;
    font-weight: 600;
}
#delivery_new {
    display: none;
    margin-top: 18px;
}
#delivery_new.open {
    display: block;
}
.order_field_row {
    margin-bottom: 14px;
}
.order_field_row label.f_label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--c-sub);
    margin-bottom: 4px;
    letter-spacing: 0.05em;
}

/* 確認画面 */
.confirm_items .brand_cart {
    margin-bottom: 40px;
}
.confirm_qty {
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
}
#order_totals {
    max-width: 760px;
    margin: 24px auto 40px;
    text-align: left;
}
.total_row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 14px;
    font-size: 16px;
}
.total_row .t_label {
    font-weight: 600;
    letter-spacing: 0.04em;
}
.total_row .t_value {
    font-weight: 600;
}
.total_row.--grand {
    margin-top: 26px;
    font-size: 21px;
}
.total_row.--grand .t_value {
    font-weight: 700;
    font-size: 26px;
}
.total_sub {
    display: block;
    font-size: 12px;
    color: var(--c-sub);
    font-weight: 400;
    text-align: right;
}
.order_back_link {
    text-align: center;
    margin: 8px 0 40px;
}
.order_back_link a {
    color: var(--c-sub);
    font-size: 13px;
}

/* 完了画面 */
#order_done {
    text-align: center;
    margin: 48px 0 56px;
    line-height: 2.2;
}
#order_done .done_no {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin: 12px 0 20px;
    font-family: var(--f-en);
}

/* カート：税抜表示・続けて買い物 */
.total_excl_small {
    display: block;
    font-size: 13px;
    color: var(--c-sub);
    font-weight: 400;
    text-align: right;
}
a.cart_in.--continue {
    background: var(--c-main);
    margin: 0 auto 40px;
}

@media screen and (max-width: 860px) {
.order_section {
    margin-bottom: 40px;
}
.total_row {
    font-size: 13px;
}
.total_row.--grand {
    font-size: 16px;
}
.total_row.--grand .t_value {
    font-size: 20px;
}
#order_done .done_no {
    font-size: 18px;
}
}

/* =====================================================================
   step5：BtoB発注画面としての再設計（商品一覧・詳細・カート）
   ・全要素を1本の列（--w-order: 980px）に揃える
   ・商品は「画像／情報／価格／数量」の4列の行として構造化
   ・区切りは余白と背景トーンのみ（罫線なし）
   ===================================================================== */
:root {
    --w-order: 980px;
    --c-panel: #F6F8FA;   /* まとめブロックの下地 */
}

.page_inner {
    max-width: var(--w-order);
    margin: 0 auto;
    text-align: left;
}

/* --- 小カテゴリバナー：グレーの板をやめて画像だけを見せる --- */
div#brand_img {
    display: block;
    background: none;
    border-radius: 0;
    text-align: center;
    margin: 0 0 48px;
    overflow: visible;
}
div#brand_img img {
    display: inline-block;
    height: auto;
    width: auto;
    max-width: 100%;
    max-height: 420px;
    border-radius: 12px;
}

/* --- 商品行（発注リスト） --- */
.p_list {
    margin: 0 0 8px;
}
.p_row {
    display: grid;
    grid-template-columns: 104px 1fr 150px 170px;
    gap: 28px;
    align-items: center;
    padding: 22px 0;
}

.p_img {
    width: 104px;
    height: 104px;
    background: var(--c-gray-item);
    border-radius: 10px;
    overflow: hidden;
}
.p_img a { display: block; }
.p_img img {
    width: 104px;
    height: 104px;
    object-fit: cover;
    transition: transform .3s ease;
}
.p_row:hover .p_img img {
    transform: scale(1.05);
}
.p_brand {
    font-size: 12px;
    color: var(--c-sub);
    letter-spacing: 0.05em;
    margin-bottom: 3px;
}
.p_name {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.55;
    letter-spacing: 0.02em;
}
.p_name a {
    color: inherit;
    text-decoration: none;
}
.p_name a:hover {
    color: var(--c-main);
}
.p_desc {
    font-size: 13px;
    color: var(--c-sub);
    line-height: 1.8;
    margin-top: 6px;
}
.p_price {
    text-align: right;
    line-height: 1.5;
    white-space: nowrap;
}
.p_price .pp_retail {
    display: block;
    font-size: 12px;
    color: var(--c-sub);
    margin-bottom: 3px;
}
.p_price .pp_incl {
    display: block;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.03em;
}
.p_price .pp_excl {
    display: block;
    font-size: 13px;
    color: var(--c-sub);
}
.p_act {
    text-align: center;
}
.p_act .cart_count {
    width: auto;
}
.p_act .soldout_label {
    font-size: 12px;
}
.p_act .cart_remove_btn {
    margin-top: 10px;
}
.p_sub {
    margin-top: 10px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}
.p_qty_fixed {
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
}

/* 一括投入ボタン（一覧・詳細） */
.p_submit {
    text-align: center;
    margin: 40px 0 8px;
}
.p_submit input.cart_in {
    width: 420px;
    max-width: 100%;
    margin: 0 auto;
}

/* --- カートのまとめブロック（請求書スタイルで右寄せ） --- */
.cart_summary {
    max-width: 400px;
    margin: 32px 0 48px auto;
    background: var(--c-panel);
    border-radius: 14px;
    padding: 26px 28px 28px;
}
.cs_row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.03em;
}
.cs_row .cs_value {
    font-size: 23px;
    font-weight: 700;
}
.cs_sub {
    text-align: right;
    font-size: 12px;
    color: var(--c-sub);
    margin: 2px 0 0;
}
.cs_note {
    font-size: 13px;
    font-weight: 600;
    color: var(--c-main);
    margin: 14px 0 0;
    line-height: 1.8;
}
.cart_summary .cart_in,
.cart_summary a.cart_in {
    width: 100%;
    margin: 20px 0 0;
    padding: 15px;
    font-size: 15px;
}
.cart_summary a.cart_in.--order {
    background: var(--c-pink);
}
.cart_summary a.cart_in.--continue {
    background: none;
    color: var(--c-main);
    font-weight: 600;
    padding: 12px;
    margin-top: 8px;
}

/* --- 詳細ページ：商品名まわりも同じ列に --- */
.item_head {
    margin: 0 0 24px;
}
.item_head .p_brand {
    font-size: 12px;
    margin-bottom: 6px;
}
.item_head .p_name {
    font-size: 21px;
    letter-spacing: 0.03em;
}

@media screen and (max-width: 860px) {
.page_inner {
    padding: 0;
}
div#brand_img {
    margin-bottom: 28px;
}
div#brand_img img {
    max-height: 240px;
    border-radius: 8px;
}
.p_row {
    grid-template-columns: 72px 1fr;
    gap: 8px 14px;
    padding: 16px 0;
}

.p_img,
.p_img img {
    width: 72px;
    height: 72px;
    border-radius: 8px;
}
.p_img {
    grid-row: 1 / 3;
}
.p_name {
    font-size: 13px;
}
.p_desc {
    font-size: 11px;
    margin-top: 4px;
}
.p_price {
    grid-column: 2;
    text-align: left;
    margin-top: 2px;
}
.p_price .pp_incl {
    font-size: 15px;
    display: inline-block;
    margin-right: 8px;
}
.p_price .pp_excl {
    display: inline-block;
}
.p_act {
    grid-column: 1 / 3;
    text-align: right;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 14px;
}
.p_sub {
    margin-top: 0;
}
.cart_summary {
    max-width: none;
    margin: 24px 0 36px;
    padding: 20px;
}
.cs_row .cs_value {
    font-size: 20px;
}
.item_head .p_name {
    font-size: 16px;
}
.p_submit input.cart_in {
    width: 100%;
}
}

/* 発注リスト用のコンパクトなステッパー（列幅170pxに収まるサイズ） */
.p_list .cart_count {
    display: inline-flex;
    align-items: stretch;
    width: auto;
    margin: 0;
}
.p_list .cart_count .minus,
.p_list .cart_count .plus {
    width: 40px;
    height: 42px;
    font-size: 16px;
    padding: 0;
    margin: 0;
    border: none;
    background: var(--c-gray-bg);
    color: var(--c-text);
    cursor: pointer;
    border-radius: 8px 0 0 8px;
    font-family: var(--f-base);
}
.p_list .cart_count .plus {
    border-radius: 0 8px 8px 0;
}
.p_list .cart_count .number {
    width: 54px;
    height: 42px;
    border: none;
    background: #fff;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    padding: 0;
    margin: 0;
    font-family: var(--f-en);
}


@media screen and (max-width: 860px) {
.p_list .cart_count .minus,
.p_list .cart_count .plus {
    width: 36px;
    height: 38px;
}
.p_list .cart_count .number {
    width: 46px;
    height: 38px;
    font-size: 14px;
}
}

/* =====================================================================
   step6：表組み調整（リンナイ型）
   ・機能的な罫線：ヘッダー行の下線＋行区切りの細線＋合計欄の区切り線
   ・ステップバー（カート → 購入手続き → ご注文確認 → 完了）
   ===================================================================== */
:root {
    --c-line: #E3E7EA;
    --c-line-dark: #C9CFD4;
}

#order_form_wrap.--wide {
    max-width: var(--w-order);
}

/* --- ステップバー --- */
.order_steps {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 720px;
    margin: 0 auto 52px;
}
.os_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 86px;
}
.os_dot {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #D6DCE1;
    color: #fff;
    font-size: 13px;
    line-height: 26px;
    text-align: center;
    font-weight: 700;
}
.os_item.is-done .os_dot,
.os_item.is-current .os_dot {
    background: var(--c-main);
}
.os_label {
    font-size: 12px;
    color: var(--c-sub);
    letter-spacing: 0.04em;
    white-space: nowrap;
}
.os_item.is-current .os_label {
    color: var(--c-text);
    font-weight: 700;
}
.os_line {
    flex: 1;
    height: 1px;
    background: var(--c-line-dark);
    margin: 0 6px 22px;
    min-width: 30px;
}
.os_line.is-done {
    background: var(--c-main);
}

/* --- 表のヘッダー行 --- */
.p_head {
    display: grid;
    grid-template-columns: 104px 1fr 150px 170px;
    gap: 28px;
    padding: 0 0 12px;
    border-bottom: 1px solid var(--c-line-dark);
    font-size: 12px;
    font-weight: 600;
    color: var(--c-sub);
    letter-spacing: 0.05em;
}
.p_head.--cart {
    grid-template-columns: 104px 1fr 150px 150px 130px;
}
.ph_item { grid-column: 1 / 3; }
.ph_price { text-align: right; }
.ph_qty { text-align: center; }
.ph_total { text-align: right; }

/* --- 行区切りの細線 --- */
.p_row {
    border-bottom: 1px solid var(--c-line);
    padding: 24px 0;
}
.p_row.--cart {
    grid-template-columns: 104px 1fr 150px 150px 130px;
}
.p_total {
    text-align: right;
    white-space: nowrap;
    font-size: 16px;
    font-weight: 700;
}
.p_total small {
    font-size: 12px;
    font-weight: 400;
    color: var(--c-sub);
}
.p_qty_center {
    text-align: center;
}
.p_qty_center .cart_remove_btn {
    margin-top: 8px;
}

/* --- 合計まとめ（右寄せ・罫線区切り） --- */
.cart_summary {
    background: none;
    border-radius: 0;
    padding: 6px 0 0;
    max-width: 400px;
    margin: 10px 0 36px auto;
}
.cs_line {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 12px 0;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.03em;
}
.cs_line .v {
    font-size: 15px;
    font-weight: 700;
}
.cs_line .v small {
    display: block;
    text-align: right;
    font-size: 12px;
    font-weight: 400;
    color: var(--c-sub);
}
.cs_grand {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-top: 1px solid var(--c-line-dark);
    margin-top: 6px;
    padding: 18px 0 4px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.03em;
}
.cs_grand .v {
    font-size: 27px;
    letter-spacing: 0.02em;
}
.cs_note {
    text-align: right;
}

/* --- ボタン行（戻る＝枠線／進む＝塗り） --- */
.cart_actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 8px 0 48px;
}
.cart_actions a.cart_in {
    flex: 1;
    max-width: 460px;
    margin: 0;
    padding: 16px;
    font-size: 15px;
}
a.cart_in.--outline {
    background: #fff;
    color: var(--c-text);
    border: 1px solid var(--c-line-dark);
    font-weight: 600;
}
a.cart_in.--outline:hover {
    opacity: 1;
    background: var(--c-gray-bg);
}
.cart_actions a.cart_in.--order {
    background: var(--c-pink);
}

/* --- セクション見出しに下線（フォームの区切り） --- */
h2.content_h2.--cartinfo {
    border-bottom: 1px solid var(--c-line-dark);
    padding-bottom: 12px;
}

@media screen and (max-width: 860px) {
.order_steps {
    margin-bottom: 32px;
}
.os_item {
    min-width: 62px;
}
.os_dot {
    width: 22px;
    height: 22px;
    font-size: 11px;
    line-height: 22px;
}
.os_label {
    font-size: 10px;
}
.os_line {
    min-width: 12px;
    margin-bottom: 18px;
}
.p_head {
    display: none;
}
.p_row {
    padding: 16px 0;
}
.p_row.--cart {
    grid-template-columns: 72px 1fr;
}
.p_total {
    grid-column: 2;
    text-align: left;
    font-size: 14px;
    margin-top: 2px;
}
.p_qty_center {
    grid-column: 1 / 3;
    text-align: right;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 14px;
}
.p_qty_center .cart_remove_btn {
    margin-top: 0;
}
.cart_summary {
    max-width: none;
    margin: 8px 0 24px;
    padding: 0;
}
.cs_grand .v {
    font-size: 22px;
}
.cart_actions {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 36px;
}
.cart_actions a.cart_in {
    max-width: none;
}
}


/* =====================================================================
   step7：上品さと読みやすさの両立チューニング
   ・日本語の字間を絞り、補助グレーを読める濃さに
   ・12px未満の情報テキストを撲滅（英字の装飾は除く）
   ===================================================================== */
input::placeholder,
textarea::placeholder {
    color: var(--c-faint);
}

/* =====================================================================
   step8：マイページ・チャットサポート・お問い合わせ
   ===================================================================== */

/* --- マイページ --- */
.mp_hello {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 6px;
}
.mp_hello_sub {
    display: block;
    font-size: 13px;
    font-weight: 400;
    color: var(--c-sub);
    margin-top: 4px;
}
.mp_menu {
    display: flex;
    gap: 14px;
    margin: 22px 0 8px;
    flex-wrap: wrap;
}
a.mp_menu_btn {
    display: inline-block;
    padding: 13px 26px;
    background: var(--c-main);
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
}
a.mp_menu_btn.--sub {
    background: #fff;
    color: var(--c-text);
    border: 1px solid var(--c-line-dark);
}
a.mp_menu_btn:hover { opacity: .85; }

.o_head {
    display: grid;
    grid-template-columns: 96px 200px 1fr 110px 110px 60px;
    gap: 16px;
    padding: 0 0 12px;
    border-bottom: 1px solid var(--c-line-dark);
    font-size: 12px;
    font-weight: 600;
    color: var(--c-sub);
    letter-spacing: 0.05em;
}
.o_row {
    display: grid;
    grid-template-columns: 96px 200px 1fr 110px 110px 60px;
    gap: 16px;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid var(--c-line);
    font-size: 13px;
}
.o_no { font-family: var(--f-en); letter-spacing: 0.02em; }
.o_items { line-height: 1.6; }
.o_items small { display: block; color: var(--c-sub); font-size: 12px; }
.o_total { font-weight: 700; font-size: 14px; }
.t_r { text-align: right; }
.t_c { text-align: center; }
.o_badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    background: var(--c-gray-bg);
    color: var(--c-text);
    white-space: nowrap;
}
.o_badge.--done { background: #E7F1E9; color: #2F7D46; }
.o_badge.--cancel { background: #F4E7E7; color: #A45050; }
.o_link a { font-size: 13px; color: var(--c-main); font-weight: 600; }
.mp_pager { display: flex; justify-content: center; gap: 32px; margin: 28px 0 8px; }
.mp_pager a { color: var(--c-main); font-size: 13px; font-weight: 600; }

/* --- 注文詳細 --- */
.ov_head { margin-bottom: 30px; }
.ov_no { font-size: 22px; font-weight: 700; font-family: var(--f-en); letter-spacing: 0.03em; margin-bottom: 6px; }
.ov_meta { font-size: 14px; }
.ov_ship { font-size: 13px; color: var(--c-sub); margin-top: 6px; }
.ov_ship a { color: var(--c-main); }
.ov_actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 8px 0 12px; }
a.ov_btn {
    display: inline-block;
    padding: 12px 22px;
    border: 1px solid var(--c-line-dark);
    background: #fff;
    color: var(--c-text);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}
a.ov_btn:hover { background: var(--c-gray-bg); }
a.ov_btn.--chat { border-color: var(--c-main); color: var(--c-main); }
a.ov_btn.--cancel { border-color: #D9AFAF; color: #A45050; }
p.ov_note { font-size: 13px; color: var(--c-sub); margin: 4px 0 24px; line-height: 1.9; }
p.ov_note a { color: var(--c-main); }
p.rc_lead { font-size: 14px; margin-bottom: 26px; line-height: 2; }

@media screen and (max-width: 860px) {
.mp_menu { gap: 8px; }
a.mp_menu_btn { flex: 1; text-align: center; padding: 12px 8px; font-size: 13px; }
.o_head { display: none; }
.o_row {
    grid-template-columns: 1fr auto;
    gap: 4px 12px;
    padding: 14px 0;
}
.o_date { font-size: 12px; color: var(--c-sub); }
.o_no { grid-column: 1; font-size: 13px; }
.o_items { grid-column: 1 / 3; font-size: 12px; }
.o_items small { display: inline; margin-left: 8px; }
.o_total { grid-column: 1; text-align: left; }
.o_status { grid-row: 1; grid-column: 2; }
.o_link { grid-row: 4; grid-column: 2; text-align: right; }
.ov_actions a.ov_btn { flex: 1 1 46%; text-align: center; padding: 12px 8px; }
}

/* =====================================================================
   step9：サポートチャット（右下ウィジェット型・相談ナビ参考）
   ===================================================================== */
#sc_launcher {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 9000;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--c-main);
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 14px 24px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.05em;
    font-family: var(--f-base);
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(30, 60, 90, .25);
    transition: transform .15s ease;
}
#sc_launcher:hover { transform: translateY(-2px); }
#sc_launcher.hide { display: none; }
#sc_launcher .sc_ic { font-size: 16px; }

#sc_panel {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 9001;
    width: 390px;
    max-width: calc(100vw - 24px);
    max-height: min(640px, calc(100vh - 44px));
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(20, 40, 60, .28);
    display: none;
    flex-direction: column;
    overflow: hidden;
}
#sc_panel.open { display: flex; }

.sc_head {
    background: var(--c-main);
    color: #fff;
    padding: 16px 18px 14px;
}
.sc_head_t {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.06em;
}
#sc_close {
    border: none;
    background: none;
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    padding: 0 2px;
}
.sc_head_d {
    font-size: 11.5px;
    margin-top: 5px;
    opacity: .92;
    line-height: 1.6;
}
.sc_body {
    flex: 1;
    overflow-y: auto;
    padding: 18px 16px 8px;
    min-height: 240px;
}
.sc_bot {
    font-size: 13.5px;
    line-height: 1.9;
    color: var(--c-text);
    margin-bottom: 14px;
}
.sc_bot.sc_typing i {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #B9C3CB;
    margin: 0 2px;
    animation: scblink 1s infinite;
}
.sc_bot.sc_typing i:nth-child(2) { animation-delay: .2s; }
.sc_bot.sc_typing i:nth-child(3) { animation-delay: .4s; }
@keyframes scblink { 0%,100% { opacity: .25; } 50% { opacity: 1; } }
.sc_user {
    text-align: right;
    margin: 2px 0 14px;
}
.sc_user span {
    display: inline-block;
    background: #EAF1F5;
    color: var(--c-text);
    border-radius: 12px;
    padding: 8px 14px;
    font-size: 12.5px;
    line-height: 1.7;
    max-width: 90%;
    text-align: left;
}
.sc_choices {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 2px 0 16px;
}
button.sc_chip {
    width: 100%;
    text-align: left;
    background: #fff;
    border: 1px solid var(--c-main);
    color: var(--c-main);
    border-radius: 10px;
    padding: 11px 14px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    cursor: pointer;
    font-family: var(--f-base);
    letter-spacing: 0.02em;
    transition: background .12s ease, color .12s ease;
}
button.sc_chip:hover { background: var(--c-main); color: #fff; }
button.sc_chip.--danger { border-color: #C97C7C; color: #A45050; }
button.sc_chip.--danger:hover { background: #C97C7C; color: #fff; }
.sc_note {
    background: var(--c-panel);
    color: var(--c-sub);
    font-size: 10.5px;
    line-height: 1.7;
    padding: 10px 16px;
}
.sc_input {
    display: flex;
    gap: 8px;
    padding: 12px 14px 14px;
    border-top: 1px solid var(--c-line);
}
.sc_input input {
    flex: 1;
    border: 1px solid var(--c-main);
    border-radius: 10px;
    padding: 11px 14px;
    font-size: 13px;
    font-family: var(--f-base);
}
.sc_input input::placeholder { color: var(--c-faint); }
#sc_send {
    width: 46px;
    border: none;
    background: var(--c-main);
    color: #fff;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
}
#sc_send:hover { opacity: .85; }

@media screen and (max-width: 860px) {
#sc_launcher { right: 14px; bottom: 14px; padding: 12px 18px; font-size: 13px; }
#sc_panel {
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    max-width: none;
    max-height: 88vh;
    border-radius: 16px 16px 0 0;
}
}

/* =====================================================================
   step10：お問い合わせ履歴・スレッド（店舗側）
   ===================================================================== */
a.iq_row {
    display: grid;
    grid-template-columns: 92px 1fr auto;
    gap: 20px;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid var(--c-line);
    text-decoration: none;
    color: inherit;
}
a.iq_row:hover .iq_cat { color: var(--c-main); }
.iq_date { font-size: 13px; color: var(--c-sub); font-family: var(--f-en); }
.iq_cat { display: block; font-size: 14px; font-weight: 700; margin-bottom: 3px; }
.iq_cat small { font-weight: 400; color: var(--c-sub); font-size: 12px; font-family: var(--f-en); }
.iq_excerpt { display: block; font-size: 13px; color: var(--c-sub); }
.iq_head { display: flex; align-items: center; gap: 14px; margin-bottom: 6px; }
.iq_cat_big { font-size: 20px; font-weight: 700; letter-spacing: 0.04em; }
.iq_meta { font-size: 13px; color: var(--c-sub); margin-bottom: 28px; }
.iq_thread { display: flex; flex-direction: column; gap: 16px; margin-bottom: 36px; }
.iq_msg { max-width: 86%; }
.iq_msg.--me { align-self: flex-end; }
.iq_msg.--support { align-self: flex-start; }
.iq_msg_meta { display: block; font-size: 11.5px; color: var(--c-sub); margin-bottom: 5px; }
.iq_msg.--me .iq_msg_meta { text-align: right; }
.iq_msg_body {
    border-radius: 14px;
    padding: 13px 17px;
    font-size: 14px;
    line-height: 1.9;
}
.iq_msg.--me .iq_msg_body { background: #EAF1F5; border-top-right-radius: 4px; }
.iq_msg.--support .iq_msg_body { background: var(--c-panel); border-top-left-radius: 4px; }
.iq_reply { margin-bottom: 24px; }
.iq_reply .f_label { margin-bottom: 8px; }

@media screen and (max-width: 860px) {
a.iq_row { grid-template-columns: 1fr auto; gap: 4px 12px; padding: 14px 0; }
.iq_date { grid-column: 1 / 3; font-size: 12px; }
.iq_msg { max-width: 92%; }
.iq_cat_big { font-size: 16px; }
}
