@charset "utf-8";

/* ==================================================

汎用ページ パーツ一覧

■pagettl-h2
■h3,h4,h5
■content_btn
■番号付き見出し
■blog
■contactform
■FAQ
■row-table/横並びテーブル
■content_bnr/汎用バナー

================================================== */


/* ==================================================
	■ pagettl-h2
================================================== */

.pagettl_area {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	z-index: 0;
	overflow: hidden;
}
.pagettl_area::after {
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background-color: rgb(65 30 0 / 15%);
	pointer-events: none;
}
.pagettl_area::before {
	content: '';
	position: absolute;
	width: calc(100% + 10px);
	height: calc(100% + 10px);
	pointer-events: none;
	background: inherit;
	filter: blur(2px);
	-webkit-filter: blur(2px);
	-moz-filter: blur(2px);
	-o-filter: blur(2px);
	-ms-filter: blur(2px);
	top: -5px;
	left: -5px;
	right: -5px;
	bottom: -5px;
	z-index: -1;
}
.pagettl {
	color: #fff;
	text-shadow: 0px 0px 6px rgb(72 52 27 / 70%);
	position: relative;
	z-index: 1;
}
.pagettl h2 p {
	font-size: 3rem;
}
.pagettl p {
	font-size: 1.4rem;
}

@media only screen and (max-width: 1024px) {
	.pagettl h2 p {
		font-size: 2rem;
	}
	.pagettl p {
		font-size: 1.2rem;
	}
}

@media screen and (max-width: 576px) {
	.cmshtml .main_content .pagettl {
	padding-top: 90px;
	padding-bottom: 90px;
	}

	.cmshtml .main_content .pagettl h2 {
	height: 64px;
	line-height: 64px;
	}
}

/* ==================================================
	■ h3,h4,h5,h6
================================================== */

