/*
Theme Name: オリジナルテーマ(TECH.I.S)
*/

/****************************************
* リセットCSS
*****************************************/
*, *::before, *::after {
	box-sizing: border-box;
}
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a,
abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike,
strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table,
caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-size: 100%;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
	scroll-behavior: smooth;
}
body {
	width: 100%;
	height: 100%;
	margin: 0 auto;
	letter-spacing: 1.5px;
	line-height: 1.5;
}
img {
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	object-fit: cover;
}
a {
	text-decoration: none;
}
ol, ul {
	list-style: none;
}
table {
	border-collapse: separate;
	border-spacing: 0;
}

/****************************************
* フォント設定
*****************************************/
@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho&display=swap');
html, body {
	font-size: 16px;
	font-family: 'Shippori Mincho', serif;
	scroll-behavior: smooth;
	
}

.main__view{
    display: flex;
    object-fit: cover;
    height: 800px;
}

a{
	color:#707070;
}

.main__img{
    width: 70%;
    display: inline-block;
}


.header__navgroup{
	
    width: 30%;
    display: block;
	text-align: center;
	
}

.name{
	width: 100%;
	font-size: 2vw;
}

.header__navgroup .icon img{
	margin: 30px auto;
	display: block;
    border-radius: 50%;
	width: 50%;
	
}

.header__navitem{
	width: 100%;
	margin: 30px auto;
	font-size: 3vw;
}

.insta{
	margin-top: 40px;
	display: block;
	margin: 0 auto;
	width: 10%;
}

/* フッター */
.black-box{
	position: relative;
}
footer img{
	
	object-fit: cover;
	height: 200px;
}
.black-box p{
	display: block;
	text-align: center;
	position: absolute;
	top: 50%;
	left: 50%;
	-ms-transform: translate(-50%, -50%); /* 追記 */
    -webkit-transform: translate(-50%, -50%); /* 追記 */
    transform: translate(-50%, -50%); /* 追記 */


}




/* アバウト */
.about__view{
	position: relative;
}

h2{
	display: block;
	color: #707070;
	margin: 50px auto;
	font-size: 4vw;
	text-align: center;	
}

.aboutview{
	object-fit: cover;
	height: 800px;
	vertical-align: top;
}

.abouttext{
	position: absolute;
	top: 100px;
	left: 350px;
	font-size: 5vw;
	color: #ffffff;
	letter-spacing: .5rem;
}

/* profile */
.profile{
	background-color: rgba(247, 200, 214, 0.5);
}


.inner{
	max-width: 1300px;
	padding: 20px;
	margin: 0 auto;
}

.profile img{
	width: 50%;
	margin-right: 20px;
}
.profiletext{
	text-align: left;
	font-size: 1.9vw;
	color: #864544;
	margin-left: 20px;
	padding: 30px 40px;
	width: 50%;
	
}

.flex{
	display: flex;
}

.profile_content{
	margin-bottom: 50px;
	line-height: 3rem;
}
.profile_content2{
	display: none;
}

/* goods */

#goods {
	background-color: #EAF6FD;
}

.good_box{
	
	padding: 0 10px;
	width: 100%;
	height: 100%;
	max-width: 500px;
	margin:0 0 30px;
}


#goods .flex{
	justify-content: space-between;
}



.good_box p{
	margin-top: 30px;
}

.pt-content {
	margin: 55px 0 0 0 ;
}




.good_box_sq{
    position: relative; 
	max-width: 480px;
	padding: 0 10px;
	width: 100%;
	height: 104.35%;
	margin:0 0 30px;
}



.good_box_sq:before {
	content: "";
	display: block;
	padding-top: 100%; 
	}

.good_box_sq img {
	position: absolute; 
	width: 100%; 
	height: 104.35%;
	top: 0;
	left: 0;
	object-fit: cover; 
	}
	

	.buy-form{
		display: block;
		margin: 40px auto;
		width: 300px;
		height: 50px;
		padding: 10px 20px;
		background-color: #F4C2C2;
		text-align: center;
		border-radius: 100vh;
		
	}

	.buy-form a{
		color: #ffffff;
	}


	/* ニュースCSS */


	#news{
		background-color: rgba(197, 167, 203, .8);
	}

	.news__box{
		background-color: white;
		border-radius: 30px;
		height: 250px;
		margin: 50px auto;
	}

	.news__content{
		padding:0 20px;
		
	}

	.news__items{
		border-bottom:solid 1px #ddd;
		padding:20px 5%;
		margin:10px auto;
	}
	.news__item{
		display:inline-block;
	}

	.news__date{
		color:rgba(197, 167, 203, .8);
		font-size:0.8rem;

	}

	.news__title{
		margin-left:3%;
	}

	.news__anchor{
		float:right;
		font-weight:bold;

	}

	.news__button{
		position:relative;
    background-color:#F5B8B5;
		border-radius:50px;
		border:solid 1px #C5E2C2;
		color:#ffffff;
		max-width:300px;
		
		margin:40px auto 40px ;
		padding:15px 40px;
		text-align:center;
		

	}

	/* 固定ページ　コンタクト */

.page__header{
height: 250px;
position: relative;
}

.page__header img{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center bottom;
}

.page__header__title{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateY(-50%)translateX(-50%);
	font-size: 1.5rem;
	
}

