@charset "utf-8";
/* ===================================================================
CSS information
file name  :mypage.css
style info :マイページ
=================================================================== */
/* ===================================================================
2系からの移植元 (2026-07-15)
  C:/src/shopOzaki/html/css/mypage.css (2,103行) をそのまま移植。
  2系は data/Smarty/templates/mypage_frame.tpl L62 で
  `{$smarty.const.ROOT_URLPATH}css/mypage.css` として読み込んでいる。

2系からの変更点は「1行のみ」:
  - .mypage_arrowRtxt の background url() を 4系の配置に合わせて書き換え
    2系: ../user_data/packages/sphone/img/common/ico_arrowR.png
    4系: ../img/common/ico_arrowR.png
    (画像実体は html/template/default/assets/img/common/ico_arrowR.png に移植済み)

★ 上記以外の url() 7件は「2系でも実体が存在しない死んだ参照」のため、
   2系のまま手を加えていない (全踏襲)。実在確認済み (2026-07-15):
  - ../img/mypage/icon_{history,teiki,credit,customer,pass,mail}.png (6件)
      → 2系に html/img/ ディレクトリ自体が存在しない (0ファイル)。
        参照元の .mypage_menu_list も 2系 tpl で使用 0 件 (別デザインの残骸)
  - /shop/html/user_data/packages/img/mypage/newicon_mypage{,_sp}.png (2URL)
      → 2系 shopOzaki/cartDev のどこにもファイルが存在しない。
        参照元の .customer_menu .icon_new も 2系 mypage/index.tpl L356-359 で
        「削除(2026/6/16)」としてコメントアウト済み
   いずれも2系でも表示されない = 移植しても2系と同じ見た目になる。

★ リセットの土台について:
   2系は mypage_frame.tpl L60 で import.css → sphone/css/reset.css を読み込んでおり、
   本ファイルは reset.css の `ul,ol{list-style:none}` 等に依存している (自前では消していない)。
   4系は import.css を全面移植すると全ページに影響するため、依存箇所のみを
   .mypage_main 配下にスコープした mypage_base.css を別途用意して補っている。
=================================================================== */
/* -----------------------------------------------
MYページ汎用
----------------------------------------------- */
a:visited,
a:link {
	color: #000;
	text-decoration: none;
}

/* メニュー重なり防止 */
.spModal {
	z-index:1001;
}

/* width30% */
.w30per {
	width: 30% !important;
}
/* width40% */
.w40per {
	width: 40% !important;
}
/* width60% */
.w60per {
	width: 60% !important;
}
/* width70% */
.w70per {
	width: 70% !important;
}
/* width80% */
.w80per {
	width: 80% !important;
}
/* width100% */
.w100per {
	width: 100% !important;
}

/* font-size14px */
.fn14 {
	font-size: 14px !important;
}
/* font-size13px */
.fn13 {
	font-size: 13px !important;
}

/* text-align:left */
.alignL {
	text-align:left !important;
}
/* text-align:center */
.alignC {
	text-align:center !important;
}
/* text-align:right */
.alignR {
	text-align:right !important;
}

/* メインコンテンツ */
.mypage_contents {
	width: 100%;
	line-height: 1.5;
	margin-top: 50px;
}
.mypage_contents .login_content,
.mypage_contents .home_content {
	margin: 0 auto;
	text-align: center;
}
/* @media screen and (min-width: 750px) {
	.mypage_contents .login_content {
		max-width: 600px;
	}
	.mypage_contents .home_content {
		max-width: 850px;
	}
} */

.mypage_arrowRtxt {
	display: inline;
	clear: both;
	margin: 5px auto;
	padding-right: 15px;
	font-size: 14px;
	font-weight: bold;
	background: url(../img/common/ico_arrowR.png) right center no-repeat;
}

.mypage_customer_area {
	text-align: center;
	margin-bottom: 40px;
	margin-top: -30px;
	font-weight: bold;
}

.menu_title {
	font-size: 18px;
	margin-bottom: 10px;
	font-weight: bold;
	text-align: left;
	padding-left: 4vw;
}
.shopping_menu {
	margin-bottom: 50px;
	width: 90%;
	margin-left: auto;
	margin-right: auto;
}
.shopping_menu ul {
	display: block;
	border-top: 2px solid #c8c8c8;
}
.shopping_menu a {
	border: none;
	padding: 15px 10px 15px 20px;
	width: 100%;
	box-sizing: border-box;
	display: flex;
	font-size: 17px;
	text-decoration: none;
	color: #000;
	position: relative;
	border-bottom: 2px solid #c8c8c8;
	align-items: center;
	background-color: #ffffff;
}
.customer_menu {
	margin-bottom: 50px;
	width: 90%;
	margin-left: auto;
	margin-right: auto;
	line-height: 1.8;
	position: relative;
}
.customer_menu ul {
	display: block;
	border-top: 2px solid #c8c8c8;
}
.customer_menu a {
	border: none;
	padding: 15px 10px 15px 20px;
	width: 100%;
	box-sizing: border-box;
	display: flex;
	font-size: 17px;
	text-decoration: none;
	color: #000;
	position: relative;
	border-bottom: 2px solid #c8c8c8;
	align-items: center;
	background-color: #ffffff;
}
.customer_menu_err_area .msg {
	box-sizing: border-box;
	border-radius: 8px;
	background-color: #fce3e3;
	border: 2px solid #ba2020;
	border-left-width: 8px;
	color: #ba2020 !important;
	margin: 15px 0;
	padding: 10px 0 10px 15px;
	width: 100%;
	display: block;
}
.customer_menu_err_area .msg .warning {
	margin-right: 10px;
	vertical-align: top;
	width: 20px;
	height: 20px;
	color: #ba2020;
}
.log_out a {
	border: 2px solid #000;
	padding: 4vw 0;
	width: 75%;
	box-sizing: border-box;
	display: flex;
	font-size: 18px;
	text-decoration: none;
	position: relative;
	margin: 40px auto;
	background-color: #000;
	color: #fff !important;
	justify-content: center;
	text-align: center;
}
.icon_width {
	width: 35px;
	font-size: 25px;
}
.icon_next {
	margin-left: auto;
}
.customer_menu .icon_new {
	position: absolute;
	width: 48px;
	height: 48px;
	top: 48%;
	left: -6%;
	background-image: url(/shop/html/user_data/packages/img/mypage/newicon_mypage_sp.png);
	background-size: cover;
}

