@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/*--------------------------------------
Rinkerのデザイン変更
--------------------------------------*/
/*-----タイトル文字を少し小さく-----*/
div.yyi-rinker-info div.yyi-rinker-title a {
	font-size: 1em!important;
}
/*-----タイトル文字を左寄せ-----*/
.yyi-rinker-info {
	text-align: left!important; 
}
/*-----スマホ表示でタイトル幅を広く-----*/	
@media screen and (max-width: 500px){
div.yyi-rinker-contents div.yyi-rinker-box div.yyi-rinker-info {
	width: 100%!important;
}}
/*-----メーカー名の余白削除-----*/
div.yyi-rinker-detail div:not(:last-child) {
	padding-bottom: 1px!important;
}
/*-----内部の余白調整-----*/
div.yyi-rinker-contents div.yyi-rinker-box {
	padding: 15px 15px 0!important;
}
@media (min-width: 768px){
div.yyi-rinker-box div.yyi-rinker-info {
    padding-left: 0px;
}
div.yyi-rinker-contents div.yyi-rinker-box {
	padding: 15px 5px 0 15px!important;
}}
/*-----画像位置調整-----*/
.yyi-rinker-img-m .yyi-rinker-main-img{
	width:auto!important;
}
@media (min-width: 768px){
.yyi-rinker-img-m .yyi-rinker-main-img{
	width:auto!important;
	max-width:200px!important;
}}
div.yyi-rinker-contents div.yyi-rinker-image{
	align-items: center!important;
}
/*-----ボタンのデザイン-----*/
@media (min-width: 768px){
div.yyi-rinker-contents ul.yyi-rinker-links li{
    width: 47%;/*幅（2列になるように）*/
}}
ul.yyi-rinker-links a.yyi-rinker-link{
	box-shadow: none!important;/*ボタンの影を消す*/ 
}
@media (min-width: 768px){/*スマホのボタン縦幅*/ 
ul.yyi-rinker-links a.yyi-rinker-link {
	min-height: 44px!important;
}}
/*-----ボタン間の余白調整-----*/
@media (min-width: 768px){
div.yyi-rinker-info ul.yyi-rinker-links li:not(:last-child) {
    margin-right: 12px!important;
}}
/*-----キャンペーン-----*/
.yyi-rinker-link:before {
	border-radius: 10px;/*角丸にする*/
}
@media (min-width: 768px){/*PCのキャンペーン表示を左寄せ*/
ul.yyi-rinker-links li.amazonkindlelink:before, ul.yyi-rinker-links li.amazonlink:before, ul.yyi-rinker-links li.rakutenlink:before, ul.yyi-rinker-links li.yahoolink:before {
    text-align: left;
}}

 /* =============================
     コードボックス本体（WordPress貼り付け用）
     ============================= */
  .kr-invite-box {
    width: 100%;
    max-width: 480px;
    background: #fff;
    border: 1.5px solid #f5d0e2;
    border-radius: 12px;
    padding: 28px 24px;
    box-shadow: 0 2px 16px rgba(220, 80, 140, 0.07);
    box-sizing: border-box;
    text-align: center;
    position: relative;
    overflow: hidden;
  }

  /* 左端のアクセントライン */
  .kr-invite-box::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #e9538a, #f78dbf);
    border-radius: 12px 0 0 12px;
  }

  .kr-invite-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #e9538a;
    margin-bottom: 14px;
  }

  .kr-invite-eyebrow::before,
  .kr-invite-eyebrow::after {
    content: '';
    display: block;
    width: 24px;
    height: 1px;
    background: #e9538a;
    opacity: 0.4;
  }

  .kr-invite-title {
    font-size: 13px;
    color: #888;
    margin-bottom: 10px;
    font-weight: 500;
    letter-spacing: 0.5px;
  }

  .kr-invite-code {
    display: inline-block;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 5px;
    color: #2c2c2c;
    background: #fff0f6;
    border: 1.5px dashed #f5aed0;
    border-radius: 8px;
    padding: 10px 24px;
    margin: 4px 0 18px;
    font-family: 'Courier New', Courier, monospace;
    user-select: all;
  }

  .kr-invite-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #e9538a;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 11px 28px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    font-family: 'Noto Sans JP', sans-serif;
    box-shadow: 0 3px 12px rgba(233, 83, 138, 0.3);
  }

  .kr-invite-btn:hover {
    background: #d43d76;
    transform: translateY(-1px);
    box-shadow: 0 5px 16px rgba(233, 83, 138, 0.35);
  }

  .kr-invite-btn:active {
    transform: translateY(0);
  }

  .kr-invite-btn svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
  }

  .kr-invite-note {
    font-size: 11px;
    color: #bbb;
    margin-top: 14px;
    line-height: 1.6;
  }

  /* コピー完了時のアニメーション */
  @keyframes pop {
    0% { transform: scale(1); }
    50% { transform: scale(1.06); }
    100% { transform: scale(1); }
  }

.kr-invite-btn.copied {
  background: #7c5cbf;
  box-shadow: 0 3px 12px rgba(124, 92, 191, 0.3);
  animation: pop 0.25s ease;
}

.kr-invite-box {
  margin-left: auto;
  margin-right: auto;
}