.pswp-gallery p {
    /* ...他のスタイル... */
    position: relative; 
    padding-right: 1.2em; /* ← この余白がテキストの侵入を防ぎます */
}

.pswp-gallery p::after {
	font-weight: bold;
    content: '❯';
    position: absolute; /* ← これにより独立して配置されます */
    top: 50%;
    right: 0.5em; /* ← 余白の中に配置されます */
    transform: translateY(-50%);
	color: #c00;
    /* ...他のスタイル... */
}



/* --- 画像コンテナのスタイル --- */
        .photo-container {
            display: inline-block;
            line-height: 0; 
			position: relative;
        }

/* --- 詳細ページのメイン写真 --- */

/* aタグにトランジションを設定 */
.photo-container a {
    display: block; /* 念のため残します */
    transition: transform 0.3s ease-out;
}

/* aタグ全体を拡大させる */
.photo-container a:hover {
    transform: scale(1.02);
}
        
        .main-image {
            width: 100%;
            max-width: 600px;
            height: auto;
            border-radius: 10px;
        }
        
        .zoom-icon {
          position: absolute;
          bottom: 10px; 
          right: 10px; 
          transform: translate(50%, 50%);
          width: 36px;
          height: 36px;
          
          /* ▼▼▼ アイコンのSVGデータを「+」付きのものに修正しました ▼▼▼ */
          background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3e%3ccircle cx='11' cy='11' r='8'%3e%3c/circle%3e%3cline x1='21' y1='21' x2='16.65' y2='16.65'%3e%3c/line%3e%3cline x1='11' y1='8' x2='11' y2='14'%3e%3c/line%3e%3cline x1='8' y1='11' x2='14' y2='11'%3e%3c/line%3e%3c/svg%3e");

          background-size: 20px 20px;
          background-repeat: no-repeat;
          background-position: center;
          background-color: rgba(0, 0, 0, 0.8);
          border-radius: 50%;
        }

/* ===============================================
   フォトギャラリー (.pswp-gallery)
=============================================== */

