@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
@import url('https://fonts.googleapis.com/css2?family=Sawarabi+Gothic&display=swap');

html,body{
	overflow-x:hidden;
}

body .container{
	font-family: 'Sawarabi Gothic', sans-serif;
}

.home .article h1,.page .date-tags,.author-info,.home .entry-title{
	display:none;
}


/* 【初期】 */
.home .entry-content{
	margin-top:0;
}
.flexslider,
.metaslider .flexslider,
.content,
.home .entry-content,
.home .article,
.footer,
.copyright{
	padding:0!important;
	margin:0!important;
}
.footer-bottom,
.tagline,
.widget-content-bottom,
.content-bottom{
	margin:0!important;
}

.article h2, .article h3, .article h4{
	margin:0;
	padding:0;
	background:none;
	border:none;
}
.article p{
	margin:0;
}

.content{
	background:#fff;
	border-top:solid 2px #0074BE;
	border-bottom:solid 2px #0074BE;
}
.home .content{
	border:none;
}


/* 【リンクタグ設定】 */
.main a{
	display:block;
	text-decoration:none;
}
.breadcrumb a{
	display:inline-block;
}
.pager-post-navi a.prev-post,
.pager-post-navi a.next-post{
	display:flex;
}

a{
	outline:none;
}
/* ※↑firefoxリンククリックでボーダー削除 */




/* 【テーブルスタイル：初期】 */
.container table tr,
.container table tr:nth-of-type(2n+1),
.container table tr th,
.container table tr td{
	background:none;
	border:none;
}


/* 【ウジェット：コンテンツ下部】 */
.content-bottom-in{
	width:100%;
}

/* 【問い合わせ等送信ボタン】 */
.wpcf7-form p{
	margin-bottom:1em;
}
.wpcf7 .wpcf7-submit:disabled{
	background-color: #eee;
	color:#333;
}

input[type="submit"]{
	background-color: #0074BE;
	color:#fff;
}

/* フッター****************************************** */
.F-nav{
	background:#fff;
	padding:5em 0 2em;
}
.F-nav .F-logo{
	width:50%;
	max-width:300px;
}
.F-nav .F-link{
	margin: auto;
	width: fit-content;
}
.F-nav .prof{
	margin: auto;
}
.F-nav .F-link ul{
	padding-left:0;
}
.F-nav .F-link ul li{
	list-style:none;
	padding:0.2em 0;
}
.F-nav .F-link ul li a{
	text-decoration:none;
	color:#333;
	transition:.6s;
}
.F-nav .F-link ul li a:hover{
	opacity:.7;
}


/* 【固定css】 */
.wrap-width{
	max-width:1200px;
	margin:auto;
	padding:0 1em;
}

.fl{
	display:flex;
	flex-wrap:wrap;
}
.fl-margin{
	margin:0;
}
.fl-item{
	width:calc((100% / 2) - 1em);
	margin:0.5em;
}
.fl-item_2{
	width:calc((100% / 2) - 1em);
	margin:0.5em;
}

.hissu{
	color:red;
	font-size:.8em;
}


/* -ボタン- */
.main-but{
    /*矢印の基点とするためrelativeを指定*/
	position: relative;

/* 	border: 1px solid #c0c0c0; */
    padding: 0.8em 0 0.8em 1.5em;
    display: inline-block;
/*     text-align: center; */
    text-decoration: none;
    color: #333;
    outline: none;
    transition: all .4s linear;
	
	width:300px;
	background:#fff;
}

.main-but:hover,
.top-sec03 .item:hover .main-but{
	background:#c0c0c0;
	color:#333;
}

/*矢印と下線の形状*/
.main-but::before{
	content: "";
	position: absolute;
	top: 50%;
	right: -26px;
	width: 70px;
	height: 1px;
	background: #333;
	transition: all .3s linear;
}

.main-but::after{
	content: "";
	position: absolute;
	top: 25%;
	right: -18px;
	width: 1px;
	height: 15px;
	background: #000;
	transform: skewX(45deg);
	transition: all .3s linear;
}

