/*
	Theme Name:poimame_theme
	Theme URI: 
	Author: poimame
	Author URI: poimame.com
	Description: 
*/

* {
	box-sizing: border-box;
	padding: 0;
	margin: 0;
	font-family: 'Rubik', sans-serif;
	color: #222;
}

body {
	margin: 0;
	font-size: 16px;
	background: #f4f4f4;
}

a {
	color: #1558d6;
	text-underline-offset: 3px;
}

input {
	font-size: 20px;
}

.pconly{
	display:none;
}
.smponly{
	display:block;
}

@media screen and (min-width:768px) {
	.pconly{
		display:block;
	}
	.smponly{
		display:none;
	}
}

/* -- contents width -------------------------------- */

#wrap {
}
header{
}
footer{
}
nav{
}
#contents {
	width: 100%;
	margin:0 auto;
	max-width: 480px;
	padding:0 10px;
}
main{
}
aside{
}

@media screen and (min-width:768px) {
	#wrap {
	}
	header{
		max-width: 1024px;
		margin:0 auto;
	}
	#contents {
		display:flex;
		max-width: 1024px;
	}
	main{
		width:60%;
	}
	aside{
		width:40%;
		padding-left:30px;
	}
}




/* -- header -------------------------------- */
#header {
	margin-top:2rem;
	/*
	position: fixed;
	z-index: 999;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	*/
}

#header .header_sec1{
	margin: 0 auto;
	display:flex;
	flex-wrap:wrap;
	justify-content: center;
	align-items:center;
}

#header .header_sec2{
	margin: 20px auto;
}

#header .logo {
	text-align: center;
	width:100px;

}

#header .logo img {
	width: 80px;
	height: 80px;
	border-radius: 40px;
	border: 3px solid #fff;
	box-shadow: 0 0 8px #ccc;
	background: #f4f4f4;
}


#header .desc {
	font-size:1.2rem;
	padding-right:20px;

}

#header .desc span{
	font-size:0.7rem;
	display:block;
	margin-bottom:5px;
}

/* -- search -- */

#header .srfuki {
	text-align: center;
}
#header .srfuki span {
	position: relative;
	padding: 0 18px;
	font-weight: bold;
	font-size: 0.75rem;
}
#header .srfuki span::before,
#header .srfuki span::after {
	content: "";
	display: inline-block;
	background: #222;
	width: 2px;
	position: absolute;
	height: 20px;
	bottom: -2px
}
#header .srfuki span::before {
	left: 0;
	transform: rotate(-30deg);
}
#header .srfuki span::after {
	right: 0;
	transform: rotate(30deg);
}


#header .search {
	margin: 5px auto 0;
}
#header .search form.searchform {
    position: relative;
    background: #fff;
	border:1px solid #ccc;
    display: block;
    margin: 0 auto;
    padding: 9px 10px;
    border-radius: 2rem;
    height: 40px;
	width: 300px;
}


#header .search input[type=text] {
    border: none;
    position: relative;
    width: 100%;
	height: 2rem;
    font-size: 1rem;
    padding: 0 0.8rem;
}

#header .search input[type=text]:focus {
    outline: 0;
}

#header .search input[type=submit] {
    display: none;
    position: absolute;
    cursor: pointer;
    border: none;
    color: #eee;
    border-radius: 1rem;
    background: #fff;
    outline: none;
}


@media screen and (min-width:768px) {
	
	#header {
		display:flex;
		flex-wrap:nowrap;
		justify-content: center;
	}

	#header .header_sec1 {
		width: 60%;
	}
	#header .header_sec2 {
		width: 40%;
	}
}



/* -- adblock -------------------------------- */
.adblock_head{
	margin:0 auto;
	max-width:1024px;
}
.adblock_side,
.adblock_foot{
	margin:2rem auto 0;
	max-width:1024px;
}


/* -- footer -------------------------------- */
#footer {
	padding: 2rem 0 10rem;
}

#footer .navi {
	text-align: center;
}

#footer .navi li {
	display: inline-block;
	list-style: none;
	margin: 0.2rem;
}

#footer .navi li a {
	font-size: 0.8rem;
	padding: 0.2rem;
}

