/**
 * Theme Name:       Mai Prosper
 * Theme URI:        https://bizbudding.com/products/mai-prosper-theme/
 * Description:      Mai Prosper child theme for the Genesis Framework.
 * Author:           BizBudding
 * Author URI:       https://bizbudding.com/
 * Version:          2.0.2
 * Text Domain:      mai-prosper
 * Template:         genesis
 * Template Version: 3.3.2
 * License:          GPL-2.0-or-later
 * License URI:      http://www.gnu.org/licenses/gpl-2.0.html
 */

/**********************************/
/* 共通*/
/**********************************/
h2 {
	/*border-left: 4px solid #FF679A;
    border-bottom: 1px dashed #FF679A;
    font-size: 100%;
    padding: 5px 5px 5px 10px;
    margin: 10px 15px 0 0;*/
}
.mt-10 {
    margin-top: 10px;
}
.mt-20 {
    margin-top: 20px;
}
.mt-30 {
    margin-top: 30px;
}
.mt-40 {
    margin-top: 40px;
}
.mt-50 {
    margin-top: 50px;
}
.mb-10 {
    margin-bottom: 10px;
}
.mb-20 {
    margin-bottom: 20px;
}
.mb-30 {
    margin-bottom: 30px;
}
.mb-40 {
    margin-bottom: 40px;
}
.mb-50 {
    margin-bottom: 50px;
}
.mb-120 {
    margin-bottom: 120px;
}
.mt--30 {
    margin-top: -30px;
}
.mt--40 {
    margin-top: -40px;
}
.mt--50 {
    margin-top: -50px;
}
.hidden {
    display: none !important;
}
.fw-bold{
  font-weight: bold;	
}
.red{
  color: red;	
}
/* タイトル */
section#page-header {
	background: #FCE7EE;
}
.page-header-wrap.wrap{
	color: #FF8384;
	opacity: 1;
	padding: 60px 10px;
}
h1.page-header-title{
    font: normal normal bold 28px/50px Bilo;
	color: #000 !important;
}
/**********************************/
/* TOPページ*/
/**********************************/
.column_3 {
    display: flex;
    justify-content: center;
}
.column_3_list {
    width: 30%;
    margin: 2%;
	border: 1.5px solid #000;
}
.column_3_list .wp-show-posts-columns {
    margin-left: 0!important;
}
.top_item h2.wp-show-posts-entry-title{
	font-size:1rem;
}
.top_item .wp-show-posts-inner {
    border: none;
	padding: 0.3rem 1rem;
}
.top-ttl2 {
    border: none;
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
}
@media only screen and (max-width: 767px){
	.column_3 {
		display: inline;
	}
	.column_3_list {
		width: 100%;
	}	
}
/**********************************/
/* 記事一覧*/
/**********************************/
.community_btn {
    text-align: right;
}
a.post_btn {
    background: #333;
    color: #fff;
    font-weight: bold;
    padding: 0.5rem;
}
.community_list {
    margin-top: 1rem;
}
.wp-show-posts-inner {
    padding: 1rem;
    border: 1px solid #333;
    border-radius: var(--border-radius-regular);
}
span.page-numbers.current {
    /*padding: 0.2rem 0.5rem;*/
    border: 1px solid #dc143c;
    color: #dc143c;
    margin: 5px;
}
a.page-numbers {
    padding: 0.2rem 0.5rem;
    border: 1px solid #808080;
    color: #808080;
    margin: 5px;
}

.wp-show-posts-columns .wp-show-posts-single:not(.wp-show-posts-masonry-block) {
	display: block;
}
/* 抜粋のフォントサイズ */
.wp-show-posts-entry-content p {
	font-size: 15px;
}
/* 記事と記事の間隔 */
.wp-show-posts-columns .wp-show-posts-inner {
	margin: 0 0 0px 10px !important;
}
/* 「続きを読む」ボタン */
a.wp-show-posts-read-more, a.wp-show-posts-read-more:visited {
	display: initial;
	padding: initial;
	border: initial;
	color: hsl( 123, 100%, 33% );
	font-size: 12px;
}
/* 「続きを読む」ボタン（hover時） */
a.wp-show-posts-read-more:focus, a.wp-show-posts-read-more:hover {
	border: initial;
	color: hsl( 123, 100%, 23% );
	background: initial;
}
/* 抜粋の一文目（挨拶文なので消す） */
.wp-show-posts-entry-content p:first-child {
	display: none;
}
/**********************************/
/* ログインフォーム*/
/**********************************/
.w3eden .input-wrapper.input-withvalue {
    border: 1px solid #ddd;
}
/**********************************/
/* イラストオーダー*/
/**********************************/
h2.order-ttl{
    font-size: 20px;
	border-bottom: 1px solid #707070;
	padding-bottom: 15px;
	margin-bottom: 30px;
}
h2.order-ttl::before {
    content: ""; /* 画像を入れるので空文字 */
    display: inline-block;
    width: 24px;   /* 画像の幅 */
    height: 24px;  /* 画像の高さ */
    margin-right: 8px; /* テキストとの間隔 */
    background-image: url('img/order-ttl.png'); /* 画像URL */
    background-size: contain; /* 画像サイズ調整 */
    background-repeat: no-repeat;
    vertical-align: middle; /* 基準位置 */
    position: relative;
    top: -2px; /* 上に4pxずらす */
}
p.order-ttx {
    font-size: 15px;
}
.order-btn-erea {
    padding: 45px 90px;
    text-align: center;
    margin: 48px 0 122px;
}
a.order-btn {
    background: #EF8BAB 0% 0% no-repeat padding-box;
    box-shadow: 0px 3px 6px #00000014;
    border: 4px solid #FFFFFF;
    border-radius: 70px;
    color: #fff;
    font-weight: bold;
    font-size: 21px;
    padding: 30px 80px;
}
a.order-btn:hover {
  text-decoration: none;
}
a.kiyaku {
    color: #444;
}
a.kiyaku:hover {
  text-decoration: none;
}
.order-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-family: sans-serif;
}
.order-table th,
.order-table td {
    border: 1px solid #ddd;
    padding: 12px;
    vertical-align: top;
    text-align: left;
}
.order-table th {
    background-color: #f4f4f4;
    color: #333;
    font-weight: bold;
}
.order-table tr:nth-child(even) {
    /*background-color: #fafafa;*/
}
.order-table img {
    max-width: 100px;
    height: auto;
    display: block;
}
@media only screen and (max-width: 767px){
	.order-btn-erea {
		padding: 0;
	}
	a.order-btn {
		padding: 10px;
		display: inline-block;
		font-size: 18px;
	}
}
/**********************************/
/* 検索結果*/
/**********************************/
time.entry-time {
    display: none;
}
span.entry-author {
    display: none;
}
/**********************************/
/* ヘッダー*/
/**********************************/
.custom-header {
  background: #fff;
  font-family: sans-serif;
  border-bottom: 1px solid #eee;
  width: 100%;
}
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 11px 0px 0px;
  font-size: 12px;
  color: #fff;
}
.logo-section {
  display: flex;
  flex-direction: column;
}
.logo {
  font-size: 24px;
  font-weight: bold;
}
.tagline {
  font-size: 11px;
  color: #666;
}
.top-links a {
  margin-left: 12px;
  color: #333;
  text-decoration: none;
  font-size: 12px;
}
.nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  flex-wrap: wrap;
}
.category-menu button {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin: 3px;
  padding: 6px 12px;
  font-size: 13px;
  cursor: pointer;
}
.search-login {
  display: flex;
  align-items: center;
  gap: 10px;
}
.search-form {
  position: relative;
  max-width: 220px;
  height: 32px;
}
.search-field {
  width: 100%;
  padding: 10px 30px 10px 18px;
  border-radius: 20px;
  border: 1px solid #ccc;
  font-size: 12px;
}
.search-submit {
  position: absolute;
  top: 35%;
  right: 8px;
/*  transform: translateY(-50%);*/
  background: none;
  border: none;
  font-size: 14px;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  box-shadow: none;
  cursor: pointer;
}