/* 香りチャートバナー */
.fragrance_banner {
	text-align: center;
	margin: 20px auto 30px;
	max-width: 100%;
	padding: 0 15px;
	box-sizing: border-box;
}
.fragrance_banner img {
	width: 100%;
	max-width: 100%;
	height: auto;
	border-radius: 8px;
	box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}
@media screen and (min-width: 750px) {
	.fragrance_banner {
		max-width: 450px; /* PCでは約半分 */
	}
}
@media screen and (min-width: 750px) {
	/* PC */
	.menu_title {
		font-size: 18px;
		margin-bottom: 10px;
		font-weight: bold;
		text-align: left;
		padding-left: 0;
	}
	.shopping_menu {
		margin-bottom: 25px;
		width: 95%;
		margin-left: auto;
		margin-right: auto;
	}
	.shopping_menu ul {
		display: flex;
		flex-wrap: wrap;
		border-top: none;
	}
	.shopping_menu li {
		margin-right: 10px;
		margin-bottom: 5px;
		width: calc(96% / 3);
	}
	.shopping_menu a {
		border: 2px solid #c8c8c8;
		padding: 15px 5px 15px 5px;
		width: 100%;
		box-sizing: border-box;
		display: flex;
		font-size: 17px;
		text-decoration: none;
		color: #000;
		position: relative;
		align-items: center;
		white-space: nowrap !important;
	}
	.menu_text_inner {
		white-space: nowrap !important;
		flex: 1;
		min-width: 0;
		text-align: left;
	}
	/* 特定の長いテキストのみフォントサイズを下げる */
	.font_small {
		font-size: 16px !important;
	}
	.customer_menu {
		margin-bottom: 25px;
		width: 95%;
		margin-left: auto;
		margin-right: auto;
	}
	.customer_menu ul {
		display: flex;
		flex-wrap: wrap;
		border-top: none;
	}
	.customer_menu li {
		margin-right: 10px;
		margin-bottom: 5px;
		width: calc(96% / 3);
	}
	.customer_menu a {
		border: 2px solid #c8c8c8;
		padding: 15px 5px 15px 5px;
		width: 100%;
		box-sizing: border-box;
		display: flex;
		font-size: 17px;
		text-decoration: none;
		color: #000;
		position: relative;
		align-items: center;
		white-space: nowrap !important;
	}
	.log_out a {
		border: 2px solid #000;
		padding: 20px 0;
		width: 50%;
		box-sizing: border-box;
		display: flex;
		font-size: 18px;
		text-decoration: none;
		position: relative;
		margin: 40px auto;
		background-color: #000;
		color: #fff !important;
		justify-content: center;
		text-align: center;
	}
	.icon_width {
		width: 35px;
		font-size: 25px;
	}
	.icon_next {
		margin-left: auto;
	}
	.customer_menu .icon_new {
		width: 60px;
		height: 60px;
		top: -15%;
		left: 32%;
		background-image: url(/shop/html/user_data/packages/img/mypage/newicon_mypage.png);
	}
}


/* メインエリア */
.mypage_main {
	font-family: 'Noto Serif JP', sans-serif;
	/* background-color:#efe7e5; */
	height: 100%;
}

/* メニューショートカット */
.mypage_menu_area {
	padding: 2.5% 0 0;
	display: flex;
	flex-direction: row;
	justify-content: space-evenly;
}
.mypage_menu_area > *{
	width: 15%;
	font-size: 8px;
	font-weight: bold;
	text-align: center;
}
.mypage_menu_area p {
	padding-top: 2px;
}
.mypage_menu_area a:link {
	color: #000;
}
.mypage_menu_area a:visited {
	color: #000;
}

/* メニュータイトル */
.title_body {
	position: relative;
	margin-bottom: 20px;
	padding: 4px 0 4px 10px;
	border-left: solid #000 4px;
	font-size: 1.4rem;
	font-weight: 400;
}

/* ブランド色 */
.mypage_black {
	color: black;
}

.logout_btn_area {
	text-align: right;
}
.logout_btn_area .logout_btn {
	display: inline-block;
	padding: 10px 30px;
	border-radius: 25px;
	text-decoration: none;
	color: #FFF;
	background-color: #cb918f;
	width: 50%;
}

/* エラーメッセージエリア */
.mypage_error_area {
	padding: 12px;
	border: 1px solid #cb918f;
	border-radius: 5px;
	margin: 0 0 10px;
	background-color: #ffe8e8;
}
.error_item {
	font-size: 14px;
	font-weight: bold;
	color: #CC0000;
}

/* -----------------------------------------------
購入履歴・詳細
----------------------------------------------- */

/* 履歴件数 */
.menu_comment {
	font-size: 15px;
	padding: 10px;
}
/*
.menu_comment span {
	font-weight: bold;
}
*/
.menu_comment_child {
	font-size: 14px;
}

/* 履歴内容項目 */
/*
.info_table {
	font-size: 11px;
	margin: 10px 0 5px 0;
	width: 100%;
}
.info_table tr {
	border-bottom: 1px solid #000;
	border-left: 1px solid #000;
	border-right: 1px solid #000;
}
.info_table tr:first-child {
	border-top: 1px solid #000;
}
.info_table th {
	padding: 10px 0 10px 8px;
	text-align: left;
	border-right: 1px solid #000;
	background-color: #c8c8c8;
	vertical-align: middle;
}
.info_table td {
	padding-left: 8px;
	vertical-align: middle;
}
*/
.info_btn_area {
	text-align: center;
	margin: 25px 0 25px;
}
.info_btn_area .com_btn {
	display: flex;
	padding: 15px 30px;
	text-decoration: none;
	color: #FFF;
	background-color: #000;
	width: 80%;
	margin-left: auto;
	margin-right: auto;
	justify-content: center;
	align-items: center;
	border-bottom: none;
	font-size: 1rem;
	cursor: pointer;
}
.info_btn_area .back_btn {
	display: flex;
	padding: 15px 30px;
	text-decoration: none;
	color: #000000;
	background-color: #FFFFFF;
	width: 40%;
	margin-left: auto;
	margin-right: auto;
	justify-content: center;
	align-items: center;
	border: solid #A5A5A5 1px;
	cursor: pointer;
}
@media screen and (min-width: 750px) {
	.info_btn_area .com_btn {
		width: 50%;
	}
	.info_btn_area .back_btn {
		width: 25%;
	}
}
/* 履歴商品明細 */
/*
.info_table_sub {
	font-size: 11px;
	margin: 0;
	width: 100%;
}
.info_table_sub th {
	padding: 0 0 0 8px ;
}
.info_table_sub tr,
.info_table_sub tr:first-child {
	border: none;
}
.info_table_sub td {
	text-align: right;
	padding-right: 5px;
}
*/
.detail_sub {
	text-align: right;
}

