@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
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く
.header {
    width: 100%;
    height: 100vh;
    background-size: cover;
    display: flex;
}*/
/*一時的にお知らせを非表示*/

html {
 	scroll-behavior: smooth;
	color:#294A51!important;
	margin-top:0!important;
	scroll-padding-top:86px;
}
body {
	background:#E8EBE7;
	margin-top:0!important;
}
h3,p {
	color:#294A51;
}
.wrap {
	width:100%;
}
li {
	list-style:none;
}
ul {
	padding:0;
}
.footer-bottom {
margin-top:0;	
}
footer.article-footer.entry-footer {
    display: none;
}

/********ヘッダー基本要素、ヘッダーの色変更********/
.post-template-default,.page-template-default {
	position:relative;
}
.archive .mobile-header-menu-buttons,
.archive .header,
.post-template-default #header-container,#header-container .nav ,
.archive .mobile-header-menu-buttons,.archive .mobile-header-menu-buttons,
.page-template-default .header ,
.archive .mobile-header-menu-buttons,
.page-template-default .mobile-header-menu-buttons
,.post-template-default .mobile-header-menu-buttons,
.page-template-default .header,
.page-template-default #header-container,
#header-container .nav,
.post-template-default .header,
.post-template-default #header-container,
#header-container .nav {
	background:#294a51!important;
	color:#fff;
}
nav#navi {
    position: absolute;
    top: 15px;
    right: 0;
}
.navi-in a:hover {
    background-color: transparent;
    border-bottom: solid 1px;
}
.logo-image {
	text-align:left;
	padding:0;
}
div#header-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}
.header,#header-container,#header-container .navi {
	background:transparent;/*ヘッダー背景色*/
}
.change-color {
	background:#294a51!important;
	transition: 0.3s;
	color:#fff;
}
#header-container.change-color {
	position:fixed;
	top:0;
	left:0;
	width:100%;
	z-index:100;
}
.navi-in > ul li {
	width:auto;
	padding:0 12px;
}
.site-logo-image.header-site-logo-image {
	max-width:160px;
	margin-top: 5px;
}
#navi .navi-in a:hover, #footer a:not(.sns-button):hover {
    background-color: transparent;
}

/********SPのヘッダー変化時のcss********/
.mobile-header-menu-buttons {
	background:transparent;/*ヘッダー背景色*/
	color:#333;
	position:absolute;
	top:0;
	left:0;
}
.mobile-header-menu-buttons.change-color{
	position:fixed;
}
.mobile-menu-buttons li:first-child.menu-button{
	left:50%;
	transform:translate(-50%,0);
}
.mobile-menu-buttons .menu-caption {
	display:none;
}
.mobile-header-menu-buttons.change-color .fa-bars::before {
    color: #fff;
}
.mobile-menu-buttons .menu-icon {
	font-size: 26px;
}

/********その他SPヘッダーの調整********/
.navi-menu-content {
  left: auto;
  right: 0;
  transform: translateX(105%);
}
#navi-menu-content {
	background:#E8EBE7;
}
.menu-close-button {
	position:relative;
}
span.fas.fa-times {
    position: absolute;
    top: 30px;
    right: 40px;
}
.fa-times:before {
    content: "" !important;
    width: 26px;
    height: 3px;
    background: #294A51;
    position: absolute;
    transform: rotate(45deg);
}
.fa-times:after{
    content: "" !important;
    width: 26px;
    height: 3px;
    background: #294A51;
    position: absolute;
    transform: rotate(-45deg);
}
.menu-content .menu-drawer {
    padding: 60px 1em 30px;
}
.mobile-header-menu-buttons {
    background: transparent;/*SPのヘッダー背景色*/
    color: #fff;
    position: absolute;
    top: 0;
    left: 0;
    box-shadow: none;
}
.mobile-menu-buttons .menu-button {
	justify-content:space-between;
}
.mobile-header-menu-buttons li:first-child.menu-button {
    left: auto;
    transform: inherit;
    text-align: left;
    justify-content: start;
	order:2;
}
.mobile-header-menu-buttons li:nth-child(2){
	order:1;
	width:100%;
}
.mobile-header-menu-buttons li:nth-child(3).menu-button {
	display:none;
}
.menu-drawer a {
    padding: 20px 10px;
	color:#294a51;
}
.menu-drawer a:hover {
    background-color: #e8ebe7;
    transition: all 0.3s ease-in-out;
    color: #294A51;
}
.fas.fa-bars {
    border-top: solid 2px #fff;
    position: absolute;
    width: 30px;
    right: 15px;
}
.fa-bars:before {
    content: "";
    width: 100%;
    height: 2px;
    position: absolute;
    top: 5px;
    background: #fff;
    right: 0;
}
.fa-bars:after {
    content: "";
    width: 100%;
    height: 2px;
    position: absolute;
    bottom: 7px;
    background: #fff;
    right: 0;
}


