@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=Josefin+Sans:wght@300&family=Noto+Sans+JP:wght@100;300;400;500;700;900&family=Oswald:wght@500&family=Playfair+Display:wght@400;600&family=Poppins:wght@200;300;400&display=swap');
.sample{
	font-family: 'Josefin Sans', sans-serif;
	font-family: 'Noto Sans JP', sans-serif;
	font-family: 'Oswald', sans-serif;
	font-family: 'Playfair Display', serif;
	font-family: 'Poppins', sans-serif;
}

.clearfix::after {
	content: "";
	display: block;
	clear: both;
}

.search-edit,
.contactForm input[type="text"],
.contactForm input[type="password"],
.contactForm input[type="date"],
.contactForm input[type="datetime"],
.contactForm input[type="email"],
.contactForm input[type="number"],
.contactForm input[type="search"],
.contactForm input[type="tel"],
.contactForm input[type="time"],
.contactForm input[type="url"],
.contactForm textarea,
.contactForm select {
	background-color: #eff1f5;
    border: 0;
}
input:focus-visible,
textarea:focus-visible {
    outline: 1px solid #ccc;
}

/**
コンテンツ
************************************/
body {
  /*margin: 80px 0;*/
  background-color: #e8ecef;
}
/* ヘッダー */
/*==
　グローバルメニュー 円が線に変化
===================================*/
.menu-top li a{
	/*円の基点とするためrelativeを指定*/
	position: relative;
}

.menu-top li.current a,
.menu-top li a:hover{
	color:#333;
	background: none;
}
.menu-top li a::after {
	content: '';
	/*絶対配置で線の位置を決める*/
	position: absolute;
	bottom: 0;
	left: 0;
	/*線になる丸の形状*/
	width: 100%;
	height: 2px;
	border-radius: 100px;
	background:#777;
	/*アニメーションの指定*/
	transition: all .3s;
	transform: scale(0.01, 1);/*X方向0.04、Y方向1*/
	transform-origin:center bottom;/*中央下部基点*/
}
/*現在地とhoverの設定*/
.menu-top li.current-menu-item a::after,
.menu-top li a:hover::after {
	height: 2px;/*縦幅を変化*/
	border-radius: 0;/*丸みをなくす*/    
	transform: scale(0.9, 1);/*X方向0.8、Y方向1にスケール拡大*/
}



/* 固定ページ全般 */
.koteiWrapper {
	position: relative;
	padding: 0 20px;
	margin-bottom: 2em;
}
.koteiWrapper .main {
	position: relative;
}
.eye-catch-wrap {
	height: auto;
	max-height: 650px;
	overflow: hidden;
	border-radius: 15px;
}
.eye-catch-wrap,
.eye-catch,
.eye-catch img {
    width: 100%;
}
.eye-catch {
	margin-bottom: 0;
}
h1.kotei-title {
	display: block;
	width: 40%;
	height: 80px;
	position: absolute;
	bottom: 2%;
	left: calc(50% - 20%);
	background: rgba(255,255,255,.8);
	text-align: center;
	border-radius: 200px;
	font-size: 32px;
	line-height: 80px;
}
/*834px以下*/
@media screen and (max-width: 834px){
	.koteiWrapper {
		padding: 0 3%;
		margin-bottom: 1em;
	}
	h1.kotei-title {
		width: 60%;
		height: 2em;
		bottom: 5%;
		left: calc(50% - 30%);
		font-size: 20px;
		line-height: 2em;
	}
}

