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

/************************************
** 子テーマ用のスタイルを書く
************************************/
body {
    overflow-x: hidden;
}

a {
	text-decoration: none;
}
a:hover {
	opacity: 0.9;
	transition: all 0.5s;
	color: #ff9900;
}

.sp_only {
  display: none;
}
.pc_only {
  display: inline-block;
}
@media screen and (max-width: 781px){
  .pc_only {
    display: none;
  }
  .sp_only {
    display: inline-block;
  }
}

/* ボタン */
.btn_green a {
	display: block;
	text-align: center;
	vertical-align: middle;
	width: fit-content;
	margin: 5px auto 10px;
	padding: 1rem 4rem;
	border-radius: 100vh;
	border-bottom: 5px solid rgba(0,0,0,0.5);
	background: #ff9900;
	color: #fff;
	letter-spacing: 0.2rem;
	font-size: 1.5rem;
	line-height: 1.2;
}

/* Cocoonテーマでレスポンシブ設定の追加CSS --- ここから */
.scrollable-table th, .scrollable-table td {
    /* テキストを折り返す設定 */
    white-space: normal;
}
@media screen and (max-width: 781px) {
    .scrollable-table th, .scrollable-table td {
        /* テキストを折り返さない設定 */
        white-space: nowrap;
    }
}
/* Cocoonテーマでレスポンシブ設定の追加CSS --- ここまで */

/*************************
 ヘッダー
/*************************/
#first_view {
	background: #fff;
}

.fv_head {
	display: flex;
	justify-content: space-between;
}

.fv_head>div {
	display: flex;
    justify-content: center;
    flex-direction: column;
}

.fv_head .logo_box {
	width: 50%;
	padding: 5px 15px;
}
.fv_head .logo_box p {
	font-size: 0.9rem;
}
.fv_head .logo_box span {
	font-size: 0.8rem;
	background: #1a3c56;
	color: #fff;
	width: fit-content;
	border-radius: 100vh;
	padding: 0 20px;
	margin: 5px 0;
}

.fv_head .tel_box {
	width: 30%;
	background: #f0eeeb;
	text-align: center;
	padding: 10px;
	line-height: 1.0;
}
.fv_head .tel_box p {
	color: #5092b5;
	font-size: 2.0rem;
	font-weight: 800;
	line-height: 1.0;
}
.fv_head .tel_box span {
	color: #1a3c56;
	font-size: 0.8rem;
	margin-top: 5px;
}

.fv_head .contact_box {
	width: 20%;
	background: #1a3c56;
	text-align: center;
	padding: 10px;
}
.fv_head .contact_box a {
	color: #fff;
}
.fv_head .contact_box p {
	font-size: 2.0rem;
	line-height: 1.0;
}

.fv_image {
	background: url("./images/fv_pc.jpg") center center;
	height: 500px;
}

.fv_image .wrap {
	padding: 20px 15px;
}

.fv_image .box {
	background-color: rgba(255,255,255,0.8);
	width: fit-content;
	margin-top: 20px;
	padding: 15px;
}

.fv_image .copy {
	font-size: 2.5rem;
	font-weight: 700;
	background: #fff;
	padding-left: 15px;
}

.fv_image .copy strong {
	color: #df313e;
}

.fv_image .subcopy {
	font-size: 1.75rem;
	line-height: 1.2;
	margin-bottom: 10px;
	font-weight: 600;
	color: #ff9900;
	text-shadow: 1px 1px 0 #fff, -1px 1px 0 #fff, 1px -1px 0 #fff, -1px -1px 0 #fff;
}

.fv_image .text {
	font-size: 0.9rem;
	font-weight: 600;
}

.fv_cta {
	text-align: center;
	background: #1a3c56;
	color: #fff;
	padding: 30px 0;
}

.fv_cta strong {
	color: #ff9900;
	font-size: 1.25rem;
}

#header {
	display: none;
}

/* グローバルメニュー */
.navi-in .current-menu-item a {
	border-bottom: 3px solid #ff9900;
}

.navi-in > ul li {
	flex-grow: 1;
	position: relative;
}
.navi-in > ul li::before{
	position: absolute;
	content: "";
	display: block;
	height: 20px;
	width: 0;
	border-right: 1px solid #cdc8bc;
	left: 0;
	top: 0;
	bottom: 0;
	margin: auto;
}
.navi-in > ul li:first-of-type::before{
	content: none;
}

