/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

html {
    scroll-behavior: smooth;
}

/*フッター部分
/
/* ヘッダー・フッターおよび記事コンテナ間の隙間を削除（優先度強制） */
.site-main {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
.site-main .post {
    margin-bottom: 0 !important;
}

/* 固定ページのアイキャッチ画像上部の隙間を削除 */
.featured-image.page-header-image {
    margin-top: 0 ;
}

/* 投稿ページのアイキャッチ画像を上・左右いっぱいに広げる（修正版） */
.single-post .inside-article {
    padding-top: 0;
}

.single-post .featured-image.page-header-image-single {
    margin-top: 0;
    max-width: none;
}

/* PC：パディング40px分を打ち消す */
@media (min-width: 769px) {
    .single-post .featured-image.page-header-image-single {
        margin-left: -40px;
        margin-right: -40px;
    }
}

/* スマホ：画面端での「はみ出し」を防ぐため、数値を-20pxに抑制 */
/* スマホ：親要素の余白を無視して、画面の端から端までピッタリ埋める */
@media (max-width: 768px) {
    .single-post .featured-image.page-header-image-single {
        width: 100vw;           /* 画面の横幅100%を強制指定 */
        position: relative;
        left: 50%;
        right: 50%;
        margin-left: -50vw;     /* 画面の中央から左端まで引き戻す */
        margin-right: -50vw;    /* 画面の中央から右端まで引き戻す */
        max-width: 100vw;       /* はみ出しを許容しない */
    }
}

.single-post .featured-image.page-header-image-single img {
    width: 100%;
    vertical-align: bottom;
}

/* 1. 投稿メタ全体の整列 */
.entry-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: #6b7280; /* 日付などは控えめなグレー */
    margin-top: 15px;
    letter-spacing: 0.03em;
}

/* 2. 著者名リンク：視認性を重視（青色＋下線） */
.byline a {
    color: #0044cc; /* 伝統的かつクリアなリンクブルー */
    text-decoration: underline; /* リンクであることを明示 */
    font-weight: 500; /* 少しだけ太くして存在感を出す */
}

.byline a:hover {
    color: #002266; /* ホバー時は少し濃い青に */
    text-decoration: none; /* ホバー時にあえて下線を消す動きで「反応」を示す */
}

/* 3. 日付と著者の間のセパレーター */
.posted-on {
    display: flex;
    align-items: center;
}

.posted-on::after {
    content: "";
    display: inline-block;
    width: 1px;
    height: 12px;
    background-color: #d1d5db;
    margin-left: 16px;
}

/* 記事下エリア（カテゴリ・タグ・ページ送り）のベースサイズ設定（PC: 18px） */
.entry-meta,
.post-navigation,
.post-navigation a {
    font-size: 18px;
    line-height: 1.6; /* 読みやすさのための行間 */
}

/* モバイル向け設定（Mobile: 16px） */
@media (max-width: 768px) {
    .entry-meta,
    .post-navigation,
    .post-navigation a {
        font-size: 16px;
    }
}

/* アイコンサイズの微調整（文字サイズに合わせる） */
.entry-meta .gp-icon svg,
.post-navigation .gp-icon svg {
    width: 1em;
    height: 1em;
    vertical-align: -0.15em;
}

/* ページ送りの「前の投稿」「次の投稿」などのラベル等の余白調整 */
.post-navigation {
    margin-top: 2em;
    padding-top: 1em;
    border-top: 1px solid #eee; /* コンテンツとの境界を明確に */
}

/* 1. ページ送りエリアを横並び（Flexbox）にする */
.post-navigation {
    display: flex;
    justify-content: space-between;
    gap: 20px; /* ボックス間の隙間 */
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* 2. 各ボックス（前・後）の基本設定 */
.nav-box {
    flex: 1; /* 左右均等の幅にする */
    padding: 15px;
    border: 1px solid #e5e7eb; /* 薄い枠線 */
    border-radius: 8px;        /* 少し角を丸く */
    background-color: #ffffff;
    transition: background-color 0.2s ease;
}

.nav-box:hover {
    background-color: #f9fafb; /* ホバー時に少し背景色をつける */
}

/* 3. ラベル（前の記事・次の記事）の設定 */
.nav-label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #6b7280; /* 薄いグレー*/
    margin-bottom: 8px;
}