/* ホバー時の色変化・沈み効果を無効化 */
.search-submit:hover,
.search-submit:active,
.search-submit:focus {
  background: transparent;
  box-shadow: none;
  transform: none;
  outline: none;
}
.search-field::placeholder {
  font-size: 12px;
  margin-top: -10px;
}
input[type=search].search-field {
    font-size: 12px;
}
.login-button {
  background: #ff3399;
  color: white;
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 12px;
  text-decoration: none;
  font-weight: bold;
}
.login-button:hover {
  color: inherit; /* ホバー時も親要素の色を継承 */
  text-decoration: none; /* ホバー時も下線を消す */
}
button,
[type="submit"] {
  /*background-color: #fff;
  padding: 1px 6px;
  cursor: pointer;*/
}
button:hover,
[type="submit"]:hover {
/*  background-color: #fff;    /* 青や灰色になる */
/*  border-color: #888;*/
}
/* カテゴリメニューのスタイル（横並び） */
ul.category-menu {
  display: flex;
  gap: 1px; /* 項目間の隙間（必要に応じて調整してください） */
  padding: 0;
  margin: 0;
  list-style: none; /* リストの丸いマークを消す */
}
ul.category-menu li {
  /*width: 150px;            /* 横幅固定（必要に応じて調整してください） */
  border: 1px solid #C9C9C9;  /* 枠線 */
  border-top-left-radius: 10px;  /* 左上の丸み */
  border-top-right-radius: 10px; /* 右上の丸み */
  border-bottom-left-radius: 0;  /* 左下は丸みなし */
  border-bottom-right-radius: 0; /* 右下は丸みなし */
  padding: 7px 0 7px;           /* 中の余白 */
  box-sizing: border-box;  /* 横幅にpaddingとborderを含める */
  text-align: center;      /* テキスト中央寄せ（任意） */
  background-color: #fff;  /* 背景色（任意） */
  color: #000;
  font-size: 15px;
}
.category-menu {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 1rem;
}
.category-menu li {
  cursor: pointer;
  position: relative;
  padding: 0.5rem;
  background-color: #fff;
  transition: background-color 0.3s;
}
ul.category-menu li {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  z-index: 1;
}
ul.category-menu li:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 10;
}
/* 下線と色の出現を防止 */
.category-menu a,
.category-menu a:hover,
.category-menu a:visited {
  text-decoration: none !important;
  color: inherit !important;
}
.header-right-menu {
    list-style: none;
    display: flex;          /* 横並びにする */
    gap: 1rem;              /* 項目間にスペース */
    margin: 0;
    padding: 0;
}
.header-right-menu li {
    margin: 0;
    padding: 0;
}
.header-right-menu a {
    text-decoration: none;
    color: #333;
    padding: 5px 10px;
    display: block;
}
.top-bar-u {
    background: #f5f5f5;
}
/* Genesisのデフォルトheader-right */
.genesis-nav-menu, .widget_header-right, ul.header-right-menu + ul.genesis-nav-menu {
    display: none !important;
}
.title-area.title-area-first {
    display: none;
}
.top-bar.top-bar-u {
  position: relative;
  z-index: 1; /* 前面に表示（背景との重なりを調整） */
}
.top-bar.top-bar-u::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  height: 100%;
  background-color: #f0f0f0; /* 灰色 */
  transform: translateX(-50%);  /* 中央基準に補正 */
  z-index: -1;
}
body {
  overflow-x: hidden;
}
/* サブメニュー　hoverで表示 */
/* モーダル共通スタイル */
/* 共通モーダルスタイル */
.modal-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  padding: 1rem;
  width: 100%;
  z-index: 999;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin: 10px 20px;
}
/* 個別カラー設定 */
.modal-menu1 {
  background-color: #FFBBBC;
  border-radius: 12px;
  padding: 20px;
}
.modal-menu2 {
  background-color: #A4CC57; 
  border-radius: 12px;
  padding: 20px;
}
.modal-menu3 {
  background-color: #B1E8CC;
  border-radius: 12px;
  padding: 20px;
}
.modal-menu4 {
  background-color: #FFD5A4; 
  border-radius: 12px;
  padding: 20px;
}
.modal-menu5 {
  background-color: #B6E1F1; 
  border-radius: 12px;
  padding: 20px;
}
.modal-menu6 {
  background-color: #F8CAD9; 
  border-radius: 12px;
  padding: 20px;
}
.modal-menu7 {
  background-color: #E9E9E9; 
  border-radius: 12px;
  padding: 20px;
}
.modal-menu8 {
  background-color: #E9E9E9; 
  border-radius: 12px;
  padding: 20px;
}
/* nav-bar を基準に position: relative にしておく */
.nav-bar {
  position: relative;
}
/* 各モーダル用に個別位置調整（必要があれば） */
.modal-menu1,
.modal-menu2,
.modal-menu3,
.modal-menu4,
.modal-menu5,
.modal-menu6,
.modal-menu7,
.modal-menu8 {
  /* 必要なら left の位置を調整する */
}
.modal-inner-section {
  display: flex;
  /*flex-wrap: wrap;*/
  gap: 20px;
  justify-content: space-between;
}
.modal-inner-item {
/*  flex: 1 1 20%;*/
  min-width: 200px;
  margin-right: 2%;
  width:100%;
  display: flex;
  flex-direction: column;
/*  margin-left: 30px;*/
  padding: 10px 0;
	  text-align: left;
}
.center-align {
  justify-content: center;
  align-items: center;
  text-align: center;
}
.modal-inner-item h2 {
  font-size: 20px;
  margin: 0;
  border-left: none;
  border-bottom: none;
}
.modal-label {
  background-color: white;
  border-radius: 9999px;
  padding: 5px 15px;
  font-weight: bold;
  display: inline-block;
  width: fit-content;
  margin-bottom: 12px;
  font-size: 0.8rem;
  color: #000;
}
.label-none{
  background-color: unset;
}
.free-label{
	background: #EA3381;
	border-radius: 15px;
	color: #fff;
	padding: 3px 6px;
	font-size: 0.6rem;
	margin-left: 5px;
}
.modal-inner-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.modal-inner-list2 {
  margin-bottom: 2rem;
}
.modal-inner-list1 {
  margin-bottom: 1rem;
}
.modal-inner-list li {
  border-bottom: 1px solid white;
  padding: 10px 0;
  position: relative;
}
.modal-inner-list li a {
  text-decoration: none;
  color: #000;
  font-weight: bold;
  display: block;
  padding-right: 20px;
  position: relative;
  font-size: 0.65rem;
  font-size: 0.75rem;
  text-decoration: none;
}
.modal-inner-list li::after {
  content: '＞';
  color: white;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
}
.modal-inner-list li a  .txt-small {
  font-size: 0.6rem;
}
li.menu1 {
    border-bottom: 4px solid #FF8484 !important;
}
li.menu2 {
    border-bottom: 4px solid #A4CC57 !important;
}
li.menu3 {
    border-bottom: 4px solid #57CC93 !important;
}
li.menu4 {
    border-bottom: 4px solid #FFAC4B !important;
}
li.menu5 {
    border-bottom: 4px solid #4CB5DC !important;
}
li.menu6 {
    border-bottom: 4px solid #EF8BAB !important;
}
li.menu7 {
    border-bottom: 4px solid #DBDBDB !important;
}
li.menu8 {
    border-bottom: 4px solid #DBDBDB !important;
	/*padding: 10px 20px 5px !important;*/
}
.icon-y {
  /*position: absolute;*/
  display:inline-block
  margin-top: -30px;
  font-size: 0.5rem;
  font-weight: bold ;
}
img.icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 9.5px;
  margin-top: -1.5px;
  margin-top: 0;	
}
img.icon-tab {
  position: relative;
  top: -3px;
}
.custom-header::after {
  content: "";
  display: block;
  position: relative;
  /*top: -10px;*/ /* .custom-header との間隔 */
  width: 100vw; /* 画面全体幅にする */
  height: 2px;
  background-color: #ccc; /* グレー */
  margin-left: calc(-50vw + 50%); /* コンテナからはみ出して画面左端に揃える */
}
.modal-login {
  position: absolute;
  top: 100%;
  left: -17.5%;
  background: #ffffff;
  border: 1px solid #ddd;
  display: none;
  max-width: 178px;
  height: auto;
  padding: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
@media screen and (max-width: 768px) {
  .modal-inner-section {
    flex-direction: column;
  }

  .modal-inner-item {
    width: 100%;
    border-left: none; /* SP時は線を非表示 */
    padding-left: 0;
    margin: 0;
  }
}
/* PC時の1列目を半分の幅に */
@media screen and (min-width: 769px) {
  ul.category-menu li {
    width: 87px;
    height: 37px;
  }
  ul.category-menu li.menu8 {
    width: 198px;
  }
  .modal-inner-item:first-child {
    min-width: 100px;
	width: 10%;
  }
  .modal-inner-item:first-child {
    border-right: 2px solid white;
    padding-right: 20px
  }
  .modal-inner-item2 {
    min-width: 330px !important;
	width: 33% !important;
  }
  .modal-inner-item3 {
    min-width: 130px !important;
	width: 13% !important;
  }
	.modal-inner-item4 {
		min-width: 200px !important;
		width: 20% !important;
	}
}
ul.login-list {
    margin: 0;
    text-align: left;
	padding: 8px 0 0;
}
ul.login-list li{
    border-bottom: solid 1px #DDDDDD;
    padding: 0 16px 3px;
    margin-bottom: 6px;
	list-style: none;
}
ul.login-list li:last-child {
	border:0;
	margin-bottom: 3px;
}

ul.login-list li a {
    color: #000;
	font-size: 13px;
}

ul.login-list li a:hover {
    text-decoration: none;
}

/* 月刊連載一覧 */
/* ▼ フィルター全体（右寄せ・レスポンシブ） */
.category-filter {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 16px;
  white-space: nowrap;
}

/* PCで右寄せ */
@media screen and (min-width: 768px) {
  .category-filter {
    float: right;
    width: 30%;
    justify-content: flex-end;
  }
}

.serialization-count {
  margin-bottom: 10px;
  font-size: 14px;
  color: #666;
}

.serialization-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.serialization-list li {
  margin-bottom: 12px;
  border-bottom: 1px solid #e0e0e0;
}

.serialization-list li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  padding: 8px 0;
  transition: background 0.2s;
  color: #333;
}

