/*
Theme Name: W-WORKS CREATION
*/
 
/*この下からCSSを書いてください*/

/****************************************
* リセット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;
}*/
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;
}

/****************************************
ヘッダー
*****************************************/
header {
	width: 100%;
	height: 80px;
	background: #5A3D1C;
	border-bottom: solid 1px #ddd;
}

.header__inner {
    max-width: 1152px;
    width: 90%;
    height: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin: 0 auto;
    padding: 10px 0;
}

.header__logo {
    flex: none;
    width: auto;
    height: 35px;
}

/****************************************
ハンバーガーメニュー
*****************************************/

.header__navgroup {
	margin-left: auto;
	display: flex;
	flex: none;
	align-items: center;
}
.header__navgroup>*+* {
	margin-left: 60px;
}

.header__navgroup.is-active {
	width: 70%;
    max-width: 400px;
	height: 100vh;
	background-color: #ffffffdd;
	border-left: solid 1px #ccc;
	z-index: 9998;
	position: fixed;
	top: 0;
	right: 0;
	padding: 20px;
    padding-top: 10%;
	display: block;
}

.header__navitem a {
	color: #000;
	font-weight: normal;
	text-decoration: none;
}

.header__contact {
    background-color: #5A3D1C;
    border-radius: 50px;
    padding: 8px 20px;
    font-weight: bold;
    color: #fff;
    position: relative;
}
.header__contact a {
    color: #fff;
}

.hamburger__modal {
	background-color: #000000aa;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	z-index: 9997;
	display: none;
}

.hamburger__modal.is-active {
	display: block;
}

.header__navgroup {
    display: none;
    padding-top: 10%;
}
.header__navitem {
    margin: 20px auto;
    text-align: center;
}

.hamburger__btn {
    margin: 0 0 0 auto;
	position: relative;/*ボタン内側の基点となるためrelativeを指定*/
    background:#fff;
    cursor: pointer;
    width: 50px;
    height:50px;
    border-radius: 5px;
    z-index: 9999;
}

/*ボタン内側*/
.hamburger__btn .openbtn-area{
    transition: all .6s;/*アニメーションの設定*/
    width:50px;
    height:50px;
}

.hamburger__btn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
    background: #5A3D1C;
    width: 45%;
}

.hamburger__btn span:nth-of-type(1) {
    top:15px; 
}

.hamburger__btn span:nth-of-type(2) {
    top:23px;
}

.hamburger__btn span:nth-of-type(3) {
    top:31px;
}

/*activeクラスが付与されると .openbtn-areaが360度回転し、その中の線が回転して×に*/
.hamburger__btn.is-active .openbtn-area{
    transform: rotate(360deg);
}

.hamburger__btn.is-active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
}

.hamburger__btn.is-active span:nth-of-type(2) {
    opacity: 0;
}

.hamburger__btn.is-active span:nth-of-type(3){
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
}

/****************************************
* トップページ ファーストビューのイメージ
*****************************************/
.topimg {
	margin: 0 auto;
    padding: 30px 0;
	
    background-color: #5A3D1C;
    text-align: center;
}
.topimg img {
    max-width: 1152px;
    width: 90%;
	height: 100%;  
}

/****************************************
* サービスコンテンツ
*****************************************/
.service {
    text-align: center;
    margin: 30px auto;
    max-width: 1300px;
}

.service__card {
	width: 20%;
	display: inline-block;
	text-align: left;
	margin: 0 10px;
    padding: 15px;
	background-color: #fff;
	box-shadow: 0 0 5px 5px rgb(0 0 0 / 3%);
}

@media screen and (max-width: 850px) {
	.service__card {
		display: block;
		width: 90%;
		margin: 0 auto;
		margin-bottom: 40px;
	}
}

.service__card__title {
    height: 20px;
    width: auto;
}

.service__card__img img {
	width: 100%;
}

.service__card__dis {
    font-size: x-small;
    text-align: right;
    text-decoration: none;
    color: #000;
}

.green {
    background-color: #CAD97A;
}

.yellow {
    background-color: #FEF285;
}

.pink {
    background-color: #F9E3EF;
}

.purple {
    background-color: #D9D8EB;
}

/****************************************
* aboutブロック
*****************************************/
.about {
    padding: 30px 0;
    text-align: center;
}

.about__inner {
    margin: 0 auto;
    text-align: left;
    font-size: small;
    max-width: 1152px;
    width: 90%;
	height: 100%; 
}

@media screen and (max-width: 850px) {
	.about {
		display: block;
		margin-bottom: 40px;
	}
}

