@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
*/


.cta-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  padding: 20px;
}

/* --- 1. 吹き出し部分 --- */
.cta-bubble {
  position: relative;
  display: inline-block;
  padding: 8px 16px;
  background: #fff;
  border: 2px solid var(--cta-color-main);
  border-radius: 30px;
  color: var(--cta-text-color);
  font-weight: bold;
  font-size: 10px;
  margin-bottom: 12px; /* ボタンとの距離 */
  box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* ほんのり影 */
}

/* 数字「3」のデザイン */
.cta-bubble .num {
  color: var(--cta-color-main);
  font-size: 1.2em;
  margin: 0 2px;
}

/* 吹き出しの▼（枠線部分） */
.cta-bubble::before {
  content: "";
  position: absolute;
  bottom: -8px; /* 位置調整 */
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 6px 0 6px; /* 三角形のサイズ */
  border-color: var(--cta-color-main) transparent transparent transparent;
}

/* 吹き出しの▼（内側の白塗り部分：枠線を上書きして線に見せる） */
.cta-bubble::after {
  content: "";
  position: absolute;
  bottom: -5px; /* 位置調整（線の太さ分ずらす） */
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 6px 0 6px;
  border-color: #fff transparent transparent transparent;
}

/* --- 2. ボタン本体 --- */
.cta-button {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
	
  width: 100%;
	
	max-width: 300px;    /* 380px → 550px に広げました（お好みで数字を調整してください） */
  padding-right: 80px; /* 右側の余白を増やして、文字がアイコンに被らないようにしました */
  padding-left: 60px;  /* 文字が中心に見えるよう、左側の余白を少し減らしてバランスを取りました */
  /* ▲▲▲ ここまで変更部分 ▲▲▲ */
	
  height: 70px;     /* ボタンの高さ */
  background-color: var(--cta-color-main);
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 50px; /* 丸み */
  box-shadow: 0 6px 0 var(--cta-color-dark); /* 下部の立体的な影 */
  transition: all 0.2s ease;
  box-sizing: border-box;
}

/* ホバー時の動き（沈むエフェクト） */
.cta-button:hover {
  transform: translateY(4px);
  box-shadow: 0 2px 0 var(--cta-color-dark);
}

/* --- 3. 右側の矢印アイコン --- */
.cta-button .icon-arrow {
  position: absolute;
  right: 20px; /* 右端からの距離 */
  width: 32px;
  height: 32px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* アイコンの中の三角（▶） */
.cta-button .icon-arrow::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 0 5px 8px; /* 三角形のサイズ */
  border-color: transparent transparent transparent var(--cta-color-main);
  margin-left: 3px; /* 視覚的に中央に見えるよう微調整 */
}

/* デザイン調整用の変数 */
:root {
  --cta-color-main: #e6554e;   /* ボタンと枠線のメインカラー（朱色） */
  --cta-color-dark: #c03d37;   /* 立体感を出すための影の色（濃い赤） */
  --cta-text-color: #555555;   /* 吹き出しの文字色 */
}


/* --- レイアウト制御：PCで横並び、スマホで縦並び --- */
.cta-flex-container {
  display: flex;
  flex-direction: column; /* 基本は縦（スマホ） */
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: 1000px; /* 全体の最大幅 */
  margin: 0 auto;
}

@media (min-width: 768px) {
  .cta-flex-container {
    flex-direction: row; /* PCで横並び */
    justify-content: center;
    align-items: flex-end; /* 吹き出しの高さがズレてもボタンの底を揃える */
  }
}

/* --- カラーバリエーションの設定 --- */

/* 赤色の設定（元の色を定義） */
.is-red {
  --cta-color-main: #e60012; /* メインの赤 */
  --cta-color-dark: #a00000; /* 影の濃い赤 */
  --cta-text-color: #e60012;
}

/* 緑色の設定（ここを追加） */
.is-green {
  --cta-color-main: #228b22; /* メインの緑（フォレストグリーン等お好みで） */
  --cta-color-dark: #145214; /* 影の濃い緑 */
  --cta-text-color: #228b22;
}

/* 既存の .cta-button 等のパーツ内で var(--cta-color-main) を
   使っていれば、これだけで色が自動的に切り替わります */


.red-text{
	font-size:15px;
	color:red;
	font-weight:bold;
text-align:center;
}

.black-bold{
	font-weight:bold;
}

/* タイトル内のアイコン設定 */
.cap_box_ttl i {
  margin-right: 8px; /* アイコンと文字の間の余白 */
  font-size: 1.1em;   /* 少しだけアイコンを強調 */
  vertical-align: middle; /* 垂直方向の調整 */
}