/********共通項目*********/
.content {
	max-width:1100px;
	margin:0 auto;
}
.PC_layout {
		display:block;
	}
.SP_layout {
	display:none;
}
.widget h2 {
	text-align:center;
	margin-bottom:60px;
}
.inner {
	max-width:1260px;
	width:100%;
	margin:0 auto;
	padding:0 30px;
}

/********メインビジュアル********/
.video_main {
	position:relative;
}
.video_main h1 {
	position:absolute;
	top:50%;
	left:50%;
	transform:translate(-50%,-50%);
}
video {
	width:100%;
	height:100vh;
	object-fit:cover;
}
.scroll {
	position:absolute;
	bottom:0;
	left:50%;
	transform:translate(-50%,0);
}

/********CMS部分********/
.article-header.entry-header {
    border-bottom: solid 2px #294a51;
}
.post-template-default .container, .archive .container {
	background:#fff;
}
.main {
	background:transparent;
}
.main .card-title {
	font-size:18px;
}
.post-template-default .content .main,.archive .content .main {
	height:90vh;
	padding-top: 10%;
	background:#fff;
}
.a-wrap:hover {
    background-color: #f5faf7;
}
.post-template-default div#content-bottom, .archive div#content-bottom  {
    display: none;
}
.post-template-default div#content-top, .archive div#content-top {
    display: none;
}
.entry-title, .article h2 {
	padding:20px 0 0;
}
.date-tags {
	text-align:left;
}
#pager-post-navi {
    display: none;
}
#archive-title {
    margin-top: 60px;
}
.archive .entry-card-content.card-content.e-card-content {
    border-bottom: solid 1px #bbb;
}
.under-entry-content {
	display:none;
}

/********経営理念********/
#mission {
	padding: 80px 0 0;
	text-align:center;
	background:#fff;
}
#mission .inner {
	padding-bottom: 86px;
}
#mission h3 {
	font-size:32px;
	margin-bottom:30px;
}
#mission p {
	display:inline-block;
	text-align:left;
}

/********ビジョン********/
#vision {
    padding: 80px 0 ;
	text-align:center;
}
#vision h3 {
	font-size:32px;
	margin-bottom:30px;
}
#vision p {
	display:inline-block;
	text-align:left;
}
	#vision p.PC_layout {
      display:inline-block;
	text-align:left;
		max-width:704px;
}

#vision p.SP_layout {
        display: none;
}

/********サービス紹介********/
#service {
    padding: 80px 0 ;
	background:#fff;
}
.cards {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.card {
    width: 47%;
    overflow: hidden;
    text-align: left;
    position: relative;
}
.card img {
    width: 100%;
    height: auto;
}
.service-card-content {
    padding: 0 20px;
    position: relative;
	margin-top:20px;
}
.service-card-content::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background-color: #294a51; /* 線の色を調整 */
}
.card-title {
    font-size: 28px;
    margin-bottom: 10px;
    font-weight: bold;
	color: #294a51;
}
.card-text {
    font-size: 15px;
    color: #294a51;
    line-height: 1.6;
}


/********メンバー紹介********/
#member {
	padding:80px 0;
}
.acd_check {
    display: none;
}
.acd_label {
    border-bottom: 1px solid #294a51;
    color: #294a51;
    display: block;
    margin-bottom: 18px;
    cursor: pointer;
    position: relative;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
	padding-bottom:8px;
}
.acd_content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.2s ease, opacity 0.4s ease; /* ふわっとした動きのトランジションを追加 */
	color: #294a51;
}
.acd_check:checked + .acd_label + .acd_content {
    max-height: 2000px;
    opacity: 1;
    visibility: visible;
	padding-bottom: 25px;
}
.acd_label::after {
    content: '+';
    font-size: 30px;
    position: absolute;
    right: 10px;
    top: 21%;
}
.acd_check:checked + .acd_label::after {
    content: '-';
	font-size: 40px;
    top: 6%;
}

/* 980px以上の場合 */
@media screen and (min-width: 980px) {
    .acd_box {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
	justify-content:space-between;
}
.acd_box li {
    width: 47%;
}

.acd_label::after {
    display: none; /* アコーディオンアイコンを非表示に */
}
.acd_content {
    overflow: visible; /* コンテンツの高さを調整しない */
}

/* アコーディオンの動作を停止 */
 .acd_label + .acd_content {
    max-height: unset;
    opacity: 1;
    visibility: visible;
}

/* アコーディオンアイコンを非表示 */
.acd_label::after {
    display: none;
}
}
/* 980px以上の場合ここまで */

/********会社概要********/
#office {
	padding:80px 0;
	background:#fff;
	}
.office {
    display: flex;
    justify-content: space-between;
}
.left-column {
    flex: 0.7;
    margin-right: 30px;
}
.right-column {
    flex: 1;
	margin-top:0;
}
.text-group {
    border-bottom: 1px dashed #294a51;
    padding-bottom: 8px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    color: #294a51;
}
.text-group dt {
	width:20%;
    margin-right: 10px; /* 小見出しとテキストの間隔 */
	font-weight: 700;
}
.text-group dd {
	width:80%;
}