.serialization-list li a:hover {
  background-color: #f5f5f5;
}

.serialization-list .title {
  font-weight: bold;
  flex: 1;
}

.serialization-list .cat {
  margin-left: 10px;
  font-size: 0.9em;
  color: #666;
  white-space: nowrap;
}

.serialization-list .date {
  margin-left: 10px;
  font-size: 0.9em;
  color: #999;
  white-space: nowrap;
}

.pagination {
  text-align: center;
  margin: 30px 0;
}

.pagination .page-numbers {
  display: inline-block;
  padding: 8px 12px;
  margin: 0 4px;
  border: 1px solid #ccc;
  color: #333;
  text-decoration: none;
}

.pagination .current {
  /*background-color: #333;*/
  color: #fff;
  border-color: #333;
}

.pagination .page-numbers:hover {
  background-color: #eee;
}
.clear {
  clear: both;
}
/* ダウンロード一覧から項目削除 */
#wpdmmydls-465632541b45f90e14722f952cdeddef th:nth-child(2) {
  display: none;
}
#wpdmmydls-465632541b45f90e14722f952cdeddef td.__dt_col_categories {
  display: none;
}
.col-md-7 p {
    display: none;
}
/*.お問い合わせ */
ul.contact_order {
}
/*.TOPページ日付 */
time.entry-time {
    display: inline;
}
.news-list .entry-wrap.entry-wrap-grid {
  display: grid;
  grid-template-columns: 15% 70% 10%;
  gap: 10px;
}

/* スマホ（幅768px以下）では 30%・30%・40% に切り替え */
@media screen and (max-width: 768px) {
  .news-list .entry-wrap.entry-wrap-grid {
    grid-template-columns: 30% 70% 0%;
    gap: 10px;
  }
  .mai-grid.news-list.entries.entries-grid.has-boxed.has-lg-margin-top.has-lg-margin-bottom {
    padding: 3% !important;
  }
}
/* TOPNEWS */
.news-list .mai-grid.entries.entries-grid.has-boxed.has-lg-margin-top.has-lg-margin-bottom {
    text-align: center;
    margin: 0 auto;
    width: 80%;
}
/* スマホ（幅768px以下）では 30%・30%・40% に切り替え */
@media screen and (max-width: 768px) {
  .news-list .mai-grid.entries.entries-grid.has-boxed.has-lg-margin-top.has-lg-margin-bottom {
    width: 100%;
  }
}
.news-list .entry {
    border: none;
    border-radius: none;
    box-shadow: none; 
}
.mai-grid.news-list.entries.entries-grid.has-boxed.has-lg-margin-top.has-lg-margin-bottom {
  border: 1.5px solid #eee !important; /* 薄いグレーの枠線 */
  border-radius: 8px;     /* 角を丸く */
  padding: 32px 48px;          /* 内側の余白 */
  box-sizing: border-box; /* paddingを含めて幅を調整 */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); /* ほんのり影をつける */
  background-color: #fff; /* 背景を白に（必要に応じて） */
  transition: box-shadow 0.3s ease; /* ホバー時に滑らかに */
}
.news-list .entry.entry-grid.is-column.has-entry-link.news.type-news.pmpro-has-access:not(:first-of-type) {
  border-top: 1px solid #eee; /* 上に薄い灰色の線 */
  padding-top: 16px; /* 線との余白（必要なら） */
  margin-top: 19px;  /* 要素間の間隔（必要なら） */
}
.news-list .entry-wrap.entry-wrap-grid{
    padding: 0 10px 0 10px;
}
.news-list .entry-meta.entry-meta-before-content {
    margin-bottom: 0;
}
.news-list h3.entry-title {
    margin-bottom: 0;
}
.news-list a.entry-title-link {
    font-weight: normal;
}
/* heder */
img.custom-logo {
    width: 129px;
    height: 25px;
	margin-top: 6px;
}
.top-bar-m {
    height: 32px;
	margin: 0;
}
.wp-block-group.alignfull.has-black-color.has-text-color.has-background.has-xs-font-size.has-xs-padding-top.has-xs-padding-bottom {
    height: 100%;
}
.mai-columns{
    padding: 4px 0;
}
/* マイページダウンロード件数表示 */
.w3eden h3 {
    display: block !important;
}
/* レイアウト調整 */
:root {
 /*   --breakpoint-xl: 1440px;：*/
}
section.before-header.template-part {
    height: 24px;
}
.site-header-wrap {
  margin: 0 auto;
  max-width: 1320px;
}
.login-button {
  width: 208px;
  height: 32px;
  display: inline-block;
  padding: 7px 10px 7px 10px;
  text-align: center;
}
header.site-header {
    max-width: 1440px;
    /* padding: 0 60px; */
    text-align: center;
    margin: 0 auto;
	margin-top: 18px;
}
.site-header-wrap {
    margin: 0 auto;
    max-width: 1320px;
}
.wp-block-group.alignfull.has-black-color.has-text-color.has-background.has-xs-font-size.has-xs-padding-top.has-xs-padding-bottom {
    padding: 0;
}
p.has-no-margin-bottom.has-black-color.has-text-color.has-sm-font-size {
    font-size: 12px;
}
p.has-black-color.has-text-color.has-link-color.has-sm-font-size.wp-elements-567edecc33f78490f2316ed37d51a6e4 {
    font-size: 12px;
}
/*  */
/* お問い合わせ */
/*  */
.cf7-row {
    display: flex;
    gap: 10px; /* フィールド間の間隔 */
}

.cf7-row label {
    flex: 1; /* 同じ幅で並べたい場合 */
}

/*  */
/* 登録画面 */
/*  */
.process-img {
    text-align: center;
    margin: 0 auto;
    margin-bottom: 50px;
    width: 272px;
    height: 85px;
}
.pmpro_level_cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between; /* 3列対応 */
  justify-content: center; /* 2列対応 */
  gap: 24px;
  margin-top: 24px;
}

/* ✅ カード本体 */
.pmpro_level_card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  width: calc(33.333% - 16px); /* 横3列対応 */
  min-width: 309px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease;
  text-align: center;
}

/* ✅ カードホバー効果 */
.pmpro_level_card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

/* ✅ レベル名 */
.pmpro_level_card h3.level-name {
  font-size: 1.2em;
  margin-bottom: 10px;
  color: #333;
}

/* ✅ ボタン（中央＆角丸） */
.pmpro_level_card .pmpro_btn {
  margin-top: auto;
  margin-left: auto;
  margin-right: auto;
  background: #DBDBDB;
  color: #000 !important;
  padding: 10px;
  border-radius: 999px; /* ← 角丸ボタン */
  text-align: center;
  text-decoration: none;
  display: inline-block;
  border: none;
  font-size: 16px;
}
@media (max-width: 768px) {
  .pmpro_level_card .pmpro_btn {
     background: #EF8BAB;
  }
}
.pmpro_level_card .pmpro_btn-outline {
  background: #fff;
  color: #0073aa !important;
  border: 1px solid #0073aa;
}