#footer .navi a {
	color: #222;
}

#footer .desc {
	margin-top: 2.5rem;
	text-align: center;
	font-size: 0.7rem;
}

#footer .copy {
	text-align: center;
	margin-top: 0.5rem;
}




/* -- post_card ------------------------------- */

.post_card {
	max-width:1045px;
	margin:0 auto;
	display:flex;
  	overflow-y: scroll;
	justify-content:left;
	flex-wrap:nowrap;
	gap:10px;
	
	padding:0 10px 5px 10px;
	width:100%;
}
.post_card a{
	flex:1;
	position:relative;
	
	display:block;
	margin-top: 2rem;
	align-items: center;
	min-width:40%;
	max-width:120px;
	
	background-color:#fff;
	box-shadow: 0 0 5px #ccc;
	border-radius:1rem;
	padding:1rem;
	text-decoration:none;
	text-align:center;
}

@media screen and (min-width:768px) {
	.post_card a{
		min-width:120px;
	}
}

.post_card .new{
	display:none;
	/*
	position:absolute;
	top:10px;
	left:0;
	display:inline-block;
	padding:3px 10px;
	border-radius:2px;
	font-weight:bold;
	color:#fff;
	background-color:#cc0000;
	*/
}

.post_card img {
	width:90px;
	height:90px;
	border-radius:0.5rem;
}

.post_card p {
	font-size: 0.8rem;
	margin-top:0.2rem;
	
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3; /* 表示したい行数 */
	overflow: hidden;
}


/* -- post_list ------------------------------- */

.post_list {
	z-index: 2;
}

.post_list h1 {
	text-align: center;
	font-weight: bold;
	margin: 3rem 0 1rem;
	font-size: 1.4rem;
	line-height:1.4;
}

.post_list a,
.post_list div {
	position: relative;
	display: flex;
	padding: 20px 40px 20px 20px;
	margin: 1.5rem 0 0 0;
	background: #fff;
	border-radius: 1rem;
	align-items: center;
	text-decoration: none;
	box-shadow: 0 0 5px #ccc;
}

.post_list a::after {
	content: '';
	width: 6px;
	height: 6px;
	border-top: solid 2px #222;
	border-right: solid 2px #222;
	-ms-transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
	position: absolute;
	top: 50%;
	right: 20px;
	margin-top: -4px;
}

.post_list p.thum {
	width: 100px;
	height: 100px;
	/* padding: 0; */
	margin-right: 20px;
	background: #eee;
	border-radius: 0.5rem;
}

.post_list p.thum img {
	border-radius: 0.5rem;
	width: 100px;
}

.post_list p.title {
	width: calc(100% - 120px);
	margin-top: 5px;
	color: #222;
	line-height: 1.6;
}


/* -- pagecount ------------------------------- */
.pagecount { margin:2rem 0 0;}

.pagecount ul {
    margin: 0 auto;
    max-width: 500px;

    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: center;
}

.pagecount li{
	list-style: none;
}

.pagecount li a,
.pagecount li span {
    display: none;
}

.pagecount li a.next,
.pagecount li a.prev {
    display: block;

    display: inline-block;
    padding: 0.5rem 1rem;
	margin:0 0.5rem;
	border-radius:50px;
	background:#222;
	color:#fff;
	text-decoration:none;
	
}

/* -- post_redirect ------------------------------- */
.post_redirect {
	width: 100%;
	height: 100vh;
	background: #fff;
	padding: 50px 10px;
	text-align: center;
}

/* -- post_single ------------------------------- */
.post_single {
	margin-top: 2rem;
	padding: 1.5rem 1rem 1.5rem;
	border-radius: 1rem;
	background: #fff;
	box-shadow: 0 0 5px #ccc;
}

@media screen and (min-width:768px) {
	.post_single {
	padding: 2rem;
	}
}

.post_single .note {
	font-size: 0.75rem;
	line-height: 1.6;
	color:#999;
	margin-bottom:1rem;
	padding-bottom:1rem;
	border-bottom:1px dashed #ccc;
}

.post_single .note2 {
	margin-top:4rem;
	font-size: 0.75rem;
	line-height: 1.6;
	color:#999;
}