.main-but:hover::before,
.top-sec03 .item:hover .main-but::before{
	right:-36px;
}
.main-but:hover::after,
.top-sec03 .item:hover .main-but::after{
	right:-28px;
}




/* ===============================
TOP
=============================== */
/* 【本文の幅調節：画面幅に合わせる】 */
.home .content-in{
	width:100%;
}
.home main{
	background:transparent;
}
.home .main{
	padding:0;
	border:none;
}

.top-sec01,
.top-sec02,
.top-sec03,
.top-sec04{
	position:relative;
	margin-bottom:0;
}

.home h2{
	font-size:2em;
	position:relative;
	padding-left:60px;
	letter-spacing:0.05em;
}
.home h2::before{
	content:"";
	width:50px;
	height:50px;
	background:#0074BE;
	position:absolute;
	bottom:0;
	left:0;
}

/* -- */
.top-sec01{
	padding:5em 0;
	background:#fff;
}

.top-sec01 .box{
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
/* 	position:relative; */
}
.top-sec01 .box .item{
	margin-top: 2em;
	position: relative;
	left: 50%;
}
.top-sec01 .box .item p{
	margin-bottom:1em;
	font-size:1.3em;
	letter-spacing:0.1em;
}

/* ??????????????????????????????????????? */
.top-sec01 .image{
/* 	content:""; */
	background:url(https://daigaku-interior.com/wp-content/uploads/2022/09/sec01-img.png) center no-repeat;
	background-size:contain;
	width:100%;
	height:0;
	padding-top:62.57%;
/* 	position:absolute; */
}




/* -- */
.top-sec04{
	padding:5em 0;
	background:#fff;
}

.top-sec04 .box h3{
	font-size:1.5em;
	margin-bottom:0.5em;
	letter-spacing:0.1em;
	position:relative;
	padding-left:30px;
	z-index: 1;
}
.top-sec04 .box h3::after{
	position: absolute;
	top: -55px;
	left: 0;
	color: #C3FFFF;
	font-size: 3em;
	z-index: -1;
}
.top-sec04 .box1 h3::after{
	content:"01";
}
.top-sec04 .box2 h3::after{
	content:"02";
}
.top-sec04 .box3 h3::after{
	content:"03";
}
.top-sec04 .box4 h3::after{
	content:"04";
}
.top-sec04 .box{
	margin-top:4em;
}
.top-sec04 .box .text{
	border:solid 3px #0074BE;
	padding:3em 1em;
	border-radius:30px;
}
.top-sec04 .box .text .txt{
	width:100%;
	max-width:1000px;
	margin:auto;
}


/* -- */
.top-sec02{
	padding:5em 0;
	background: linear-gradient(0deg, rgba(226, 243, 255, 1), rgba(255, 255, 255, 1));
}

.top-sec02 .new-entry-cards{
	display:flex;
	flex-wrap:wrap;
}
.top-sec02 .new-entry-cards a{
	width:calc((100% / 3) - 1em);
	margin:0.5em;
}

.top-sec02 .main-but{
	margin: 0 1em 0 auto;
}

/* -- */
.top-sec03{
	padding:5em 0;
	background:#F3F3F3;
}

.top-sec03 .item{
	height: 350px;
	position: relative;
	overflow: hidden;
	background: #fff;
	
/* 	display: flex;
	justify-content: center;
	align-items: center; */
}
.top-sec03 .item::before {
  	content: "";
  	position: absolute;
  	top: 0;
  	left: 0;
  	width: 100%;
  	height: 100%;
  	transition-duration: 0.6s;
	display: block;
}
.top-sec03 .item01::before{
	background: url(https://daigaku-interior.com/wp-content/uploads/2022/09/unsplash__HqHX3LBN18.jpg) center no-repeat;
	background-size: cover;
	opacity: 0.6;
}
.top-sec03 .item02::before{
	background: url(https://daigaku-interior.com/wp-content/uploads/2022/09/unsplash_Dd079V8Letk.jpg) center no-repeat;
	background-size: cover;
	opacity: 0.6;
}
.top-sec03 .item:hover::before{
  transform: scale(1.1);
  transition-duration: 0.6s;
}

.top-sec03 .item .wrap-item{
	position: relative;
	top: 50%;
	transform: translateY(-50%);
	width: 80%;
	margin: auto;
	height: 60%;
}
.top-sec03 .item .wrap-item .main-but{
	position: absolute;
	bottom: 0;
	right: 0;
}
.top-sec03 .item .wrap-item h2{
	color:#333;
}



/* ===============================
固定ページ
=============================== */
@media screen and (min-width: 1024px) {
  	.page-id-36 .article,
	.page-id-38 .article,
	.page-id-40 .article,
	.page-id-80 .article{
    	width: 1000px;
    	margin: 0 auto;
  	}
}

.entry-title,
.archive-title{
	text-align:center;
	margin:2em 0;
	letter-spacing:0.05em;
}
.archive-title .fa{
	display:none;
}

.table-01 table{
	width:95%;
	max-width:800px;
	margin:auto;
}
.table-01 table tr,
.table-01 table tr:nth-of-type(2n+1){
	border-bottom:solid 2px #c0c0c0;
}
.table-01 table th,
.table-01 table td{
	padding:0.8em 0 0.8em 0.8em;
}
.table-01 table .has-text-align-center{
	width:30%;
}




.page-id-80 p{
	margin-bottom:1em;
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
	.fl-item_2{
		width:100%;
	}
	.F-nav .prof p{
  		width: fit-content;
		margin: 0 auto 1.5em;
	}
	.F-nav .F-logo{
		margin: auto;
		display: block;
	}
	
	.top-sec02 .new-entry-cards a{
		width:calc((100% / 2) - 1em);
		margin:0.5em;
	}
}

@media screen and (max-width: 600px){
	.main-but{
		width: 230px;
	}
	.top-sec02 .main-but{
		margin: auto;
	}
	.home h2 {
		font-size: 1.6em;
		padding-left: 40px;
	}
	.home h2::before{
		width: 35px;
		height: 35px;
	}
	.top-sec01 .box .item{
		left: 0;
		padding: 0 1em;
	}
	.top-sec01 .box .item p{
		font-size:1em;
	}
	.top-sec03 .item {
		height: 300px;
	}
	.top-sec04 .box h3 {
		font-size: 1.3em;
	}
	.top-sec04 .box .text {
		padding: 1.5em 0.5em;
	}
}

@media screen and (min-width: 480px){
	.sp-main{
		display:none;
	}
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
	.pc-main{
		display:none;
	}
	.sp-main{
		display:block;
	}
	.main-but{
		width: 200px;
	}
	.top-sec02 .new-entry-cards a {
  		width: calc((100% / 2) - 0.2em);
  		margin: 0.1em;
	}
	.top-sec03 .item {
  		height: 220px;
	}
	.top-sec03 .item .wrap-item{
		height: 70%;
	}
}



/* カスタム投稿*********** */
#item-contents{
	display:flex;
	flex-wrap:wrap;
}
#item-contents .mein-image{
	width:calc((100% / 2) - 1em);
	margin:0.5em;
}

#item-contents .text-title{
	text-align:center;
	font-size:1.5em;
	background: #014d82;
	color: #fff;
	margin-bottom: 0.3em;
}


#thumb_img .thumb_img_inr{
	display:flex;
	flex-wrap:wrap;
	padding:0;
}
#thumb_img .thumb_img_inr li{
	list-style:none;
	width:calc((100% / 4) - 1em);
	margin:0.5em;
}

@media screen and (max-width: 480px){
	.Works-headline{
		font-size:1.5em;
	}
	#item-contents .mein-image{
		width:70%;
		display:block;
		margin:0.5em auto;
	}
	#thumb_img .thumb_img_inr li{
		width:calc((100% / 2) - 1em);
		margin:0.5em;
	}
}


