@charset "utf-8";
/*
Template: yswallow
Theme Name: swallow_custom
Theme URI:https://open-cage.com/swallow/
*/

/* details {
    border: 1px solid #aaa;
    border-radius: 4px;
    padding: .5em .5em 0;
}

summary {
    font-weight: bold;
    margin: -.5em -.5em 0;
    padding: .5em;
}

details[open] {
    padding: .5em;
}

details[open] summary {
    border-bottom: 1px solid #aaa;
    margin-bottom: .5em;
} */

summary {
	display: block;
	list-style: none;
  }
  
  /* 一部ブラウザで消えなかった場合は以下も追記 */
  summary::-webkit-details-marker {
	display:none;
  }


  .page .side-wrap {
	display: none;
}


.leftcol {
float: left;
}

.rightcol {
float: right;
}

.marker-yellow {
background: linear-gradient(transparent 60%, #FFFF99 50%);
}

.entry-content h2 {
margin-top: 0;
}

.entry-content td, .entry-content th {
padding: .4em .4em
}

.site_description {
margin: 0;
}

.btn-wrap {
    margin: 0;
}

.floating-banner {
    position: fixed;/* 追従 */
    z-index: 99999;/* 他の要素の下に隠れないように */
    bottom: 0;/* バナーの上下の位置 */
    right: 0;/* バナーの左右の位置 */
	width:100%;
}

.floating-banner:hover {
    opacity: .9;/* ホバーで少し透過 */
}

.footer-area {
    display: -webkit-inline-flex;
    display: inline-flex;
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
    font-size: 3.3vw;
    text-align:center;
	font-weight: 700;
    width: 100%;
    height: 50px;
    line-height: 50px;
}

.hidden {
    display: none;
}

.related-posts-slider {
    margin: 20px 0;
}

.related-post-item {
    text-align: center;
    padding: 10px;
}

.related-post-thumbnail img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 10px auto;
	border-radius: 5px;
}

.center-btn {
	margin:0 auto 50px;
}

.pagination {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
}

.pagination a, .pagination span {
    margin: 0 5px;
    padding: 8px 16px;
    background-color: #f1f1f1;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #333;
}

.pagination a:hover {
    background-color: #ddd;
}

.pagination .current {
    background-color: #333;
    color: white;
    border: 1px solid #333;
}

.responsive-search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* 各項目間のスペース */
    align-items: flex-start;
}

.responsive-search-form div {
    display: flex;
    flex-direction: column; /* ラベルを上、入力ボックスを下に配置 */
    width: 100%; /* デフォルトで全幅を使用 */
    max-width: 200px; /* 適切な幅を設定（必要に応じて調整） */
    box-sizing: border-box; /* パディングを含めたサイズ調整 */
}

.responsive-search-form label {
    margin-bottom: 5px;
    font-weight: bold; /* ラベルを見やすくする */
}

.responsive-search-form select,
.responsive-search-form input[type="submit"] {
    width: 100%;
    padding: 5px;
    box-sizing: border-box; /* パディングを含めたサイズ調整 */
}

.search-button-wrapper {
    width: 100%; /* 検索ボタンを全幅で配置 */
    display: flex;
    justify-content: center; /* ボタンを中央寄せ */
    margin-top: 10px; /* ボタンと上の項目の間に余白を追加 */
}

.responsive-search-form input[type="submit"] {
    cursor: pointer;
}


@media only screen and (min-width: 980px) {
	#custom_header_img{
		text-align: center;
		width: 800px;
	/*	height: 605px; */
		margin: 3px auto;
	} 

	.page.pd_normal #main { 
        max-width: 800px; 
        float: none; 
        margin-left: auto; 
        margin-right: auto; 
    }
	  
	  
	.lp #main{
		width: 100%; 
		padding: 0 20px 2em;
		margin-left: auto;
		margin-right: auto;
		float: none;
	}
	
	#inner-content {
		margin-top: 25px;
	}
	
	.widget {
		margin: 0 0 .5em;
	}

	.floating-banner {
		position: fixed;
		z-index: 99999;
		bottom: 0;
		/* left: 400px; */
		text-align: left;
		width: 100%;
		background-color: blown;
	}

	.footer-area {
		display: -webkit-inline-flex;
		display: inline-flex;
		-webkit-flex-wrap: nowrap;
		flex-wrap: nowrap;
		font-size: 1.1em;
		font-weight: 700;
		/* width: 30%; */
		text-align: center;
		height: 50px;
		line-height: 50px;
	}


}

@media only screen and (min-width: 768px) {
	.header #logo img{
		width: 130px;
		height: 50px; 
		vertical-align: middle;
	}
	
	.responsive-search-form {
        flex-wrap: nowrap; /* 横並びを維持 */
        justify-content: flex-start;
    }

    .responsive-search-form div {
        max-width: none; /* 横並びの場合の制約を解除 */
        width: auto;
    }

}

@media only screen and (max-width: 767px) {
	#custom_header_img{
		text-align: center;
		width: 350px;
	/*	height: 265px; */
		margin: 3px auto;
    }

	.article-header .eyecatch,
	.cta-inner{
		margin-left: 0;
		margin-right: 0;
	}

	#logo {
		margin-bottom: 0px;
	}
	
	#logo a img{
		width: 104px;
		height: 40px;
		vertical-align: middle;
	}

	#g_nav .menu-sp a {
		padding: .0 .2em;
	}

	#header{
		padding: 0;
	}

	.search-button-wrapper {
        justify-content: flex-start; /* スマホでは左寄せに変更 */
    }
}

#page-top.pt-active{
	bottom: 80px;
}

.lp .entry-header {
    margin: 0 0 1.5em;
    display: inline;
    text-align: center;
}