.pmpro_level_card_link {
  text-decoration: none;
  color: inherit;
  width: calc(33.333% - 16px);
  min-width: 250px;
}

.pmpro_level_card {
  background: #fff;
  border: 1px solid #EEEEEE;
  border-radius: 12px;
  padding: 38px 28px 30px;
  box-sizing: border-box;
  text-align: center;
  /* 浮き上がり無効 */
  transition: none;
  box-shadow: none;
}

.pmpro_level_card:hover {
  box-shadow: none;
  transform: none;
}

.content {
    max-width: 1000px;
}
.membership-ttl {
    font-size: 23px;
    font-weight: bold;
    text-align: center;
	margin-top: 30px;
	color: #000;
}
.level-action {
    margin-top: 37px;
}
/* 料金非表示 */
.pmpro_level_cards .level-price {
    display: none;
	margin-top: 20px;
}
.pmpro_level_cards .member-level-ttx {
    font-size: 16px;
    font-family: Bilo;
    font-weight: bold;
	height: 40px;
}
.member-list-line {
    border: solid 1px #707070;
    margin: 38.5px 0 25.5px 0;
}
ul.member-list-ttx {
    text-align: left;
    height: 103px;
    font-size: 16px;
	line-height: 1.2;
}
a.pmpro_btn {
    width: 252px;
    height: 44px;
}
.pmpro_level_cards .level-code {
    /*height: 220px;*/
}
.pmpro_level_cards .pmpro_level_card {
    justify-content: normal;
}
/* ボタンスタイル */
.pmpro_btn {
  background-color: #DBDBDB;
  color: #000000 !important;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 999px;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.pmpro_btn:hover {
  background-color: #DBDBDB;
  /*color: #000000 !important;*/
}
.level_btn:hover {
  background-color: #F7CD47;
  color: #000000 !important;
}
/* 会員種別エラーテキスト */
.my-custom-html {
    font-size: 16px;
}
/* ✅ モバイル時：1列 */
@media (max-width: 768px) {
  .pmpro_level_card {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ログイン画面END */
.custom-confirmation-wrapper {
  border: solid 1.5px #E0E0E0;
  background: #fff;
  border-radius: 8px;
  padding: 68px 160px 82px;
  max-width: 880px;
  max-height: 390px;
  margin: 40px auto;
  text-align: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  font-family: "Hiragino Kaku Gothic ProN", "游ゴシック体", YuGothic, sans-serif;
}

.custom-confirmation-title {
  font-size: 23px;
  font-weight: bold;
  margin-bottom: 20px;
}

.custom-confirmation-divider {
  height: 2px;
  width: 100%;
  background: #e5e5e5;
  margin: 40px auto 48px;
  position: relative;
}

.custom-confirmation-highlight {
  height: 2px;
  width: 20%;
  background: #f3a5c4;
  position: absolute;
  top: 0;
  left: 0;
}

.custom-confirmation-message {
  font-size: 19px;
  color: #333;
  margin-bottom: 64px;
}

.custom-confirmation-button {
	display: inline-block;
    background: #EF8BAB;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    padding: 11px 40px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.3s;
    max-width: 324px;
    max-height: 44px;
}

.custom-confirmation-button:hover {
  color: #fff;               /* 白を維持 */
  text-decoration: none;    /* 下線を出さない */
}

/* ===== 📱スマホ・タブレット対応 ===== */
@media screen and (max-width: 480px) {
  .custom-confirmation-wrapper {
    padding: 30px 20px;
    margin: 20px 10px;
  }

  .custom-confirmation-title {
    font-size: 18px;
  }

  .custom-confirmation-message {
    font-size: 13px;
    margin-bottom: 24px;
  }

  .custom-confirmation-button {
    width: 100%;
    font-size: 15px;
    padding: 14px 0;
  }

  .custom-confirmation-highlight {
    width: 30%;
    left: 35%;
  }
}
/* ログイン画面 */
h2.login-title {
    font-size: 23px;
    text-align: center;
}
.custom-login-wrapper {
  border: solid 1.5px #E0E0E0;
  max-width: 396px;
  margin: 24px auto;
  padding: 2em;
  padding-top: 24px;
  background: #fff;
  text-align: center;
  border-radius: 8px;
  font-size: 16px;
}

p.login-username {
    text-align: left;
}
p.login-password {
    text-align: left;
}
.pmpro_form_field-password-toggle {
    text-align: center;
}

.custom-login-wrapper .login-title {
  font-size: 24px;
  margin-bottom: 20px;
}

.custom-login-wrapper input.input {
  width: 100%;
  padding: 12px;
  margin-bottom: 1em;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.login-submit input[type="submit"] {
  background: #DBDBDB;
  color: #000;
  font-weight: bold;
  border: none;
  padding: 14px 24px;
  width: 100%;
  cursor: pointer;
  border-radius: 4px;
}

.login-submit input[type="submit"]:hover {
  background: #F7CD47;
}

.login-links {
    margin-top: 20px;
}

.login-links a {
  font-size: 13px;
  color: #e91e63;
  text-decoration: none;
}

.register-message {
  margin-top: 2em;
  font-size: 13px;
}

.register-link {
    display: inline-block;
    background: #DBDBDB;
    font-size: 16px !important;
    color: #000 !important;
    font-weight: bold;
    border: none;
    padding: 14px 24px;
    width: 100%;
    cursor: pointer;
    border-radius: 4px;
}

.register-link:hover {
  background: #F7CD47;
}
/* ログイン画面 */
.nsl-container.nsl-container-block.nsl-container-embedded-login-layout-below {
    text-align: center;
}
input#wp-submit {
    background: #EA3381;
    color: #fff;
}
p.login-remember {
    text-align: left;
}
p.register-message {
    color: #000;
}
/* 縦並びに整える */
.pmpro_card_actions .pmpro_actions_nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}
.pmpro_login_wrap span {
  color: transparent !important;
  font-size: 0 !important;
}
/* ユーザー情報入力 */
.custom-checkout-wrapper {
    max-height: none;
	text-align: left;
}
.custom-checkout-wrapper .pmpro_level_name_text,
.custom-checkout-wrapper .member-level-ttx,
.custom-checkout-wrapper .member-list-line,
.custom-checkout-wrapper .member-list-ttx,
.custom-checkout-wrapper .pmpro_level_cost_text,
.custom-checkout-wrapper h2.pmpro_form_heading.pmpro_font-large {
	display: none;
}
label.pmpro_form_label {
    margin: 24px 0 10px;
}
.pmpro_btn_erea {
    display: flex;
}
.back-link-btn {
    width: 120px;
	margin-right: 4px;
}
a.back-btn {
    width: 100%;
    text-align: center;
	border-radius: 4px;
}
a.back-btn:hover {
	background-color: #DBDBDB;
	text-decoration: none;
}
.pmpro_btn {
	height: 44px;
}
.pmpro_next_btn {
    background: #EF8BAB;
    color: #fff !important;
	width: 196px;
	border-radius: 4px;
	padding: 10px;
}
.pmpro_asterisk abbr, .pmpro_asterisk abbr[title] {
    display: none;
}
span.pmpro_asterisk:after { 
	content: "(必須)";
	font-size: 10px;
	color: #EF8BAB;
}
span.pmpro_form_field-password-toggle-state {
    display: none;
}
/* すでにアカウントをお持ちですか ?  */
fieldset#pmpro_user_fields .pmpro_card_actions {
    display: none;
}
fieldset#pmpro_form_fieldset-\%e8\%bf\%bd\%e5\%8a\%a0\%e6\%83\%85\%e5\%a0\%b1 {
    margin-top: -30px;
}
/" snslogin "/
p.pmpro_form_fields-description {
    display: none;
}
p.pmpro_form_fields-description {
    display: none;
}
fieldset#pmpro_social_login .pmpro_card_content .pmpro_form_fields .pmpro_form_field {
    display: none;
}
/*.プロフィール確認 */
.pmpro_membership-account-level {
    margin-top: 30px;
}
/*.プロフィール編集 */
.pmpro_membership-profile_edit_content,
.pmpro_membership-account-content{
	max-width: 797px;
	margin: 0 auto;
	text-align: center;
}
.pmpro_membership-profile_edit,
.pmpro_membership-account{
	width: 100%;
	padding:57px 0 126px;
	text-align: left;
	border: solid 1.5px #E0E0E0;
    border-radius: 8px;
}
.pmpro_membership-account{
	padding:57px 92px 126px;
}
.profile_icon_edit{
	padding:40px 92px 33px;
}
h2.profile_edit_ttl {
    font-size: 14px;
	font-family: Bilo;
}
h2.profile_edit_ttl2 {
	padding: 0 92px;
    font-size: 14px;
	font-family: Bilo;
}
.pmpro_membership-profile_edit input[type="submit"] {
    font-weight: bold;
    background: #F0B6C8;
    color: #fff;
    margin: 10px;
    border-radius: 4px;
    font-family: Barlow;
}
.pmpro_membership-profile_edit_input{
	padding:0 236px 0;
}
.pmpro_membership-profile_edit label.pmpro_form_label {
    font-size: 14px;
    font-family: Bilo;
}
.pmpro_membership-profile_edit .pmpro_btn.pmpro_btn-cancel{
	font-size: 16px;
	font-family: Bilo;
	border-radius: 4px;
	width:40%;
}
.pmpro_membership-profile_edit .pmpro_btn.pmpro_btn-submit-update-profile{
    background: #EF8BAB;
	color: #fff !important;
	border-radius: 4px;
	width:58.5%;
}
.pmpro_membership-profile_edit .pmpro_form_input{
	height: 44px;
	/*width: 324px;*/
}
.pmpro_membership-profile_edit h2.pmpro_form_heading.pmpro_font-large {
    display: none;
}
.pmpro_membership-profile_edit .pmpro_spacer {
    margin: -20px;
}
form#basic-user-avatar-form {
    text-align: center;
}
img.avatar.avatar-96.photo {
    margin: 0 auto;
}
#basic-user-avatar-form p.description {
    display: none;
}
.pmpro_membership-profile_edit .pmpro_form_field.pmpro_form_field-first_name {
    display: none;
}
.pmpro_membership-profile_edit .pmpro_form_field.pmpro_form_field-last_name{
	display: none;
}
.pmpro_membership-profile_edit .pmpro_form_field.pmpro_form_field-display_name {
    display: none;
}
/* アカウントページ table */
th.pmpro_table_order-total,
td.pmpro_table_order-amount,
th.pmpro_table_order-status,
td.pmpro_table_order-status {
  display: none;
}
/* メンバーシップキャンセル画面 */
#pmpro_cancel a.pmpro_btn {
    width: auto;
    height: 44px;
}
#pmpro_cancel a.pmpro_btn:hover {
	text-decoration: none;
}
/* お気に入りボタン非表示 */
.fav_icon {
    display: none;
}
.card.card-fav {
    display: none;
}
/* ダッシュボードプロフ編集非表示 */
#udm-account {
    display: none;
}
/* ダッシュボードプロフ編集 */
.site-inner {
    /*background: #F4F4F4;*/
}
.user_dashboard {
  display: flex;
}
.user_dashboard_left {
  width: 300px;
  padding: 10px;
  box-sizing: border-box;
  text-align: center;
}
.user_dashboard_right {
  max-width: 800px;
  padding: 10px;
  box-sizing: border-box;
  margin-left: 5px;
}
.user_dashboard_btn a {
    background: #EF8BAB;
    padding: 10px;
    border-radius: 20px;
    color: #fff;
    font-size: 13px;
    font-weight: bold;
    width: 200px;
    text-align: center;
    display: inline-block;
	border: solid 2px #fff;
	margin: 5px 10px;
}
.stripe_portal_btn a {
    background: #fff;
    color: #EF8BAB;
    border: solid 2px #ef8bab;
}
.user_dashboard_btn a:hover {
	text-decoration:none;
}
.stripe_portal_btn a:hover {
	background: #F7CD47;
	color: #000;
	text-decoration:none;
	background: #fff;
    color: #EF8BAB;
    border: solid 2px #ef8bab;
}
/* ダウンロード検索結果 */
main.download-search-results {
    max-width: 1000px;
    margin: 0 auto;
}
.download-search-results .card-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px 0;
}
.download-search-results .card {
    width: calc(33.333% - 13.33px);
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}
.download-search-results .card-image img {
    width: 300px;
    height: auto;
    display: block;
}
.download-search-results .card-content {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.download-search-results .card-title {
    font-size: 16px;
    margin: 0 0 10px;
}
.download-search-results .card-button {
    text-align: center;
}
/* ダウンロード履歴5件 */
.download-thumb-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.download-thumb-grid a {
    display: block;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}
.download-thumb-grid a:hover {
    transform: scale(1.03);
}
.download-thumb-grid img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}
.download-pagination {
  margin-top: 25px;
  text-align: center;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.download-pagination .page-navi {
  display: inline-block;
  margin: 0 6px;
  padding: 8px 14px;
  border: 1.5px solid #0073aa;
  border-radius: 6px;
  text-decoration: none;
  color: #0073aa;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease;
  user-select: none;
  cursor: pointer;
}
.download-pagination .page-navi:hover {
  background-color: #0073aa;
  color: #fff;
  border-color: #005177;
}
.download-pagination .page-navi.current {
  background-color: #005177;
  color: #fff;
  border-color: #003952;
  cursor: default;
}
.download-pagination .page-navi.prev,
.download-pagination .page-navi.next {
  font-weight: 700;
  font-size: 1.1em;
  padding: 8px 16px;
}
.download-pagination .page-navi.prev:hover,
.download-pagination .page-navi.next:hover {
  background-color: #004a6e;
  border-color: #002f49;
  color: #fff;
}
.card.card-dls {
  display: none !important;
}
/* 「bg-white」のcard-headerを持つcard全体を非表示に */
.card.card-default.dashboard-card:has(> .card-header.bg-white) {
  display: none;
}
/* Hide username field AND its label on PMPro checkout */
.pmpro_form_field-username {
   /*display: none !important;*/
}


/* Hide username field AND its label on PMPro checkout */
.pmpro_form_field-username {
/*    display: none !important;*/
}
/*.パスワードヒント */
span.pmprosp-tooltip__password {
    display: none;
}
/*.パスワードアイコン横並び */
input#password {
    width: 75%;
}
#password,
.pmpro_form_field-password-toggle {
  display: inline-block;
  vertical-align: middle;
}
#password,
.pmpro_form_field-password-toggle {
  margin-right: 8px; /* 任意。必要に応じて調整 */
}
/* 項目非表示 */
#user_name1-2_div label.pmpro_form_label, #user_name1-2_div span.pmpro_asterisk:after,
#user_name2-2_div label.pmpro_form_label, #user_name2-2_div span.pmpro_asterisk:after {
  color: transparent;     /* 元のテキストを透明に */
  position: relative;
}