/* 4. 記事タイトルのリンク：青字＋下線を死守 */
.nav-box a {
    font-size: 16px; /* 18pxより少し控えめにすると収まりが良いです */
    line-height: 1.5;
    display: inline-block;
}


/* 5. モバイル対応（縦並びにする） */
@media (max-width: 768px) {
    .post-navigation {
        flex-direction: column; /* スマホでは縦に積む */
    }
    .nav-box a {
        font-size: 15px;
    }
}

/* --- スライダー外枠 --- */
.related-slider-wrapper {
	padding: 50px 0;
    margin: 40px -40px -40px -40px;
    position: relative;
    overflow: visible;
}

.slider-outer {
    position: relative;
    padding: 0 15px;
}

/* --- 矢印ボタン（!important 排除版） --- */
.slider-arrow {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background-color: #ffffff;
    border: 2px solid #ddd;
    border-radius: 50%;
    z-index: 100;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    
    /* SVGを中央に配置するためのflex（!importantなし） */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.2s ease;
}


.prev-arrow { left: 15px; }
.next-arrow { right: 15px; }

/* SVGアイコンの色とサイズ */
.slider-arrow svg {
    width: 28px;
    height: 28px;
    fill: #666; /* 初期状態のグレー */
    transition: fill 0.2s;
}

/* 【重要】ホバー時：矢印の色を明るい青に変更 */
.slider-arrow:hover {
    background-color: #ffffff; /* 背景は白のまま */
    border-color: #0088ff;     /* 枠線を明るい青に */
    box-shadow: 0 4px 12px rgba(0, 136, 255, 0.3);
}

/* 親テーマのフォーカススタイル（クリック時の変色・枠線）を無効化 */
.slider-arrow:focus,
.slider-arrow:active {
    outline: none !important;
    background-color: #ffffff !important;
    border-color: #ddd;
}

.slider-arrow:hover svg {
    fill: #0088ff; /* 矢印を明るく鮮やかな青にする */
}

/* スライドコンテナ他 */
.related-slider-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0 30px 20px 30px;
    gap: 15px;
    scrollbar-width: none;
}
.related-slider-container::-webkit-scrollbar { display: none; }
.related-slide-item { flex: 0 0 260px; scroll-snap-align: start; }
.related-link { display: block; margin-top: 10px; font-size: 18px; font-weight: 700; color: #0044cc !important; text-decoration: underline !important; }

@media (max-width: 768px) {
    .related-slider-wrapper { margin: 30px -20px -20px -20px; }
    .slider-arrow { width: 36px; height: 36px; top: 35%; }
    .related-slide-item { flex: 0 0 200px; }
}

/* 関連記事のタイトル装飾と余白調整 */
.related-title-container {
    margin-bottom: 25px;
}

.related-main-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 0;
    margin-bottom: 8px; /* サブタイトルとの隙間を詰める */
}

/* タイトル左右の横線 */
.related-main-title::before,
.related-main-title::after {
    content: "";
    width: 40px; /* 横線の長さ */
    height: 1px;
    background-color: #ccc;
}

.related-title-container small {
    margin-top: 0;
    line-height: 1;
}

/* プロフィール枠 */
/* --- 共通設定 --- */
.author-profile-box {
    padding: 20px;
    margin: 30px 0;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background-color: #f9fafb;
    box-sizing: border-box;
    width: 100%;
}

