@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Template:   cocoon-master
Version:    1.0.6
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/* -------------------------------
   タイムライン共通設定
---------------------------------*/

/* カスタム変数 */
.timeline {
  --timeline-dot-size: 16px; /* ドットサイズ */
  --timeline-border-width: 2px; /* 線の太さ */
  --timeline-margin-left: calc((var(--timeline-dot-size) / 2) - (var(--timeline-border-width) / 2)); /* 左マージン */
  --label-width: 46px; /* ラベル幅 */
}

/* タイムラインボックス基本 */
.timeline-box[class*="is-style-cstm-timeline"] {
  border: none;
  overflow-x: hidden;
  padding:1em 0;
}

/* 背景色があるタイムラインボックス */
.timeline-box.has-background[class*="is-style-cstm-timeline"] {
  padding: 2em;
}

/* タイトル共通スタイル */
[class*="is-style-cstm-timeline"] .timeline-title {
  position: relative;
  padding-bottom: 0.8em;
}

.is-style-cstm-timeline-simple .timeline-title,
.is-style-cstm-timeline-step-vertical .timeline-title {
  margin-bottom: 1em;
}

.is-style-cstm-timeline-number .timeline-title,
.is-style-cstm-timeline-step-circle .timeline-title,
.is-style-cstm-timeline-step-bordered .timeline-title {
  margin-bottom: 2em;
}