/* 履歴金額明細 */
.price_table {
	font-size: 11px;
	font-weight: bold;
	width: 95%;
	text-align: right;
	margin-right: auto;
	margin-left: auto;
}
.price_table td {
	padding-right: 5px;
}


/* お届け先情報 */
.menu_subtitle {
	text-align: center;
	font-size: 20px;
}


/* -----------------------------------------------
	定期情報確認・変更
----------------------------------------------- */
.teiki_table {
	font-size: 12px;
	width: 95%;
	margin-left: auto;
	margin-right: auto;
}
/* 
.teiki_table tr {
	border-bottom: 1px solid black;
	border-right: 1px solid black;
	border-left: 1px solid black;
}
.teiki_table tr:first-child {
	border-bottom: 2px solid #c8c8c8;
} 
*/
.teiki_table th {
	padding: 15px 0px 15px 0px;
	text-align: left;
	border-right: 2px solid #FFF;
	background-color: #c8c8c8;
}
.teiki_table .border_bottom {
	border-bottom: 2px solid #c8c8c8;
}
.teiki_table td {
	padding: 10px 0 15px 3px;
	text-align: left;
	/* border-right: 1px solid black; */
	vertical-align: middle;
}
.teiki_course_table {
	font-size: 12px;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
}
.teiki_course_table th {
	padding: 10px 0px 10px 0px;
	text-align: left;
	padding-left: 1%;
	border-right: none !important;
	border-bottom: 2px solid #FFF;
	background-color: #c8c8c8;
}
.teiki_course_table td {
	vertical-align: middle;
	padding: 5px;
	border-bottom: 2px solid #c8c8c8;
}
.teiki_course_table .info_btn_area {
	margin: 5px 0 0 -3%;
}
.teiki_course_table .non_bottom {
	border-bottom: none !important;
}
.teiki_underline {
	border-bottom: 3px solid #fff;
}
.teiki_detail_title {
	border-right: none !important;
	padding: 2px 2px 2px 0px !important;
	text-align: right !important;
}

.teiki_item {
	text-align: left;
	border-bottom: 3px solid #fff;
}
.teiki_item .item_head {
	font-size: 14px;
	font-weight: bold;
	padding: 5px 10px 5px;
	margin: auto;
}
.teiki_item .item_body {
	display: inline-block;
	width: 100%;
	padding: 5px 10px 5px;
}
.teiki_item .item_body img {
	width: 10%;
	margin-bottom: 10px;
}

@media screen and (min-width:750px) {
	.teiki_item .item_body img {
		width: 50px;
		margin-bottom: 10px;
	}
}

.teiki_item .item_foot {
	font-size: 11px;
	padding: 5px 10px 5px;
	margin: auto;
}

/* クレジットカード登録・変更ボタン */
.chg_credit_btn {
	display: inline-block;
	padding: 10px 10px;
	border-radius: 15px;
	border: 1px solid #000;
	text-decoration: none;
	color: #000;
	background-color: #FFF;
	font-size: 11px;
	margin-left: 10px;
}
.teiki_payment {
	display: flex;
}
.teiki_payment .item_body {
	width: 50%;
	text-align: center;
}

/* コンボボックスサイズ(数量) */
.select_quantity {
	height: 30px;
	min-width: 30%;
	width: auto;
	border: 1px solid #000;
	border-radius: 5px;
	background-color: #FFFFFF;
	text-align: center;
	text-align:-webkit-center;
	appearance: auto;
	margin: 5px 0px;
}
/* コンボボックスサイズ(次回お届け日) */
.select_shipday {
	height: 40px;
	width: 20%;
	border: 1px solid #000;
	border-radius: 5px;
	background-color: #FFFFFF;
	text-align: center;
	text-align:-webkit-center;
	appearance: auto;
}
/* コンボボックスサイズ(お届け間隔) */
.select_interval {
	height: 40px;
	width: 20%;
	margin-right: 10px;
	border: 1px solid #000;
	border-radius: 5px;
	background-color: #FFFFFF;
	text-align: center;
	text-align:-webkit-center;
	appearance: auto;
}
.select_interval_type {
	height: 40px;
	width: 40%;
	border: 1px solid #000;
	border-radius: 5px;
	background-color: #FFFFFF;
	text-align: center;
	text-align:-webkit-center;
	appearance: auto;
}

/* カレンダーアイコンサイズ */
.item_body .calendar_img {
	width: 30px;
	margin: 0 0 5px;
}

/* 変更）次回お届け日項目 */
.shipping_area {
	display: flex;
	align-items: baseline;
	margin: 5px 0;
}
.shipping_area #next_shipping_date_txt {
	font-size: 14px;
	width: 60%;
}
.shipping_area #next_shipping_carender {
	width: 40%;
}
.shipping_area #next_shipping_carender img {
	width: 25%;
}
@media screen and (min-width:750px) {
	.shipping_area {
		align-items: center;
	}
	.shipping_area #next_shipping_date_txt {
		font-size: 15px;
		width: 30%;
	}
	.shipping_area #next_shipping_carender {
		width: 70%;
	}
	.shipping_area #next_shipping_carender img {
		width: 8%;
	}
}

.disp_none {
	display: none;
}

/* -----------------------------------------------
お届け先追加・変更
----------------------------------------------- */
.mypage_must {
	color: #FFF;
	border-radius: 5px;
	font-size: 11px;
	padding: 5px;
	margin: 5px;
	letter-spacing: 0.2em;
	background: red;
	border: 1px solid #000;
}
.customer_item {
	text-align: left;
	border-bottom: 3px solid #fff;
}
.customer_item .item_head {
	font-size: 14px;
	font-weight: bold;
	padding: 20px 10px 5px;
	margin: auto;
}
.customer_item .item_body {
	display: inline-block;
	width: 100%;
	padding: 1px 10px 10px;
}
.customer_item .item_foot {
	font-size: 11px;
	padding: 5px 0px 5px;
	/* margin: auto; */
}
.customer_item .item_foot a {
	border-bottom: none;
	padding: 0px 5px 0px 5px;
	font-size: 15px;
	display: unset;
	color: #bbbbbb;
	text-decoration: underline black;
}
@media screen and (min-width:750px) {
	.customer_item .item_foot a {
		border: none;
		padding: 0px 5px 0px 5px;
		font-size: 15px;
		display: unset;
		color: #bbbbbb;
		text-decoration: underline black;
	}
}
.customer_item h4 {
	margin-top: 5px;
}