/* --- PC設定 --- */
@media (min-width: 769px) {
    .author-header-wrapper {
        display: flex;
        align-items: center;
        gap: 20px;
        margin-bottom: 15px;
    }
    .author-avatar { width: 100px; height: 100px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
    .author-avatar img { width: 100%; height: 100%; object-fit: cover; }
}

/* --- モバイル設定 --- */
@media (max-width: 768px) {
    .author-header-wrapper {
        display: flex;
        align-items: center;
        gap: 15px;
        margin-bottom: 15px;
    }
    .author-avatar { width: 90px; height: 90px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
    .author-avatar img { width: 100%; height: 100%; object-fit: cover; }
}

/* プロフィールボックス全体のパディング下部を調整 */
.author-profile-box {
    padding-bottom: 10px !important;
}

/* リンク下の余白をゼロにする */
.author-link {
    margin-bottom: 0 !important;
}

/* 投稿・固定ページのコンテンツ内のブロック画像 */
.entry-content .wp-block-image img:not(.wp-post-image) {
    margin-bottom: 24px;
}

/* 投稿・固定ページのコンテンツ内で直接配置された画像 */
.entry-content p > img:not(.wp-post-image) {
    margin-bottom: 24px;
}

/* 目次 */
/* 目次全体のコンテナ */
.custom-toc {
    background: #ffffff;
    border: 1px solid #ebebeb;
    border-radius: 12px;
    padding: 32px; /* 余白を広めにとり、リッチな印象に */
    margin: 40px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    box-sizing: border-box;
    width: 100%;
}

/* 目次タイトル (h2) のスタイル */
.custom-toc .toc-title {
    font-size: 1.2rem; /* 見た目はh3相当のサイズに抑制 */
    font-weight: 700;
    color: #333;
    margin: 0 0 20px 0;
    padding: 0;
    border: none; /* テーマ固有の下線を消去 */
    text-align: left;
    /* PCでの視覚的ズレを防ぐため、下のリスト文字位置に合わせる */
    padding-left: 18px; 
}

/* リスト全体のスタイル */
.custom-toc ul {
    list-style: disc; /* 番号なし */
    margin: 0;
    padding-left: 38px; /* タイトルのpadding(18px) + マーカー領域(20px) = 垂直整列 */
}

/* 各リスト項目 */
.custom-toc li {
    margin: 12px 0;
    line-height: 1.5;
    transition: transform 0.2s ease;
}

/* ホバー時のモダンな動き */
.custom-toc li:hover {
    transform: translateX(5px);
}

.custom-toc a {
    text-decoration: none;
    color: #444;
}

.custom-toc a:hover {
    color: #1e73be; /* アクセントカラー */
}

/* H3（子要素）のインデント調整 */
.custom-toc .toc-item-3 {
    margin-left: 20px;
    list-style-type: circle; /* H3は白抜きの点にして差別化 */
    font-size: 0.95rem;
}

/* モバイル対応：画面が狭いときは余白を微調整 */
@media (max-width: 768px) {
    .custom-toc {
        padding: 20px;
    }
    .custom-toc .toc-title {
        padding-left: 0; /* モバイルでは端に寄せたほうが空間を有効活用できる */
    }
    .custom-toc ul {
        padding-left: 20px;
    }
}

/* ヘッダー追尾 */
.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.5) !important;
    backdrop-filter: blur(6px);
}

/* ヘッダー内部を透明に */
.site-header .inside-header {
    background: transparent !important;
}

.site-header #site-navigation {
    background: transparent !important;
}

.site-header .inside-navigation {
    background: transparent !important;
}

/* PC用ドロワーメニュー */
@media (max-width: 768px) {
    #pc-drawer,
    #pc-drawer-overlay,
    .pc-hamburger {
        display: none !important;
    }
}

@media (min-width: 769px) {
    .pc-hamburger {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 36px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        margin-left: 16px;
        gap: 4px;
    }
    .pc-hamburger span {
        display: block;
        width: 24px;
        height: 2px;
        background: #1C1C1C;
        transition: all 0.3s;
    }
    .pc-hamburger::after {
        content: "menu";
        font-size: 9px;
        color: #1C1C1C;
        margin-top: 0;
        letter-spacing: 0.08em;
    }
    .pc-hamburger:hover {
        background: none;
        outline: none;
        box-shadow: none;
    }
    .pc-hamburger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    .pc-hamburger.is-open span:nth-child(2) { opacity: 0; }
    .pc-hamburger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

 #pc-drawer {
        visibility: hidden;
        position: fixed;
        top: 0;
        right: 0;
        width: 300px;
        height: 100%;
        background: #fff;
        box-shadow: -4px 0 16px rgba(0,0,0,0.12);
        z-index: 9999;
        padding: 60px 32px 32px;
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform 0.35s ease, visibility 0.35s ease;
    }
    #pc-drawer.is-open {
        visibility: visible;
        transform: translateX(0);
    }
    #pc-drawer-close {
        position: absolute;
        top: 60px;
        right: 16px;
        background: none;
        border: none;
        font-size: 24px;
        cursor: pointer;
        color: #1C1C1C;
    }

    #pc-drawer ul { list-style: none; margin: 0; padding: 0; }
    #pc-drawer ul li { border-bottom: 1px solid #eee; }
    #pc-drawer ul li a {
        display: block;
        padding: 12px 0;
        color: #1C1C1C;
        text-decoration: none;
        font-size: 15px;
    }

    #pc-drawer ul ul { padding-left: 16px; }
    #pc-drawer ul ul li { border-bottom: none; }
    #pc-drawer ul ul li a {
        font-size: 13px;
        padding: 8px 0;
    }

    #pc-drawer-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.3);
        z-index: 9998;
    }
    #pc-drawer-overlay.is-open { display: block; }
}