#user_name1-2_div label.pmpro_form_label::after, #user_name2-2_div label.pmpro_form_label::after  {
  content: "　";           /* 全角スペース */
  color: black;           /* 表示色 */
  position: absolute;
  top: 0;
  left: 0;
}
#user_name_div,
#user_name1-2_div,
#user_name2_div,
#user_name2-2_div {
  display: inline-block;    /* または flexboxで横並び */
  vertical-align: top;      /* 上揃え */
  width: 48%;               /* 適宜調整 */
  box-sizing: border-box;   /* パディング・ボーダー込みで幅調整 */
  margin-right: 2%;         /* 余白 */
}
/* 最後の要素の右マージンは不要ならリセット */
#user_name1-2_div, #user_name2-2_div {
  margin-right: 0;
}
small.custom-field-message {
    font-size: 100%;
}
/* 
 * ユーザー編集画面
 *  */
.pmpro_list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
/* 横並びさせたい氏名と氏名2 */
.pmpro_list li:nth-child(4),
.pmpro_list li:nth-child(5),
.pmpro_list li:nth-child(6),
.pmpro_list li:nth-child(7) {
  flex: 1 1 45%;
}
/* それ以外は幅100% */
.pmpro_list li:not(:nth-child(4)):not(:nth-child(5)):not(:nth-child(6)):not(:nth-child(7)) {
  flex: 1 1 100%;
}
/* 項目非表示 */
.pmpro_card_content ul.pmpro_list li:nth-child(5) strong,
.pmpro_card_content ul.pmpro_list li:nth-child(7) strong {
    display: none;
}
/* 
 * イラストオーダー
 *  */