.mypage_input_max {
	width: 90%;
	padding: 6px;
	border: 1px solid #000;
	border-radius: 5px;
	margin: auto !important;
	height: 30px;
	font-size: 1rem;
}
.mypage_input_middle {
	width: 50%;
	padding: 6px;
	border: 1px solid #000;
	border-radius: 5px;
	margin: auto !important;
	height: 30px;
	font-size: 1rem;
}
.select_pref {
	height: 40px;
	width: 60%;
	border-radius: 5px;
	border: 1px solid #000;
	background-color: #FFF;
	text-align: center;
	text-align:-webkit-center;
	appearance: auto;
}
.menu_comment.teiki_underline {
	border-bottom: 3px solid #c8c8c8;
	width: 90%;
	margin-left: auto;
	margin-right: auto;
}

/* -----------------------------------------------
	クレジットカード登録・変更
----------------------------------------------- */
.credit_list {
	display: flex !important;
	justify-content: center;
	padding-top: 5px;
}
.credit_list li {
	width: calc(100%/4);/*←画像を横に3つ並べる場合*/
	padding:0 5px;/*←画像の左右に5pxの余白を入れる場合*/
	box-sizing:border-box;
}
.credit_list li img {
	max-width:100%; /*画像のはみだしを防ぐ*/
	height: auto; /*画像の縦横比を維持 */
	border:solid 1px #ccc; /*←画像を1pxのグレーの枠線で囲む指定の場合*/
	width: 100%;
}
.mypage_credit_img {
	width: 90%;
	margin: 10px auto;
}
.mypage_credit_img img {
	margin-bottom: 5%;
}
.mypage_credit_period {
	height: 40px;
	width: 20%;
	background-color: #c8c8c8;
	border: 1px solid #000;
	border-radius: 5px;
	text-align: center;
	text-align:-webkit-center;
	appearance: auto;
}
.credit_item {
	text-align: left;
	border-bottom: 3px solid #c8c8c8;
}
.credit_item .item_head {
	font-size: 17px;
	font-weight: bold;
	padding: 20px 10px 20px;
	margin: auto;
}
.credit_item .item_head input[type="radio"]{
	-webkit-transform: scale(1.5);
	transform: scale(1.5);
}
.credit_item .item_body {
	display: inline-block;
	width: 100%;
	padding: 1px 10px 10px;
}
.credit_item input {
	appearance: auto;
}
.menu_comment .menu_comment {
	padding-bottom: 0;
}
#AmazonPayButton {
	height: 60px;
	position: relative;
	width: 290px !important;
	margin-left: auto; 
	margin-right: auto;
}

@media screen and (min-width:750px) {
	.credit_list {
		display: flex !important;
		justify-content: start;
		padding-top: 5px;
	}
	.credit_list li {
		width: 100px;
		padding:0 5px;
		box-sizing:border-box;
	}
	.credit_list li img { 
		height: auto; /*画像の縦横比を維持 */
		border:solid 1px #ccc;
		width: 100%;
	}
	.mypage_credit_img {
		width: 65%;
	}
}

/* --------------------------------------------
メール設定
----------------------------------------------- */
.mail_table {
	width: 95%;
}
.mail_table th {
	border-right: 3px solid #c8c8c8;
	border-left-width: 80%;
	vertical-align: middle;
}
.table_text_center {
	text-align: center;
	vertical-align: middle;
}
.table_btn_area {
	text-align: center;
	vertical-align: middle;
	margin: 5px 0px;
}
.table_btn_area .com_btn_mini {
	display: flex;
	padding: 5px 5px;
	text-decoration: none;
	color: #000;
	background-color: #FFF;
	border: 1px solid #000;
	border-radius: 5px;
	width: 85%;
	margin-left: auto;
	margin-right: auto;
	justify-content: center;
	align-items: center;
}
@media screen and (min-width:750px) {
	.table_btn_area .com_btn_mini {
		display: flex;
		padding: 5px 5px;
		text-decoration: none;
		color: #000;
		background-color: #FFF;
		border: 1px solid #000;
		border-radius: 5px;
		width: 80%;
		margin-left: auto;
		margin-right: auto;
		justify-content: center;
		align-items: center;
	}
}

/* -----------------------------------------------
退会手続き
----------------------------------------------- */
.refusetxt {
	padding: 15px 10px 10px 10px;
}
.refusetxt p:first-child {
	margin-bottom: 10px;
}
.btn_refuse {
	padding: 0;
	margin: 20px auto 0 auto;
}
.btn_refuse li {
	display: inline-block;
	vertical-align: middle;
}
.btn_refuse a.btn,
.btn_refuse input[type="submit"].btn {
	font-size: 13px!important;
	display: inline;
}
.btn_refuse li:first-child {
	margin-right: 1em;
}



/* -----------------------------------------------
	ログインページ
----------------------------------------------- */
/*
.mypage_log_subtitle {
	color: #010079;
	padding: 0.5em 0.5em;
	font-size: 15px;
	font-weight: bold;
	border-bottom: 2px solid #D8758A;
}
*/
.mypage_log_form {
	padding: 10px 15px 0;
	text-align: center;
}
.mypage_log_item {
	padding: 10px 10px;
	margin: 0 auto 0 -10px;
	display: block;
	clear: both;
	position: relative;
	text-align: left;
	font-size: 14px;
	margin-left: auto;
	margin-right: auto;
}
.mypage_log_col {
	font-weight: bold;
	margin-bottom: 0.5rem;
	padding: 5px;
	text-align: left;
	display: flex;
	align-items: center;
}
.mypage_log_input {
	width: 95%;
	margin: 0;
	padding: 10px;
	background: #fff;
	border-radius: 7px;
	-moz-border-radius: 7px;
	-webkit-border-radius: 7px;
	border: #A9ABAD solid 1px;
	display: block;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	height: 30px;
	font-size: 1rem;
	background-color: aliceblue;
}
.mypage_log_input:focus {
	background-color: #ffffff;
	outline: none;
	border: #76d3dc solid 1px;
	box-shadow: 0px 0px 3px 0px #76d3dc;
}


/* -----------------------------------------------
	ホームメニュー
----------------------------------------------- */
.mypage_info_area {
	padding: 16px 20px 22px;
	letter-spacing: 0;
	background-color: #fff;
}
.mypage_info_body {
	font-size: 12px;
	line-height: 1.5;
}

