@charset "UTF-8";
/*
 Theme Name: SANGO Child
 Theme URI: https://saruwakakun.design
 Author: SARUWAKA
 Author URI: https://saruwakakun.com
 Template: sango-theme
 Version: 4.0
*/
/*こちらはSANGOの子テーマ用CSSです。以下にCSSを記入していきましょう。*/

/* top */
#content.page-forfront {
	margin-top: 30px;
}

.wp-block-search__inside-wrapper {
	max-width: 80%;
	margin: auto;
}
.wp-block-search__button {
	margin-left: 0;
}
.wp-block-search .wp-block-search__input {
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}
.wp-block-search__button {
	border-radius: var(--wp--custom--rounded--small);
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}
:where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) {
	border: none;
}
.wp-block-search .wp-block-search__input {
	border-color: var(--sgb-accent-color);
}
:root :where(.wp-element-button, .wp-block-button__link) {
	background-color: var(--sgb-main-color);
}

/* header */
.wp-block-site-logo a {
	transition: .2s opacity 0s ease;
}
.wp-block-site-logo a:hover {
	opacity: .8;
}

/* main */
#content.page-forfront .entry-content {
	padding: 0 0 35px !important;
}

/* アイキャッチ画像にキャプションを表示 */
.caption-spaceasam {
    position: relative;
}

.caption-spaceasam p{
	position:absolute;
    bottom: 1%;
    left: 2%;
	background: #EAEDF2;
	color: #888;
	font-size: 8px;
    font-weight: bold;
    border-radius: 20px;
    line-height: 1.3;
    letter-spacing: 1px;
    padding: 7px 13px;
	z-index: 1;
}
.caption-spaceasam img{
	width:100%;
}
a.samune:link { color: #888; }
a.samune:visited { color: #888; }
a.samune:hover { color: #888; }
a.samune:active { color: #888; }

/* footer */
footer .wp-block-search__inside-wrapper {
	max-width: 100%;
}
footer #sgb-css-id-5 .wp-block-search {
	margin: 0 auto;
	max-width: 80%;
}

footer .wp-block-archives {
	background-color: #FFF;
}

/* お問い合わせ */
.wpcf7-form-control-wrap select {
	background-color: #EFF1F5;
}
.wpcf7-form input[type="submit"] {
	width: 100px;
	color: #f4f5f7;
	background-color: var(--sgb-accent-color);
	font-weight: bold;
	padding: 5px 8px;
	border: none;
	border-radius: 10px;
}
.wpcf7-form input[type="submit"]:hover {
	background-color: var(--sgb-main-color);
}

/* テキストベースの記事一覧 */
.c_linkto_long .longc_img {
	display: none;
}
.c_linkto_long .longc_img img {
	position: static;
	display: none;
}
.c_linkto_long .longc_content {
	display: flex;
	align-items: center;
	column-gap: 10px;
}
.c_linkto_long .sng-link-time {
	margin-bottom: 0;
}
.c_linkto_long .longc_title {
	color: var(--wp--preset--color--sango-blue);
	text-decoration-line: underline;
	transition: .2s opacity 0s ease;
}
.c_linkto_long .longc_linkto {
	box-shadow: none;
}
.c_linkto_long .c_linkto .c_linkto_text {
	padding: 0;
}
.entry-content .c_linkto_long .c_linkto:hover {
	box-shadow: none;
}
.entry-content .c_linkto_long .c_linkto:hover .longc_title {
	opacity: .6;
}
@media only screen and (min-width: 481px) {
	.c_linkto_long {
		width: 90%;
		margin-left: auto;
		margin-right: auto;
	}
	.c_linkto_long .longc_content {
		width: auto;
	}
	.c_linkto.longc_linkto .longc_content, .longc_img{
		display: flex;
	}
}

/* スマホ用追従型目次の調整 */
#toc_container .sgb-toc-button {
	right: 74px;
    bottom: 70px;
}

/* ドロワー内の検索タブ調整 */
#drawer__content .wp-block-search__inside-wrapper  {
	margin: 0;
}

/* モバイルでheaderの固定を解除 */
@media screen and (max-width: 480px) {
	.sgb-header--sticky {
		position: relative;
	}
}

/* reCAPTCHAの位置を調整 */
.grecaptcha-badge {
	margin-bottom: 80px;
}