/*************************
 フッター
/*************************/
/* お問い合わせ */
#foot_contents {
	padding: 36px 29px 0;
}

.ft_bnr {
	background: url("./images/bg6.gif") #ff9900 left top;
	text-align: center;
}

.ft_bnr h2 {
	font-size: 2.5rem;
}

.ft_bnr .bnr_box {
	background: url("./images/contact.jpg") #fff center top;
	background-size: 100%;
	background-repeat: no-repeat;
	border: 3px solid #fff;
	border-radius: 10px;
	box-shadow: 0 0 15px rgba(0,0,0,0.2);
	padding: 20px;
}

.ft_bnr .bnr_box>p {
	font-size: 2.0rem;
	line-height: 1.5;
	margin-bottom: 2.0rem;
	text-shadow: 1px 1px 0 #fff, -1px 1px 0 #fff, 1px -1px 0 #fff, -1px -1px 0 #fff;
}

.ft_bnr .bnr_box>p strong {
	color: #df313e;
}

.ft_bnr .bnr_flex {
	display: flex;
	gap: 5%;
}

.ft_bnr .btn_contact {
	flex: 1;
	position: relative;
	padding: 1.0rem 3.0rem 1.0rem 5.0rem;
	text-align: center;
	vertical-align: middle;
	text-decoration: none;
	border: 5px solid #5092b5;
	border-radius: 100vh;
	display: block;
	box-shadow: 0 0 20px rgba(0,0,0,0.3);
	-webkit-box-shadow: 0 0 10px rgba(0,0,0,0.3);
	background: #fff;
}

.ft_bnr .number {
	color: #ff9900;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.0;
	margin-top: 0.5rem;
}

.ft_bnr span {
	font-size: 0.9rem;
}

.ft_bnr .btn--web {
	font-size: 1.7rem;
	line-height: 1.3;
}

.ft_bnr i {
	position: absolute;
	top: calc(50% - 0.5em);
	font-size: 2.0rem;
	color: #ff9900;
}
.ft_bnr i.fa-position-left {
	left: 2.0rem;
	font-size: 3.0rem;
}
.ft_bnr i.fa-position-right {
	right: 2.0rem;
}

/* フッター */
.ft {
	display: flex;
	gap: 2%;
	padding-top: 30px;
}

.ft div {
	flex: 1;
}

.ft p {
	font-size: 0.8rem;
}

.ft .tel_box p {
	color: #df313e;
	font-size: 2.5rem;
	font-weight: 800;
	line-height: 1.0;
}

.ft .office {
	font-size: 0.9rem;
	font-weight: 800;
}

.ft .guide {
	font-weight: 800;
	color: #ff9900;
}

.footer-bottom {
	margin-bottom: 24px;
}

/************************
 トップページ
*************************/
.home .article h2,
.home.article h3 {
	padding: 0;
}

.home .wp-block-group {
	margin-bottom: 0;
}

.full-wide {
    margin: 0 calc(50% - 50vw);
    padding: 0 calc(50vw - 50%);
    padding-top: 5em;
    padding-bottom: 5em;
}

h2.top_title {
	background: none;
	padding-top: 5px;
	text-align: center;
	font-size: 2.0rem;
}

.top_subtitle {
	position: relative;
	padding-top: 20px;
	color: #5092b5;
	letter-spacing: 0.3rem;
	margin-bottom: 0!important;
	font-size: 0.9rem;
	font-weight: 600;
}
.top_subtitle::after {
	content: '';
	position: absolute;
	top: 0;
	left: 50%;
	width: 2px;
	height: 15px;
	background-color: #5092b5;
}

/* お悩み */
#top_nayami {
	text-align: center;
	background: url("./images/nayami1.png"), url("./images/nayami2.png"), url("./images/bg1.jpg") #cdc8bc;
	background-repeat: no-repeat;
	background-position: bottom 10% left 5%, bottom 10% right 5%;
	margin-top: calc(-1em + -60px);
	padding-bottom: 180px;
}

#top_nayami h2 {
	font-size: 2.0rem;
	background: none;
	line-height: 2.0;
}