/* トップページ */
@media screen and (max-width: 480px) {
	.tagline {
		display: none;
	}
}
body {
	font-family: 'Noto Sans JP', sans-serif;
}
.header-container{
	background: none;
	padding: 10px 0;
}
.logo-header img {
    max-height: 100px!important;
    height: auto;
}
.navi {
	background: none;
}
.navi-in > ul {
    justify-content: center;
}
.navi-in > ul li {
	width: 12%;
	max-height: 30px;
    line-height: 30px;
}
.navi-in > ul li a {
	font-size: 12px;
}
.main {
	background: none;
}
/* スライダー */
.wrapper {
	position: relative;
	padding: 0 20px;
}
.wrapper h1 {
	position: absolute;
	top: 2%;
	left: 5%;
	font-size: 12px;
	font-weight: normal;
	z-index: 1;
}
#slider {
	position: relative;
	width: 100%;
	height: calc(100vh - 200px);/*スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
	border-radius: 15px;
}

/* ニュースティッカー */
.ticker-wrap {
	position: absolute;
	width: 50%;
	left: calc(50% - 25%);
	bottom: 5%;
}
.ticker-wrap h2 {
	line-height: 1;
}
.ticker-wrap h2,
.ticker-wrap p {
	font-family: 'Josefin Sans', sans-serif;
	color: #FFF;
}
.alignR{
	text-align: right;
}
.ticker-wrap p a {
	font-size: 0.8em;
	color: #333;
	background: linear-gradient(transparent 30%, rgba(255,255,255,0.5) 30%);
	text-shadow: 1px 0px #FFF;
	text-decoration: none;
	padding: 0 0.5em;
}
.ticker-wrap p a:hover {
	color: #777;
	transition: all .5s;
}
.ticker-inner {
	display: flex;
	background: rgba(255,255,255,.8);
	padding: 10px 20px;
	border-radius: 100px;
}
.ticker {
	width: 100%;
	height: 30px;
	font-size: 15px;
	line-height: 30px;
	padding: 0 6px;
	overflow: hidden;
}
.ticker ul {
	position: relative;
	list-style: none;
	height: 100%;
	padding: 0;
	margin: 0;
}
.ticker-item {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	padding-right: 0;
	opacity: 0;
}
.ticker-item a {
	display: inline-block;
	width: auto;
	color: #333;
	white-space: nowrap;
	text-decoration: none;
	transition: transform 5s linear;
}
.ticker-date {
	font-family: 'Noto Sans JP', sans-serif;
}
.ticker-title {
	margin-left: 10px;
}
.ticker-new {
	color: red;
	margin-left: 10px;
	animation: blink 1s ease-in-out infinite alternate;
}
.fadeInDown {
	opacity: 0;
}
.fadeInDown.run {
	animation: fadeInDown 0.3s cubic-bezier(0.645, 0.045, 0.355, 1) forwards;
}
.fadeOutDown {
	opacity: 1;
}
.fadeOutDown.run {
	animation: fadeOutDown 0.3s cubic-bezier(0.645, 0.045, 0.355, 1) forwards;
}
@keyframes fadeInDown {
	0% {
		opacity: 0;
		transform: translateY(-30px);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}
@keyframes fadeOutDown {
	0% {
		opacity: 1;
		transform: translateY(0);
	}
	100% {
		opacity: 0;
		transform: translateY(30px);
	}
}
@keyframes blink {
	0%, 100% {
		opacity: 1;
	}
	50% {
		opacity: 0;
	}
}
/*834px以下*/
@media screen and (max-width: 834px){
	.wrapper {
		width: 94%;
		padding: 0;
		margin: 0 auto;
	}
	.wrapper h1 {
		width: 70%;
	}
	.ticker-wrap {
		width: 90%;
		padding: 5px 10px;
		left: calc(50% - 45%);
		bottom: 2%;
	}
}

/* ゼブラホームについて */
.companyInfo {
	display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
	width: 80%;
	background: #FFF;
	padding: 50px;
	margin: 0 auto;
	border-radius: 10px;
}
.companyInfo dt,
.companyInfo dd {
	padding: 20px 40px;
}
.companyInfo dt {
	width: 30%;
	border-right: 1px solid #ddd;
}
.companyInfo dd {
	width: 70%;
	margin-left: 0;
}
/*834px以下*/
@media screen and (max-width: 834px){
	.companyInfo {
		width: 100%;
		padding: 1em;
	}
	.companyInfo dt,
	.companyInfo dd {
		font-size: 14px;
	}
	.companyInfo dt {
		width: 100%;
		padding: 5px 10px;
		border-right: none;
	}
	.companyInfo dd {
		width: 100%;
		padding: 5px 10px 5px 30px;
		border-bottom: 1px solid #ddd;
	}
}

/* サービス */
.svcSecR .svcImg,
.svcSecL .svcImg {
	width: 70%;
	margin-bottom: 0!important;
}
.svcSecR .svcImg {
	margin-left: auto;
}
.svcSecL .svcImg {
	margin-right: auto;
}
.svcSecR .svcImg img,
.svcSecL .svcImg img {
	width: 100%;
	border-radius: 15px;
}
.svcSecR .svcTxt,
.svcSecL .svcTxt {
	position: sticky;
	width: 60%;
	background: rgba(255,255,255,.8);
	padding: 20px;
	margin-top: -50px;
	border-radius: 15px;
	z-index: 10;
}
.svcSecL .svcTxt {
	margin-left: auto;
}
.svcSecR .svcTxt h2,
.svcSecL .svcTxt h2 {
	background: none;
	padding: 0;
	margin-bottom: .5em;
}
.svcSecR .svcTxt p,
.svcSecL .svcTxt p {
	font-size: 16px;
	margin-top: 0;
}
/*834px以下*/
@media screen and (max-width: 834px){
	.svcSecR .svcImg,
	.svcSecL .svcImg {
		width: 85%;
	}
	.svcSecR .svcTxt,
	.svcSecL .svcTxt {
		width: 85%;
		margin-top: -30px;
	}
	.svcSecR .svcTxt p,
	.svcSecL .svcTxt p {
		font-size: 14px;
	}
}

/* 施工事例一覧 */
.exampleList h1,
.exampleList h2,
.exampleList h3,
.exampleList h4,
.exampleList h5,
.exampleList h6 {
	background: none;
	padding: 0;
	margin: 0;
	border: none;
}
.exampleList {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	
}
.exampleList figure {
	position: relative;
	display: block;
	line-height: 1;
	border-radius: 15px;
	overflow: hidden;
}
.exampleList figure img {
	opacity: 0.8;
}
.exampleList figure::after {
	position: absolute;
	content: "";
	display: block;
	width: 100%;
	height: 100%;
	background: #000;
	opacity: 1;
	top: 0;
	left: 0;
	z-index: -1;
}
.exampleList figure img:hover {
	opacity: 1;
	transition: .5s;
}
.articleInfo {
	position: sticky;
	text-align: right;
	margin-top: -3em;
	margin-right: 10px;
	margin-bottom: 0!important;
	z-index: 1;
}
.articleInfo .wp-block-post-date,
.articleInfo h2 {
	padding: 5px 1em;
	border-radius: 100px;
}
.articleInfo .wp-block-post-date {
	position: sticky;
	display: inline;
	background: #333;
	color: #FFF;
	font-size: 14px;
	margin-bottom: -3px;
	z-index: 1;
}
.articleInfo h2 {
	display: block;
	width: fit-content;
	background: #FFF;
	font-size: 16px;
}
/*834px以下*/
@media screen and (max-width: 834px){
	ul.exampleList {
		padding-left: 0;
	}
}

/* ページネーション */
#main .wp-block-query-pagination .page-numbers {
	display: inline-block;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: #fff;
	font-size: 17.5px;
	font-weight: bold;
	text-decoration: none;
	line-height: 46px;
	border: unset;
}
#main .wp-block-query-pagination .current {
	color: #fff;
	background-color: #333;
}
#main .wp-block-query-pagination a.page-numbers:hover {
	color: #333;
	background-color: #ccc;
	transition: all .5s;
}
/*834px以下*/
@media screen and (max-width: 834px){
  .pagination a,
  .pagination span {
    margin: 2px 0;
    width: 36px;
    height: 36px;
    padding: 10px 0;
  }
}