.mypage_menu_title {
	background-color: #fcf0f1; /* 背景色 */
	color: #ef858c; /* 文字色 */
	padding: 10px; /* 余白 */
	position: relative;
	text-align: center;
	font-size: 17px;
	margin: auto;
}
.mypage_menu_title:after{
	background: repeating-linear-gradient(-45deg, #f0b8bf, #f0b8bf 5px, #fcf0f1 0, #fcf0f1 10px); /* ストライプ */
	content: '';
	height: 5px; /* ストライプの高さ */
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 1;
}



.list_item {
	width: 49%;
}
.list_item:nth-child(odd) {
	border-right: 1px dashed #e2d0b5;
}
.list_item:nth-child(n+3) {
	border-top: 1px dashed #e2d0b5;
}

.menu_item {
	display: block;
	height: 170px;
	padding: 24px 0 0;
	text-align: center;
}
.mypage_menu_area .item_header {
	display: inline-flex;
	align-items: center;
	height: 31.5px;
	font-size: 15px;
	line-height: 1;
}
.mypage_menu_area .menu_icon {
	height: 55px;
	margin-top: 9px;
	font-size: 40px;
}
.mypage_menu_area .menu_body {
	margin-top: 20px;
	font-size: 11px;
	line-height: 1.5;
	color: #987443;
}

.id_area {
	font-size: 11px;
	line-height: 1.5;
}
.name_area {
	font-size: 15px;
	line-height: 1.5;
}
.name {
	font-size: 20px;
}
@media screen and (min-width: 750px) {
	.id_area {
		font-size: 15px;
		line-height: 1.5;
	}
	.name {
		font-size: 25px;
	}
}

.mypage_menu_contents {
	text-align: center;
}

.mypage_menu_list {
	display: inline-block;
	margin-top: 20%;
	border: 5px solid #fff;
	padding: 20px;
	width: 75%;
	position: relative;/*相対配置*/
	box-shadow: 0 0 8px grey;
}
.mypage_menu_list:before {
	content: '';/*何も入れない*/
	top: 0;
	left: 0;
	width: 100%;/*指定したい幅*/
	padding-top: 10%;/*画像の幅に対する高さ比率*/
	display: block;
}
.mypage_menu_list:after {
	position: absolute;
	content: '';
	top: -22%;
	left: 35%;
	display: block;
	width: 70px;/*幅*/
	height: 70px;/*どれだけデカくなってもはみ出ないであろう高さを指定*/
	background-image: url(../img/mypage/icon_history.png);
	background-size: contain;
	background-repeat: no-repeat;/*画像を繰り返さない*/
}
.mypage_menu_list:nth-child(2):after {
	background-image: url(../img/mypage/icon_teiki.png);
}
.mypage_menu_list:nth-child(3):after {
	background-image: url(../img/mypage/icon_credit.png);
}
.mypage_menu_list:nth-child(4):after {
	background-image: url(../img/mypage/icon_customer.png);
}
.mypage_menu_list:nth-child(5):after {
	background-image: url(../img/mypage/icon_pass.png);
}
.mypage_menu_list:nth-child(6):after {
	background-image: url(../img/mypage/icon_mail.png);
}
.mypage_menu_list:link {
	color: #000;
}
.mypage_menu_list:visited {
	color: #000;
}

.menu_body {
	padding: 10px;
	font-size: 11px;
	text-align: left;
}

.navi_path {
	font-size: 11px;
	background-color: #f3f3f3;
	line-height: 37px;
	margin-bottom: 15px;
}
.navi_path ul {
	display: flex;
	padding-left: 3px;
}
@media screen and (min-width:750px) {
	.navi_path {
		font-size: 15px;
	}
	.navi_path ul {
		max-width: 850px;
		margin-left: auto;
		margin-right: auto;
	}	
}
.navi_path ul li:first-child {
	color: #000 !important;
}
.navi_path ul li:last-child {
	color: #c8c8c8;
}

/* ---------------- */
/* 全体 */
/* ---------------- */
.l-cover {
	overflow: hidden;
}
.l-main {
	margin: 30px 10px 0;
}
.mypage_subtitle {
	font-size: 25px;
	font-weight: bold;
	text-align: center;
	width: 80%;
	border-bottom: 3px double #000000;
	margin: 0 auto 20px;
	line-height: 2;
}
.mypage_top_banner {
	text-align: center;
	width: 90%;
	margin:auto;
}
@media screen and (min-width: 750px) {
	.mypage_top_banner {
		width: 80%;
	}
}

/* ------------------ */
/* ヘッダー部分レイアウト */
/* ------------------ */
.l-header {
	z-index: 1000;
	width: 95%;
	background: #fff;
	border-bottom:1px solid #ccc;
	padding-bottom: 5px;
}
.l-header__inner {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: flex-end;
	-webkit-box-pack: justify;
	-webkit-justify-content: space-between;
	-ms-flex-pack: justify;
	justify-content: space-between;
	height: auto;
	padding: 10px 0 5px;
}

.l-header__button {
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	position: relative;
	z-index: 1000;
	width: 60px;
	height: 60px;
	}
.l-header__button .line {
	pointer-events: none;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 10;
	display: block;
	width: 24px;
	height: 2px;
	margin: auto;
	background: #666;
	-webkit-transition: 0.5s cubic-bezier(0.645,.045,0.355,1);
	transition: 0.5s cubic-bezier(0.645,.045,0.355,1)
}
.l-header__button .line:nth-child(1) {
	-webkit-transform: translateY(-6px);
	transform: translateY(-6px)
}
/* ブランドロゴ */
.l-header__logo {
	width: 35%;
}
.brand_logo {
	font-family: 'Vidaloka', serif;
	text-align: center;
	font-weight: normal;
	color: #444;
}
.brand_logo .maintitle {
	display: block;
	font-size: 25px;
	line-height: 25px;
	letter-spacing: 5px;
	text-shadow: 1px 1px 3px #fff, 3px 3px 6px #888;
	font-weight: bold;
	padding: 0 0 0 15px;
}


/* ------------------ */
/* フッター部分レイアウト */
/* ------------------ */
.pageFooter {
	padding: 50px 0 5pc;
}
.pageFooter .linkList02 {
	text-align: center;
}
.pageFooter .linkList02 li{
	display: inline;
	padding-right: 15px;
	line-height: 160%;
}
.pageFooter .linkList02{
	padding-top: 10px;
	border-top: 1px solid #efefef;
}
.pageFooter .linkList02 a{
	font-size: 12px;
}
.pageFooter .copy {
	text-align: center;
	color: #463733;
	margin-top: 15px;
	margin-bottom: 10px;
}
.pageFooter .copy small {
	font-size: 12px;
}

.requirements {
	font-size: 0.85rem;
	color: #888888;
	margin-top: 0.5rem;
}


/* ---------- */
/* PCレイアウト */
/* ---------- */
@media screen and (min-width : 750px) {
	.l-header {
		width: 85%;
	}
	.l-header__logo img {
		width: 35%;
	}
	.mypage_main {
		max-width: 850px;
		margin-left: auto;
		margin-right: auto;
	}
	.mypage_contents {
		background: #eee;
		padding-top: 50px;
		padding-bottom: 50px;
		box-shadow: 0 0 5px 0 #bbb;
		margin-top: 30px;
	}
	.mypage_main .login_content {
		width: 600px;
	}
	.maintitle {
		font-size: 30px;
	}
	.mypage_subtitle {
		width: 50%;
		font-size: 30px;
	}
}


/* ------------------ */
/* ポイント管理サイト関連 */
/* ------------------ */
.navi_path ul li:first-child::after {
	content: "/";
	color: #959595;
	margin: 0 5px;
}
.point-container {
	max-width: 420px;
	margin: 0 auto;
	background: #fff;
	border: 1px solid #ccc;
}
/* ポイント概要 */
.point-summary {
	text-align: center;
	padding: 20px;
	background: #f3f3f3;
	border-radius: 5px;
}
.user-name {
	font-size: 20px;
	font-weight: bold;
	border-bottom: 1px solid #ddd;
}
.point-balance {
	font-size: 16px;
	margin-top: 8px;
}
.point-expiry {
	font-size: 12px;
	color: #777;
	margin-top: 4px;
}
/* ボタン */
.button-area {
	gap: 8px;
	padding: 10px;
}
.button-area .point-btn {
	padding: 10px;
	font-size: 14px;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	margin: 10px auto;
	display: flex;
	width: 85%;
}
.button-area .point-btn.black {
	background: #000;
	color: #fff;
}
/* ポイント説明 */
.point-description {
	display: flex;
	flex-direction: row;
	width: 85%;
	margin: auto;
	text-align: center;
	justify-content: center;
}
.description-image {
	width: 45%;
}
.description-image img {
	max-width: 100%;
}
/* 取引履歴 */
.history {
	padding: 10px;
}
.history h3 {
	font-size: 16px;
	border-bottom: 1px solid #ccc;
	padding-bottom: 4px;
	margin-bottom: 8px;
}
.history-card {
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 10px;
	padding: 10px;
	margin-bottom: 10px;
	position: relative;
}
.history-type {
	font-size: 14px;
	display: inline-block;
	border: 1px solid #aaa;
	padding: 2px 6px;
	border-radius: 4px;
	width: 50%;
	text-align: center;
}
.history-amount {
	position: absolute;
	top: 10px;
	right: 10px;
	font-weight: bold;
}
.history-amount.negative {
	color: #c00;
}
.history-date {
	font-size: 12px;
	color: #666;
	margin-top: 8px;
}
.gift-info {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 6px;
}
.gift-info img {
	width: 50px;
	border-radius: 6px;
}
.gift-info p {
	font-size: 12px;
	color: #333;
}

/* ページネーション */
.pagination {
	text-align: center;
	font-size: 14px;
	padding: 8px 0;
}
.pagination span {
	display: inline-block;
	margin: 0 4px;
	padding: 4px 8px;
	border: 1px solid #ccc;
	border-radius: 4px;
	cursor: pointer;
}
.pagination span.active {
	background: #165a7a;
	color: #fff;
	border-color: #165a7a;
}

/* 商品交換サイト */
.exchange_title {
	text-align: center;
	border-bottom: 1px solid;
	width: 80%;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 5%;
}
.exchange_contents {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	max-width: 1000px;
	margin: 0 auto;
}
.exchange_contents .exchange_card {
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 2px 6px rgba(0,0,0,0.3);
	overflow: hidden;
	text-align: center;
	transition: transform 0.2s, box-shadow 0.2s;
	padding: 10px;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.exchange_card:hover {
	transform: translateY(-3px);
	box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
/* 商品画像 */
.sprite-product-image {
	background-repeat:no-repeat;
	display:block;
	width:130px;
	height:130px;
	background-position:0 0;
}

/* 商品名 */
.exchange_card .name {
	font-size: 14px;
	font-weight: bold;
	color: #333;
	margin: 10px 0 5px;
	height: 50px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
/* ポイント */
.exchange_card .point {
	font-size: 13px;
	color: #555;
	margin-bottom: 10px;
}
/* 通常ボタン */
.detail_btn {
	display: inline-block;
	font-size: 13px;
	padding: 6px 14px;
	border-radius: 20px;
	text-decoration: none;
	transition: background 0.2s;
}
.detail_btn.active {
	background-color: #555;
	color: #fff;
	cursor: pointer;
}
.detail_btn.active:hover {
	background-color: #222;
}
/* 無効ボタン */
.detail_btn.disabled {
	background-color: #ccc;
	color: #777;
	cursor: not-allowed;
	pointer-events: none;
}

/* ポイント交換詳細サイト */
.exchange-detail {
	text-align: center;
}

/* 商品画像 */
.exchange-detail .product-image {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	margin-bottom: 5%;
}

/* 商品名 */
.exchange-detail .product-name {
	font-weight: bold;
	font-size: 16px;
	margin-bottom: 10px;
	color: #222;
	border-bottom: 1px solid #ccc;
	padding-bottom: 8px;
}

/* 商品説明 */
.exchange-detail .product-info {
	font-size: 14px;
	padding: 5px;
	margin-bottom: 10px;
	color: #222;
	border-bottom: 1px solid #ccc;
}

/* 必要ポイント */
.exchange-detail .required-point {
	font-size: 14px;
	margin: 10px 0;
	color: #333;
}

/* カラーバリエーション */
.color-btn-group {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); /* ← 自動で幅調整 */
	gap: 12px;
	max-width: 600px;
	margin: 0 auto;
	padding: 10px 0;
}
@media (max-width: 768px) {
	.color-btn-group {
		grid-template-columns: repeat(2, 1fr);
	}
}
.color-btn {
	display: block;
	width: 100%;
	box-sizing: border-box;
}
.color-btn input[type="radio"] {
	display: none;
}
.color-btn span {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;           /* ← 高さ確保 */
	padding: 6px 10px;          /* ← 余白追加で文字切れ防止 */
	font-size: 15px;
	text-align: center;
	border: 2px solid #ccc;
	border-radius: 10px;
	background-color: #f9f9f9;
	cursor: pointer;
	font-weight: 600;
	letter-spacing: 0.03em;
	transition: all 0.2s ease;
	user-select: none;
	word-break: keep-all;       /* ← 日本語改行制御 */
	white-space: normal;        /* ← 折り返し許可 */
	line-height: 1.3;
	box-sizing: border-box;
}
/* 選択時 */
.color-btn input[type="radio"]:checked + span {
	background-color: #1d71b8;
	color: #fff;
	border-color: #1d71b8;
	box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}
/* ホバー時 */
.color-btn:hover span {
	background-color: #f1f1f1;
}
/* disabled時（選択不可） */
.color-btn input[type="radio"]:disabled + span {
	background-color: #e9e9e9;
	color: #aaa;
	border-color: #ddd;
	cursor: not-allowed;
	box-shadow: none;
}

/* お届け予定日 */
.delivery {
	font-size: 13px;
	color: #444;
	margin-bottom: 15px;
}

/* 交換ボタン */
.exchange-btn {
	display: inline-block;
	background-color: #1d71b8;
	color: #fff !important;
	padding: 10px 60px;
	border-radius: 6px;
	font-size: 18px;
	text-decoration: none;
	transition: 0.3s;
}
/* disabled */
.exchange-btn.disabled {
	background-color: #ccc;
	color: #fff;
	pointer-events: none;
	cursor: not-allowed;
}

/* アコーディオン */
.accordion {
	margin-top: 20px;
	border-top: 1px solid #ccc;
	text-align: left;
}
.accordion-header {
	background-color: #1e5c73;
	color: #fff;
	font-weight: bold;
	padding: 10px;
	cursor: pointer;
	display: flex;
	justify-content: center;
	align-items: center;
}
.accordion-content {
	display: none;
	background-color: #f9f9f9;
	padding: 15px;
	border-top: 1px solid #ccc;
	font-size: 13px;
	color: #333;
	line-height: 1.6;
}
/* アコーディオン開いた時 */
.accordion.open .accordion-content {
	display: block;
}

/* 確認モーダル */
.popup {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: 999;
	opacity: 0;
	visibility: hidden;
	transition: .6s;
}
.popup.is-show {
	opacity: 1;
	visibility: visible;
}
.popup-inner-conf {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%,-50%);
	width: 94%;
	max-width: 600px;
	background-color: #fff;
	z-index: 2;
	border-radius: 10px;
	text-align: center;
}
.popup-conf {
	height: auto;
	position: relative;
	padding: 10px 15px;
	display: block;
}
.modal-product-image {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	margin-bottom: 5%;
}
.modal-product-name {
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 10px;
}
.modal-product-name span {
	border: 1px solid;
	padding: 3px;
	font-size: 70%;
}
.modal-product-points {
	color: #1d71b8;
	font-weight: bold;
	font-size: 16px;
	margin-bottom: 24px;
}
/* --- 確認メッセージ --- */
.popup-conf p {
	font-size: 16px;
	margin-bottom: 28px;
}

/* --- ボタンエリア --- */
.modal-buttons {
	display: flex;
	justify-content: center;
	flex-direction: column;
	gap: 14px;
	width: 80%;
	margin: auto;
}
.modal-buttons button {
	flex: 1;
	padding: 12px;
	font-size: 16px;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.2s ease;
	border: none;
}
.modal-buttons .cancel {
	background: #ccc;
	color: #333;
}
.modal-buttons .confirm {
	background: #1d71b8;
	color: #fff;
}
.modal-buttons .cancel:hover {
	background: #b5b5b5;
}
.modal-buttons .confirm:hover {
	background: #155c90;
}
.conf-close-btn {
	position: absolute;
	top: 3%;
	right: 0;
	width: 45px;
	height: 45px;
	line-height: 50px;
	text-align: center;
	cursor: pointer;
	z-index: 20;
}
.black-background {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, .8);
	z-index: 1;
	cursor: pointer;
}

/* ポイント交換完了 */
.point-complete-body {
	text-align: center;
	box-sizing: border-box;
}
.point-complete-body p {
	margin: 5px 0;
	line-height: 1.6;
}
.point-complete-body .info {
	margin-top: 20px;
	line-height: 1.8;
}

/* ページャ */
#contents .pager ul {
	margin: 10px 0;
	list-style-type: none;
}
.pager li {
	display: inline;
}
.pager li a {
	padding: 3px 5px;
	border: 1px solid #999;
}
.pager li.on a {
	background: #f4f5f5;
}
.pager li a:hover,
.pager li.on a:hover {
	background: #f8f8f8;
	border: 1px solid #ccc;
}