.order {
    text-align: left;
    margin: 0 auto;
    font-size: 14px;
	font-weight: bold;
}
.order p.order-txt {
    text-align: center;
}
.order p.order-txt2 {
    text-align: left;
}
.cf7-hidden-field {
    display: none !important;
}
.order ul.contact_order {
    font-size: 12px;
}
.order input.wpcf7-form-control.wpcf7-submit.has-spinner {
    background: #EF8BAB 0% 0% no-repeat padding-box;
    border-radius: 4px;
    font-weight: bold;
    width: 325px;
}
.order .order-btn {
    text-align: center;
}
.order .wpcf7-spinner{
	display: none;
}

/* Contact Form 7の画像選択用ラジオボタン */
/* 固有クラス名で他ページと被らないように */
/* ラッパー */
.cf7-image-select-wrapper-unique {
  display: flex;
  gap: 30px;
  justify-content: center;
  margin-top: -30px;   /* 必要に応じて調整 */
  margin-bottom: 0;
  padding: 0;
}

/* ラベル（全体の枠） */
label.cf7-image-select-label-unique {
  cursor: pointer;
  display: flex;
  flex-direction: column;  /* 縦並び */
  /*align-items: center;*/
  width: 170px;
  text-align: center;
}

/* 画像 */
label.cf7-image-select-label-unique img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border: 2px solid #ccc;
  border-radius: 8px;
  transition: border-color 0.3s, box-shadow 0.3s;
  margin-bottom: 8px;
}

/* ラジオボタン */
label.cf7-image-select-label-unique input[type="radio"] {
  margin: 5px 0 0;
  cursor: pointer;
  position: static;
  opacity: 1;
  width: auto;
  height: auto;
}

/* 選択されたときの画像ハイライト */
label.cf7-image-select-label-unique input[type="radio"]:checked + img {
  border-color: #007acc;
  box-shadow: 0 0 8px #007acc;
}

/* 任意：画像の下にラベルテキストを表示したいとき */
label.cf7-image-select-label-unique span.cf7-image-select-label-text-unique {
  margin-top: 5px;
  font-weight: bold;
  font-size: 16px;
  user-select: none;
}

/*お問い合わせ*/
.contact {
    max-width: 720px;
    margin: 0 auto;
}

.contact p {
    font-size: 16px;
    font-weight: bold;
    text-align: center;
	width: 100%;
}

.contact label {
	width: 100%;
	margin-bottom: 20px;
}

.contact .hidden-label {
    margin-top: 50px;
}

.contact .contact-label2 {
	width: 100%;
    text-align: center;
    margin: 0 auto;
}

.contact .cf7-row{
    display: flex;
    gap: 10px;
    justify-content: space-between;
}
.contact label.contact-label3 {
    width: 100%;
    text-align: left;
}

.contact label.contact-label {
    text-align: left;
    /* width: 50%; */
}