/* カテゴリページ：フルワイド3列グリッド */
.category-full-wrap {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 40px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.category-header,
.category-grid,
.category-pagination {
    width: 100%;
    max-width: 1400px;
}
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.category-header {
    max-width: 1200px;
    margin: 0 auto 40px;
}

.category-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.category-grid-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.category-grid-thumb img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.category-grid-body {
    padding: 16px;
}

.category-grid-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.6;
    margin: 0 0 8px;
}

.category-grid-title a {
    color: #1C1C1C;
    text-decoration: none;
}

.category-grid-title a:hover {
    color: #F4A823;
}

.category-grid-meta {
    font-size: 13px;
    color: #888;
}

.category-pagination {
    max-width: 1200px;
    margin: 40px auto 0;
}

@media (max-width: 768px) {
    .category-full-wrap {
        padding: 20px;
    }
    .category-grid {
        grid-template-columns: 1fr;
    }
}

.category .site-content {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
}

.category .grid-container {
    max-width: 100%;
    padding: 0;
}
/* アーカイブ・記事一覧 ホバーアニメーション */
.category-grid-item {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-grid-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.10);
}

.category-grid-thumb {
    display: block;
    position: relative;
    overflow: hidden;
}

.category-grid-thumb img {
    transition: transform 0.3s ease;
}

.category-grid-item:hover .category-grid-thumb img {
    transform: scale(1.04);
}

/* カテゴリ・タグラベル */
.post-labels {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.category-grid-body .post-labels {
    position: static;
    margin-bottom: 8px;
}

.post-label {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 3px 10px;
    border-radius: 20px;
    line-height: 1.5;
    white-space: nowrap;
    text-decoration: none;
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: opacity 0.2s ease;
}

.post-label:hover {
    opacity: 0.85;
    text-decoration: none;
}

.post-label--cat {
    background: rgba(244, 168, 35, 0.92);
    color: #fff;
}

.post-label--tag {
    background: rgba(60, 60, 60, 0.82);
    color: #fff;
}

/* アーカイブ・タグ・日付 フルワイド対応 */
.archive .site-content,
.tag .site-content,
.date .site-content,
.author .site-content {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
}

.archive .grid-container,
.tag .grid-container,
.date .grid-container,
.author .grid-container {
    max-width: 100%;
    padding: 0;
}

/* 記事一覧・アーカイブ ラッパー */
#category-page-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 40px 0;
    box-sizing: border-box;
}

.category-header,
.category-grid,
.category-pagination {
    width: 100%;
    max-width: 1200px;
}

/* グリッドアイテム中央揃え */
.category-grid {
    justify-content: center;
}

/*　会員限定ページ用の案内ショートコード */
.custom-member-gate {
	position: relative;
	margin: 40px 0;
	padding: 40px 24px;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
	text-align: center;
	overflow: hidden;
}

.custom-member-gate::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 5px;
	background: #1a365d;
}

.custom-member-gate-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	margin-bottom: 20px;
	border-radius: 50%;
	background: #ebf8ff;
	color: #2b6cb0;
}

.custom-member-gate-icon svg {
	width: 30px;
	height: 30px;
}

.custom-member-gate-title {
	margin: 0 0 12px;
	color: #1a202c;
	font-size: 1.3rem;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.05em;
}

.custom-member-gate-text {
	margin: 0 0 32px;
	color: #4a5568;
	font-size: 0.95rem;
	line-height: 1.7;
}

.custom-member-gate-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	justify-content: center;
	align-items: center;
}

.custom-gate-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 220px;
	padding: 14px 32px;
	border: 1px solid transparent;
	border-radius: 8px;
	box-sizing: border-box;
	text-decoration: none !important;
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.4;
	transition: all 0.2s ease-in-out;
	cursor: pointer;
}

.custom-gate-btn-login {
	background: #2b6cb0;
	border-color: #2b6cb0;
	color: #fff !important;
	box-shadow: 0 4px 6px rgba(43, 108, 176, 0.2);
}