#top_nayami h2 strong {
	color: #fff;
	background: #df313e;
	font-size: 2.25rem;
	padding: 0 5px;
	margin: 0 5px;
	background-image: radial-gradient(circle at center, #fff 10%, transparent 15%);
	background-position: top right;
	background-repeat: repeat-x;
	background-size: 1.1em 0.4em;
	padding-top: 0.1em;
}

#top_nayami ul {
	padding: 0;
}

#top_nayami ul li {
	list-style: none;
	background: #fff;
	padding: 5px 20px;
	border-radius: 5px;
	box-shadow: 0 0 15px rgba(0,0,0,0.2);
	margin: 0 auto 15px;
	width: fit-content;
}

#top_nayami ul li strong {
	color: #df313e;
}

/* 私たちにできること */
#top_service {
	background: url("./images/bg2.jpg") #fff center bottom no-repeat;
	position: relative;
}

#top_service::after{
	content: "";
	position: absolute;
	height: 50px;
	width: 100%;
	clip-path: polygon(0 0, 0 100%, 100% 100%, 100% 0, 55% 0, 50% 100%, 45% 0);
	background: #fff;
	left: 0;
	top: -49px;
	z-index: 1;
}

#top_service .wp-block-columns {
	justify-content: center;
}

#top_service .wp-block-column {
	text-align: center;
	display: flex;
	flex-direction: column;
	margin-bottom: 3.0em;
}

#top_service .wp-block-column .num {
	background: #5092b5;
	border-radius: 100%;
	color: #fff;
	font-size: 2.5rem;
	font-weight: 800;
	width: 80px;
	height: 80px;
	margin: -2.0em auto 0.5em;
}

#top_service .wp-block-column h3 {
	border: 0;
	color: #ff9900;
	font-size: 1.75rem;
	margin-bottom: 0;
}

#top_service .wp-block-column .subtext {
	font-size: 0.9rem;
}

#top_service .wp-block-column .wp-block-image {
	margin-top: auto;
}

/* 想い */
#top_intro {
	background: url("./images/bg5.jpg") #cdc8bc center top;
}

#top_intro .wp-block-media-text__content {
	background: rgba(255,255,255,0.9);
	margin-top: -90px;
	margin-right: -70px;
	padding-top: 100px;
	padding-bottom: 30px;
	padding-right: 80px;
}

#top_intro .wp-block-media-text__content strong {
	background: rgba(255,153,0,0.5);
	padding: 0 5px;
}

#top_intro .wp-block-media-text__media {
	margin: 0 -200px 0 20px;
}

/* 特集 */
#top_feature {
	background: url("./images/bg3.jpg") #5092b5 center top;
}

/* ご相談の流れ */
#top_flow {
	background: url("./images/bg5.jpg") #cdc8bc center top;
}

#top_flow .wp-block-column {
	text-align: center;
	margin-bottom: 3.0em;
}

#top_flow .wp-block-column .num {
	background: #5092b5;
	border-radius: 30px;
	color: #fff;
	font-size: 2.0rem;
	font-weight: 600;
	width: 80%;
	margin: -2.0em auto 0.5em;
}

#top_flow .wp-block-column h3 {
	border: 0;
	color: #1a3c56;
	font-size: 1.75rem;
	margin-bottom: 1.0em;
}

#top_flow .wp-block-column h3 span {
	background: #df313e;
	border-radius: 50%;
	color: #fff;
	padding: 10px 7px;
	margin-top: -5px;
}

/* パートナー */
#top_partner {
	background: url("./images/bg3.jpg") #5092b5 center top;
}

/* 代表挨拶 */
#top_message {
	background: url("./images/bg4.jpg") #fff center bottom no-repeat;
}

#top_message .text {
	font-size: 1.0rem;
}

#top_message .text p {
	margin-bottom: 1.2em;
}

#top_message .wp-block-image {
	margin-bottom: 0.2em;
}

/* お客様の声 */
#top_voice {
	background: url("./images/voice.png"), url("./images/bg5.jpg") #cdc8bc center top;
	background-repeat: no-repeat, repeat;
	background-position: bottom 0 right 2%;
	padding-bottom: 15%;
}