.contact input.wpcf7-form-control.wpcf7-submit.has-spinner{
    background: #EF8BAB 0% 0% no-repeat padding-box;
    border-radius: 4px;
    opacity: 1;
    font-weight: bold;
    width: 30%;
}
@media only screen and (max-width: 767px){
	.contact input.wpcf7-form-control.wpcf7-submit.has-spinner{
		width: 70%;
	}
}
.wpcf7-form-control.has-spinner {
    position: relative;
}
.wpcf7-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
/* 規約 */
p.kiyaku-ttx1 {
    font: 15px Bilo;
	color: #000;
	margin-bottom: 30px;
}
p.kiyaku-ttx2 {
    font: 15px Bilo;
	color: #000;
	margin-bottom: 30px;
}
p.kiyaku-ttx3 {
    font-size: 17px;
    color: #000;
    font-weight: bold;
}
.kiyaku-ttl {
    font: normal normal bold 24px / 34px Bilo;
    border-bottom: 4px solid transparent;
    border-image: linear-gradient(90deg, #EF8BAB 0 14%, #C6C6C6 14% 100%) 1;
    padding-bottom: .25em; 
}
a.kiyaku_link {
  color: #000;
  text-decoration: underline; 
  text-decoration-color: #000;
  font-weight: bold;
}
a.kiyaku_link:hover {
  color: #000;
  text-decoration: underline;  
  text-decoration-color: #000;
}
a.kiyaku_link2 {
  color: #000;
  text-decoration: none;
  font-weight: bold;
}
a.kiyaku_link2:hover {
  color: #000;
  text-decoration: noen;
}
a.sitemap_link {
  color: #000;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
}
a.sitemap_link:hover {
  color: #000;
  text-decoration: noen;
}
span.pdf {
    font-size: 13px;
    color: #EF8BAB;
}
img.qa-img {
    margin: 2px 0;
	width: 30%;
}
@media only screen and (max-width: 767px){
	img.qa-img {
		margin: 2px 0;
		width: 50%;
	}
}
span.qa-txt {
    color: #F08BAB;
}
span.sitemap-ttl {
    font-size: 16px;
}
.member-plan {
    text-align: center;
    max-width: 650px;
    margin: 50px auto 0;
}
img.icon-tab2 {
    top: 3px;
}
/* 登録画面（プレミアム）*/
#pmpro_level-5 {
  position: relative;
  display: none;
} 
#pmpro_level-5::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(200, 200, 200, 0.7);
  z-index: 10;
}
#pmpro_level-5::after {
  content: "Coming\A Soon";
  white-space: pre;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  font-weight: bold;
  color: #fff;
  text-align: center;
  z-index: 11;
}
/* 登録画面（プレミアム）END*/
/**************************/
/* 202510 ADD             */
/**************************/
/* スムーススクロール */
html {
  scroll-behavior: smooth;
}
/* モバイル対応 */
.pc-only {
    display: block !important;
}
.sp-only {
    display: none !important;
}
/* 会員種別 */
.pmpro_back {
	text-align: center;
	margin: 50px 20px 0;
}
.pmpro_back a {
	background: #DBDBDB;
	color: #000;
	padding: 10px 50px;
	font-weight: bold;
	border-radius: 4px;
}
/* 変更完了画面 */
span.confirm-ttx {
    font-size: 14px;
}
/* ダウンロード */
.illustration-tbl {
	display: flex !important;
}
@media only screen and (max-width: 767px){
	.pc-only {
		display: none !important;
	}
	.sp-only {
		display: block !important;
	}
	/* ヘッダー */
	.nav-bar {
		display: none;
	}
	.top-bar.top-bar-m {
		display: none;
	}
	.mai-column.is-column {
		display: none;
	}
	section.before-header.template-part {
		display: none;
	}
	.header-ttx-sp.sp-only {
		font-size: 10px;
		font-weight: bold;
		text-align: left;
	}
	.header-ttx-sp.sp-only p {
		margin-bottom: 5px;
	}
	header.site-header {
		margin: 0;
	}
	.custom-header::after {
		background: none;
	}
	.custom-header {
		border: none;
	}
	span.menu-toggle-icon {
		color: #EF8BAB;
	}	
	img.custom-logo-sp {
		width: 130px;
		margin-bottom: 5px;
	}
	/* ナビ */
	.sp-nav {
	  background: #fff;
	  border-top: 1px solid #ddd;
	  font-family: sans-serif;
	}
	.sp-menu {
	  list-style: none;
	  padding: 0;
	  margin: 0;
	  font-weight: bold;
	  font-size: 18px;
	}
	.menu-item {
	  border-bottom: 1px solid #CBCBCB;
	}
	.menu-title {
	  display: flex;
	  justify-content: space-between;
	  align-items: center;
	  padding: 14px 16px;
	}
	.menu-title a {
	  text-decoration: none;
	  color: #333;
	  flex: 1;
	}
	.toggle-icon {
	  cursor: pointer;
	  font-size: 20px;
	  font-weight: bold;
	  color: #555;
	  margin-left: 8px;
	}
	.sub-menu {
	  display: none;
	  flex-direction: column;
	  text-align: left;
	}
	.sub-menu li a {
	  display: block;
	  padding: 12px 16px 12px 32px;
	  text-decoration: none;
	  color: #555;
	  font-size: 16px;
	}
	ul.sub-menu.visible {
		border: none;
	}
	.sub-menu-toggle {
		padding: 1.35em 1em 1em 6em;
        position: absolute;
        width: 100%;
		border: none !important;
	}
	.sub-menu-toggle {
		justify-content: flex-end !important;
	}
	.sp-menu-list {
	  list-style: none; /* ・を消す */
	  padding: 0;
	  margin: 0;
	  text-align: left; /* 左寄せ */
		margin-top: 40px;
	}
	.sp-menu-list li {
	  color: #000; /* 黒文字 */
	  font-weight: normal;
	   padding: 14px 16px;
	}
	.sp-menu-list a {
	  color: inherit; /* liの色を引き継ぐ（黒） */
	  text-decoration: none; /* 下線を消す */
	  display: block; /* クリック範囲を広く */
	}
	span.sp-navi-ttx {
		color: #EF8BAB;
		border: solid 1px #EF8BAB;
		padding: 3px 11px;
		border-radius: 15px;
		font-size: 14px;
		margin-left: 10px;
	}
	span.free-label {
		padding: 3px 11px;
		border-radius: 15px;
		font-size: 14px;
		margin-left: 10px;
	}
	
	/* ナビサーチ */
	input.search-field {
		width: 300px;
		border-radius: 26px;
	}
	form.search-form {
		max-width: 300px;
		height: 50px;
		margin-top: 2%;
	}
	.search-login {
		display: block;
        background: #EF8BAB;
        padding: 5%;
        text-align: left;
	}
	
	/* サーチアイコン、フローティング */	
	/* ===== 右下固定の検索アイコン ===== */
	.search-illust-sp {
	  position: fixed;
	  bottom: 70px;
	  right: 10px;
	  z-index: 1000;
/*	  background: #3a81c7;*/
	  width: 92px;
	  height: 92px;
	  border-radius: 50%;
	  display: flex;
	  align-items: center;
	  justify-content: center;
/*	  box-shadow: 0 4px 10px rgba(0,0,0,0.2);*/
	  cursor: pointer;
	  transition: transform 0.3s ease, background 0.3s ease;
	}
	.search-illust-sp:hover {
/*	  background: #2a6bb3;
	  transform: scale(1.05);*/
	}
	.search-illust-sp-icon {
/*	  width: 72px;
	  height: 72px;
	  filter: brightness(0) invert(1);*/
	}
	/* ===== 背景オーバーレイ ===== */
	.search-illust-sp-overlay {
	  position: fixed;
	  inset: 0;
	  background: rgba(0, 0, 0, 0.6);
	  z-index: 900;
	  opacity: 0;
	  visibility: hidden;
	  transition: opacity 0.3s ease, visibility 0.3s ease;
	}
	.search-illust-sp-overlay.active {
	  opacity: 1;
	  visibility: visible;
	}
	/* ===== 検索エリア（下からスライドアップ） ===== */
	.search-illust-sp-area {
	  position: fixed;
	  bottom: -100%;
	  left: 0;
	  width: 100%;
/*	  height: 500px;*/
	  height: 90%;
	  background: #fff;
	  z-index: 1001;
	  padding: 20px;
	  box-shadow: 0 -4px 10px rgba(0,0,0,0.2);
	  border-radius: 20px 20px 0 0;
	  transition: bottom 0.4s ease;
	}
	.search-illust-sp-area.active {
	  bottom: 0;
	}
	/* ===== 閉じるボタン ===== */
	.search-close-btn {
	  position: absolute;
	  top: 15px;
	  right: 15px;
	  width: 36px;
	  height: 36px;
	  border: 2px solid #F2F2F2;
	  border-radius: 50%;
	  color: #333;
	  background: #F2F2F2;
	  display: flex;
	  align-items: center;
	  justify-content: center;
	  font-size: 22px;
	  font-weight: bold;
	  cursor: pointer;
	  transition: all 0.3s ease;
	  z-index: 1002;
	}
	.search-close-btn:hover {
	  background: #3a81c7;
	  color: #fff;
	  border-color: #3a81c7;
	  transform: rotate(90deg);
	}
	p.search-ttl {
		text-align: center;
		font-size: 18px;
		font-weight: bold;
	}
	/* ===== 詳細ページ ===== */
	.order-id-sp {
		display: flex;           /* 横並びにする */
		align-items: center;     /* 縦方向中央揃え */
	}
	.order-area-sp,
	.order-area {
		margin: 0;               /* 不要なマージンをリセット */
	}
	.btn-order {
		display: inline-block;   /* ボタンのサイズ調整 */
	}
	a.btn-order {
		border: 1px solid #707070 !important;
		padding-left: 20px !important;
		padding: 10px !important;
	}
	.order-area-sp strong {
    	padding-left: 0;
    }
	a.wpdm-download-link.download-on-click.btn.btn-primary {
    	background: #EF8BAB !important;
	}
	.w3eden [class*=col-] {
 	   padding: 0;
	}
	.wpdm-custom-template .info-area {
    	padding: 10px !important;
	}
	/* ===== 会員種別 ===== */
	a.pmpro_btn.level_btn.pmpro_btn-outline {
    	background: #EF8BAB;
	}
	.pmpro_level_card .pmpro_btn-outline {
    	color: #000 !important;
    }
	input#other_discount_code_button {
    	background: #DBDBDB;
	}
	/* ===== タイトル ===== */
	.page-header-wrap.wrap {
    	padding: 20px 10px;
	}
	h1.page-header-title {
    	font-size: 22px;
	}
	.alignfull.wp-block-cover[style*="--cover-block-justify-content:start"]>.wp-block-cover__inner-container>.alignfull, .alignfull.wp-block-group[style*="--group-block-justify-content:start"]>.wp-block-group__inner-container>.alignfull{
		width: 100% !important;
	}
	header .menu-toggle {
	  position: absolute;
	 right: 20px;
	}
	/* ===== TOPPAGE ===== */
	.fv-sp {
	  position: relative; 
		background: linear-gradient(73deg, rgb(172, 214, 255) 0%, rgb(147, 232, 213) 51%, rgb(252, 255, 177) 100%);
		padding: 20px;
		margin-top: -40px;
	}
	.fv-sp-r img {
	  position: absolute;  
	  top: 55%;           
	  right: 0;           
	  transform: translateY(-50%); 
	  width: 150px;       
	  z-index: 10;        
	}
	.fv_sp_text {
    	font-size: 20px;
    	color: #000;
    	font-weight: bold;
	}
	.fv_sp_text2 {
		font-size: 12px;
    	margin: 10px 0 30px;
	}
	.fv_sp_btn {
		background: #F7CD47;
		display: inline;
		padding: 15px;
		font-weight: bold;
		border-radius: 4px;
		color: #000;
	}
	.fv_sp_btn_u {
    	margin-bottom: 30px;
	}
	.sp-top-ttl {
    	font-size: 16px;
	}
	/* AI */
	.ai-sp {
		position: relative;
		background-color: #aec4e9;
		padding: 20px 20px 30px;
		margin-top: 40px;
		overflow: hidden;
	}
	.ai-sp-r {
		position: absolute;
		top: 0;
		right: 0;
		width: 100%;
		height: 100%;
		z-index: 0;
	}
	.ai-sp-r img {
		position: absolute;
		top: 60%;
		right: 20px;
		transform: translateY(-50%);
		width: 60%;
		opacity: 0.5;
	}
	.ai-sp-l {
		position: relative;
		z-index: 1;
	}
	.ai-sp-ttl {
		font-size: 20px;
		color: #000;
		font-weight: bold;
	}
	.ai-sp-ttx {
		font-size: 14px;
		margin: 10px 0 30px;
		color: #000;
	}
	.ai-sp-btn {
		background: #FFF;
		display: inline-block;
		padding: 15px 30px;
		font-weight: bold;
		border-radius: 4px;
		color: #000;
	}
	/* コンテンツ */
	.contents-sp ,
	.contents-sp2 ,
	.contents-sp3 ,
	.contents-sp4 {
		position: relative;
		background-color: #58cc929c;
		padding: 20px 20px 30px;
		margin-top: 40px;
		overflow: hidden;
	}
	.contents-sp2 {
		background-color: #ff88007a;
		text-align: right;
	}
	.contents-sp3 {
		background-color: #0096cc96;		
	}
	.contents-sp4 {
		background-color: #eb6e9678;
		text-align: right;
	}	
	.contents-sp-in {
	  display: flex;
	  align-items: center; /* 縦位置を中央にそろえる（任意） */
	  justify-content: space-between; /* 左右に配置（間を空ける） */
	}
	.contents-sp-in-l {
	  flex: 1; /* 左側を可変幅に（必要に応じて） */
	}
	.contents-sp-in-r {
	  flex-shrink: 0; /* 画像側が縮まないように */
	}
	.contents-sp-in-r img ,
	.contents-sp-in-l2 img{
    	height: 80px;
	}
	.contents-sp-in-ttl {
		font-size: 36px;
		color: #fff;
		font-weight: bold;
	}
	.contents-sp-in-ttx {
		font-size: 16px;
        margin: 10px 0 30px;
        color: #000;
	}
	.contents-sp-in-ttx2 {
		font-size: 16px;
        margin: 10px 0 30px;
        color: #000;
	}
	.contents-sp2 .contents-sp-in-ttl ,
	.contents-sp2 .contents-sp-in-ttx ,
	.contents-sp4 .contents-sp-in-ttl ,
	.contents-sp4 .contents-sp-in-ttx {
		text-align: right;
	}
	.contents-sp-in-l2{
    	max-width: 70%;
	}
	/* ダウンロード */
	.mds-hot-list {
		background: #fff;
		color: #333;
		border-radius: 6px;
		padding: 10px;
		line-height: 2;
		font-size: 15px;
		overflow-x: auto;
		white-space: nowrap;
	}
	a.mds-hot-term {
		border: 2px solid #EF8BAB !important;
		padding: 5px 20px;
        border-radius: 25px;
		color: #000;
		font-weight: bold;
		font-size: 18px;
	}
	a.mds-hot-term:hover,
	a.mds-hot-term:focus,
	a.mds-hot-term:active {
		text-decoration: none;
	}
	.mds-hot-box {
		background: #fff;
		padding: 0;
	}
	.mds-hot-title {
		color: #000;
		margin-bottom: 0;
		font-size: 16px;
	}
    .mds-results.mds-grid {
      display: grid !important;
      grid-template-columns: repeat(3, 1fr) !important;
      gap: 10px;
      width: 100%;
      overflow-x: hidden;
      box-sizing: border-box;
    }
    .mds-results.mds-grid > * {
      width: 100%;
    }
	.result-item img {
		width: 100px;
		height: 100px;
	}
	.mds-sortbar.open {
/*		margin-bottom: 150px;*/
	}
	
	