.content_h3 h3 {
	border-bottom: 5px dotted var(--i_main_color);
	padding-left: 0.5rem;
}
.content_h3_02 h3 {
	background: url(https://2201a028901.ggserver.net/data/202210/cow.png);
	background-repeat: no-repeat;
	background-size: 60px;
	background-position: left;
	padding-left: 70px;
	display: inline-block;
	padding-right: 1rem;
	border-bottom: 1px dotted var(--i_gray_color);
}

.content_h3_03 h3 {
	display: inline-block;
	padding-right: 1rem;
	border-bottom: 1px dotted var(--i_gray_color);
	background: url(https://2201a028901.ggserver.net/data/202211/img637344cdd3a60.png);
	background-repeat: no-repeat;
	background-size: 40px;
	padding-left: 60px;
	background-position: 7px, center;
}

.content_h4 h4 {
	padding-left: 0.5rem;
	border-bottom: 2px dotted var(--i_main_color);
}
.content_h5 h5 {
	display: inline-block;
	position: relative;
	border-bottom: 1px solid var(--i_border_color);
	padding-bottom: 5px;
	padding-left: 25px;
	padding-right: 10px;

}
.content_h5 h5::before {
	position: absolute;
	left: 5px;
	top: 0.7em;
	content: "";
	display: inline-block;
	width: 0.3em;
	height: 0.3em;
	background: var(--i_sub_color);
	border-radius: 100px;
}

.content_h3 > div.rdblock,.content_h3_02 > div.rdblock,
.content_h4 > div.rdblock,.content_h5 > div.rdblock {
	padding-top: 20px;
	padding-bottom: 20px;
}

.cmshtml .content .h3 .rdplanetitle h3 {
	font-size: 2.6rem;
	font-weight: bold;
	text-shadow: 3px 3px 0 var(--i_border_color);
}
.cmshtml .content .h4 .rdplanetitle h4 {
	border-top: 1px solid rgba(238, 238, 238, 1);
	border-right: 1px solid rgba(238, 238, 238, 1);
	border-bottom: 1px solid rgba(238, 238, 238, 1);
	border-left: 10px solid rgba(239, 232, 217, 1);
	box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
	padding: 5px 15px 5px 15px;
}
.cmshtml .content .h5 .rdplanetitle h5 {
	background-image: url(/data/202204/img625fe00a0e297.png);
	background-position: left center;
	background-repeat: no-repeat;
	background-size: 20px;
	padding: 5px 5px 5px 25px; 
	border-bottom: 1px solid #efe8d9;
}


@media screen and (max-width: 768px){
	.cmshtml div.content_h3 h3,
	.cmshtml div.content_h3_02 h3 {
		font-size: 1.75rem;
	}
	.cmshtml div.content_h4 h4{
		font-size: 1.5rem;
	}
	.cmshtml div.content_h5 h5 {
		font-size: 1.25em;
	}

	.cmshtml div.content_h3 h3, .cmshtml div.content_h3_02 h3 ,.cmshtml div.content_h3_03 h3 {
		font-size: 1.625rem;
	}
}

@media screen and (min-width: 577px){
	.cmshtml div.content_h3 h3 br:not(#editView .cmshtml div.content_h3 h3 br),
	.cmshtml div.content_h3_02 h3 br:not(#editView .cmshtml div.content_h3_02 h3 br),
	.cmshtml div.content_h3_03 h3 br:not(#editView .cmshtml div.content_h3_03 h3 br) {
			display: none;
	}
}


/* ==================================================
	■ content_btn
================================================== */

.content_btn01 a,.content_btn02 a {
	display: inline-block;
	font-size: 1.125rem;
	text-align: center;
	padding: 15px;
	min-width: 250px;
	max-width: 100%;
	box-sizing: border-box;
	color: #fff;
	background: var(--i_sub_color);
	border: 1px solid var(--i_sub_color);
}
.content_btn01 a:hover {
	background: #fff;
	color: var(--i_sub_color);
	border: 1px solid var(--i_sub_color);
}
.content_btn02 a {
	color: var(--i_sub_color);
	background: #fff;
	border: 1px solid var(--i_sub_color);
}
.content_btn02 a:hover {
	border: 1px solid var(--i_sub_color);
	background: var(--i_sub_color);
	color: #fff;
}

.content_btn01 > div.rdblock,.content_btn02 > div.rdblock {
	padding-top: 20px;
	padding-bottom: 20px;
}

@media screen and (max-width: 568px){
	.content_btn01 a,.content_btn02 a {
		width: 100%;
	}
}

/* ==================================================
	■ 番号付き見出し
================================================== */
.cmshtml .site_wrap .num_wrap {
	align-items: center;
	flex-wrap: nowrap;
}

.cmshtml .site_wrap .num_wrap .num_left {
	width: 85px !important;
	flex: initial;
}

.cmshtml .site_wrap .num_wrap .num_left .num_leftText {
	aspect-ratio: 1/1;
	line-height: 65px;
	width: 65px !important;
}

.cmshtml .site_wrap .num_wrap .num_right {
	width: calc(100% - 85px)!important;
}


/* ==================================================
	■ blog
================================================== */

.blogframe .main_content,
.blogmain .main_content {
		position: relative;
		border-top: 346px solid rgb(65 30 0 / 15%); /*pagettlの高さ*/
		margin-top: 0 !important;
}

.blogframe .main_content::before,
.blogmain .main_content::before {
		content: "";
		position: absolute;
		top: -346px; /*pagettlの高さ*/
		width: 100%;
		height: 346px; /*pagettlの高さ*/
		background-position: center center;
		background-size: cover;
		background-repeat: no-repeat;
		background-image: url(https://2201a028901.ggserver.net/data/202210/img634f40b4034cf.jpg
);
		opacity: 0.8;
}

.blogframe .main_content::after,
.blogmain .main_content::after {
		content: "ブログ";
		position: absolute;
		top: -346px;
		width: 100%;
		height: 346px; /*h2の高さ*/
		background: none;
		font-family: 'JetBrains Mono','Zen Maru Gothic', sans-serif;
		font-size: 3rem;
		font-weight: normal;
		letter-spacing: 0.09rem;
		line-height: 346px;
		text-align: center;
		color: #fff;
		text-shadow: 0px 0px 6px rgb(72 52 27 / 70%);
		backdrop-filter: blur(2px);
}

.cmshtml .blogframe .rdListShort,
.cmshtml .blogmain .main_content > * {
		box-sizing: border-box;
		width: 94% !important;
		max-width: 1200px;
		margin: 60px auto 40px auto !important;
		justify-content: space-between;
		row-gap: 30px;
}

.cmshtml .blogmain .main_content .rdarticleTitle {
		margin: 60px auto 0 !important;
}

.cmshtml .blogmain .main_content .rdpublishDate {
		margin: 0 auto !important;
}

.cmshtml .blogmain .main_content>div:last-of-type {
		margin: 0 auto 60px !important;
}

.cmshtml .blogframe .rdListShort::after {
		content: "";
		display: block;
		width: calc(33% - 20px);
}

.cmshtml .blogframe .rdListShort .rdListItem {
		width: calc(33% - 20px);
}

.cmshtml .blogframe .rdListImageItem {
		width: 100%;
		height: auto;
		aspect-ratio: 4/3;
		object-fit: cover;
}

.cmshtml .blogframe .rdarticleTitleText {
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
}

.cmshtml .blogframe .rdarticleTitle h3,
.cmshtml .blogmain .rdarticleTitle h3 {
		border-bottom: 4px solid var(--i_sub_color);
}

.cmshtml .blogframe .rdListShort .rdListItem .rdListExcerpt {
		padding-bottom: 60px;
}

.cmshtml .blogframe .rdReadMore {
		border: 1px solid var(--i_main_color);
		padding: 5px 20px;
		border-radius: 100px;
		font-size: 14px;
		position: absolute;
		right: 15px;
		bottom: 15px;
		transition: .3s ease;
}

.cmshtml .blogframe .rdpagination .rdpagenationAfterLink {
		transition: .3s ease;
}

.cmshtml .blogframe .rdReadMore:hover,
.cmshtml .blogframe .rdpagination .rdpagenationAfterLink:hover {
		background: var(--i_main_color);
		color: #fff;
}

.cmshtml .rdpagination .rdpagenationLinkActive, .cmshtml .rdpagination .rdpagenationLink:hover {
		background: var(--i_btn_color);
		color: #fff;
}

.cmshtml .blogframe .rdListShort .rdListItem .rdListImageEmpty .rdListImageItemDummy,
.cmshtml .blogmain .rdRelatedArticles .rdRelatedArticles-imagelink {
		position: relative;
		border: none;
		background: #eee url(https://2201a028901.ggserver.net/data/202210/img634f3e52c5fbd.png
);
		background-repeat: no-repeat;
		background-position: center;
		background-size: 40%;
		min-height: 0;
}




/*関連記事*/

.cmshtml .blogmain .rdRelatedArticles .rdRelatedArticles-imageWrapper {
		border: 10px solid var(--i_main_color);
}

.cmshtml .blogmain .rdRelatedArticles .rdRelatedArticles-catlist .rdRelatedArticles-catlink {
		background: var(--i_sub_color);
		color: #fff;
		padding: 6px 10px;
		border: 1px solid var(--i_sub_color);
}

.cmshtml .blogmain .rdRelatedArticles .rdRelatedArticles-catlist .rdRelatedArticles-catlink:hover {
		background: #fff;
		color: var(--i_sub_color);
}

.cmshtml .blogmain .rdRelatedArticles .rdRelatedArticles-image {
		height: 100%;
		object-fit: cover;
}


@media screen and (max-width: 1024px){
		.blogframe .main_content::after,
		.blogmain .main_content::after {
				line-height: 346px;
				font-size: 2rem;
		}

		.blogframe .main_content::before, .blogmain .main_content::before {
				height: 317px;
				top: -317px;
		}

		.blogframe .main_content, .blogmain .main_content {
				border-top: 317px solid rgb(65 30 0 / 15%);
		}
}

@media screen and (max-width: 768px){
		.cmshtml .blogframe .rdListShort h3 {
				font-size: 1.125rem;
		}

		.cmshtml .blogframe .rdListShort .rdListExcerpt {
				font-size: 0.875rem;
		}
}

@media screen and (max-width: 576px){
		.cmshtml .blogframe .rdListShort .rdListItem {
				width: calc(50% - 20px);
		}

		.cmshtml .blogmain .rdRelatedArticles .rdRelatedArticles-item {
				width: 50%;
		}

		.blogframe .main_content,
		.blogmain .main_content {
				border-top: 243px solid rgb(65 30 0 / 15%);
		}

		.blogframe .main_content::before,
		.blogmain .main_content::before {
				height: 243px;
				top: -243px;
		}

		.blogframe .main_content::after,
		.blogmain .main_content::after {
				top: -244px;
				line-height: 244px;
				height: 244px;
		}
}




/* ==================================================
	■ contactform
================================================== */

input[type="submit"] {
  appearance: none;
  -webkit-appearance: none;
  }

.cmshtml .contact_item_namebox_front, .cmshtml .contact_item_namebox_back {
    flex: 0 0 auto;
}

.cmshtml dl .contact_item_title {
    background: var(--i_sub2_color);
    padding: 10px 20px;
    margin-bottom: 30px;
    border-radius: 5px;
    box-shadow: 1px 1px 0 #e3ccc2;
}

.cmshtml div.rdcontact_btn_area .rdcontact_btn_back,
.cmshtml div.rdcontact_btn_area .rdcontact_btn_submit {
    background: var(--i_btn_color);
    border: 1px solid var(--i_btn_color);
    cursor: pointer;
}

.cmshtml div.rdcontact_btn_area .rdcontact_btn_back:hover, .cmshtml div.rdcontact_btn_area .rdcontact_btn_back:focus,
.cmshtml div.rdcontact_btn_area .rdcontact_btn_submit:hover, .cmshtml div.rdcontact_btn_area .rdcontact_btn_submit:focus {
    background: var(--i_btn_hover_color);
    box-shadow: 0 0 6px rgb(148 148 148 / 60%);
}

.cmshtml dl.contact_item_table input[type="file"]:focus, .cmshtml dl.contact_item_table input[type="text"]:focus, .cmshtml dl.contact_item_table input[type="email"]:focus, .cmshtml dl.contact_item_table input[type="tel"]:focus, .cmshtml dl.contact_item_table input[type="number"]:focus, .cmshtml dl.contact_item_table input[type="date"]:focus, .cmshtml dl.contact_item_table textarea:focus, .cmshtml dl.contact_item_table select:focus, .cmshtml input[type="text"][name="img_auth"]:focus {
    box-shadow: 0 0 6px rgb(148 148 148 / 60%);
    border: 1px solid var(--i_btn_color);
}

.cmshtml dl.contact_item_table input[type="text"], .cmshtml dl.contact_item_table input[type="email"], .cmshtml dl.contact_item_table input[type="tel"], .cmshtml dl.contact_item_table input[type="number"], .cmshtml dl.contact_item_table input[type="date"], .cmshtml dl.contact_item_table textarea, .cmshtml dl.contact_item_table select, .cmshtml input[type="text"][name="img_auth"] {
    padding: 10px !important;
}

@supports selector(:has(a)) {
    /* デフォルトのチェックボックスを非表示 */
    .contact_checkbox label input[type="checkbox"] {
      display: none;
    }

    /* チェックボックスラベル */
    .contact_checkbox > label{
        display: none;
        cursor: pointer;
        display: inline-block;
        position: relative;
        padding-left: 25px;
        padding-right: 10px;
    }
    /* 正方形ボックス */
    .contact_checkbox > label::before {
        content: "";
        position: absolute;
        display: block;
        box-sizing: border-box;
        width: 20px;
        height: 20px;
        margin-top: -10px;
        left: 0;
        top: 50%;
        border: 1px solid;
        border-color:  #585753; /* 枠の色変更 */
        border-radius: 5px;
        background-color: #FFF; /* 背景の色変更 */
    }
    /* レ点 */
    .contact_checkbox > label::after {
        content: "";
        position: absolute;
        display: block;
        box-sizing: border-box;
        width: 18px;
        height: 9px;
        margin-top: -9px;
        top: 50%;
        left: 3px;
        transform: rotate(-45deg);
        border-bottom: 3px solid;
        border-left: 3px solid;
        border-color: var(--i_main_color); /* チェックの色変更 */
        opacity: 0;
    }

    /* チェックが入ったらレ点を表示 */
    .contact_checkbox > label:has(input[type=checkbox]:checked)::after {
        opacity: 1;
    }
}






/* ==================================================
	■ FAQ
================================================== */

.q_ttl h4, .a_ttl p {
	font-size: 1.75rem;
	font-family: ta-kotodama-r, sans-serif;
	padding-left: 60px;
	background-position: left top;
	background-repeat: no-repeat;
	background-size: 50px;
	position: relative;
}
.q_ttl h4 {
	background-image: url(/data/202204/img6260a7a254077.png);
}
.a_ttl p {
	background-image: url(/data/202204/img6260a79b59fe0.png);
}
.q_ttl h4::before, .a_ttl p::before {
	content: "";
	position: absolute;
}





/* ==================================================
	■ row-table
================================================== */
@media screen and (max-width: 576px){
	.row-table .table {
			width: 100% !important;
	}

	.cmshtml .row-table .table table tr {
		display: table-row !important;
	}
	.cmshtml .row-table .table table td {
		display: table-cell !important;
	}

	.table td:not(.row-table .table table td) {
			text-align: left !important;
	}
}





/* ==================================================
	■ content_bnr
================================================== */
.content_bnr {
		position: relative;
}

.content_bnr_img {
		border: 1px solid var(--i_txt_color);
}

.content_bnr_img img {
		transition: .3s ease;
		opacity: 0.15;
}

.content_bnr_img img:hover {
	opacity: 0.25;
}

.content_bnr_txt:not(#editView .content_bnr_txt) {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		display: flex;
		align-items: center;
		justify-content: center;
		pointer-events: none;
}

.content_bnr_txt p:before {
		content: "";
		position: absolute;
		top: calc(50% - 5px);
		right: 0;
		width: 10px;
		height: 10px;
		border-top: 2px solid var(--i_btn_color);
		border-right: 2px solid var(--i_btn_color);
		transform: rotate(45deg);
}
.content_bnr_txt p {
		position: relative;
		padding-right: 30px;
}

@media screen and (max-width: 768px){
	.content_bnr {
		width: 100%;
	}
}