@charset "utf-8";
/* CSS Document */
body {
    overflow-x: hidden;
}
html {
max-width: 100%;
}

.single img, .archive img, .wp-block-image img {
    height: auto;
}

.entry-content>*, .demo .entry-content p {
    margin-top: 0;
    margin-bottom: 1.4em;
}

#contents2 {
    width: 70% !important;
    margin-left: 15% !important;
    margin-right: 15% !important;
	word-wrap:break-word;
}
.text-center {
	text-align: center;
}

.com_box {
    width: 100%;
    font-size: 0;
    display: flex;
    flex-flow: wrap;
    gap: 2%;
}
.com_box_2 {
    width: 100%;
    display: block;
}

.com_box1{
    width: 45%;
    margin-right: 3%;
    margin-bottom: 1%;
}
.com_box1_2{
    width: 45%;
    display: inline-flex;
    margin-right: 2%;
    margin-bottom: 1%;
    flex-flow:row;
}

.com_box2 {
    width: 14.6%;
    display: inline-block;
    margin-bottom: 1%;
}
.com_box2 img{
    text-align: left;
    width: 100% !important;
}
.com_box3 {
    width: 30%;
    display: inline-block;
    margin-bottom: 1%;
}

.point2 {
	background: #000A26;
	padding: 3em 0;
}

.point2-photo {
	padding: 3em 0 5em;
}

.topcontent_photo.text-center img {
	width: 60%;
}
/*ギャラリーアイテム*/
.gallery-item {
    display: inline-block;
    margin-right: 1%;
    margin-bottom: 1%;
}
.btn-grey {
    background-color: #FFFFFF;
    border-radius: 4px;
    color: #000033;
    font-weight: bold;
}
.tel{
    width: 100%;
    text-align: center;
    font-size: 2em;
}

.mw_wp_form {
    background: #fff;
    color: #333;
    padding: 1em;
    margin: 1em 0;
}

.mw_wp_form input[type="submit"] {
    background: #B70000;
    color: #fff;
    padding: 0.5em;
    border-radius: 5px;
    margin: 1em 0 0;
	cursor: pointer;
}

.mw_wp_form input, .mw_wp_form textarea {
    border: 1px solid lightslategray;
    border-radius: 2px;
    font-family: "Hiragino Mincho ProN", 游明朝, "Yu Mincho", YuMincho, HGS明朝E, メイリオ, Meiryo, serif;
    padding: 0.25em;
}

.mw_wp_form_preview p {
    margin: 1em 0;
}

span.date {
    padding-right: 20px;
}

.archive .layer {
    height: 270px;
    margin: 0 0 2em;
    overflow: hidden;
    position: relative;
    background: url(https://hoshizawa-s.com/renew/wp-content/plugins/post-grid/assets/frontend/images/placeholder.png),#cccccc;
	background-size: 100%;
	background-repeat: no-repeat;
}

.archive .layer-content {
	background: rgba(0, 0, 0, 0.3) none repeat scroll 0 0;
	bottom: 0;
	color: rgb(255, 255, 255);
	left: 0;
	position: absolute;
	-webkit-transition: all 1s ease 0s;
	transition: all 1s ease 0s;
	width: 100%;
	padding-top: 5px;
	z-index: 100;
}



.archive .layer-content .date {
    padding: 0 10px;
}

.archive .layer-content h2 {
    display: block;
    font-size: 21px;
    line-height: normal;
    padding: 5px 10px;
    text-align: left;
    text-decoration: none;
}

.archive .layer img {
    height: auto;
    width: 100%;
}

a:hover .articles_index_thumbnail:before {
    width: 100%;
    height: 100%;
    background: #fff;
    content: "";
    position: absolute;
    top: 0;
    opacity: 0.3;
}

.pagination ul li a:hover, .pagination ul li a:focus, .pagination ul li span.current {
    background: #4b4b4b;
}

.pagination ul li a, .pagination ul li span.current {
    color: #fff;
    display: block;
    line-height: 1.8;
    padding: 5px 1em;
    text-decoration: none;
}

.cooking-class-bl h2 {
    font-size: 1.2em;
    height: 4em;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
}

.flex-box {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
}

.flex-box div {
    width: 49%;
}
.youtube {
position: relative;
padding-bottom: 56.25%;
padding-top: 20px;
height: 0;
overflow: hidden;
}
.youtube iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}

@media screen and (max-width: 768px) {
iframe {
	max-width: 100%;
}
/*iframe.wp-embedded-youtube {
position:absolute;
  top:0;
  right:0;
  width:100%;
  height:100%;
max-width: 100%;
}*/
pre {
	/* Mozilla */  
	white-space: -moz-pre-wrap;  

	/* Opera 4-6 */  
	white-space: -pre-wrap;  

 	/* Opera 7 */  
	white-space: -o-pre-wrap;  

	/* CSS3 */  
	white-space: pre-wrap;  

	/* IE 5.5+ */  
	word-wrap: break-word;  
}
#contents2 {
    width: 96% !important;
    margin-left: 2% !important;
    margin-right: 2% !important;
	word-wrap:break-all;
}
	.point2 {
		padding: 10.6vw 5.3vw 0;
	}
	
	.topcontent_photo.text-center img {
		width: 100%;
	}
	
	.flex-box {
		display: block;
		flex-wrap: wrap;
		flex-direction: row;
		justify-content: space-between;
		max-width: 1200px;
		margin: auto;
	}

	.flex-box div {
		width: 100%;
		margin-bottom: 2em;
		padding-left: 5.3vw;
		padding-right: 5.3vw;
	}
	.com_box1{
    width: 100%;
}
.com_box1_2{
    width: 100%;
}

.com_box2 {
    width: 100%;
}
	
}
/*新着情報*/
.inner_container2{
    width: 100%;
    padding-top: 20px;
    padding-bottom: 20px;
    background-color: #FFFFFF;
}
.inner_container2 li{
    width: 94%;
    color: #000000;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
    font-size: 24px;
}