/* 値引き額選択 */
.discount-group{
	display:flex;
	gap:15px;
	flex-wrap:wrap;
	align-items:center;
	width: 80%;
	margin: auto auto 20px;
	justify-content: center;
}
/* ラジオは見えなくしてラベルをボタン化 */
.discount-input{
	position:absolute;
	left:-9999px;
	width:1px;height:1px;
	overflow:hidden;
}
.discount-label{
	display:inline-block;
	padding:10px 22px;
	border-radius:999px; /* 楕円形 */
	border:2px solid var(--primary);
	background:linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,255,255,0.85));
	color:var(--primary);
	font-weight:600;
	cursor:pointer;
	user-select:none;
	transition:transform .12s ease, box-shadow .12s ease, background .12s ease, color .12s ease;
	box-shadow: 0 2px 0 rgba(0,0,0,0.04);
	width: 30%;
	text-align: center;
}

/* 選択時 */
.discount-input:checked + .discount-label{
	background:var(--primary);
	color:var(--accent);
	transform:translateY(-2px);
	box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

/* フォーカス時（ラベルに見えるように） */
.discount-input:focus + .discount-label{
	outline: none;
	box-shadow: var(--focus-ring);
}

/* 無効化 */
.discount-label.disabled{
	border-color:var(--disabled-border);
	background:var(--disabled-bg);
	color:#8b8b8b;
	cursor:not-allowed;
	transform:none;
	box-shadow:none;
	opacity:0.9;
}

/* 次回お届け情報 */
.next-purchase-table {
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	box-shadow: 0 6px 14px rgba(0,0,0,0.1);
	font-size: 12px;
	margin-bottom: 20px;
	border: 1px solid #000000;
}
.next-purchase-table tr:nth-child(even) {
	background: #fafafa;
}
.next-purchase-table th {
	background: gainsboro;
	font-weight: 600;;
	border-right: 1px solid #000000;
}
.next-purchase-table th,
.next-purchase-table td {
	padding: 5px 3px;
	border-bottom: 1px solid #000000;
}
.next-purchase-table tr:last-child th,
.next-purchase-table tr:last-child td {
	border-bottom:none;
}
.discount-on {
	color: var(--primary);
}

/* -------------------------------
	【ポイント管理】レスポンシブ対応
-------------------------------- */
@media (max-width: 480px) {
	.point-container {
		border: none;
		max-width: 100%;
	}
	.history-card {
		font-size: 13px;
	}
	.pagination span {
		padding: 3px 6px;
		font-size: 13px;
	}
}
@media (min-width: 768px) {
	.point-container {
		margin-top: 20px;
		max-width: 850px;
		border: none;
	}
	.point-summary, .button-area {
		max-width: 80%;
		margin: auto;
	}
	.button-area {
		display: flex;
	}
	.button-area .point-btn {
		width: 50%;
	}
	.description-image img {
		max-width: 70%;
	}
	.exchange_contents {
		grid-template-columns: repeat(4, 1fr);
	}
	.next-purchase-table {
		width: 80%;
	}
	.point-container .menu_comment {
		width: 80%;
		margin-left: auto;
		margin-right: auto;
	}
}

/* ==== 定期一覧 レコメンド/クロスセル同梱追加 (Issue #1253/#645, 2系 teiki.tpl L393-694 相当を簡略化) ==== */
.recommend-section {
	width: 100%;
	margin: 15px auto;
}
.recommend-cards {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
}
.recommend-card {
	width: 100%;
	max-width: 320px;
	background: #fff9fa;
	border-radius: 12px;
	border: 1px solid #f2d6dc;
	overflow: hidden;
	box-shadow: 0 4px 12px rgba(196, 92, 115, 0.05);
}
.recommend-card-img {
	width: 100%;
	height: auto;
	display: block;
}
.recommend-card-body {
	padding: 10px 12px 14px;
	text-align: left;
}
.recommend-card-name {
	font-size: 14px;
	font-weight: bold;
	color: #333333;
	margin: 0 0 4px;
	line-height: 1.3;
}
.recommend-card-price {
	font-size: 16px;
	color: #c45c73;
	font-weight: bold;
	margin: 0 0 10px;
}
.recommend-card-price .tax-label {
	font-size: 11px;
	font-weight: normal;
	color: #888888;
	margin-left: 4px;
}
.recommend-card-actions {
	display: flex;
	gap: 8px;
	margin-bottom: 8px;
}
.recommend-card-actions .com_btn {
	flex: 1;
	display: block;
	padding: 10px 4px;
	font-size: 12px;
	text-align: center;
	border-radius: 6px;
	border: 1px solid #c45c73;
	cursor: pointer;
}
.recommend-btn-onetime {
	background: #ffffff;
	color: #c45c73;
}
.recommend-btn-teiki {
	background: #c45c73;
	color: #ffffff;
}
.recommend-card-note {
	font-size: 11px;
	color: #888888;
	margin: 0;
}
.recommend-card-note-warn {
	color: #d9534f;
	font-weight: bold;
}
@media screen and (min-width: 768px) {
	.recommend-card {
		width: calc(50% - 12px);
	}
}

/* 定期追加確認モーダル (2系 teiki.tpl L98-161 相当) */
.teiki-modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.6);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 9999;
}
.teiki-modal-content {
	position: relative;
	width: 90%;
	max-width: 420px;
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}
.teiki-modal-content img {
	width: 100%;
	height: auto;
	display: block;
}
/* 画像上の「定期に追加する」ボタン位置に重ねる透過div */
.teiki-modal-btn-submit {
	position: absolute;
	left: 10.5%;
	width: 79%;
	top: 83.2%;
	height: 7.1%;
	cursor: pointer;
	background: rgba(0,0,0,0);
}
/* 画像上の「キャンセル」ボタン位置に重ねる透過div */
.teiki-modal-btn-cancel {
	position: absolute;
	left: 10.5%;
	width: 79%;
	top: 91.0%;
	height: 6.5%;
	cursor: pointer;
	background: rgba(0,0,0,0);
}
/* 右上の閉じる(×)ボタン */
.teiki-modal-btn-close {
	position: absolute;
	top: 10px;
	right: 15px;
	font-size: 28px;
	font-weight: bold;
	color: #888;
	cursor: pointer;
	z-index: 10000;
	transition: color 0.2s;
	line-height: 1;
}
.teiki-modal-btn-close:hover {
	color: #333;
}