.post_single h1 {
	line-height: 1.6;
		font-size: 1.4rem;
	font-weight: bold;
	padding: 0 0 20px;
}

@media screen and (min-width:768px) {
	.post_single h1 {
	font-size: 1.5rem;
	}
}

.post_single h2 {
	margin: 3.5em 0 1em 0;
	font-size: 1.3rem;
	font-weight: bold;
	line-height: 1.2;
	padding: 0 0 17px;
	border-bottom: 5px solid #222;
}

.post_single h2 span.sub {
	font-size: 70%;
}

.post_single h3 {
	display: inline-block;
	padding: 2px 0 2px 15px;
	border-left: 7px solid #222;
	margin: 2.8em 0 0.4rem;
	font-size: 1.1rem;
	line-height: 1.3;
	font-weight: bold;
}

.post_single h2+h3 {
	margin-top: 1.4rem;
}

.post_single h4 {
	font-weight: bold;
	margin-top: 1.3rem;
	line-height: 1.3;
}

.post_single strong {
	background: linear-gradient(#fff 30%, #ffff66 70%);
	font-weight: bold;
}

.post_single em {
	font-style: normal;
	color: #d00;
	font-weight: bold;
}

.post_single code {
	font-family: Consolas;
	font-style: normal;
	font-weight: bold;
	border: 1px solid #222;
	border-radius: 0.5rem;
	padding: 2px 4px;
	margin-left: 2px;
	margin-right: 2px;
}

.post_single p {
	line-height: 2.0;
	margin: 1em auto 0;
}

.post_single p.date {
	font-size: 0.8rem;
	line-height: 1.0;
	color: #999;
	padding: 0 0 10px;
	margin:0;
	text-align: right;
}

.post_single p.cate {
	font-size: 0.75rem;
	line-height: 1.0;
	margin: 0 0 20px 0;
	color: #999;
}

.post_single p.cate a {
	display: inline-block;
	padding: 5px 12px;
	background: #f4f4f4;
	border-radius: 1rem;
	text-decoration: none;
	line-height: 1.0;
	color: #999;
}

.post_single p.cate span {
	display: inline-block;
	margin: 4px 5px 0 0;
}

p.kome {
	margin-top: 1.2rem;
	text-indent: -1rem;
	padding-left: 1rem;
	line-height: 1.7;
	font-size: 0.8rem;
}

.post_single table td p.kome {
	margin-top: 0.8rem;
}

.post_single p.arrow {
	margin: 1em auto 0;
	width: 0;
	height: 0;
	border-left: 15px solid transparent;
	border-right: 15px solid transparent;
	border-top: 15px solid #222;
}

.post_single iframe {
	width:100%;
	aspect-raito:16 / 9;
}

.post_single ol {
	margin: 15px 0 0 0;
}

.post_single ol li {
	line-height: 2.0;
	margin-top: 8px;
	margin-left: 30px;
}

.post_single ul {
	margin: 15px 0 0 0;
}

.post_single ul li {
	position: relative;
	list-style: none;
	line-height: 1.8;
	margin-top: 8px;
	margin-left: 8px;
	padding-left: 20px;
}

.post_single ul li:before {
	content: "";
	position: absolute;
	top: .6rem;
	left: 0;
	width: 8px;
	height: 8px;
	background-color: #222;
	border-radius: 50%;
}

.post_single ul li ul {
	margin-top: 0;
}

.post_single .movie {
	width: 100%;
	aspect-ratio: 16 / 9;
}

.post_single .movie iframe {
	width: 100%;
	height: 100%;
}


/* アイキャッチ画像 */
.post_single p.thum {
	text-align: center;
	margin: 0 auto 0 auto;
}

.post_single p.thum img {
	width: 40%;
	height: auto;
	border-radius: 0.5rem;
}

/* 記事内の画像 */
.post_single p.pic_yoko,
.post_single p.pic_tate {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	line-height: 0;
}

.post_single p.pic_yoko {
	width: 100%;
}

.post_single p.pic_tate {
	max-width: 300px;
}

.post_single p.pic_yoko img,
.post_single p.pic_tate img {
	width: 100%;
	border-radius: 0.5rem;
	border: 1px solid #ddd;
}

.post_single .author{
	display:flex;
	align-items:center;
	margin-top:2rem;
	border-radius:1rem;
	padding:0.5rem 1.5rem 0;
	background-color:#f4f4f4;	
}
.post_single .author img{
	display:block;
	width:80px;
	object-fit:cover;
}
.post_single .author p{
	width:calc(100% - 80px);
	padding:0 0 0.5rem 1.5rem;
	margin:0;
	line-height:1.4;
	font-size:0.9rem;
}

/* -- password -- */
.post-password-form input[type=password] {
	flex-grow: 1;
	min-width: 3rem;
	border: 1px solid #222;
	border-radius: 0.5rem;
	padding: 11px;
	font-size: 1.0rem;
	width: 150px;
}

.post-password-form input[type=submit] {
	flex-grow: 1;
	width: 50px;
	font-size: 0.9rem;
	padding: 10px 0;
	background: #222;
	border: 1px solid #222;
	border-radius: 0.5rem;
	text-align: center;
	color: #fff;
}


/* 引用 */
.post_single blockquote {
	margin: 1.2em auto 0;
	padding: 0 20px 15px;
	border: 1px dashed #222;
	border-radius: 0.5rem;
	font-size: 0.9rem;
	font-style: italic;
	color: #666;
	line-height: 1.8;
}

.post_single blockquote p.pic_tate img,
.post_single blockquote p.pic_yoko img {
	border: none;
}

.post_single cite {
	font-size: 0.8rem;
	text-align: right;
	display: block;
}

.post_single cite::before {
	content: '-';
	padding-right: 5px;
}



/* テーブル */
.post_single table {
	width: 100%;
	border-top: 1px solid #ddd;
	border-right: 1px solid #ddd;
	border-spacing: 0;
	max-width: 100%;
	margin: 1.5em 0 0 0;
	padding: 0;
}

.post_single table th {
	border-bottom: 1px solid #ddd;
	border-left: 1px solid #ddd;
	padding: 10px;
	background: #f4f4f4;
	margin: 0;
	line-height: 1.6;
	font-size: 0.9rem;
	font-weight: normal;
}

.post_single table td {
	border-bottom: 1px solid #ddd;
	border-left: 1px solid #ddd;
	padding: 10px;
	margin: 0;
	line-height: 1.6;
	font-size: 0.9rem;
}

.post_single table.logo th {
	width: 120px;
}

.post_single table.logo th img {
	max-width: 100%;
}



/* 免責 */
.post_single .notice {
	margin-top: 1.2rem;
	padding: 15px;
	border: 1px dotted #f44;
	border-radius: 0.5rem;
	color: #f44;
	font-size: 0.8rem;
}

/* ブログカード */
.post_single .blogcard {
	margin-top: 1.5rem;
	border: 1px dotted #222;
	border-radius: 0.5rem;
}

.post_single .blogcard a {
	position: relative;
	padding: 20px 30px 10px 20px;
	display: flex;
	align-items: center;
	text-decoration: none;
}

.post_single .blogcard a::after {
	content: '';
	width: 6px;
	height: 6px;
	border-top: solid 2px #222;
	border-right: solid 2px #222;
	-ms-transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
	position: absolute;
	top: 50%;
	right: 15px;
	margin-top: -4px;
}

.post_single .blogcard p.pic {
	width: 105px;
	margin: 0;
}

.post_single .blogcard p.pic img {
	width: 90px;
	border-radius: 0.5rem;
}

.post_single .blogcard p.tit {
	margin: -2px 0 0 0;
	line-height: 1.8;
	font-size: 0.8rem;
	font-weight: bold;
	width: calc(100% - 105px);
}

.post_single .blogcard span {
	display: inline-block;
	padding: 3px 10px;
	margin-right: 5px;
	border: 1px solid #222;
	border-radius: 1px;
	line-height: 1.0;
	color: #222;
	font-weight: normal;
	font-size: 0.9rem;
}

.post_single .cardlist #toc_container {
	display: none;
}

