@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}


/* ===== Xserver / XServerビジネス CTA ボタン（v2 洗練デザイン） ===== */
.tm-cta{
  max-width:600px;
  margin:42px auto;
  text-align:center;
  position:relative;
  line-height:1.4;
}

/* ＼ラベル／ リボン風 */
.tm-cta-label{
  display:inline-block;
  font-size:15px;
  font-weight:800;
  color:#0f172a;
  padding:0 28px;
  margin-bottom:14px;
  letter-spacing:.06em;
  position:relative;
}
.tm-cta-label::before,
.tm-cta-label::after{
  content:"";
  position:absolute;
  top:50%;
  width:3px;
  height:26px;
  background:#0f172a;
  border-radius:2px;
}
.tm-cta-label::before{
  left:6px;
  transform:translateY(-50%) rotate(-22deg);
}
.tm-cta-label::after{
  right:6px;
  transform:translateY(-50%) rotate(22deg);
}

/* ボタン本体（ピル形・グロッシー・立体シャドウ） */
.tm-cta-button{
  display:block;
  position:relative;
  padding:22px 60px 22px 32px;
  border-radius:60px;
  text-decoration:none !important;
  color:#fff !important;
  font-weight:800;
  overflow:hidden;
  transition:transform .15s cubic-bezier(.34,1.56,.64,1), box-shadow .15s ease;
  pointer-events:auto !important;
  isolation:isolate;
}

/* 上半分のハイライト（グロッシー） */
.tm-cta-button::before{
  content:"";
  position:absolute;
  top:0; left:0;
  width:100%; height:55%;
  background:linear-gradient(180deg, rgba(255,255,255,.32) 0%, rgba(255,255,255,0) 100%);
  pointer-events:none;
  z-index:0;
  border-radius:60px 60px 50% 50%/60px 60px 100% 100%;
}

/* シマー（光が走る）アニメ */
.tm-cta-button::after{
  content:"";
  position:absolute;
  top:0; left:-150%;
  width:60%; height:100%;
  background:linear-gradient(120deg, transparent 0%, rgba(255,255,255,.35) 50%, transparent 100%);
  animation:tm-cta-shine 3.6s ease-in-out infinite;
  pointer-events:none;
  z-index:0;
}
@keyframes tm-cta-shine{
  0%   { left:-150%; }
  60%  { left:160%; }
  100% { left:160%; }
}

.tm-cta-text{
  display:block;
  font-size:21px;
  letter-spacing:.02em;
  position:relative;
  z-index:1;
  text-shadow:0 1px 1px rgba(0,0,0,.18);
}
.tm-cta-sub{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
  gap:0 6px;
  font-size:13px;
  font-weight:500;
  margin-top:6px;
  opacity:.96;
  position:relative;
  z-index:1;
  line-height:1.5;
}
.tm-cta-sub-seg{
  white-space:nowrap;
  display:inline-block;
}
.tm-cta-sub-sep{
  display:inline-block;
  opacity:.7;
}
.tm-cta-arrow{
  position:absolute;
  right:26px;
  top:50%;
  transform:translateY(-50%);
  font-size:18px;
  z-index:1;
  transition:transform .15s ease;
}
.tm-cta-button:hover .tm-cta-arrow{
  transform:translateY(-50%) translateX(4px);
}