/* 施工事例記事 */
.portfolios h1 {
	background: none;
	padding: 1rem 2rem;
	border-top: 6px double #000;
	border-bottom: 6px double #000;
}
.exPic {
	position: relative;
	width: 100%;
}
.pic {
	width: 54%;
	overflow: hidden;
	border-radius: 15px;
	line-height: 0;
}
.pic img {
	width: 100%;
}
.picBefore {
	position: relative;
}
.picBefore::after {
	content: "";
    display: block;
    width: 18px;
    height: 18px;
    background: #FFF;
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    margin: auto;
}
.picAfter {
	position: sticky;
	margin-top: -250px;
	margin-left: auto;
	z-index: 1;
}
.sekouInfo {
	margin-top: -150px;
    margin-bottom: 5%;
}
.sekouData {
    width: 30%;
	background: #333;
	color: #fff;
    font-size: 14px;
	padding: 20px;
}
.sekouData h2 {
    position: relative;
	background: none;
    font-size: 16px;
    font-weight: 700!important;
	padding: 0;
    margin-bottom: 1em!important;
}
.sekouData h2::after {
    position: absolute;
    content: '';
    width: 100%;
    height: 1px;
    background: #777;
    left: 0;
    bottom: -0.5em;
}
.sekouData dl {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
	margin-bottom: 0;
}
.sekouData dt {
    width: 25%;
    font-weight: bold;
    margin-bottom: 0.5em;
}
.sekouData dd {
    width: 65%;
    margin-left: 0;
}
.sekouDetail {
	position: sticky;
    width: 80%;
	background: #FFF;
    text-align: justify;
	font-size: 14px;
	padding: 20px 20px 20px 140px;
	margin-top: -30px;
	margin-left: auto;
	z-index: -1;
}
.sekouDetail p {
    margin-bottom: 0;
}
.next-post-thumb,
.prev-post-thumb {
	display: none;
}
/*834px以下*/
@media screen and (max-width: 834px){
	.portfolios h1 {
		padding: 10px;
	}
	.pic {
		width: 85%;
		overflow: hidden;
		border-radius: 10px;
	}
	.picAfter {
		margin-top: -20px;
	}
	.sekouInfo {
		margin-top: 0px;
	}
	.sekouData {
		width: 80%;
		font-size: 14px;
		padding: 20px;
	}
	.sekouData dt {
		width: 27%;
	}
	.sekouData dd {
		width: 70%;
	}
	.sekouDetail {
		width: 90%;
		padding: 50px 20px 20px 20px;

	}
}