.post_single .cardlist h2 {
	margin-top: 2rem;
}

.post_single .cardlist h2:first-of-type {
	margin-top: 0;
}

.post_single .cardlist .blogcard {
	margin: 0;
	border-radius: 0;
	border: none;
	border-bottom: 1px dotted #222;
}

.post_single .cardlist .blogcard a {
	padding: 0 30px 10px 0;
}

.post_single .cardlist .blogcard p.pic {
	width: 80px;
	margin: 0;
}

.post_single .cardlist .blogcard p.pic img {
	width: 70px;
	border-radius: 0.5rem;
}

.post_single .cardlist .blogcard p.tit {
	margin: -2px 0 0 0;
	line-height: 1.7;
	font-size: 0.9rem;
	font-weight: normal;
	width: calc(100% - 80px);
}

.post_single .cardlist .blogcard span {
	display: none;
}







/* 申し込み */
.post_single .apply {
	margin-top: 2rem;
	/* border:1px dotted #222; */
		padding: 3px 1rem 1rem;
	background: #ffffef;
	border-radius: 0.5rem;
}

@media screen and (min-width:768px) {
	.post_single .apply {
	padding: 5px 1.5rem 1.5rem;
	}
}

/* おすすめ */
.post_single .recommend {
	margin-top: 2rem;
	border: 1px solid #222;
	padding: 0 25px 25px;
	border-radius: 0.5rem;
}

