/*
Theme Name: AFFINGER Child
Template: affinger
Description: AFFINGER6 対応
Version: 20250123
*/

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');
/* header logo text */
header .sitename a {
	font-family: 'Roboto', sans-serif;
	font-size: 32px;
	font-weight: 500;
	letter-spacing: 2px;
}
/* header menu */
#st-menuwide {
	padding-top: 5px;
	padding-bottom: 5px;
}
header .smanone ul.menu li a {
	font-size: 16px;
	letter-spacing: 2px;	
}

/* 見出しチェック色変更 */
.is-style-st-heading-custom-check::before {
	color: #537791;
}

/* TOP */
/* 新着・おすすめ */
.m_top_h2 {
    border: 1px solid rgba(83, 119, 145, 0.2);
    background: #fff;
    padding: 10px;
    font-size: 17px !important;
	font-weight: bold;
	background: rgba(83, 119, 145, 0.1);
	text-align: center;
}

/* おすすめレイアウト */
.m_top_recommend  {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.m_top_recommend > div {
	width: 49%;
	padding: 10px;
	box-sizing: border-box;
	border: 1px solid #ccc;
}
.m_top_recommend > div:nth-child(n + 3) {
	margin-top: 20px;
}
.m_top_recommend .kanren {
	padding: 0;
}
.m_top_recommend .kanren dl {
	margin-bottom: 0;
	padding-bottom: 0;
	position: relative;
}
.m_top_recommend .kanren dt {
	float: none !important;
	width: 100% !important;
}
.m_top_recommend .kanren dt img {
	width: 100% !important;
}
.m_top_recommend .kanren dd {
	padding-top: 10px !important;
	padding-left: 0 !important;
}
.m_top_recommend .kanren .st-catgroup {
	position: absolute;
	top: 5px;
	left: 5px;
}
.m_top_recommend .kanren .smanone {
	display: none;
}

.home-post .h5modoki,
.home-post h5 {
	padding-right: 0;
}

/* TOP 新着情報 */
.home-post + aside .kanren .st-catgroup {
	display: none;
}

/* サイドウィジェット */
/* タイトル */
#side .st-widgets-title {
	position: relative;
	text-align: center;
	color: #393e46;
	margin-bottom: 30px !important;
}
#side .st-widgets-title:after {
	content: '';
	display: block;
	width: 120px;
	height: 2px;
	background: #537791;
	position: absolute;
	left: 50%;
	bottom: -10px;
	margin-left: -60px;
}
#side aside > div > div {
	margin-bottom: 20px;
}
#side .side-widgets {
	padding: 20px 10px;
	background: #ffffff;
}
#side .side-widgets.widget_authorst_widget {
	padding: 0;
}

/* おすすめ記事 */
#side .pop-box.kanren {
	margin-top: 0;
}
#side #scrollad {
	padding-top: 0;
}
#content-w #side .p-entry-t {
	text-align: center;
}
#content-w #side .p-entry {
	position: relative;
	background: #ffffff;
	box-shadow: none;
	font-size: 14px;
	padding: 0;
	top: auto;
	left: auto;
}
#content-w #side .p-entry:before {
	display: none;
}
#content-w #side .p-entry:after {
	content: '';
	display: block;
	width: 120px;
	height: 2px;
	background: #537791;
	position: absolute;
	left: 50%;
	bottom: -10px;
	right: auto;
	top: auto;
	margin-left: -60px;
	border: none;
}

/* footer */
#footer .footerlogo {
	display: none;
}

/* 記事 */
/*　この記事を書いた人 */
.is-writer {
	font-size: 22px !important;
	position: relative;
	margin-bottom: 10px !important;
}
.is-writer::before {
    font-family: stsvg;
    content: "\f00c";
    margin-right: 0.5em;
    color: #537791;
}

/* パーツ */
.is-style-st-paragraph-link {
	word-break: break-all;
}