/****************************************
* トップページ News
*****************************************/
.content__items {
    padding: 30px 5%;    
}

.content__inner {
    width: 100%;
    text-align: center;
}

.content__header {
    font-size: large;
    font-weight: bold;
    color: #5A3D1C;
}

.content__header__border {
	margin: 10px auto;
	width: 100%;
	border-bottom: solid 3px #5A3D1C;
}

.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: #888;
    background-color: #eee;
    border-radius: 50px;
    padding: 5px 20px;
    font-size: 0.8rem;
    font-weight: bold;
}
.news__title {
    margin-left: 3%;
    font-weight: 600;
    color: #000;
}
.news__anchor {
    float: right;
    font-size: 1.2rem;
    font-weight: 900;
    color: #5A3D1C;
}
.news__button {
    position: relative;
    border-radius: 50px;
    border: solid 1px #aaa;
    color: #000;
    font-weight: 600;
    max-width: 300px;
    margin: 0 auto;
    margin-top: 40px;
    padding: 15px 40px;
    text-align: center;
}

.a__btn {
    color: #000;
}

@media screen and (max-width: 850px) {
	.news__item {
		display: block;
		width: 100%;
	}
	.news__date {
		margin-bottom: 20px;
	}
	.news__anchor {
		display: none;
	}
}

/****************************************
フッター
*****************************************/

.footer {
    margin: 30px;
    text-align: center;
    font-size: x-small;
}

/****************************************
* 固定ページ
*****************************************/
.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: 40%;
	left: 50%;
	transform: translateY(-50%) translateX(-50%);
	color: #fff;
	font-size: 1.8rem;
	font-weight: bold;
}
.page__header__border {
	width: 50px;
	border-bottom: solid 2px #fff;
	margin: 0 auto;
}

.page__header__other {
	position: absolute;
	top: 70%;
	left: 50%;
	transform: translateY(-50%) translateX(-50%);
	color: #fff;
	font-size: small;
}

.page__header__other p {
	display: flex;
	margin: 0px 20px;
}

@media screen and (max-width: 850px) {
	.page__header {
		height: 180px;
	}
	.page__header__title {
		font-size: 1.4rem;
	}
}

.page__inner {
	max-width: 1152px;
	padding: 20px;
	margin: 0 auto;
}

/****************************************
* 一覧ページ
*****************************************/

.list__header {
	height: 150px;
	position: relative;
	background-color: #5A3D1C;
}

.list {
	display: block;
	align-items: center;
    margin: 10px;
}

.list__inner {
	max-width: 1152px;
	height: 200px;
	border: #888 solid 1px;
	border-radius: 10px;
	padding: 20px;
	margin: 10px auto;
}

.list a {
	color: black;
}

.list__thumb-img {
	display: inline-block;
	vertical-align: top;
	width: 20%;
	height: 100%;
	object-fit: cover;
}

.list__text {
	width: 75%;
	display: inline-block;
	vertical-align: top;
	text-align: left;
	padding-left: 10px;
}

.list__title {
	font-size: large;
	font-style: italic;
	font-weight: bold;
	margin-bottom: 8px;
}

.list__data {
	font-size: small;
	margin-bottom: 10px;
}

/****************************************
* 投稿内容
*****************************************/
.thumb-img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center bottom;
	background-color: black;
}

.thumb-img img {
	opacity: 0.5;
}

.article {
	max-width: 1152px;
	margin: 10px auto;
	padding: 30px;
}
.article h1 {
	font-size: 1.6rem;
	font-weight: bold;
	margin: 40px auto;
}

.cat-tag {
	display: inline-block;
	padding: 4px 25px;
	border-radius: 5px;
	font-size: x-small;
	margin: 10px 10px 10px 0px;
	background-color: gray;
	color: white;
}

.cat-data a {
	color: #000;
}

.cat-title {
	font-weight: bold;
	color: white;	
}

.cat-title  a {
	color: white;
}
/*****************************************
* ContactForm7
*****************************************/
.ContactForm7__contact {
    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;
}
.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 #5A3D1C;
    border-radius: 5px;
    padding: 15px;
    margin: 20px auto 40px;
}
.ContactForm7__contact textarea {
    height: 45vh;
}
.ContactForm7__contact__submit {
    text-align: center;
    max-width: 380px;
    margin: 0 auto;
}
.ContactForm7__contact input[type="submit"] {
    color: #fff;
    background-color: #5A3D1C;
    border-radius: 50px;
    font-size: 1.2rem;
}
@media screen and (max-width: 480px) {
    .ContactForm7__contact {
        padding: 10px;
    }
}