.post_single .recommend .rec_tit {
	display: inline-block;
	margin: -15px 0 0 -10px;
	background: #222;
	padding: 5px 15px;
	border-radius: 2px;
	color: #fff;
	font-size: 0.9rem;
	font-weight: bold;
}

/* 限定タイアップ */
.post_single .tieup {
	margin-top: 1rem;
	text-align: center;
}

.post_single .tieup span {
	position: relative;
	padding: 0 18px;
	font-weight: bold;
	font-size: 0.8rem;
}

.post_single .tieup span::before,
.post_single .tieup span::after {
	content: "";
	display: inline-block;
	background: #222;
	width: 2px;
	position: absolute;
	height: 30px;
	bottom: -5px
}

.post_single .tieup span::before {
	left: 0;
	transform: rotate(-30deg);
}

.post_single .tieup span::after {
	right: 0;
	transform: rotate(30deg);
}

/* ボタン吹き出し */
@keyframes move_y {
	from {
		transform: translateY(0);
	}

	to {
		transform: translateY(10px);
	}
}

.post_single .btn_note{
margin-top: 1rem;
  padding:1rem;
  background: #fff9d9;
  border: 1px dashed #e6c85c;
  border-radius: 0.5rem;
  font-size:0.8rem;
}

.post_single .btn_fuki {
	animation: move_y .5s infinite alternate ease-in-out;
	display: block;
	text-align: center;
	margin-top: 0.7rem;
}

.post_single .btn_fuki span {
	position: relative;
	display: inline-block;
	padding: 8px 20px;
	border-radius: 30px;
	min-width: 180px;
	max-width: 100%;
	font-size: 0.8rem;
	background: #FFF;
	border: solid 1px #222;
	box-sizing: border-box;
}

.post_single .btn_fuki span:before {
	content: "";
	position: absolute;
	bottom: -20px;
	left: 50%;
	margin-left: -10px;
	border: 10px solid transparent;
	border-top: 10px solid #FFF;
	z-index: 2;
}

.post_single .btn_fuki span:after {
	content: "";
	position: absolute;
	bottom: -24px;
	left: 50%;
	margin-left: -12px;
	border: 12px solid transparent;
	border-top: 12px solid #222;
	z-index: 1;
}

/* 横並び */
.btn_row {
	display: flex;
}

.btn_row p {
	width: 50%;
}

.btn_row p:nth-child(odd) {
	margin-right: 7px;
}

.btn_row p:nth-child(even) {
	margin-left: 7px;
}

.btn_row p a {
	padding: 7px;
}

/* コード */
.post_single .code {
	margin: 1.2em auto 0;
	width: 100%;
	max-width: 400px;
	display: block;
	padding: 12px;
	border-radius: 50px;
	border: 1px dashed #222;
	text-align: center;
	font-size: 1.1rem;
	font-family: Consolas;
	line-height: 1.1;
	font-weight: bold;
	letter-spacing: 1.2;
}

