@charset "utf-8";
.mobile-container {
    max-width: 480px;
    margin: 0 auto;
    min-height: 100vh;
    border-radius: 16px;
    padding: 0 20px;
}
.page-header {
    text-align: center;
    border-bottom: none;
}
.header-title {
    color: #2B6CB0;
    font-size: clamp(26px, 5vw, 42px);
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}
.header-subtitle {
    color: #2B6CB0;
    font-size: 22px;
    font-weight: bold;
    margin: 0 0 15px;
    letter-spacing: 0.5px;
}
.header-version {
    color: #4A5568;
    font-size: clamp(18px, 3vw, 24px);
    font-weight: 700;
}
.content-area {
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: clamp(20px, 5vw, 20px);
    border-top: 8px solid #007e43;
    position: relative;
}
.step-block {
    margin-bottom: 45px;
    position: relative;
}
.step-badge {
    display: inline-block;
    background-color: #007e43;
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    padding: 6px 18px;
    border-radius: 20px;
    margin-bottom: 12px;
    box-shadow: 0 2px 4px rgba(0,126,67,0.2);
}
.step-title {
    font-size: 20px;
    font-weight: bold;
    color: #007e43;
    margin: 0 0 15px;
    border-bottom: 2px solid #f0f7f3;
    padding-bottom: 10px;
}
.step-text {
    font-size: 17px;
    line-height: 1.85;
    margin-bottom: 15px;
    color: #222;
}
.action-text {
    color: #d32f2f;
    font-weight: bold;
    background-color: #ffebee;
    padding: 4px 10px;
    border-radius: 4px;
    display: inline-block;
    margin: 4px 0;
    border-bottom: 2px solid #ffcdd2;
    margin: 0 5px;
}
.step-image {
    border-radius: 12px;
    width: 100%;
    aspect-ratio: 3 / 4;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #868e96;
    font-size: 15px;
    box-sizing: border-box;
    margin-top: 15px;
}
.step-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid #cecece;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.note-box {
    background-color: #f1f3f5;
    padding: 15px;
    border-radius: 8px;
    font-size: 15px;
    line-height: 1.6;
    margin: 15px 0;
    border-left: 4px solid #adb5bd;
}
.complete-block {
    background-color: #f0f7f3;
    border: 2px solid #007e43;
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    margin-top: 20px;
}
.complete-title {
    color: #007e43;
    font-size: 24px;
    font-weight: bold;
    margin: 0 0 20px;
}
.complete-text {
    font-size: 16px;
    line-height: 1.8;
    text-align: left;
    color: #222;
    margin: 0 0 15px;
}
.complete-note {
    font-size: 14px;
    color: #555;
    text-align: left;
    margin: 0;
    padding-top: 15px;
    border-top: 1px dashed #c8e6c9;
}

/* 追加するテキストリンクのスタイル例 */
.back-link-wrapper {
  text-align: center; /* 中央揃え */
  margin-top: 20px;   /* ボタンとの間に適切な余白を設ける */
}

.back-link {
  color: #666666;     /* 目立ちすぎないグレーなどの色 */
  font-size: 14px;    /* ボタンテキストより少し小さめ */
  text-decoration: underline; /* リンクであることを示す */
  transition: opacity 0.3s ease;
}

/* ホバー時の挙動 */
.back-link:hover {
  opacity: 0.7;
}

/* シェアボタンを横並びにするコンテナ（共通・スマホ用） */
.custom-share-buttons {
  display: flex;
  gap: 12px;
  margin: -20px 110px 20px 0; /* スマホ用の上マージン（-40px） */
  align-items: center;
  justify-content: flex-end; /* ★全体を右寄せにする★ */
}

/* PC用の調整（画面幅が768px以上の場合に適用） */
@media screen and (min-width: 768px) {
  .custom-share-buttons {
    margin-top: 10px; /* スマホよりさらに70px高くする（-40 - 70 = -110） */
  }
}
/* ボタン共通のスタイル */
.custom-share-buttons .share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s ease;
  border: none;   /* コピーボタン(buttonタグ)のリセット */
  cursor: pointer;/* コピーボタン(buttonタグ)のリセット */
  padding: 0;     /* コピーボタン(buttonタグ)のリセット */
}

.custom-share-buttons .share-btn:hover {
  opacity: 0.7;
}

/* SVGアイコン自体のサイズ（少し大きくして視認性アップ） */
.custom-share-buttons .share-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* リンクコピー用アイコンは線で描画するためfillを消す */
.custom-share-buttons .share-copy svg {
  fill: none;
}

/* 各SNSのブランドカラー */
.custom-share-buttons .share-fb {
  background-color: #1877f2;
}
.custom-share-buttons .share-line {
  background-color: #06c755;
}
.custom-share-buttons .share-copy {
  background-color: #777777; /* リンクコピーのグレー */
}
/* LINEだけアイコンサイズを拡大して文字の視認性を上げる */
.custom-share-buttons .share-line svg {
  width: 25px;
  height: 25px;
}