.page__header__border{
	border: 1px solid;
	width: 150px;
	margin: 10px auto 0;
}

/* ContactForm7 */

/****************************************
* ContactForm7
*****************************************/
.wpcf7-form.invalid{
	position: relative;

}

.ContactForm7__contact {
	background-color: #F0CED3;
	border-radius: 30px;
    margin: 60px auto;
    max-width: 850px;
    padding: 0 20px;
}
.ContactForm7__contact__title {
    text-align: center;
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 40px;
}
.ContactForm7__contact__label {
    font-weight: bold;
	text-align: center;
}
.ContactForm7__contact__label span {
	
    font-weight: bold;
    color: #fff;
    background-color: #f00;
    padding: 0 10px;
    margin: 0 5px;
    font-size: 0.6rem;
}
.ContactForm7__contact input, .ContactForm7__contact textarea {
    width: 100%;
    border: none;
    border: solid 1px #00abae;
    border-radius: 5px;
    padding: 15px;
    margin: 20px auto 10px;
}
.ContactForm7__contact textarea {
    height: 45vh;
}
.ContactForm7__contact__submit {
    text-align: center;
    max-width: 380px;
    margin: 50px auto 10px;
}
.ContactForm7__contact input[type="submit"] {
    color: #fff;
    background-color: #F5B8B5;
    border-radius: 50px;
    font-size: 1.2rem;
}
.wpcf7-not-valid-tip{
	text-align: center;
	margin-bottom: 20px;

}


.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
	border: solid 1px #f00;
	position: absolute;
	bottom: 50px;
	left: 50%;
	transform: translateY(-50%)translateX(-50%);
    display: block;
    width: 600px;
    text-align: center;
    display: block;
    margin: 30px auto;
}







/* ニュース一覧スタイル */
.article__header{
position: relative;
}

.article__header img{
object-fit: cover;
height: 300px;
}
.article__header p{
position: absolute;
top: 50%;
left: 50%;
transform: translateY(-50%)translateX(-50%);
font-size: 1.6rem;
}

.index__content{
	margin:auto 10px;

}

.article__flex{
	display: flex;
	margin: 20px auto;
}

.article__img{
	width: 10%;
	margin: auto 30px;

}
.index__img{
	
	max-width: 140px;
	object-fit: cover;
	width: 100%;
	height: 100%;
	
}



.article__heading{
	max-width: 1140px;
	width: 90%;
}
.article__title{
	font-size: 2rem;
}
.article__title p{

}
.article__date{

}
.article__except{

}
.article__border{
	border: 0.5px solid #707070;
    max-width: 1300px;
    margin-left: 30px;
	margin-bottom: 30px;
}
.page__header__border:last-child{
	display: none;
}

/* 投稿ページスタイル */
.single__content{
	margin: 30px;
	padding: 30px;
	border:1px solid #F4C2C2 ;
	border-radius: 20px;
	background-color: #F4C2C2;


}

.sumbnail__single{
    height: 300px;
    object-fit: cover;
    max-width: 100%;
	
}
.single__border{
	border-bottom: 2px solid #707070;
	max-width: 1000px;
}

.title__single{
	margin-top: 20px;
	font-size: 3rem;
}

.content__single{
	font-size: 1rem;

}

.category__single{
	margin: 30px 0;
	border-bottom: 1px solid;
	width: 100px;
	text-align: center;
}




@media screen and (max-width: 480px) {
html body{
	scroll-behavior: smooth;
}


	/* フォームレスポンシブ */

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output{
	width: 345px;
}
    
	.ContactForm7__contact {
        padding: 10px;
		margin: 10px;
    }


/* メインページ front-page.php*/
	.main__view{
	height: 300px;
}

.header__navgroup .icon img{
	width: 30%;
	border-radius: 50%;
}

.header__navitem{
	margin:14px 0;
	font-size:4vh ;
}

.about__view img{
	height: 250px;
}

.abouttext{
	top: 50px;
    left: 30px;
    line-height: 3rem;
}

/* プロフィールレスポンシブ */

.profile .inner .flex{
	display: block;
}

.profile img{
	display: block;
	margin: 0 auto;
}

.profiletext{
	width: 100%;
	margin: 0 auto 10px;
	padding: 20px 10px;
}
.profile_content{
	display: none;
}
.profile_content2{
	display: block;
	text-align: center;
	font-size: 4vh;
	margin-bottom: 0;
	line-height: 3rem;
	letter-spacing: 4px;
}
/* グッズレスポンシブ */
#goods .flex{
	display: block;
}

.buy-form{
	margin-top: 50px;
}
/* ニュースレスポンシブ */
.news__box{
	height: 300px;
}

.news__items{
	padding-left: 10px;

}
.news__date{
	display: block;
}
.news__title{
	display: block;
}


footer img{
	height: 150px;
}

/* 記事　レスポンシブ */


.single__border{
	margin: 10px auto;
}

.title__single{
	font-size: 1.3rem;
}

.content__single{
	

}

.category__single{
	margin: 20px auto;
}


/* ニュース一覧レスポンシブ */

	
.article__header img{
	
	height: 200px;
}
.article__header p{
font-size: 1rem;
}
.article__link{
}

.article__img{
	width: 20%;

}


.article__title p{
	font-size: 1.3rem;
}

}
.article__border{
	margin: auto;
	border-bottom: 1px;
}




}