.post_single li .code {
	margin: 0 auto 10px;
}


/* 外部リンクボタン */
.post_single .btn {
	margin-top: 1rem;
}

.post_single li .btn {
	margin: 0 auto 10px;
}

.post_single .btn a {
	position: relative;
	max-width: 400px;
	width: 100%;
	display: block;
	margin: 0 auto;
	padding: 18px 12px;
	border-radius: 50px;
	background: #0063ac;
	border: 2px solid #0063ac;
	text-decoration: none;
	text-align: center;
	color: #fff;
	font-weight: bold;
	font-size: 0.9rem;
	line-height: 1.3;
	/* box-shadow: 0 5px 15px rgba(0,0,0,.15); */
}

.post_single .btn a::after {
	content: '';
	width: 6px;
	height: 6px;
	border-top: solid 2px #fff;
	border-right: solid 2px #fff;
	-ms-transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
	position: absolute;
	top: 50%;
	right: 20px;
	margin-top: -4px;
}

/* 内部リンクボタン */
.post_single .anc {
	margin-top: 1rem;
}

.post_single li .anc {
	margin: 0 auto 10px;
}

.post_single .anc a {
	position: relative;
	max-width: 400px;
	width: 100%;
	display: block;
	margin: 0 auto;
	padding: 16px 10px;
	border-radius: 50px;
	background: #fff;
	border: 2px solid #222;
	text-decoration: none;
	text-align: center;
	color: #222;
	font-size: 0.9rem;
	line-height: 1.3;
}

.post_single .anc a::after {
	content: '';
	width: 6px;
	height: 6px;
	border-top: solid 2px #222;
	border-right: solid 2px #222;
	-ms-transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
	position: absolute;
	top: 50%;
	right: 20px;
	margin-top: -4px;
}

/* テーブル内のボタンは小さく */
.post_single table .btn,
.post_single table .anc {
	margin-top: 0;
}

.post_single table .btn a,
.post_single table .anc a {
	font-size: 0.8rem;
	padding: 5px;
	max-width: 200px;
}

.post_single table .btn a::after,
.post_single table .anc a::after {
	right: 15px;
}

/* メッセージ吹き出し */
.post_single .messe {
	margin: 1.5em auto 1.5rem;
	overflow: hidden;
}

.post_single .messe p {
	margin: 0;
}

.post_single .messe p.fuki {
	float: left;
	width: calc(100% - 80px);
	position: relative;
	display: inline-block;
	padding: 15px;
	border: solid 1px #222;
	background: #fff;
	border-radius: 7px;
	line-height: 1.7rem;
	font-size: 0.9rem;
}

.post_single .messe p.fuki:before {
	content: "";
	position: absolute;
	top: 25px;
	left: -20px;
	margin-top: -10px;
	border: 10px solid transparent;
	border-right: 12px solid #fff;
	z-index: 11;
}

.post_single .messe p.fuki:after {
	content: "";
	position: absolute;
	top: 25px;
	left: -22px;
	margin-top: -10px;
	border: 10px solid transparent;
	border-right: 13px solid #222;
	z-index: 10;
}

.post_single .messe p.icon {
	float: left;
	display: inline-block;
	width: 80px;
}

.post_single .messe p.icon:before {
	content: '';
	width: 55px;
	height: 55px;
	display: inline-block;
	border-radius: 55px;
	background-image: url(img/pic_fuki.png);
	background-size: contain;
	vertical-align: middle;
}


/* -- post_widget ------------------------------- */

.post_widget {}

.post_widget li.widget {
	list-style: none;
	margin-top: 2rem;
	padding: 30px 20px;
	border-radius: 1rem;
	background: #fff;
	box-shadow: 0 0 5px #ccc;
}

.post_widget li.widget li {
	list-style: none;
}

.post_widget h2 {
	padding-bottom: 10px;
	font-size: 1.1rem;
}

.post_widget li {
	padding: 5px 0;
	font-size: 1.0rem;
	line-height: 1.3;
}

.post_widget li a {
	text-decoration: none;
}

