@charset "UTF-8";
/*---------------------------------------------------------
// 公開側の直し（2026-11。OmniShop#39）
// 新しい見た目（modern.css）とは別に、いつも読み込む。modern.css を空にして元の見た目に戻しても、ここは残る。
// 中身: 新しく足した機能（一覧の「カートに入れる」・表示件数・税込の表示・ご利用方法の開け閉め・特商法の表など）の
//       見た目と、元の CSS の幅・高さの決め打ちで崩れていたところ（スマホの登録情報・注文履歴・ログイン欄など）。
// 色は modern.css の :root の値を使い、ないとき（元の見た目）は var() の 2 つ目の値になる。
// ここに :root を書かない（modern.css の値を上書きしてしまう）。
//---------------------------------------------------------*/
/* 押せないボタン（規約にチェックするまでの「規約に同意してメンバー登録をおこなう」など）は灰色にする */
body input[type=submit]:disabled, body input[type=button]:disabled, body button:disabled {
    background: #e4e7ec !important; background-image: none !important; border-color: #e4e7ec !important; color: #98a2b3 !important;
    cursor: not-allowed !important; filter: none !important; box-shadow: none !important; }
body input[type=checkbox]:disabled + label { color: var(--muted, #666) !important; }

/* 商品一覧の「カートに入れる」 */
#main form.listCart { margin: 6px 0 0; text-align: right; }
#main form.listCart input[type=submit] { color: var(--accent-ink, #fff) !important; padding: 5px 14px !important; font-size: 12px !important; white-space: nowrap; }
@media screen and (max-width: 480px) {
#main form.listCart input[type=submit] { padding: 4px 8px !important; font-size: 11px !important; white-space: normal; line-height: 1.3 !important; }
}
#main form.listCart p.listCartMessage { margin: 4px 0 0; color: var(--danger, #c00) !important; font-size: 11px !important; font-weight: 700; line-height: 1.4 !important; text-align: right; }

/* 商品一覧の件数・並べ替えの行（1 ページの件数を選ぶ欄を足した） */
#main .pageInfo { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; height: auto !important; }   /* 元の CSS の高さ 20px を外す（件数の欄が次の行に回ってもページ送りに重ならない） */
#main .pageInfo > div { position: static !important; float: none !important; width: auto !important; margin: 0 !important; }
#main .pageInfo .pageInfoLink { flex: 1 1 auto; }
#main .perPage form { margin: 0; display: flex; align-items: center; gap: 6px; }
#main .perPage label { color: var(--muted, #666) !important; font-size: 12px !important; }
#main .perPage select { font-size: 12px; padding: 3px 6px; }
#contentHeader div.cartSummary span.cartSummaryText a { color: var(--muted, #666) !important; text-decoration: none; }
#contentHeader div.cartSummary span.cartSummaryText a:hover { color: var(--link, #00c) !important; text-decoration: underline; }

/* 売り切れの商品の価格は灰色（「売り切れ」の札はそのまま） */
#main .price:has(.info.soldOut) *:not(.info) { color: var(--soldout, #999) !important; }
#item #main table.priceAndStock:has(.soldOut) td, #item #main table.priceAndStock:has(.soldOut) td.price { color: var(--soldout, #999) !important; }

/* 商品一覧の見出しの行（「商品」「税込価格」）は出さない。税込・税抜は価格の横に出す */
#items #main table.itemList tr:has(> th), #ranking #main table.itemList tr:has(> th) { display: none; }   /* 商品一覧とランキングだけ（カート・購入手続きの表も itemList なので、そちらの見出しは残す） */
#main .price .taxNote { font-size: 11px !important; font-weight: 400; color: var(--muted, #666) !important; margin-left: 2px; white-space: nowrap; }
#main .input300 { height: auto !important; }    /* 元の CSS の高さ 16px（文字が欄に収まらない）を外す */
/* 「送信」「戻る」: 元の CSS は絶対位置で横に並べていた（ボタンが大きくなると重なる）。普通に横に並べる */
#main .submit { height: auto !important; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
#main .submit .ok, #main .submit .back { position: static !important; width: auto !important; margin: 0 !important; }
#main .submit .back { order: -1; }   /* 元と同じく「戻る」を左に */

/* ご利用方法・よくある質問: 大項目ごとの開け閉め（<details>）と「TOP へ」 */
#guide #main details.tipsSection, #faq #main details.tipsSection { margin: 12px 0; border: 1px solid var(--line, #ddd); border-radius: 12px; background: #fff; }
#guide #main details.tipsSection > summary, #faq #main details.tipsSection > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; cursor: pointer; list-style: none; }
#guide #main details.tipsSection > summary::-webkit-details-marker, #faq #main details.tipsSection > summary::-webkit-details-marker { display: none; }
#guide #main details.tipsSection > summary h3, #faq #main details.tipsSection > summary h3 { margin: 0; padding-left: 12px; border-left: 4px solid var(--accent, #006); font-size: 17px !important; font-weight: 700; color: var(--ink, #333) !important; line-height: 1.4 !important; }
#guide #main details.tipsSection > summary::after, #faq #main details.tipsSection > summary::after { content: "＋"; flex: 0 0 auto; color: var(--accent, #006); font-weight: 700; font-size: 16px; }
#guide #main details.tipsSection[open] > summary::after, #faq #main details.tipsSection[open] > summary::after { content: "－"; }
#guide #main details.tipsSection > summary:hover, #faq #main details.tipsSection > summary:hover { background: #fafbfd; border-radius: 12px; }
#guide #main details.tipsSection > ul.answer, #faq #main details.tipsSection > ul.answer { margin: 0; padding: 0 22px 4px; border-top: 1px solid var(--line, #ddd); }
#guide #main details.tipsSection p.toTop, #faq #main details.tipsSection p.toTop { margin: 0; padding: 4px 22px 14px; text-align: right; }
#guide #main details.tipsSection p.toTop a, #faq #main details.tipsSection p.toTop a { font-size: 12px !important; }

/* 個人情報保護方針の本文を、サービス利用規約の本文（12px・行の高さ 15px）にそろえる */
#privacypolicy #main dl.lv1, #privacypolicy #main dl.lv1 * { font-size: 12px !important; line-height: 15px !important; }

/* 特定商取引法に基づく表記: お支払い方法・お支払い期限・キャンセル期限の表 */
#law #main .payTableWrap { overflow-x: auto; margin: 6px 0 4px; }
#law #main table.payTable { border-collapse: collapse; width: 100%; min-width: 480px; }
#law #main table.payTable th, #law #main table.payTable td { padding: 7px 10px; border-bottom: 1px solid var(--line, #ddd); text-align: left; font-size: 13px !important; line-height: 1.5 !important; }
#law #main table.payTable th { background: #f7f8fb; color: var(--muted, #666); font-size: 12px !important; font-weight: 700; white-space: nowrap; }
#law #main table.payTable .no { width: 2.5em; text-align: right; color: var(--muted, #666); }
/* 表に縦横の罫線を引き、余白を広げる */
#law #main table.payTable { border: 1px solid #d6dae3; }
#law #main table.payTable th, #law #main table.payTable td { border: 1px solid #d6dae3 !important; padding: 10px 14px !important; }
/* 表は色を使わない（地の色・灰色の文字をやめる）。余白は控えめに */
#law #main table.payTable th { background: transparent !important; color: var(--ink, #333) !important; }
#law #main table.payTable .no { color: var(--ink, #333) !important; }
#law #main table.payTable th, #law #main table.payTable td { padding: 5px 10px !important; }
#law #main table.payTable th { background: #f7f7f7 !important; }   /* 見出しの行は無彩色の薄い灰色（前の青みの地 #f7f8fb と同じ明るさ） */
#law #main table.payTable, #law #main table.payTable th, #law #main table.payTable td { border-color: #d9d9d9 !important; }   /* 罫線も無彩色に */
#law #main table.payTable td.no { background: #f7f7f7 !important; }   /* 番号の列も見出しと同じ灰色の地 */

/* 特定商取引法に基づく表記: 行間を広げ、項目の間を空ける（表はそのまま） */
#law #main dl.lv1 dt { margin-top: 22px !important; margin-bottom: 6px !important; padding-bottom: 3px; line-height: 1.5 !important; }
#law #main dl.lv1 dd, #law #main dl.lv1 dd > p, #law #main dl.lv1 dd li { line-height: 1.8 !important; }
#law #main dl.lv1 dd > p { margin: 4px 0 0; }

/* ご利用方法・よくある質問: 目次から移った項目を光らせて、ゆっくり消す（js/tips.js が付ける） */
@keyframes tipsFlash { 0%, 25% { background-color: #ffe58a; } 100% { background-color: transparent; } }
#guide #main .tips li.tipsFlash, #faq #main .tips li.tipsFlash { animation: tipsFlash 2.4s ease-out; border-radius: 8px; }
@media (prefers-reduced-motion: reduce) { #guide #main .tips li.tipsFlash, #faq #main .tips li.tipsFlash { animation-duration: .01s; } }
#guide #main .tips li[id], #faq #main .tips li[id] { scroll-margin-top: 96px; }   /* 目次から移ったとき、項目を画面の上端から少し下に置く */
/*=========================================================
// マイページのメニュー（注文履歴・登録情報の変更など）: 右に 200px（スマホは 80px）の余白を取った細い枠だったので、幅いっぱいのボタンにする（2026-11-23。OmniShop#39）
//=========================================================*/
#mypage #main .jumpPage { margin: 6px 0 !important; padding: 0 !important; border: 0 !important; max-width: 560px; }
#mypage #main .jumpPage a { display: block; position: relative; padding: 11px 36px 11px 16px; border: 1px solid var(--line, #dde1e6); border-radius: 10px; background: #fff; color: var(--ink, #1d2433) !important; font-weight: 600; text-decoration: none; }
#mypage #main .jumpPage a::after { content: "›"; position: absolute; right: 14px; top: 50%; transform: translateY(-52%); font-size: 20px; color: var(--accent, #006); }
#mypage #main .jumpPage a:hover { border-color: var(--accent, #006); background: var(--accent-weak, #eef0fb); }

/*=========================================================
// 会員の登録情報の入力欄（マイページのメンバー登録情報・本登録・購入手続きのお届け先）: 古い CSS の px 決め打ち
// （名前 98px・電話 60px・郵便番号 40px など）で狭かったので、文字数に合う幅にする（2026-11-23。OmniShop#39）
//=========================================================*/
#main .memberData .profile input[type=text] { box-sizing: border-box; }
#main .memberData .profile .name input[type=text] { width: 9em; margin-right: 8px; }
#main .memberData .profile .tel input[type=text] { width: 5em; }
#main .memberData .profile .zip input[name=zip1] { width: 5em; }   /* 電話番号の欄（5em）とそろえる */
#main .memberData .profile .zip input[name=zip2] { width: 5em; }
#main .memberData .profile .phone input[type=text] { width: 12em; }
#main .memberData .profile .address input[type=text], #main .memberData .profile .overseas input[type=text] { width: 100%; max-width: 28em; }
#main .memberData .email input[type=text] { width: 100%; max-width: 24em; }
#main .memberData .profile .birthday #birthdayY { width: 5.5em; }
#main .memberData .profile .birthday #birthdayM, #main .memberData .profile .birthday #birthdayD { width: 4em; }
@media screen and (max-width: 480px) {
/* スマホは見出しを入力欄の上に置く縦並びにする（見出しを左に置く表では、入力欄の列が狭くなりすぎた。2026-11-23） */
#main .memberData table.profile, #main .memberData table.profile > tbody, #main .memberData table.profile > thead, #main .memberData table.profile tr { display: block; width: 100%; margin: 0 !important; padding: 0; border: 0; box-sizing: border-box; }
#main .memberData table.profile { border: 0 !important; border-spacing: 0 !important; }
#main .memberData table.profile tr { padding: 6px 0; border: 0 !important; }   /* 横線は引かず、間隔で区切る */
#main .memberData table.profile tr:has(> th) { display: none; }   /* 「項目」「登録内容」の見出しの行は、縦並びでは要らない */
#main .memberData table.profile td, #main .memberData table.profile th { border: 0 !important; box-shadow: none !important; }
#main .memberData table.profile td.L span, #main .memberData table.profile td.L em { margin-left: 4px; }
#main .memberData table.profile td { display: block; width: auto; padding: 0 !important; border: 0; background: transparent !important; text-align: left; }
#main .memberData table.profile td.L { margin-bottom: 4px; font-size: 12px; font-weight: 700; color: var(--muted, #667085); }
#main .memberData table.profile td.L br { display: none; }   /* 「電話番号」「必須」などを 1 行に */
#main .memberData .profile td.C br { display: none; }        /* スマホ用の form が姓／名・電話・年月日の間に入れる改行も、今の幅なら要らない */
#main .memberData .profile td.name input[type=text] { width: calc(50% - 2.2em); margin: 0 6px 0 4px; }
#main .memberData .profile td.name input[name=kana1], #main .memberData .profile td.name input[name=kana2] { width: calc(50% - 3em); }
#main .memberData .profile td.tel { white-space: nowrap; }
#main .memberData .profile .tel input[type=text], #main .memberData .profile .zip input[type=text] { width: 6em; }   /* 郵便番号は電話番号とそろえる */
#main .memberData .profile .birthday select { margin: 0 2px 0 0; }
#main .memberData .profile .birthday #birthdayY { width: 6.5em; }
#main .memberData .profile .birthday #birthdayM, #main .memberData .profile .birthday #birthdayD { width: 4.6em; }
}
/* ログイン・本登録・パスワード・メールアドレスの変更などの欄（strw16〜32 の px 決め打ち）も、スマホの幅をはみ出さないように */
#main input.strw16, #main input.strw18, #main input.strw20 { width: 100%; max-width: 16em; box-sizing: border-box; }
#main input.strw32 { width: 100%; max-width: 26em; box-sizing: border-box; }

/*=========================================================
// 注文履歴・購入手続きの完了（orderList）のスマホ表示: 表の幅が 360px（中の商品の表は 270px）の決め打ちで、
// 画面に入り切らなかった。見出しを上に置く縦並びにし、中の商品の表は幅いっぱいにする（2026-11-23。OmniShop#39）
//=========================================================*/
@media screen and (max-width: 480px) {
#main .orderList table.orderData { display: block; width: 100% !important; box-sizing: border-box; }
#main .orderList table.orderData > tbody, #main .orderList table.orderData > tbody > tr { display: block; width: 100%; }
#main .orderList table.orderData > tbody > tr { padding: 6px 10px; border-bottom: 1px solid var(--line, #ddd); box-sizing: border-box; }
#main .orderList table.orderData > tbody > tr > th, #main .orderList table.orderData > tbody > tr > td { display: block; width: auto !important; padding: 0 !important; white-space: normal; text-align: left; }
#main .orderList table.orderData > tbody > tr > th { margin-bottom: 2px; font-size: 11px !important; color: var(--muted, #667085); }
#main .orderList table.orderData table.orderItem { width: 100% !important; table-layout: auto; }
#main .orderList table.orderData table.orderItem td { padding: 3px 2px !important; word-break: break-word; }
#main .orderList table.orderData table.orderItem img { max-width: 48px; height: auto; }
#main .orderList table.orderData tr.orderID th, #main .orderList table.orderData tr.orderID td, #main .orderList table.orderData tr.orderID div { background: transparent !important; }   /* 縦並びでは「ご注文番号」と番号にそれぞれ地の色が付いて見えたので外す */
}

/* 登録情報の［登録内容を更新］［確認］などのボタン: 左に 120〜200px の決め打ちの余白で置いていたので、中央にそろえる（2026-11-23。OmniShop#39） */
#main .memberData .submit { height: auto !important; text-align: center; justify-content: center; flex-wrap: wrap; padding: 16px 0 8px; }
#main .memberData .submit input, #main .memberData .submit input.submitEdit, #main .memberData .submit input.submitCheck { margin: 4px 6px !important; width: auto; min-width: 140px; }

/* 工画堂のロゴ（黄色）の高さを、隣の「商品の交換・返品について」にそろえる（2026-11-23。OmniShop#39） */
#contentHeader div.topBanner, #catchCopy div.topBanner { display: flex; align-items: stretch; gap: 4px; }
#contentHeader div.topBanner a.bannerLaw, #catchCopy div.topBanner a.bannerLaw { margin: 0 !important; float: none !important; }
#contentHeader div.topBanner img.corporation { display: block; height: 33px; width: auto; margin: 0 !important; }   /* PC の「交換」は 33px */
#catchCopy div.topBanner img.corporation { display: block; height: 36px; width: auto; margin: 0 !important; }   /* スマホの「交換」は 36px（2 行） */
#contentHeader div.topBanner > a:last-child, #catchCopy div.topBanner > a:last-child { display: flex; }

/* ログインの Eメールアドレス・パスワードの欄: strw20 の 16 文字分では狭かったので、枠の幅いっぱい（PC は最大 28 文字分）にする（2026-11-23。OmniShop#39） */
#login #main .account { max-width: 30em; }
#login #main .account input[type=text], #login #main .account input[type=password], #login #main .account #email, #login #main .account #pword { width: 100% !important; max-width: none; height: auto !important; box-sizing: border-box; padding: 9px 12px; font-size: 15px; }   /* 古い CSS の #email・#pword の 320×20px を上書き */
@media screen and (max-width: 480px) {
#login #main .account { margin-left: 0 !important; margin-right: 0 !important; padding: 12px !important; }
}

/* 見出しに添えた説明（ポイント交換商品の「こちらの商品はポイントとの交換専用です」など）: 見出しと同じ大きさで並び、見出しの一部に見えたので、小さく灰色にする（2026-11-23。OmniShop#39） */
#main div.title h3 span.normal { margin-left: 12px !important; font-size: 13px !important; font-weight: 400 !important; color: var(--muted, #666) !important; }
@media screen and (max-width: 480px) {
#main div.title h3 span.normal { display: block; margin: 4px 0 0 !important; }
}

/* ダウンロード商品購入履歴（2026-11-23。OmniShop#39） */
#main table.dlHistory td.R { background: transparent !important; color: var(--ink, #333) !important; }   /* PC: 登録情報の表の灰色の地を外す */
#main table.dlHistory td.dlFileCell .dlSerial { display: block; margin-top: 2px; color: var(--muted, #666); font-size: 12px; }
@media screen and (max-width: 480px) {
/* スマホ: 商品名の下に「ダウンロードファイル」を押すボタンとして置き、商品名のリンクと区別する */
#main table.dlHistory td.dlItem { font-weight: 700; margin-bottom: 6px; }
#main table.dlHistory a.dlFile { display: inline-block; padding: 6px 14px; border: 1px solid var(--accent, #006); border-radius: 999px; background: var(--accent, #006); color: var(--accent-ink, #fff) !important; font-size: 13px; font-weight: 700; text-decoration: none; }
#main table.dlHistory a.dlFile::before { content: "↓ "; }
}
/* マイページの「ポイントで交換できる商品を探す」: マイページの中の画面へ移るほかのボタンと区別し、商品の一覧へ移るリンクとして見せる（2026-11-23） */
#mypage #main .jumpShop { margin: 6px 0 10px; }
#mypage #main .jumpShop a { display: inline-block; padding: 8px 18px; border-radius: 999px; background: var(--accent, #006); color: var(--accent-ink, #fff) !important; font-weight: 700; text-decoration: none; }
#mypage #main .jumpShop a::after { content: " →"; }
#mypage #main .jumpShop a:hover { opacity: .9; }