.mds-form-list-sp {
  display: flex;                  /* 横並びにする */
  align-items: center;            /* 縦の中央揃え */
  justify-content: space-between; /* 左右に分ける（必要に応じて） */
  gap: 10px;                      /* ラベルとセレクトの間の余白 */
  margin-bottom: 10px;            /* 下に余白（任意） */
	text-align: end;
}

.mds-form-list-sp-l {
  font-weight: bold;
  font-size: 16px;
  white-space: nowrap;            /* ラベルが折り返されないように */
	width: 30%;
        text-align: left;
}

.mds-form-list-sp-r {
  flex: 1;                        /* セレクト側を広げる */
	width: 70%;
        text-align: right;
}

.mds-form-list-sp select {
	width: 45%;
        padding: 6px 10px;
        font-size: 16px;
        text-align: right;
}	
	.mds-flag-cell label {
    display: unset !important;
}
	
	.kensu-sp {
	  display: flex;          /* 横並びにする */
	  align-items: center;    /* 縦の中央揃え */
	  justify-content: flex-end;
	  gap: 10px;              /* 要素間の余白（任意） */
	  margin-top: 15px;
	}
	.kensu-sp-l {
	  font-size: 14px;
	}
	.kensu-sp-r {
	  display: flex;
	  align-items: center;
	}
	.mds-count-badge {
		background: #EF8BAB;
		position: unset;
		text-align: center;
		font-size: 22px;
		padding: 10px 20px;
	}
	.mds-form-wrap-u-sp {
		background: #E6E6E6;
		padding: 10px;
	}
	.mds-cell {
		background: #fff;
		display: block !important;
	}
	.mds-sortbar.open span.text {
		margin-right: 5px;
	}
	.mds-form-wrap-d-sp {
		background: #F2F2F2;
		padding: 10px;
	}
	.mds-cell-sp {
		background: #F2F2F2;
	}
	.mds-sortbar-menu {
		position: unset;
    	right: 10px;
	}
}
/* 202510 START */
/* イラストダウンロード
 * MDSサムネイルのプレースホルダーを小さくする */
@media (max-width: 768px){
.mds-thumb-ph {
  width: 100px !important;
  height: 100px !important;
}
	.mds-form-list-sp select {
        margin-left: 55%;
    }
	select[name="color"] {
  text-align: right;
}
	    .mds-sortbar-menu {
        position: absolute;
        left: -110px;
    }
	form.mds-search-form.mds-form-horizontal {
    position: relative;
    overflow: visible !important;
	}
	.mds-flag-cell label {
    margin-right: 10px;
}
	.mds-cell select {
  text-align-last: right; 
  direction: ltr;
  padding-right: 10px;
}
	.sp-nav {
        color: #000;
    }
}
@media screen and (max-width: 768px) {
		.news-list .entry-wrap.entry-wrap-grid{
			grid-template-columns: 30% 70% 0%;
			gap: 10px;
		}
		.mai-grid.news-list.entries.entries-grid.has-boxed.has-lg-margin-top.has-lg-margin-bottom {
			padding: 3% !important;
		}
		.contents-sp-in-l3 img {
		height: auto;
			margin: 20px 0 20px;
		}
		.mds-form-wrap-d-sp {
			color: #A5A5A5;
		}
		.mds-sortbar-title {
			color: #A5A5A5;
		}
		.mds-cell select {
			color: #A5A5A5;
		}
		time.entry-time {
			color: #111;
		}
		.fv_sp_text2 {
			color: #000000;
		}
		.mds-cell input[type="text"], .mds-cell select {
			font-size: 16px !important;
		}
		input[type=search].search-field {
			font-size: 16px !important;
		}
	/*  ダウンロード詳細 */
	.wpdm-custom-template > .row {
	    width: auto !important;
	}
	.wpdm-custom-template .btn-order {
		margin-top: 0 !important;
	}
}
/* アイキャッチ画像 */
.img60px {
    width: 110px !important;
    height: auto;
}
/**************************/
/* 202511 ADD             */
/**************************/
/* -------------- */
/*  ダウンロード履歴 */
/* -------------- */
.user_dashboard_d h2 {
    text-align: center;
    font-size: 16px;
    margin-bottom: 40px;
}
.download-thumb-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* ← 5列固定 */
    gap: 10px;
    margin-top: 20px;
}
.dl-more {
    text-align: center;
    margin-top: 40px;
}
.dl-more a {
    padding: 5px 35px;
    border: 2px solid #EF8BAB;
    border-radius: 15px;
    color: #EF8BAB;
    font-size: 12px;
    text-decoration: none;
}
.dl-more a:hover {
    text-decoration: none;
}
/* -------------- */
/*  イラストダウンロード */
/* -------------- */
.wpdm-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.wpdm-modal-content {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}
.modal-illust {
  position: absolute;
  top: 70px; /* ←ここで下げる（例：もともと40pxなどなら＋30px） */
  right: 20px;
  width: 120px; /* イラストサイズ */
  height: auto;
  z-index: 1;
}
.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 28px;
  color: #333;
  cursor: pointer;
  z-index: 2; /* イラストより前に出す */
}
/* -------------- */
/* ===== Download Modal ===== */
/* -------------- */
.download-modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}
.download-modal .modal-content {
  background: #fff;
  max-width: 900px;
  width: 90%;
  max-height: 90%;
  overflow-y: auto;
  border-radius: 10px;
  padding: 20px;
  padding-top: 50px;
  position: relative;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  animation: modalFadeIn 0.3s ease;
}
.download-modal .modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #F3F2F2;
  color: #000;
  border: none;
  font-size: 20px;
  line-height: 1;
  border-radius: 50%;
  padding: 5px 10px;
  cursor: pointer;
  transition: background 0.2s;
}
.download-modal .modal-close:hover {
  background: #ccc;
}
@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
@media screen and (max-width: 768px) {
  .download-modal .modal-content {
    width: 95%;
  }
  .download-modal .modal-content {
    padding: 5px;
    padding-top: 50px;
  }
}
/* -------------- */
/* イラストダウンロード */
/* -------------- */
.result-item img {
	object-fit: contain !important;
}
/* -------------- */
/* ログインフォーム */
/* -------------- */
/* Lost Passwordリンクを非表示 */
/* Join Nowリンク（新規登録リンク）を非表示 */
.custom-login-wrapper .pmpro_actions_nav {
    display: none !important;
}
.custom-login-wrapper .pmpro_form_field-password-toggle {
    display: none !important;
}