/* ==== マイページトップ レコメンドバナー (Issue #950, 2系 index.tpl L104-284 を簡略化) ==== */
.mypage_top_recommend_section {
	width: 100%;
	margin: 15px auto 20px;
}
.recommend-cards {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
}
.recommend_banner_link {
	display: block;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.recommend_banner_link:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}
.recommend_banner_img {
	width: 100%;
	max-width: 260px;
	height: auto;
	display: block;
}

/* ==== マイページ限定ポップアップバナー (Issue #950, 2系 index.tpl L916-990) ==== */
.mypage-popup-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.3s ease;
}
.mypage-popup-overlay.active {
	opacity: 1;
}
.mypage-popup-container {
	position: relative;
	max-width: 90%;
	max-height: 85vh;
	transform: scale(0.9);
	transition: transform 0.3s ease;
}
.mypage-popup-overlay.active .mypage-popup-container {
	transform: scale(1);
}
.mypage-popup-banner-link {
	display: block;
}
.mypage-popup-img {
	display: block;
	max-width: 100%;
	max-height: 85vh;
	height: auto;
	border-radius: 12px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}
.mypage-popup-close {
	position: absolute;
	top: 2%;
	right: 2%;
	width: 44px;
	height: 44px;
	background: transparent;
	border: none;
	cursor: pointer;
	z-index: 10;
	border-radius: 50%;
}
.mypage-popup-close:hover {
	background: rgba(255, 255, 255, 0.2);
}
@media screen and (max-width: 767px) {
	.mypage-popup-container {
		max-width: 92%;
	}
	.mypage-popup-close {
		width: 36px;
		height: 36px;
	}
}
@media screen and (min-width: 768px) {
	.mypage-popup-container {
		max-width: 500px;
	}
}