/* --- ギャラリーの基本スタイル (主にPC表示) --- */
.pswp-gallery {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    display: grid;
    /* PCでは最小幅150pxで列数を自動調整 */
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

/* サムネイルのリンク要素 */
.pswp-gallery a {
    display: block;
    text-decoration: none;
    color: #333;
    text-align: center;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

/* ホバー時のエフェクト */
.pswp-gallery a:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* サムネイル画像 (正方形を維持) */
.pswp-gallery img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    aspect-ratio: 1 / 1;
}

/* キャプション（受賞者名） */
.pswp-gallery p {
    margin: 8px 4px;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* --- 【サイズ変更】中サイズ（銀賞）(主にPC表示) --- */
.pswp-gallery.medium-thumbnails {
    grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
    gap: 22px;
}
.pswp-gallery.medium-thumbnails p {
    font-size: 15px;
    margin: 9px 4px;
}

/* --- 【サイズ変更】大サイズ（社長賞・金賞）(主にPC表示) --- */
.pswp-gallery.large-thumbnails {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}
.pswp-gallery.large-thumbnails p {
    font-size: 16px;
    margin: 10px 4px;
}


/* ===============================================
   スマートフォン向け調整 (幅600px以下)
=============================================== */
@media (max-width: 600px) {
    .pswp-gallery,
    .pswp-gallery.medium-thumbnails,
    .pswp-gallery.large-thumbnails {
        /* 画面幅が狭い場合、最小幅を40%に設定し、2列表示を維持 */
        grid-template-columns: repeat(auto-fit, minmax(40%, 1fr));
    }
}

/* ===============================================
   銀賞ページギャラリー (最終版)
=============================================== */
.silver-gallery {
    list-style: none;
    padding: 0;
    margin: 40px 0;
    column-count: 3;
    column-gap: 25px;
}

.silver-gallery li {
    /* カード全体の見た目をliで定義 */
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;

    /* レイアウトとアニメーションの設定 */
    margin-bottom: 25px; 
    break-inside: avoid;
    transition: all 0.2s ease-out;
    position: relative; /* z-indexを有効にするため */
}

/* li全体にマウスオーバー効果を適用 */
.silver-gallery li:hover {
    transform: scale(1.03); 
    box-shadow: 0 8px 25px rgba(0,0,0,0.2); 
    z-index: 10; 
}

/* リンクのスタイル（下線などを消す） */
.silver-gallery a {
    text-decoration: none;
    color: #333;
    display: block;
}

.silver-gallery img {
    width: 100%;
    height: auto;
    display: block;
}

/* 受賞者名 */
.silver-gallery a p {
    font-size: 16px;
    font-weight: bold;
    padding: 15px 15px 5px 15px;
    margin: 0;
}

/* エピソード文 */
.silver-gallery .episode {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    padding: 0 15px 15px 15px;
    margin: 0;
	font-weight: normal;
}


/* ===============================================
   レスポンシブ調整
=============================================== */
@media (max-width: 1000px) {
    .silver-gallery {
        column-count: 2;
    }
}

@media (max-width: 600px) {
    .silver-gallery {
        column-count: 1;
    }
}



.btn.back.campaignoverview a{
	max-width: 300px;
}

.note{
	font-size:13px;
	text-align: center;
	margin: 5px 0 20px 0;
}
.gallerylisttitle{
	background:#231815;
	border-radius: 100px;
	animation-play-state: 20px;
	color: #fff;
	text-align: center;
	padding: 10px;
	margin: 50px 0 0;
}

.contents .contest.winner{
	margin-top: 50px;
	margin-bottom: 50px;
	padding: 40px;
	width: 70%;
	max-width: 850px;
	text-align: left;
}
.contents .contest.winner.list{
	margin-top: -60px;
	border-color: #231815;
	padding-top: 0;
	text-align: center;
}


.contents .contest.winner img{
	width: 100%;
	left: 0;	
}

.contents .contest.winner h1{
	margin: 0 0 10px;
	max-width: 100%;
	text-align: center;
}
.contents .contest.winner h1 img{
	max-width: 50%;
}

.contents .contest.winner.list h1{
	height: auto;
	text-align: center;
	font-size: 30px;
	margin: 50px 0 20px;
	line-height: 1em;
	padding:20px;
	background: #231815;
	border-radius: 100px;
	color: #fff;
}

.contents .contest.winner h2{
	top: 0;
	margin: 10px 0;
	text-align: right;
	font-size: 24px;
}
.contents .contest.winner.list h2{
	margin: 80px 0 0;
	text-align: center;
}
.contents .contest.winner.list h1+h2{
	margin-top: 0px;
}
.contents .contest.winner.list h2 img{
	width: 50%;
}

.contents .contest.winner h3{
	font-size: 20px;
	margin: 10px 0;
}
.contents .contest.winner h3+p{
	margin: 0;
}
.contents .contest.winner .comment{
	border: solid 5px #eee;
	border-radius: 20px;
	padding: 20px;
	margin: 40px 0 0 0;
}
.contents .contest.winner .comment hr{
    height: 5px;
    background: #eee;
    border-radius: 20px;
    border: 0;
	margin: 20px 0;
}
.contents .contest.winner .comment h4,
.contents .contest.winner .comment h5{
	margin: 0;
	font-size: 18px;
}
.contents .contest.winner .comment h4+p,
.contents .contest.winner .comment h5+p{
	font-size: 18px;
}
.contents .contest.winner .comment .advice{
	background: #fff8e1;
	padding: 10px;
	margin: 20px 0 0 0;
	border: solid 2px #eee;
	border-radius: 10px;
}
.contents .contest.winner .comment .advice h6,
.contents .contest.winner .comment .advice p{
	margin: 0;
	padding: 0;
	font-size: 14px;
}

.contents .contest.winner .comment p{
	margin: 10px 0;
	font-size: 18px;
}

/* --- 改善案 --- */
.cameraman {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 0;
}

.cameraman h5 {
  margin: 0; 
  padding-top: 5px; 
}
.cameraman h5 span{
	    display: block;
    font-size: 13px;
    margin: 0;
}

.cameraman .profile {
    font-size: 12px !important;
    color: #555;
    background: #fcfcfc;
	border: solid 1px #eee;
    border-radius: 10px;
    padding: 12px 12px;
    flex: 1;
	margin: 0 !important;
}


@media (max-width: 1000px) {
	.contents{
		overflow: inherit;
	}
	.contents .contest.winner{
		border: solid 15px;
		border-radius: 30px;
		padding: 30px;
		width: 80%;
		margin: 50px auto;
	}
	.contents .contest.winner.list{
		margin-top: -60px;
		text-align: center;
	}
}
@media (max-width: 700px) {
	.contents .contest.winner{
		border: solid 13px;
		border-radius: 30px;
		padding: 25px;
		width: 80%;
		margin: 50px auto;
	}
.contents .contest.winner h1 img{
	max-width: 60%;
}
.contents .contest.winner.list h2 img{
	width: 60%;
}
}
@media (max-width:500px) {
	.contents .contest.winner{
		border: solid 10px;
		border-radius: 25px;
		padding: 20px;
		width: 80%;
		margin: 50px auto;
	}
	.cameraman h5 {
		width: 91px;
}

}