/*お問い合わせ*/
#contact {
	padding:80px 0;
}
#contact p {
	text-align:center;
}
#contact p a {
	text-decoration: none;
    color: #294a51;
    border: solid 1px #294a51;
    padding: 17px 30px;
    border-radius: 60px;
    margin: 0 auto;
    width: 80%;
    max-width: 300px;
    display: inline-block;
}

/*実績*/
#works {
	padding:80px 0;
	background:#294a51;
	color:#fff;
	}
#works .card-title {
	color:#fff;
	margin-bottom:16px;
}
#works .service-card-content::before {
	background-color:#fff;
}
#works .card-text,#works .card-text a {
	color:#fff;
}
#works .card-text a {
	margin-top:8px;
	display:inline-block;
}

/*ページ上部*/
/*コンテンツ上部の画像　全幅にする*/
#content-top-in {
    width: 100%;
}
/*メニューとコンテンツ上部の画像の余白調整*/
#content-top,.content-top{
	margin:0px!important;
}

/*コンテンツ毎の余白調整*/
.content-top, .content-bottom {
	padding:0;
}
.about {
	width:100%;
	height:auto;
	background:url(https://sariana-design.com/wp-content/uploads/2024/05/bg.png) no-repeat;
	background-size: cover;
}
.about div {
	padding:100px 30px;
	margin:0 auto;
	text-align:center
}
.about .title span {
	display:block;
	font-size:20px;
	font-weight:700;
}
/*ヘッダー*/
.tagline {
    margin: 0;
}
.logo-text {
    padding: 0;
}
.site-name-text {
    font-size: 18px;
}


/*記事エリア*/
.related-entry-card-snippet, .entry-card-snippet{
	display: none;
}
.related-entry-card-meta, .entry-card-meta {
    bottom: 0;
    position: absolute;
    left: 0;
    text-align: left;
    line-height: 1;
}
.entry-card-info > * {
    font-size: 0.8em;
    padding: 2px;
    color: #bbbbbb;
}
.e-card-info {
	justify-content:flex-start;
}
.a-wrap {
	border-bottom:solid 1px #bbb;
}
.a-wrap:last-of-type {
	border-bottom:none;
}
/*画像を非表示にする*/
.entry-card-thumb {
    display: none;
}

/*画像を非表示にした分、テキストエリアの横幅を伸ばす*/
.entry-card-content {
    width: 100%;
    margin-left: 0 !important;
}

#list, .list-wrap {
    margin-bottom: 0;
}
.body .widget,.content-top, .content-bottom {
	margin:0 auto;
}



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

}
/******** 980px以上の場合********/
@media screen and (min-width: 834px) {

}
/*834px以下*/
@media screen and  (max-width: 834px){
  /*必要ならばここにコードを書く*/
	html {
		margin-top:0!important;
		scroll-padding-top:60px;
	}
	.body {
		font-size:14px;
	}
	.PC_layout {
		display:none;
	}
	.SP_layout {
		display:block;
	}
	#vision p.PC_layout {
        display: none;
}

#vision p.SP_layout {
        display: block;
}
	.video_main h1 {
		width:80%;
		max-width: 300px;
	}
	.logo-menu-button img {
		max-height: 70px;
	}
	#mission h3,#vision h3 {
		font-size:19px;
	}
	#mission .inner {
		padding-bottom:0;
	}
	.cards {
      display:block;
    }
	.card {
		width:100%;
		margin-bottom: 20px;
	}
	.service-card-content::before {
		width:4px;
	}
	.service-card-content {
		margin:10px auto 30px;
		padding: 0 0 0 15px;
	}
	#works .service-card-content {
		margin:16px auto 0px;
	}
	#works .card-title {
		margin-bottom:16px;
	}
	.card-title {
		font-size:19px;
		line-height:1.5;
	}
	span.card-span {
        display: block;
	}
	.inner {
       padding: 0 7%;
	}
	.office {
        flex-direction: column;
    }
    .left-column,
    .right-column {
        flex: auto;
        margin: 0;
    }
	.right-column {
    margin-top: 30px;
}
	.main .card-title {
	font-size:14px;
    }
	.post-template-default .main {
	padding-top: 86px!important;
}
	.acd_box {
    display: flex;
    flex-wrap: wrap;
	justify-content:space-between
    }
	video {
	object-position:78%;
	}
	h2 img {
    padding: 20px;
    }
	.widget h2 {
		margin-bottom:0;
	}
	#vision {
    padding: 20px 0;
}
	#mission,#service,#member,#office,#contact,#works {
		padding:40px 0;
	}
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
	.body {
		font-size:14px;
	}
	.PC_layout {
		display:none;
	}
	.SP_layout {
		display:block;
	}
	video {
	object-position:78%;
	}
	.card {
        width: 100%;
        margin-bottom: 20px;
    }
}