/* よくあるお問い合わせ */
.faqContainer h2 {
	position: relative;
	background: none;
	padding: 15px 15px 15px 25px;
	margin-top: 4em;
	margin-bottom: .5em;
}
.faqContainer h2:before {
  content: "";
  position: absolute;
  background: #D7D8DC;
  width: 50px;
  height: 50px;
  top: 50%;
  left: 0;
  -webkit-transform: translateY(-70%);
  transform: translateY(-70%);
  z-index: -1;	
}
div.faq-wrap {
	margin-block-start: 10px;
	margin-bottom: 10px!important;
}
dl.faq {
	padding-left: 2em;
}
.is-style-accordion .faq-question {
	min-height: 80px;
	background: none;
	padding: 0;
	border-bottom: 1px solid #D7D8DC;
}
.is-style-accordion .faq-answer {
	background: #D7D8DC;
    padding: 2em;
	margin-left: 80px;
}
.faq-question .faq-item-label {
	background: #333;
}
.faq-answer .faq-item-label {
	background: #FFF;
}
.faq-item-label {
	width: 80px;
	height: 80px;
	font-family: 'Poppins', sans-serif;
	font-size: 50px;
	line-height: 80px;
	text-align: center;
	margin-right: 10px;
}
.is-style-accordion .faq-question::before,
.is-style-accordion .faq-question.active::before {
	font-family: "Font Awesome 5 Free";
	font-size: 30px;
	font-weight: 900;
}
.is-style-accordion .faq-question::before {
	content: "\f067";
}
.is-style-accordion .faq-question.active::before {
	content: "\f068";
}
/*834px以下*/
@media screen and (max-width: 834px){
	.faqContainer h2 {
		padding: 8px 10px 10px 20px;
	}
	.faqContainer h2:before {
		width: 40px;
		height: 40px;
		top: 50%;
		left: 0;
	}
	div.faq-wrap {
		margin-block-start: 0;
		margin-bottom: 0!important;
	}
	dl.faq {
		padding-left: 0;
	}
	.faq-item-label {
		width: 50px;
		height: 50px;
		font-size: 30px;
		line-height: 50px;
	}
	.faq-question-content {
		padding-right: 5%;
	}
	.is-style-accordion .faq-answer {
		padding: 1em;
		margin-left: 0;
	}
	.is-style-accordion .faq-question::before, .is-style-accordion .faq-question.active::before {
		font-size: 15px;
	}
	.is-style-accordion .faq-question::before {
		right: 0;
	}
}

/* お問い合わせ */
section.koteiSec {
	position: relative;
	background: #FFF;
	border-radius: 15px;
	padding: 40px;
	margin-bottom: 5em!important;
}
.koteiSec h2.contactH2 {
	position: absolute;
	top: -35px;
	left: calc(50% - 20%);
	width: 40%;
	height: 70px;
	background: #333;
	color: #FFF;
	font-weight: normal;
	text-align: center;
	line-height: 70px;
	border-radius: 200px;
	padding: 0;
	margin-bottom: 0;
}
.contactTel {
	text-align: center;
}
.contactTel p {
	color: #999;
}
.contactTel .telNum {
	display: inline;
	font-family: 'Oswald', sans-serif;
	font-size: 50px;
	font-weight: 500;
	color: #333;
	line-height: 1;
}
.contactTel .telNum::before {
	display: inline-block;
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	content: "\f098";
	color: #4ECCA3;
	transform: scaleX(-1);
	margin-right: 0.2em;
}
.required {
	font-size: 0.7em;
	color: #FFF;
	background: #4ECCA3;
	padding: 0 5px;
	margin-right: 0.2em;
	border-radius: 3px;
}
/**チェックボックス**/
.contactForm input[type="checkbox"] {
	display: none;
}
.contactForm input[type="checkbox"] + span {
	display: block;
	position: relative;
	padding-left: 24px;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
}
.contactForm input[type="checkbox"] + span:last-child {
	margin-bottom: 0;
}
.contactForm input[type="checkbox"] + span:before {
	content: '';
	display: block;
	width: 15px;
	height: 15px;
	border: 1px solid #4ECCA3;
	position: absolute;
	left: 0;
	top: calc(50% - 7px);
	opacity: .6;
	-webkit-transition: all .12s, border-color .08s;
	transition: all .12s, border-color .08s;
}
.contactForm input[type="checkbox"]:checked + span:before {
	width: 10px;
	top: calc(50% - 11px);
	left: 5px;
	border-radius: 0;
	opacity: 1;
	border-top-color: transparent;
	border-left-color: transparent;
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}