.custom-gate-btn-login:hover,
.custom-gate-btn-login:focus {
	background: #2c5282;
	border-color: #2c5282;
	color: #fff !important;
	transform: translateY(-2px);
	box-shadow: 0 6px 12px rgba(43, 108, 176, 0.3);
}

.custom-gate-btn-register {
	background: #fff;
	border-color: #2b6cb0;
	color: #2b6cb0 !important;
}

.custom-gate-btn-register:hover,
.custom-gate-btn-register:focus {
	background: #ebf8ff;
	color: #2b6cb0 !important;
	transform: translateY(-2px);
}

.custom-member-gate--no-access .custom-member-gate-text {
	margin-bottom: 0;
}

@media (max-width: 480px) {
	.custom-member-gate {
		padding: 32px 20px;
	}

	.custom-member-gate-buttons {
		flex-direction: column;
		width: 100%;
	}

	.custom-gate-btn {
		width: 100%;
		min-width: 0;
	}
}

/* コメントCTAのデザイン */
.sp-comment-cta {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 2rem;
	position: relative;
	overflow: hidden;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.sp-comment-cta .sp-comment-cta__title {
	font-size: 1.25rem;
	font-weight: 700;
	color: #0f172a;
	margin-top: 0;
	margin-bottom: 0.75rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.sp-comment-cta .sp-comment-cta__title::before {
	content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%233b82f6" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"></path></svg>');
	display: inline-block;
	width: 24px;
	height: 24px;
	margin-right: 4px;
}

.sp-comment-cta .sp-comment-cta__text {
	font-size: 0.95rem;
	color: #475569;
	line-height: 1.7;
	margin-bottom: 1.75rem;
}

.sp-comment-cta .sp-comment-cta__actions {
	display: flex;
	gap: 1rem;
	margin: 0;
	flex-wrap: wrap;
}

.sp-comment-cta .sp-comment-cta__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.75rem 1.5rem;
	font-size: 0.95rem;
	font-weight: 600;
	text-decoration: none;
	border-radius: 8px;
	transition: all 0.2s ease;
	line-height: 1;
}

.sp-comment-cta .sp-comment-cta__button--primary {
	background-color: #3b82f6;
	color: #ffffff;
	box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.2);
}

.sp-comment-cta .sp-comment-cta__button--primary:hover {
	background-color: #2563eb;
	transform: translateY(-2px);
	box-shadow: 0 6px 8px -1px rgba(59, 130, 246, 0.3);
}

.sp-comment-cta .sp-comment-cta__button--secondary {
	background-color: #ffffff;
	color: #334155;
	border: 1px solid #cbd5e1;
}

.sp-comment-cta .sp-comment-cta__button--secondary:hover {
	background-color: #f8fafc;
	border-color: #94a3b8;
	color: #0f172a;
	transform: translateY(-2px);
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

@media (max-width: 600px) {
	.sp-comment-cta {
		padding: 1.5rem;
	}

	.sp-comment-cta .sp-comment-cta__actions {
		flex-direction: column;
	}

	.sp-comment-cta .sp-comment-cta__button {
		width: 100%;
	}
}

/* ご案内リンク（ボタンの下） */
    .sp-comment-cta__guide {
        margin-top: 1.25rem; /* ボタン群との間に適切な余白をとる */
        font-size: 0.9rem;   /* 本文より少しだけ小さくして控えめに */
    }

    .sp-comment-cta__guide a {
        color: #3b82f6; /* プライマリボタンと同じ青色で統一感を出す */
        text-decoration: underline; /* アンダーラインを維持 */
        text-underline-offset: 3px; /* 下線を文字から少し離すとモダンで読みやすくなります */
        transition: color 0.2s ease;
    }

    .sp-comment-cta__guide a:hover {
        color: #1d4ed8; /* ホバー時は少し濃い青色に変化させる */
    }
/* レスポンシブ対応（スマホサイズ） */
    @media (max-width: 600px) {
        .comments-area {
            padding: 1.5rem;
        }
        .sp-comment-cta {
            padding: 1.5rem;
            text-align: center; /* モバイル時は全体を中央揃えに */
        }
        .sp-comment-cta__title {
            justify-content: center; /* タイトルのアイコンとテキストを中央揃えに */
        }
        .sp-comment-cta__actions {
            flex-direction: column;
        }
        .sp-comment-cta__button {
            width: 100%;
        }
    }