/* Xserver（青系・濃いブルー） */
.tm-cta-xserver{
  background:linear-gradient(180deg, #3b82f6 0%, #1d4ed8 55%, #1e3a8a 100%);
  box-shadow:
    0 5px 0 #172554,
    0 10px 22px rgba(29,78,216,.35),
    inset 0 1px 0 rgba(255,255,255,.45);
}
.tm-cta-xserver:hover{
  transform:translateY(3px);
  box-shadow:
    0 2px 0 #172554,
    0 6px 14px rgba(29,78,216,.45),
    inset 0 1px 0 rgba(255,255,255,.45);
}
.tm-cta-xserver:active{
  transform:translateY(5px);
  box-shadow:
    0 0 0 #172554,
    0 3px 8px rgba(29,78,216,.5),
    inset 0 1px 0 rgba(255,255,255,.4);
}

/* XServerビジネス（赤系・濃いレッド） */
.tm-cta-business{
  background:linear-gradient(180deg, #ef4444 0%, #b91c1c 55%, #7f1d1d 100%);
  box-shadow:
    0 5px 0 #450a0a,
    0 10px 22px rgba(185,28,28,.35),
    inset 0 1px 0 rgba(255,255,255,.45);
}
.tm-cta-business:hover{
  transform:translateY(3px);
  box-shadow:
    0 2px 0 #450a0a,
    0 6px 14px rgba(185,28,28,.45),
    inset 0 1px 0 rgba(255,255,255,.45);
}
.tm-cta-business:active{
  transform:translateY(5px);
  box-shadow:
    0 0 0 #450a0a,
    0 3px 8px rgba(185,28,28,.5),
    inset 0 1px 0 rgba(255,255,255,.4);
}

/* 計測ピクセル（A8.net規約準拠で1px不可視） */
.tm-cta-pixel{
  display:inline-block;
  width:1px;
  height:1px;
  border:0;
  margin:0;
  vertical-align:bottom;
}

/* タブレット */
@media (max-width:768px){
  .tm-cta{ max-width:92%; margin:32px auto; }
  .tm-cta-text{ font-size:19px; }
}
/* スマホ */

/* === XServer VPS (green) === */
.tm-cta-xserver-vps{
  background:linear-gradient(180deg, #10b981 0%, #047857 55%, #064e3b 100%);
  box-shadow:
    0 5px 0 #022c22,
    0 10px 22px rgba(4,120,87,.35),
    inset 0 1px 0 rgba(255,255,255,.45);
}
.tm-cta-xserver-vps:hover{
  transform:translateY(3px);
  box-shadow:
    0 2px 0 #022c22,
    0 6px 14px rgba(4,120,87,.45),
    inset 0 1px 0 rgba(255,255,255,.45);
}
.tm-cta-xserver-vps:active{
  transform:translateY(5px);
  box-shadow:
    0 0 0 #022c22,
    0 3px 8px rgba(4,120,87,.5),
    inset 0 1px 0 rgba(255,255,255,.4);
}

@media (max-width:480px){
  .tm-cta-button{ padding:18px 48px 18px 22px; border-radius:48px; }
  .tm-cta-text{ font-size:17px; }
  .tm-cta-sub{ font-size:12px; }
  .tm-cta-arrow{ right:18px; font-size:15px; }
  .tm-cta-label{ font-size:13px; padding:0 22px; }
  .tm-cta-label::before, .tm-cta-label::after{ height:20px; }
}


/* ConoHa WING（オレンジ系） */
.tm-cta-conoha{
  background:linear-gradient(180deg, #fbbf24 0%, #f97316 55%, #c2410c 100%);
  box-shadow:
    0 5px 0 #7c2d12,
    0 10px 22px rgba(249,115,22,.35),
    inset 0 1px 0 rgba(255,255,255,.45);
}
.tm-cta-conoha:hover{
  transform:translateY(3px);
  box-shadow:
    0 2px 0 #7c2d12,
    0 6px 14px rgba(249,115,22,.45),
    inset 0 1px 0 rgba(255,255,255,.45);
}
.tm-cta-conoha:active{
  transform:translateY(5px);
  box-shadow:
    0 0 0 #7c2d12,
    0 3px 8px rgba(249,115,22,.5),
    inset 0 1px 0 rgba(255,255,255,.4);
}


/* ConoHa VPS (green) */
.tm-cta-conoha-vps{
  background:linear-gradient(180deg, #34d399 0%, #059669 55%, #065f46 100%);
  box-shadow:
    0 5px 0 #064e3b,
    0 10px 22px rgba(5,150,105,.35),
    inset 0 1px 0 rgba(255,255,255,.45);
}
.tm-cta-conoha-vps:hover{
  transform:translateY(3px);
  box-shadow:
    0 2px 0 #064e3b,
    0 6px 14px rgba(5,150,105,.45),
    inset 0 1px 0 rgba(255,255,255,.45);
}
.tm-cta-conoha-vps:active{
  transform:translateY(5px);
  box-shadow:
    0 0 0 #064e3b,
    0 3px 8px rgba(5,150,105,.5),
    inset 0 1px 0 rgba(255,255,255,.4);
}


/* Sakura rental (pink) */
.tm-cta-sakura{
  background:linear-gradient(180deg, #f472b6 0%, #db2777 55%, #9d174d 100%);
  box-shadow:
    0 5px 0 #831843,
    0 10px 22px rgba(219,39,119,.35),
    inset 0 1px 0 rgba(255,255,255,.45);
}
.tm-cta-sakura:hover{
  transform:translateY(3px);
  box-shadow:
    0 2px 0 #831843,
    0 6px 14px rgba(219,39,119,.45),
    inset 0 1px 0 rgba(255,255,255,.45);
}
.tm-cta-sakura:active{
  transform:translateY(5px);
  box-shadow:
    0 0 0 #831843,
    0 3px 8px rgba(219,39,119,.5),
    inset 0 1px 0 rgba(255,255,255,.4);
}


/* Sakura VPS (violet) */
.tm-cta-sakura-vps{
  background:linear-gradient(180deg, #a78bfa 0%, #7c3aed 55%, #5b21b6 100%);
  box-shadow:
    0 5px 0 #4c1d95,
    0 10px 22px rgba(124,58,237,.35),
    inset 0 1px 0 rgba(255,255,255,.45);
}
.tm-cta-sakura-vps:hover{
  transform:translateY(3px);
  box-shadow:
    0 2px 0 #4c1d95,
    0 6px 14px rgba(124,58,237,.45),
    inset 0 1px 0 rgba(255,255,255,.45);
}
.tm-cta-sakura-vps:active{
  transform:translateY(5px);
  box-shadow:
    0 0 0 #4c1d95,
    0 3px 8px rgba(124,58,237,.5),
    inset 0 1px 0 rgba(255,255,255,.4);
}


/* Muumuu Domain (teal) */
.tm-cta-muumuu-domain{background:linear-gradient(180deg, #2dd4bf 0%, #0d9488 55%, #134e4a 100%);box-shadow:0 5px 0 #042f2e,0 10px 22px rgba(13,148,136,.35),inset 0 1px 0 rgba(255,255,255,.45);}
.tm-cta-muumuu-domain:hover{transform:translateY(3px);box-shadow:0 2px 0 #042f2e,0 6px 14px rgba(13,148,136,.45),inset 0 1px 0 rgba(255,255,255,.45);}
.tm-cta-muumuu-domain:active{transform:translateY(5px);box-shadow:0 0 0 #042f2e,0 3px 8px rgba(13,148,136,.5),inset 0 1px 0 rgba(255,255,255,.4);}

/* Muumuu Server (indigo) */
.tm-cta-muumuu-server{background:linear-gradient(180deg, #818cf8 0%, #4f46e5 55%, #3730a3 100%);box-shadow:0 5px 0 #312e81,0 10px 22px rgba(79,70,229,.35),inset 0 1px 0 rgba(255,255,255,.45);}
.tm-cta-muumuu-server:hover{transform:translateY(3px);box-shadow:0 2px 0 #312e81,0 6px 14px rgba(79,70,229,.45),inset 0 1px 0 rgba(255,255,255,.45);}
.tm-cta-muumuu-server:active{transform:translateY(5px);box-shadow:0 0 0 #312e81,0 3px 8px rgba(79,70,229,.5),inset 0 1px 0 rgba(255,255,255,.4);}