.rpwwt-widget ul li span {
	color: #222;
	line-height: 1.5;
}

.rpwwt-widget ul li {
	margin-bottom: 0;
}

.rpwwt-widget img {
	border-radius: 7px;
}



/* -- profile -- */
.profile {
	/*
	margin-top: 2.5rem;
	padding: 20px;
	border-radius: 1rem;
	border: 1px solid #ccc;
	*/
}

.profile .icon {
	text-align: center;
}

.profile .icon img {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	border: 2px solid #fff;
}

.profile .name {
	text-align: center;
	margin-top: 5px;
	font-size: 0.8rem;
	font-weight: bold;
}

.profile .text {
	margin-top: 15px;
	font-size: 0.9rem;
	line-height: 1.7;
}

.profile .link {
	margin-top: 20px;
	font-size: 0.9rem;
	line-height: 1.7;
	text-align: center;
}

.profile .btn_ig,
.profile .btn_x {
	margin: 15px auto 0;
}

.profile .btn_ig a,
.profile .btn_x a {
	position: relative;
	max-width: 250px;
	width: 100%;
	display: block;
	margin: 0 auto;
	padding: 15px 12px;
	border-radius: 50px;
	text-decoration: none;
	text-align: center;
	color: #fff;
	font-size: 0.9rem;
	box-shadow: 0 5px 15px rgba(0, 0, 0, .15);
	transition: all .2s linear;
}

.profile .btn_ig a {
	background: linear-gradient(45deg, rgba(254, 212, 117, 1) 0%, rgba(229, 61, 93, 1) 50%, rgba(194, 49, 134, 1) 70%, rgba(156, 56, 187, 1) 100%);
}

.profile .btn_x a {
	background: linear-gradient(45deg, rgba(120, 169, 182, 1), rgba(13, 31, 30, 1));
}

.profile .btn_ig a::after,
.profile .btn_x a::after {
	content: '';
	width: 6px;
	height: 6px;
	border-top: solid 2px #fff;
	border-right: solid 2px #fff;
	-ms-transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
	position: absolute;
	top: 50%;
	right: 20px;
	margin-top: -4px;
}

/* -- index ------------------------------- */
#toc_container {
	margin: 3.5em 0 0;
	padding: 25px;
	background: #f4f4f4;
	border-radius: 7px;
	font-size: 0.9rem;
}

/* タイトル直下に目次がある場合 */
h1+#toc_container {
	margin-top: 1rem;
}

#toc_container p.toc_title {
	margin-top: 0;
}

#toc_container ul li:before {
	background-color: #999;
}



/* -- pic_gallery  ------------------------------- */
.pic_gallery {
  position: relative;
  margin-top: 1.5rem;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 0 10px 12px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

/* 左右ボタン */
.pic_gallery::before,
.pic_gallery::after {
  position: sticky;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;

  flex: 0 0 36px;
  width: 36px;
  height: 36px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(0,0,0,0.5);
  color: #fff;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
}

.pic_gallery::before {
  content: "‹";
  left: 4px;
  margin-right: -52px;
}

.pic_gallery::after {
  content: "›";
  right: 4px;
  margin-left: -52px;
}

/* 1枚のとき */
.pic_gallery.is-single {
  justify-content: center;
  overflow: hidden;
}

/* 矢印消す */
.pic_gallery.is-single::before,
.pic_gallery.is-single::after {
  display: none;
}

/* 1枚のときサイズ調整（中央で綺麗に） */
.pic_gallery.is-single p {
  flex: 0 0 70%; /* ←お好みで 60〜80% */
  max-width: 400px;
}

/* 左を隠す */
.pic_gallery.hide-prev::before {
  opacity: 0;
  pointer-events: none;
}

/* 右を隠す */
.pic_gallery.hide-next::after {
  opacity: 0;
  pointer-events: none;
}



.pic_gallery p {
  flex: 0 0 calc((100% - 10px) / 1.2);
  aspect-ratio: 4 / 5;
  scroll-snap-align: center;
  overflow: hidden;
  background: #eee;
  border-radius: 0.5rem;
  border: 1px solid #ddd;
  margin: 0;
  padding: 0;
}

.pic_gallery p img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