#top_voice .wp-block-column h3 {
	border: 0;
	color: #ff9900;
	font-size: 1.75rem;
	margin-bottom: 0;
	padding: 0;
}

/* 新着情報 */
#top_topics {
	background: #fff;
	margin-bottom: calc(-3em + -55px);
}


/*************************
 サブページ共通
/*************************/
/* body:not(.home) .entry-title, */
body:not(.single) .entry-title {
	margin: calc(-1em + -11px) calc(50% - 50vw) 0;
    padding: 3em calc(50vw - 50%);
	background: url("./images/bg7.jpg") #cdc8bc left top;
	color: #fff;
}

body:not(.home) .article h2 {
	color: #fff;
	border-radius: 0 100vh 100vh 0;
	background-image: -webkit-gradient(linear, right top, left top, from(#1a3c56), to(#5092b5));
	background-image: -webkit-linear-gradient(right, #1a3c56 0%, #5092b5 100%);
	background-image: linear-gradient(to left, #1a3c56 0%, #5092b5 100%);
}
body:not(.home) .article h2:not(:first-of-type) {
	margin-top: 5.0rem;
}

/*************************
 コラム
/*************************/
body.single strong {
	background: #ffcc7f;
}

/*************************
 事務所案内
/*************************/
.btn_hp a {
	font-size: 0.9rem;
	background: #ff9900;
	color: #fff;
	width: fit-content;
	padding: 0 1.0rem;
	border-radius: 100vh;
	display: inline-block;
}


/*************************
 お問い合わせ
/*************************/
#form_content h4 {
	border: 0;
	margin-bottom: 0;
	background: #f0eeeb;
}

#form_content h4 span {
	font-size: 0.8rem;
	color: #dc3232;
}

#form_content h5 {
	border: 0;
	margin-bottom: 0;
}
#form_content .FBB p {
	display: flex;
}

input.wpcf7-submit[type="submit"] {
	border-radius: 100vh;
	border: 0;
	background: #ff9900;
	color: #fff;
	font-size: 1.5rem;
	font-weight: 600;
}

	
/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
@media screen and (max-width: 1023px){
	.fv_head {
		flex-wrap: wrap;
	}
	.fv_head .logo_box {
		width: 100%;
		text-align: center;
		margin: 10px 0;
	}
	.fv_head .logo_box span {
		margin: 5px auto;
	}
	.fv_head .tel_box{
		width: 75%;
	}
	.fv_head .contact_box {
		width: 25%;
	}
	.ft_bnr .bnr_flex {
		flex-direction: column;
	}
	.ft_bnr .btn_contact {
		margin: 0.5rem 0;
	}
	.ft {
		flex-direction: column;
	}
	.ft .office {
		margin-top: 15px;
		padding-top: 15px;
		border-top: 1px solid #ccc;
	}

	/* 想い */
	#top_intro .wp-block-media-text {
		display: block;
	}
	#top_intro .wp-block-media-text__content {
		margin: 0;
		padding: 30px;
	}
	#top_intro .wp-block-media-text__media {
		margin: 0;
		padding: 30px;
		background: rgba(255, 255, 255, 0.9);
	}

	.entry-title {
		margin: calc(-1em + -22px) calc(50% - 50vw) 0;
	}
}

@media screen and (max-width: 781px){/*834*/
	.fv_image {
		background: url("./images/fv_sp.jpg") center center;
		background-size:cover;
		height: 70vh;
		position: relative;
	}
	.fv_image .box {
		position: absolute;
		bottom: 10px;
		right: 0;
		left: 0;
		margin: 0 15px 5px;
	}
	.ft_bnr h2 {
    	font-size: 2.0rem;
	}
	.ft_bnr .bnr_box>p {
		font-size: 1.5rem;
	}
	.ft_bnr .btn_contact {
		position: static;
		border-radius: 20px;
		padding: 0.5rem;
	}
	.ft_bnr i {
		position: static;
		display: block;
	}
	.ft_bnr i:last-child {
		transform: rotate(90deg);
	}

	/* お悩み */
	#top_nayami {
		background-size: 30%, 30%, cover;
	}
	/* お客様の声 */
	#top_voice {
		padding-bottom: 230px;
	}
	#top_voice .wp-block-image {
		width: 50%;
	}
}

@media screen and (max-width: 480px){
}