/* タイトル下線 */
[class*="is-style-cstm-timeline"] .timeline-title::after {
  content: "";
  background-color: var(--cocoon-text-color, #333);
  position: absolute;
  bottom: 0;
  left: calc(50% - 1.25rem);
  width: 2.5rem;
  height: 1px;
  border-radius: 10px;
}

/* 空タイトル非表示 */
[class*="is-style-cstm-timeline"] .timeline-title:empty {
  display: none;
  position: static;
  padding-bottom: 0;
  margin-bottom: 0;
}

/* ラベル・コンテンツ共通リセット */
[class*="is-style-cstm-timeline"] .timeline-item-label,
[class*="is-style-cstm-timeline"] .timeline-item-content {
  float: none;
}
[class*="is-style-cstm-timeline"] .timeline-item-label {
  text-align: initial;
}

/* --- 共通ステップ番号 --- */
[class*="is-style-cstm-timeline-step"] .timeline,
.is-style-cstm-timeline-number .timeline {
  counter-reset: step;
}

[class*="is-style-cstm-timeline-step"] .timeline-item-label {
  font-size: 0;
  display: flex;
  justify-content: center;
}

[class*="is-style-cstm-timeline-step"] .timeline-item-label::before { content: "STEP"; display: block; }
[class*="is-style-cstm-timeline-step"] .timeline-item-label::after,
.is-style-cstm-timeline-number .timeline-item:before {
  content: counter(step);
  counter-increment: step;
  font-weight: bold;
  display: block;
}

[class*="is-style-cstm-timeline-step"] .timeline-item-content { border-left: none; }

/* -------------------------------
   タイプ別スタイル
---------------------------------*/

.is-style-cstm-timeline-simple .timeline-item-content,
.is-style-cstm-timeline-number .timeline-item-content,
.is-style-cstm-timeline-step-circle .timeline-item-content {
  width: auto; /* コンテンツ幅 */
}

/* --- シンプル --- */
.is-style-cstm-timeline-simple .timeline-item-label {
  padding-left: calc(1.5rem + var(--timeline-margin-left));
  width: auto;
}
.is-style-cstm-timeline-simple .timeline-item:before {
  top: 22px;
  left: 0;
  width: 10px;
  height: 10px;
  border: 3px solid var(--cocoon-custom-point-color);
  background: #fff !important;
}

/* 親に has-background がある場合 → カスタム背景色を使用 */
.is-style-cstm-timeline-simple.has-background .timeline-item:before {
  background: var(--cocoon-custom-background-color) !important;
}

.is-style-cstm-timeline-simple .timeline-item-content {
  margin-left: var(--timeline-margin-left);
  border-left: var(--timeline-border-width) #ccc solid;
  padding: 0 1em 1em 1.5em;
}

/* --- 番号 --- */
.is-style-cstm-timeline-number .timeline-item-label {
  display: none;
}

.is-style-cstm-timeline-number .timeline > li.timeline-item:not(:last-child) {
  margin-bottom: 1em;
}

.is-style-cstm-timeline-number .timeline-item:before {
  width: 25px;
  height: 25px;
  line-height: 25px;
  left: 0px;
  top: 0;
  color: #fff;
  display: grid;
  place-content: center;
}

.is-style-cstm-timeline-number .timeline-item-content {
  padding: 0 1em 1em 1.5em;
  margin-left: 11px;
  border-left: 3px solid #eee;
}

/* --- ステップ（丸型） --- */
.is-style-cstm-timeline-step-circle .timeline .timeline-item { display: flex; }
.is-style-cstm-timeline-step-circle .timeline-item-label {
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: var(--label-width);
  height: var(--label-width);
  border-radius: 50%;
  background: var(--cocoon-custom-point-color);
  color: #fff;
  padding: 0;
  line-height: 1.2;
  z-index: 2;
}

.is-style-cstm-timeline-step-circle .timeline-item-label::before { font-size: 10px; }
.is-style-cstm-timeline-step-circle .timeline-item-label::after { font-size: 16px; }

.is-style-cstm-timeline-step-circle .timeline-item-content {
  margin-top: 0.5em;
  padding: 0 1em 2em;
  position: relative;
  flex: 1 1 auto;
  min-width: 0; /* 見切れ防止 */
}

.is-style-cstm-timeline-step-circle .timeline-item:before { display: none; }

.is-style-cstm-timeline-step-circle .timeline-item-title {
  margin-bottom: 0.5em;
}

/* ラベル線 */
.is-style-cstm-timeline-step-circle .timeline-item .timeline-item-content::before {
  content: "";
  position: absolute;
  left: calc(-1 * var(--label-width) / 2);
  width: 1px;
  height: 100%;
  background: var(--cocoon-custom-point-color);
  opacity: 0.5;
  z-index: 1;
}

/* --- ステップ（縦型） --- */
.is-style-cstm-timeline-step-vertical .timeline .timeline-item,
.is-style-cstm-timeline-step-bordered .timeline .timeline-item {
  position: relative;
  overflow: visible;
}

.is-style-cstm-timeline-step-vertical .timeline .timeline-item {
  padding: 1em;
}

.is-style-cstm-timeline-step-vertical .timeline .timeline-item {
  border-bottom: 1px dashed var(--cocoon-custom-point-color);
}

.is-style-cstm-timeline-step-vertical .timeline-item::before,
.is-style-cstm-timeline-step-bordered .timeline-item::before {
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 10px;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  border-radius: 0;
}

.is-style-cstm-timeline-step-vertical .timeline-item:last-child::before,
.is-style-cstm-timeline-step-bordered .timeline-item:last-child::before {
  display: none;
}
.is-style-cstm-timeline-step-vertical .timeline-item-label {
  flex-direction: column;
  align-items: center;
}
.is-style-cstm-timeline-step-vertical .timeline-item-title,
.is-style-cstm-timeline-step-bordered .timeline-item-title {
  text-align: center;
  color: var(--cocoon-custom-point-color);
  margin-bottom: 0.5em;
  font-size: 1.1em;
}
.is-style-cstm-timeline-step-vertical .timeline-item-content,
.is-style-cstm-timeline-step-bordered .timeline-item-content {
  width: 100%;
  padding: 0;
}
.is-style-cstm-timeline-step-vertical .timeline-item-label,
.is-style-cstm-timeline-step-bordered .timeline-item-label {
  width: auto;
  color: var(--cocoon-custom-point-color);
  line-height: 1.2;
  padding: 0;
}
.is-style-cstm-timeline-step-vertical .timeline-item-label::before { font-size: 12px; }
.is-style-cstm-timeline-step-vertical .timeline-item-label::after { font-size: 30px; }

/* --- ステップ（枠線付） --- */
.is-style-cstm-timeline-step-bordered .timeline .timeline-item {
  border: 1px solid var(--cocoon-custom-point-color);
  padding: 2em;
}

.is-style-cstm-timeline-step-bordered .timeline .timeline-item:not(:last-child) {
  margin-bottom: 30px !important;
}

.is-style-cstm-timeline-step-bordered .timeline-item::before {
  margin-top: 10px;
}

.is-style-cstm-timeline-step-bordered .timeline-item-label {
  flex-direction: row;
  align-items: baseline;
  gap: 2px;
}
.is-style-cstm-timeline-step-bordered .timeline-item-label::before { font-size: 1rem; }
.is-style-cstm-timeline-step-bordered .timeline-item-label::after { font-size: 1.2rem; }

/* -------------------------------
   レスポンシブ（スマホ 480px以下）
---------------------------------*/

@media screen and (max-width: 480px) {
  /* 背景色あり */
  .timeline-box.has-background[class*="is-style-cstm-timeline"] { padding: 2em 1em; }
  
  /* simpleタイプ調整 */
  .is-style-cstm-timeline-simple .timeline > li.timeline-item { border: none; }
  .is-style-cstm-timeline-simple .timeline-item-label { padding-left: 1rem; }
  .is-style-cstm-timeline-simple .timeline-item:before { left: -0.45rem; }
  .is-style-cstm-timeline-simple .timeline-item-content { margin-left: 0; padding-left: 1rem; }

  /* paddingリセット */
  .is-style-cstm-timeline-number .timeline,
  .is-style-cstm-timeline-step-circle .timeline,
  .is-style-cstm-timeline-step-vertical .timeline,
  .is-style-cstm-timeline-step-bordered .timeline { padding-left: 0; }

  /* 左線非表示 */
  .is-style-cstm-timeline-number .timeline > li.timeline-item,
  .is-style-cstm-timeline-step-circle .timeline > li.timeline-item,
  .is-style-cstm-timeline-step-vertical .timeline > li.timeline-item { border-left: none; }

  /* ラベル padding調整 */
  .is-style-cstm-timeline-step-vertical .timeline-item-label,
  .is-style-cstm-timeline-step-bordered .timeline-item-label { padding-left: 0; padding-right: 0; }
}

/* 通知エリアの流れるテキスト */
.notice-area {
  overflow: hidden; /* はみ出た部分を隠す */
  white-space: nowrap; /* 折り返しなしで1行表示 */
}

/* 通知メッセージのスタイル */
.notice-area-message {
  display: inline-block;
  padding-left: 100%; /* 初期位置を右端に */
  animation: slideMessage 12s linear infinite;
}

/* スライドアニメーションの定義 */
@keyframes slideMessage {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

/* PCの速度調整 */
@media screen and (min-width: 1024px) {
  .notice-area-message {
    animation-duration: 16s;
  }
}

.cstm-wave svg {
   display: block;
}
.up-wave {
   margin-bottom: -1px !important;
}

body .wp-block-columns {
 margin-bottom:0!important;
}

/* =========================
   フルワイド安定化（cstm-wide）
========================= */
body .cstm-wide {
  width: 100vw;
  margin: 0 calc(50% - 50vw);
}

/* =========================
   横スクロール防止（保険）
========================= */
html, body {
  overflow-x: hidden;
}

/* =========================
   SVG上下の1pxズレ対策
========================= */
.down-wave {
  margin-top: -1px !important;
}

/* =========================
   カラムブロックを包むフルワイド用
========================= */
body .full-wide {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding:0  calc(50vw - 50%);
}


.page-id-2179 .wp-block-columns {
  gap: 16px;
}

.caption-box-label {
justify-content: center;
}

/* コンテナ：中央揃え＋上下余白 */
.btn-container {
  text-align: right;
  margin: 2em 0;
}

/* 枠付きボタン＋右矢印 */
.arrow-btn-outline {
  --arrow-color: #333; /* 枠線と矢印の色 */
  display: inline-block; 
  position: relative; 
  border: 2px solid var(--arrow-color); 
  color: var(--arrow-color); 
  text-decoration: none;
  padding: 10px 30px; 
  text-align: center; 
  transition: background-color 0.2s linear,
              border-color 0.2s linear,
              color 0.2s linear;
}

/* 右矢印 */
.arrow-btn-outline::after {
  content: '';
  position: absolute;
  top: 50%; /* ボタン縦中央に配置 */
  transform: translateY(-50%) skewX(50deg);
  right: -20px; /* ボタンの右外に配置 */
  width: 30px;
  height: 8px;
  border-bottom: 1px solid var(--arrow-color);
  border-right: 1px solid var(--arrow-color);
  transition: right 0.2s ease;
}

/* ホバー時のスタイル */
.arrow-btn-outline:hover {
  background: #999;
  border-color: #999;
  color: #fff;
}

.arrow-btn-outline:hover::after {
  right: -25px; /* ホバーで矢印を右に移動 */
}

/* ===============================
   スマホ用 微調整（追加分のみ）
================================*/

@media screen and (max-width: 480px) {

  /* スマホでは中央寄せ */
  .btn-container {
    text-align: center;
  }

  /* ボタンの主張を一回り抑える */
  .arrow-btn-outline {
    padding: 8px 20px;   /* パディングを小さく */
    border-width: 1px;   /* 枠線を細く */
  }
}

/* ---------------------------------------------------------
   アコーディオン（トグルボックス）共通スタイル
--------------------------------------------------------- */

/* トグルボタン（共通） ---------------------------- */
[class*="is-style-cstm-toggle"] .toggle-button {
  border: none;
  border-radius: 0;
  padding: 0.8em 1em;
  font-weight:bold;
  color:var(--cocoon-dark-grey-color);
}

[class*="is-style-cstm-toggle"] .toggle-button::before {
  opacity: 1;
}

/* 白抜き／下線スタイル ------------------------------ */
[class*="is-style-cstm-toggle-outline"] .toggle-button,
[class*="is-style-cstm-toggle-underline"] .toggle-button {
  background: none;
}

/* 外枠あり（シンプル／白抜き） */
.toggle-box[class*="is-style-cstm-toggle-simple"],
.toggle-box[class*="is-style-cstm-toggle-outline"] {
  border: 1px solid var(--cocoon-custom-border-color);
}

/* 下線のみ */
.toggle-box[class*="is-style-cstm-toggle-underline"] {
  border-bottom: 1px solid var(--cocoon-custom-border-color);
}

/* 左寄せボタン（-left系） ------------------------- */
[class*="is-style-cstm-toggle"][class*="-left"] .toggle-button {
  padding: 0.8em 2em 0.8em 1em;
  text-align: left;
}

/* 左寄せ・FAQ 共通アイコン位置 */
[class*="is-style-cstm-toggle"][class*="-left"] .toggle-button::before,
[class*="is-style-cstm-toggle"][class*="-faq"] .toggle-button::before {
  position: absolute;
  right: 1em;
  margin: 0;
  font-size: 1em;
}

/* チェック時の装飾 -------------------------------- */
/* 白抜き：開閉時に下線を破線に */
[class*="is-style-cstm-toggle-outline"] .toggle-checkbox:checked ~ .toggle-button {
  border-bottom: 1px dashed var(--cocoon-custom-border-color);
}

/* 開閉コンテンツ：境界線リセット */
[class*="is-style-cstm-toggle"] .toggle-checkbox:checked ~ .toggle-content {
  border: none;
  border-radius: 0;
}

/* コンテンツ余白（シンプル／白抜き） ---------------- */
[class*="is-style-cstm-toggle-simple"].toggle-wrap .toggle-content,
[class*="is-style-cstm-toggle-outline"].toggle-wrap .toggle-content {
  padding: 0 1.5em;
}

[class*="is-style-cstm-toggle-simple"] .toggle-checkbox:checked ~ .toggle-content,
[class*="is-style-cstm-toggle-outline"] .toggle-checkbox:checked ~ .toggle-content {
  padding: 1.5em;
}

/* ボタン風デザイン ------------------------------- */
.is-style-cstm-toggle-button .toggle-button {
  width: fit-content;
  border: 1px solid var(--cocoon-custom-border-color);
  border-radius: 99px;
  padding: 0.3em 1.5em;
  margin: 0 auto;
}

.is-style-cstm-toggle-button .toggle-checkbox:checked ~ .toggle-button {
  border-radius: 99px;
}

 /* 背景色なしの場合 */
.is-style-cstm-toggle-button:not(.has-background).toggle-wrap .toggle-content {
 padding:0;
}
.is-style-cstm-toggle-button:not(.has-background) .toggle-checkbox:checked ~ .toggle-content {
  padding:1em 0;
}

/* FAQスタイル ------------------------------------ */
/* FAQ共通：左寄せ */
[class*="is-style-cstm-toggle"][class*="-faq"] .toggle-button,
[class*="is-style-cstm-toggle"][class*="-faq"] .toggle-content {
  position: relative;
  text-align: left;
}

/* FAQコンテンツ余白（初期） */
[class*="is-style-cstm-toggle"][class*="-faq"].toggle-wrap .toggle-content {
  padding: 0 2em 0 2.2em;
}

/* FAQボタン余白 */
[class*="is-style-cstm-toggle"][class*="-faq"] .toggle-button {
  padding: 0.8em 2em 0.8em 2.2em;
}

/* FAQコンテンツ余白（展開時） */
[class*="is-style-cstm-toggle"][class*="-faq"] .toggle-checkbox:checked ~ .toggle-content {
  padding: 1.5em 2em 1.5em 2.2em;
}

/* Q・A ラベル ------------------------------------- */
[class*="is-style-cstm-toggle"][class*="-faq"] .toggle-button::after,
[class*="is-style-cstm-toggle"][class*="-faq"] .toggle-checkbox:checked ~ .toggle-content::after {
  position: absolute;
  left: 1em;
  font-weight: bold;
}

/* Qラベル（ボタン側） */
[class*="is-style-cstm-toggle"][class*="-faq"] .toggle-button::after {
  content: 'Q';
  color: #004aad;
  top: 0.8em;
}

/* Aラベル（コンテンツ側） */
[class*="is-style-cstm-toggle"][class*="-faq"] .toggle-checkbox:checked ~ .toggle-content::after {
  content: 'A';
  color: #bc5731;
  top: 1.5em;
}

/* アイコン（Font Awesome利用） ------------------ */
/* 白抜きタイプ：矢印 */
[class*="is-style-cstm-toggle"][class*="-left"] .toggle-button::before {
  content: "\f078"; /* V字型 */
}
[class*="is-style-cstm-toggle"][class*="-left"] .toggle-checkbox:checked ~ .toggle-button::before {
  content: "\f077"; /* V字型 */
}

/* FAQタイプ：矢印 */
[class*="is-style-cstm-toggle"][class*="-faq"] .toggle-button::before {
  content: "\f0d7"; /* ▼ */
}
[class*="is-style-cstm-toggle"][class*="-faq"] .toggle-checkbox:checked ~ .toggle-button::before {
  content: "\f0d8"; /* ▲ */
}

  /* メディアとテキスト：スマホ画像だけ幅を制限 */
@media screen and (max-width: 480px) {
  .sp-img-narrow .wp-block-media-text__media img {
    max-width: 70%;
    margin: 0 auto;
    display: block;
  }
}

/* --- 共通初期状態 --- */
.scroll-fade-in,
.scroll-fade-up,
.scroll-slide-right,
.scroll-slide-left,
.scroll-scale-up {
  opacity: 0;
}

/* --- フェードイン --- */
.scroll-fade-in {
  transition: opacity 1s ease-in-out;
}
.scroll-fade-in.active {
  opacity: 1;
}

/* --- フェードアップ（下から上へ）--- */
.scroll-fade-up {
  transform: translateY(10px);
  transition: opacity 1s ease-out, transform 1s ease-out; /* 明示して軽量化 */
}
.scroll-fade-up.active {
  opacity: 1;
  transform: translateY(0);
}

/* --- スライドイン（右から左）--- */
.scroll-slide-right {
  transform: translateX(80px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}
.scroll-slide-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* --- スライドイン（左から右）--- */
.scroll-slide-left {
  transform: translateX(-80px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}
.scroll-slide-left.active {
  opacity: 1;
  transform: translateX(0);
}

/* --- 拡大しながらフェードイン --- */
.scroll-scale-up {
  transform: scale(0.85);
  transition: opacity 1s cubic-bezier(0.25, 0.1, 0.25, 1),
              transform 1s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.scroll-scale-up.active {
  opacity: 1;
  transform: scale(1);
}

/* =========================
   PC：縦並び（画像上・テキスト下）
========================= */
@media (min-width: 768px) {
  .media-responsive .wp-block-media-text {
    display: block;
  }

  .media-responsive .wp-block-media-text__media {
    margin-bottom: 1em;
    text-align: center;
  }

  .media-responsive .wp-block-media-text__content {
    padding: 0;
  }
}

/* =========================
   スマホ：横並び（画像＋テキスト）
========================= */
@media (max-width: 767px) {
  .media-responsive .wp-block-media-text {
    display: flex;
    grid-template-columns: none;
  }

  .media-responsive .wp-block-media-text__media {
    width: 40%;
  }

  .media-responsive .wp-block-media-text__content {
    width: 60%;
    padding-left: 1em;
  }
}

@media screen and (min-width: 834px) {
  .iconlist-650 {
    max-width: 650px;
    margin: 0 auto;
  }
}

/* PC：カラム内テキスト中央寄せ */
.column-center-text {
  text-align: center;
}

/* スマホ：左寄せに戻す */
@media (max-width: 767px) {
  .column-center-text {
    text-align: left;
  }
}

@media (min-width: 768px) {
  .column-center-text img {
    width: 80%;
    margin: 0 auto;
    display: block;
  }
}

/* スマホ：500px */
.img-heading img {
  width: 500px;
  max-width: 100%;
  margin: 0 auto;
  display: block;
}

/* PC：600px */
@media (min-width: 768px) {
  .img-heading img {
    width: 600px;
  }
}

/* =========================
   PC：2カラム＋縦並び（画像上・テキスト下）
========================= */
@media (min-width: 768px) {
  .two-column-media.media-responsive .wp-block-media-text {
    display: block;
  }

  .two-column-media.media-responsive .wp-block-media-text__media {
    text-align: center;
    margin-bottom: 1em;
  }

  /* ★ 画像サイズを抑える（ここがポイント） */
  .two-column-media.media-responsive .wp-block-media-text__media img {
    max-width: 70%;   /* ← 60〜75%でお好み調整OK */
    height: auto;
  }

  .two-column-media.media-responsive .wp-block-media-text__content {
    padding: 0;
    text-align: center;
  }
}

/* =========================
   スマホ：横並び（画像＋テキスト）
========================= */
@media (max-width: 767px) {
  .two-column-media.media-responsive .wp-block-media-text {
    display: flex;
    grid-template-columns: none;
    align-items: center;
  }

  .two-column-media.media-responsive .wp-block-media-text__media {
    width: 40%;
  }

  .two-column-media.media-responsive .wp-block-media-text__media img {
    max-width: 100%;
  }

  .two-column-media.media-responsive .wp-block-media-text__content {
    width: 60%;
    padding-left: 1em;
    text-align: left;
  }
}

.home .wp-block-group {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.home .wp-block-group > .wp-block-group {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* フロントページ：フッター直前の余白を完全に消す（最終） */
.home .footer {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* フッター内部の最上段余白 */
.home .footer-in {
  padding-top: 0 !important;
}

/* SVGの下に出る余白対策 */
.home svg {
  display: block;
  margin-bottom: -1px;
}

.home footer {
  position: relative;
  top: -20px;
}

/* フッター内画像を中央寄せ（特にモバイル） */
.footer img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* すべてのリンクの下線を消す */
a {
  text-decoration: none !important;
}

/* ----------------------------
車が画面外から画面外へ走るアニメーション
---------------------------- */
.moving-car {
  position: relative;       /* アニメーションの基準に */
  display: block;           /* ブロック表示で整列 */
  width: 150px;             /* 車のサイズ調整 */
  animation: driveCar 6s linear infinite; /* 6秒で右へ移動、無限ループ */
}

@keyframes driveCar {
  0% {
    transform: translateX(-200px); /* 画面左外からスタート */
  }
  100% {
    transform: translateX(100vw);  /* 画面右外まで移動 */
  }
}

/* スマホはそのまま300px */
.moving-car {
  width: 300px;
  max-width: none;
  display: block;
  position: relative;
  animation: driveCar 7s linear infinite;
}

/* PC表示で大きくする */
@media (min-width: 769px) {
  .moving-car {
    width: 600px; /* PCでは幅600pxにして目立たせる */
  }
}

@keyframes driveCar {
  0% { transform: translateX(-650px); }  /* 画面左外から */
  100% { transform: translateX(100vw); } /* 画面右外まで */
}

/* Smash Balloon フォローボタンの文字色を白にする */
.sbi_follow_btn a,
.sbi_follow_btn span {
  color: #fff !important;
}

/* コンテナ：中央揃え＋上下余白 */
.btn-container {
  text-align: center;
  margin: 2em 0;
}

/* 丸角ボタン＋矢印 */
.arrow-btn-rounded {
  --arrow-color: #06C755; /* 通常時：LINEグリーン */
  display: inline-block;
  border: 2px solid var(--arrow-color);
  background-color: var(--arrow-color); /* 通常背景：緑 */
  padding: 10px 50px 10px 30px;
  color: #fff; /* 通常文字：白 */
  text-decoration: none;
  position: relative;
  transition: background-color 0.3s ease,
              border-color 0.3s ease,
              color 0.3s ease;
}

/* 右矢印 */
.arrow-btn-rounded::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%) skewX(45deg);
  width: 15px;
  height: 3px;
  border-bottom: 1px solid #fff; /* 通常矢印：白 */
  border-right: 1px solid #fff;
  transition: right 0.3s ease, border-color 0.3s ease;
}

/* ホバー時 */
.arrow-btn-rounded:hover {
  background-color: #fff;           /* ホバー背景：白 */
  border-color: #06C755;             /* 枠線：緑 */
  color: #06C755;                    /* 文字：緑 */
}

/* ホバー時の矢印 */
.arrow-btn-rounded:hover::after {
  right: 15px;
  border-color: #06C755;             /* 矢印：緑 */
}

/* コンテナ：中央揃え＋上下余白 */
.btn-container2 {
  text-align: center;
  margin: 2em 0;
}

/* 丸角ボタン＋矢印（オレンジ） */
.arrow-btn-rounded2 {
  --main-color: #FF9F1C; /* 王道・安心感あるオレンジ */
  display: inline-block;
  border: 2px solid var(--main-color);
  background-color: var(--main-color); /* 通常背景：オレンジ */
  padding: 10px 50px 10px 30px;
  color: #fff; /* 通常文字：白 */
  text-decoration: none;
  position: relative;
  transition: background-color 0.3s ease,
              border-color 0.3s ease,
              color 0.3s ease;
}

/* 右矢印 */
.arrow-btn-rounded2::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%) skewX(45deg);
  width: 15px;
  height: 3px;
  border-bottom: 1px solid #fff; /* 通常矢印：白 */
  border-right: 1px solid #fff;
  transition: right 0.3s ease, border-color 0.3s ease;
}

/* ホバー時 */
.arrow-btn-rounded2:hover {
  background-color: #fff;           /* ホバー背景：白 */
  border-color: var(--main-color);  /* 枠線：オレンジ */
  color: var(--main-color);         /* 文字：オレンジ */
}

/* ホバー時の矢印 */
.arrow-btn-rounded2:hover::after {
  right: 15px;
  border-color: var(--main-color);  /* 矢印：オレンジ */
}

/* ボタンの横幅を揃える */
.same-width {
  min-width: 260px; /* ←ここを微調整 */
  text-align: center;
}

/* PCのみ：ヘッダーの高さを広げる（上下余白） */
@media (min-width: 1024px) {
  .header-in {
    padding-top: 20px;
    padding-bottom: 20px;
  }
}

/* PCのみ：2カラム内のボタンを中央寄りに配置（寄せすぎ防止） */
@media (min-width: 1024px) {

  /* 左カラム：右寄せ＋内側余白 */
  .btn-left {
    display: flex;
    justify-content: flex-end;
    padding-right: 20px;
  }

  /* 右カラム：左寄せ＋内側余白 */
  .btn-right {
    display: flex;
    justify-content: flex-start;
    padding-left: 20px;
  }

}

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

/*1030px以下*/
@media screen and (max-width: 1030px){
  /*必要ならばここにコードを書く*/
}
.page .date-tags {
    display: none;
}
.home.page .entry-title{
  display: none;
}
/*768px以下*/
@media screen and (max-width: 768px){
  /*必要ならばここにコードを書く*/
}

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