/**送信ボタン**/
.contactForm input[type='submit'].submitButton {
	display: block;
	position: relative;
	background: #4ECCA3;
	width: auto;
	height: 60px;
	padding: 0 3em;
	margin: 0 auto;
	border-radius: 200px;
	border: none;
	font-family: inherit;
	font-size: 18px;
	color: #FFF;
	line-height: 60px;
	transition: all .2s;
}
.contactForm input[type='submit'].submitButton:hover {
	background-color: #FFF;
	color: #4ECCA3;
	transform: translateY(-3px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.contactForm input[type='submit'].submitButton:active {
	background-color: #FFF;
	color: #4ECCA3;
	transform: translateY(-1px);
	box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}
/*834px以下*/
@media screen and (max-width: 834px){
	.koteiSec h2.contactH2 {
		width: 80%;
		height: 40px;
		top: -20px;
		left: calc(50% - 40%);
		line-height: 40px;
		padding: 0;
		margin-bottom: 0;
	}
	.contactTel p {
		font-size: 14px;
	}
	section.koteiSec {
		padding: 20px;
		margin-bottom: 3em!important;
	}
	.contactTel .telNum {
		font-size: 40px;
	}
	.contactForm input[type='submit'].submitButton {
		height: 50px;
		padding: 0 2em;
		line-height: 50px;
	}
	form.wpcf7-form p:last-of-type {
		margin-bottom: 0;
	}
}

/* お問い合わせ誘導 */
.contactContainer {
	background: #FFF;
	padding: 30px;
	text-align: center;
	border-radius: 15px;
}
.contactContainer h2 {
	background: none;
	padding: 0;
	margin-bottom: 1em;
}
.contactContainer h3 {
	font-size: 20px;
	background: none;
	border: none;
	padding: 0;
	margin-bottom: 1em;
}
.contactContainer p {
	font-size: 14px;
}
.contactContainer .telNum {
	display: inline;
	font-family: 'Oswald', sans-serif;
	font-size: 50px;
	font-weight: 500;
	color: #333;
	line-height: 1;
}
.contactContainer .telNum::before {
	display: inline-block;
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	content: "\f098";
	color: #4ECCA3;
	transform: scaleX(-1);
	margin-right: 0.2em;
}
div.mailForm .wp-element-button {
  color: #FFF;
  padding: 0.7em 1.7em;
  font-size: 18px;
  border-radius: 0.5em;
  background: #4ECCA3;
  border: 1px solid #4ECCA3;
  transition: all .3s;
  box-shadow: 6px 6px 12px #c5c5c5;
}
div.mailForm .wp-element-button:hover {
  border: 1px solid white;
}
div.mailForm .wp-element-button:active {
  box-shadow: 4px 4px 12px #c5c5c5,
             -4px -4px 12px #ffffff;
}
.wp-container-6 {
	margin-block-start: 0!important;
}
div.wp-block-column:nth-child(2) {
	border-left: 1px solid #ddd;
}
/*834px以下*/
@media screen and (max-width: 834px){
	.contactContainer {
		margin-bottom: 0!important;
	}
	.contactContainer .telNum {
		font-size: 30px;
	}
	.wp-container-6 {
		margin-block-start: 16px!important;
	}
	div.wp-block-column:nth-child(2) {
		border-left: none;
	}
}

/* お知らせ */
.newsBox .wp-block-post-date {
	width: 15%;
	background: #333;
	color: #FFF;
	text-align: center;
	padding: 0 10px;
	border-radius: 100px;
}
.newsBox h2.wp-block-post-title{
	padding: 0;
	font-weight: normal;
	line-height: 3em;
	margin-left: 2em;
	border-radius: 10px;
}
.newsBox h2.wp-block-post-title a {
	display: block;
	text-decoration: none;
	padding: 0 1em;
}
/*834px以下*/
@media screen and (max-width: 834px){
	.newsBox ul {
		padding-left: 0;
	}
	.newsBox .wp-block-post-date {
		width: fit-content;
	}
	.newsBox h2.wp-block-post-title {
		line-height: 2.5em;
		margin-left: 1em;
	}
}

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