/* STEP */
.st-step-title {
	margin-top: 50px !important;
	margin-bottom: 20px !important;
}

.entry-content p + .graybox {
	margin-top: -20px !important;
}

/* */
.c-flexBox .free-inbox {
	display: flex;
	align-items: center;
}
.c-flexBox .free-inbox .wp-block-image {
	width: 240px;
	margin-right: 20px;
	margin-bottom: 0;
}
.c-flexBox .free-inbox .is-style-default {
text-align: center;}

.box_hotel {
	background: #f2f2f2;
	padding: 20px;
}
.box_hotel_ttl {
	margin-bottom: 10px !important;
	line-height: 1.5 !important;
	font-weight: bold;
}
.box_hotel_lead {
	font-size: 15px !important;
	line-height: 1.5 !important;
}
.box_hotel .box_hotel_inner {
	display:flex;
	align-items: center;
}
.box_hotel_img {
	width: 400px;
}
.box_hotel_img img {
	max-width: 100%;
}
.box_hotel_info {
	width: calc(100% - 400px);
	padding-left: 20px;
}

.box_hotel_btn {
	width: 100%;
}
.box_hotel_btn + .box_hotel_btn {
	margin-top: 10px;
}
.box_hotel_btn a {
	display: flex;
	text-align: center;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 48px;
	border-radius: 30px;
	color: #ffffff;
	text-decoration: none;
	font-weight: bold !important;
}
.box_hotel_btn01 a {
	background: #e6514c;
}
.box_hotel_btn02 a {
	background: #f1a037;
}
.box_hotel_btn03 a {
	background: #597adf;
}

/*media Queries スマートフォンとタブレットサイズ（959px以下）で適応したいCSS - スマホ・タブレット
---------------------------------------------------------------------------------------------------*/
@media only screen and (max-width: 959px) {
.is-writer {
	font-size: 20px !important;
}
.c-flexBox .free-inbox {
	flex-direction: column;
}
.c-flexBox .free-inbox .wp-block-image {
	width: 100%;
	margin-bottom: 20px;
	margin-right: 0;
}

	/*-- ここまで --*/
}
	
/*media Queries タブレットサイズ（600px～959px）のみで適応したいCSS -タブレットのみ
---------------------------------------------------------------------------------------------------*/
@media only screen and (min-width: 600px) and (max-width: 959px) {


	/*-- ここまで --*/
}	
	
/*media Queries タブレット（600px）以上で適応したいCSS -タブレット・PC
---------------------------------------------------------------------------------------------------*/
@media only screen and (min-width: 600px) {
	/*-- ここまで --*/
	main .kanren.st-cardbox dt {
  	  width: 220px !important;
	}
	main .kanren.st-cardbox dd {
		padding-left: 240px !important;
   }
}

/*media Queries PCサイズ（960px）以上で適応したいCSS - PCのみ
---------------------------------------------------------------------------------------------------*/
@media print, screen and (min-width: 960px) {


	/*-- ここまで --*/
}

/*media Queries スマホサイズ（599px）以下で適応したいCSS - スマホのみ
---------------------------------------------------------------------------------------------------*/
@media print, screen and (max-width: 599px) {
	/*-- ここまで --*/
	.home-post .h5modoki ,
	.home-post h5 a {
		font-size: 15px !important;
	}
	@media print, screen and (max-width: 599px) {
	.box_hotel .box_hotel_inner {
		flex-direction: column;
	}
	.box_hotel_ttl {
		font-size: 16px !important;
		margin-bottom: 5px !important;
	}
	.box_hotel_lead {
		font-size: 14px !important;
		margin-bottom: 10px !important;
	}
	.box_hotel_img {
		width: 100%;
	}
	.box_hotel_info {
		width: 100%;
		margin-top: 10px;
		padding-left: 0;
	}
	.box_hotel_btn a {
		height: 42px;
	}
}
}
