@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Template:   cocoon-master
Version:    1.0.8
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

.greeen{background-color: #007b43 !important;}
.bluee{background-color: #004f99 !important;}

/*　TOP動画 */
.video-container.top {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: initial;
	z-index: 2;
}
.v-bg{
  background-size: cover;
  text-align: center;
  position: relative;
  overflow: hidden;
  background-color: #555555ab;;
}
.v-bg:after{
  background-image:url(https://miyakotown.com/images/pattern-01.png);
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  left:0;
  right:0;
}
 
div.video-container.top > video {
  min-width: 100%;
  z-index: -1;
}

/* sns */

/* ボタン全体 */
.sns-btn {
	border-radius: 6px;
	width:50%;
	transition:.4s;	
	text-decoration:none;
	text-align: center;
	margin: 0 .4em;
	padding:.2em 0;
}
/* ボタン内テキストマウスホバー時 */
.sns-btn:hover{
 color:#FFF!important;
 text-decoration:none;
}
/* YouTube */
.sns-btn.fl_yu2{
 border:solid 1px #fc0d1c;
 color:#fc0d1c;
}
.sns-btn.fl_yu2:hover{
 border:solid 1px #fc0d1c;
 background:#cd201f;
}
/* LINE */
.sns-btn.fl_li2{
 border:solid 1px #00c300;
 color:#00c300;
}
.sns-btn.fl_li2:hover{
border:solid 1px #00c300;
background:#00c300;
}
/* ボタン内テキスト調整 */
.sns-btn span{
 font-size:16px;	
 position:relative;
 left:.6em;
 bottom:2px;	
}
/* ボタン全体の位置 */
.sns-btn2{
	display:flex;
    align-items: center;
	justify-content: center;
}


/*SNSフォローボタン*/
.sns-follow-message{
	color: #333;
}
.sns-follow-buttons {
	justify-content: center; /*中央寄せ*/
}
.sns-follow-buttons a {
	border-radius: 50%; /*丸くする*/
	margin: 0 10px; /*ボタン同士の間隔*/
}
#main .sns-follow a {
	width: 45px; /*ボタンの横幅*/
	height: 45px; /*ボタンの高さ*/
}
/*サイドバーのSNSフォロー*/
.sidebar .sns-follow-buttons {
  justify-content: center; /*ボタンを中央寄せにする*/
}
.sidebar .sns-follow {
  margin: 0 0 24px 0;
}
.sidebar .sns-follow-buttons a {
  border-radius: 50%;
  width: 40px; /*ボタンの横の大きさ*/
  height: 40px; /*ボタンの縦の大きさ*/
  font-size: 20px; /*アイコンのサイズ*/
  margin: 3px 6px; /*ボタン同士の間隔*/
}
.sidebar .instagram-button {
  background-color: #c522b8 !important;
}

.recommended {
    margin: 0;
}

ul.blocks-gallery-grid{
	margin: 0 auto !important;
}

.menu-button-in img{
	width: auto;
}

a {
    color: #004f99;
    font-weight: 500;
}

.recommended.rcs-center-white-title .card-content {
	background-color: rgba(0, 79, 153, .25);
}

.entry-content>*, .demo .entry-content p {
    margin-top: .4em;
    margin-bottom: .4em;
}

.video-container {
 margin: 0px auto;
}

.footer-bottom-logo img {
    height: auto;
}
/* カードメニュー */
.navi-entry-card-title {
	font-weight: 600;
	font-size: 1em;
}

/* cta */
.cta-box {
    background-color: #004f99;
    color: #fff;
    padding: 1em;
    border: solid 1px #004f99;
}
.cta-message{
	text-align: center;
	font-size: 1.2em;
}


#main{
    animation: fadeIn 1s ease-out 0s 1 normal;
}
#sidebar {
    animation: fadeIn 1s ease-out 0s 1 normal;
}

@keyframes fadeIn {
    from {transform: translateY(10%); opacity: 0;}
    100% {transform: translateY(0%); opacity: 1;}
}
#header-container {
    animation: Down 1s ease-out 0s 1 normal;
}
@keyframes Down {
    from {transform: translateY(-10%); opacity: 0;}
    100% {transform: translateY(0%); opacity: 1;}
}
#breadcrumb {
    animation: Right 1s ease-out 0s 1 normal;
}
@keyframes Right {
    from {transform: translateX(10%); opacity: 0;}
    100% {transform: translateX(0%); opacity: 1;}
}

.page-numbers { /*通常時*/
  color: #49add1;
  border: 1px solid #49add1;
}
.pagination .current { /*現在のページ*/
  background-color: #49add1;
  color: #fff;
}
.page-numbers.dots { /*ドット「…」の部分*/
  opacity: 1;
  background: none;
}
.pagination a:hover { /*マウスホバー時*/
  background-color: #49add1;
  color: #fff;
}

.img-fluid-top img {
	padding: 1em 2.4em;
}

.top-cont div.wp-block-media-text__content{
	padding: 0 .5em;
}
.top-cont div.caption-box-label{
	padding: .4em .8em;
}
.top-cont div.caption-box-content{
	padding: .9em;
}
.top-col div.column-left,
.top-col div.column-right{
	padding: .8em;
}

/* 見出し */
.article h3 {
	background: #dfefff;
    box-shadow: 0 0 0 5px #dfefff;
    border: dashed 1px #397ab7;
}

h1.entry-title{
  position: relative;
  padding-bottom: .5em;
  border-bottom: 4px solid #f4f5f7;
}
h1.entry-title:after {
  position: absolute;
  bottom: -4px;
  left: 0;
  z-index: 2;
  content: '';
  width: 20%;
  height: 4px;
  background-color: #004f99;
}

/*　ギャラリー */
#baguetteBox-overlay .full-image img {
    background: #FFF;
	padding: .8em;
}

.entry-content .wp-block-gallery figure.wp-block-image {
    flex-grow: 0;　/*ギャラリー端数画像カラム落ちを防ぐ*/
}

/*　カルーセル　*/
#carousel .carousel-entry-card-title{
	font-size:0.75em;
	padding-top: .25em;
	margin-top: .25em;
}

/*カテゴリー*/
.widget_categories ul .cat-item a::before{
    line-height: 1!important;
    content: "\f0da"; 
    color: #004f99;
    padding-right: 10px;
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: 14px;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    animation: horizontal 3s ease infinite;
    -webkit-animation: horizontal 3s ease infinite;
}
.widget_categories ul .cat-item{
    border-top: 1px dotted #96a0a0;
}
.widget_categories ul .cat-item:last-child{
     border-bottom: 1px dotted #96a0a0;
}
.widget_categories ul li .cat-item:last-child{
     border-bottom: none;
}
.widget_categories ul li a{
    padding: 10px 0;
    padding-right: 10px;
    padding-left: 10px;
}
.sidebar h3 {
  color: #004f99;
  text-align: center;
  padding: 0.25em;
  background: -webkit-repeating-linear-gradient(-45deg, #f0f8ff, #f0f8ff 3px,#e9f4ff 3px, #e9f4ff 7px);
  background: repeating-linear-gradient(-45deg, #f0f8ff, #f0f8ff 3px,#e9f4ff 3px, #e9f4ff 7px);
}

/*カテゴリーリンク*/
.cat-link {
 background-color: #f6f6f6;
 color: #222;
 border-radius: 20px;
 padding: 5px 12px;
}

/*検索バー*/
.search-box{
	margin: 1em;
}
.search-edit{
	height: 40px;
	border-radius: 40px;
}
.search-submit{
	line-height: 0;
	top: 0;
	bottom: 0;
}
.search-edit:focus{
	outline: none;
	border-color: #004f99; /* フォーカス時の枠色 */
}

/*フッター*/
.footer-title {
	display: none;
}
.footer .sns-follow-buttons {
  justify-content: center; /*ボタンを中央寄せにする*/
}
.footer .sns-follow {
  margin: 0 0 18px 0;
}
.footer .sns-follow-buttons a {
  border-radius: 50%;
  width: 40px; /*ボタンの横の大きさ*/
  height: 40px; /*ボタンの縦の大きさ*/
  font-size: 20px; /*アイコンのサイズ*/
  margin: 3px 6px; /*ボタン同士の間隔*/
}
.footer .instagram-button{background-color: #c522b8 !important;}

.footer-right ul li{list-style: none;margin-bottom: .2em;}
.footer-right ul {padding-left: .5em;}

.footer-left .card-arrow .a-wrap::after {
    border-top: solid 2px #fff;
    border-right: solid 2px #fff;
    width: 8px;
    height: 8px;
}

/*シェアボタン*/
.button-caption{
	display: none;
}
.sns-share-buttons a {
	border-radius: 50%;
	margin: 5px;
}
#main .sns-share a {
	height: 40px;
	width: 40px;
	margin-bottom: 0.5em;
}
.sns-share-buttons {
	justify-content: center;
}
.social-icon {
	font-size: 15px;
}

/*ボックスリンク*/
.home .box-menu:last-child {
	margin-right: 0;
}

/*会社概要*/
ul.sideP{
	display: flex;
    flex-wrap: wrap;
    align-items: center;
}
ul.sideP li::before {
    margin-left: -.7em;
}
ul.sideP li {
    margin: .1em .5em;
    padding: .1em .3em;
    font-size: .9em;
	}
figure.tableP table td{
	padding-left: .6em;
}
.box-pl{
	margin: .5em;
    padding: .5em;
}

/*売却相談*/
.column-wrap > div > .box-sell-img {
	margin-bottom: 0;
}
h4.col-h{
	margin: 0 1em;
}

.page-id-5606 li.page-item-5606 .caption-wrap {
    background: #FFF;
    color: #004f99;
}

.page-id-5606 .col-sell {
	margin-bottom: .2em;
}

/*マイホーム相談*/
.is-layout-flex > div > .box-sell-img {
	margin-bottom: 0;
}
p.box-my-t {
	margin: 0.8em 1em;
	font-size: medium;
}
.page-id-3051 li.page-item-3051 .caption-wrap {
    background: #ff6900;
    color: #FFF;
}
.page-id-3051 h5 {
    border-color: #ff6900;
}
.page-id-3051 h4 {
    border-color: #ff6900;
}
.page-id-3051 h3 {
    background: #ffe1cd;
    box-shadow: none;
    border: dashed 1px #ff6900;
}

/* LINE */
.page-id-8474 li.page-item-8474 .caption-wrap {
    background: #3eb370;
    color: #FFF;
}

/*更新履歴用*/
.list-group{
   list-style: none;
   padding: 0 0 0 .9em;
   margin: 0;
}
.list-group li { 
   border-bottom: 1px dotted;
   border-color: #9fa0a0; /* 線の色 */
   position: relative;
   margin: .7em 0 !important;
   padding: 0 0 .5em 1.6em;
}
.list-group li:last-child{ 
   border:none;
}
.list-group li:before {
   background-color: #004f99; /* 点の色 */
   position: absolute;
   content: '';
   top: .7em;
   left: .5em;
   width: 7px;
   height: 7px;
   border-radius: 4px;
}

/* 相続診断入口 */
.wp-block-image-cen img {
    display: inline-block;
}

.wp-block-image-cen a:hover img {
	opacity: unset!important;
	transition: unset!important;
}
.wp-block-image-cen a:hover img{
	transform: scale(1.05);/*縮小・拡大*/
	transition: 1s ease-in-out;/*速度*/
}

//*相続問い合わせ
.contactS th{
    text-align: left;
    font-size: 16px;
    color: #444;
    font-weight: 500;
	background: #eee!important;
	padding: .5em .25em .5em .75em;
}
.contactS td{
	font-size:16px;
	background: #FFF;
}
.conS input[type='submit'] {
    background-color: #000;
}
.conS input[type='submit']:hover {
	background-color: #949495;
}
.astS {
    font-size: 11px;
    padding: .4em;
    color: #fff;
	background:#000;
    border-radius: 2px;
    margin-left: 0.5em;
    position: relative;
}
//

/*相続メニュー*/
ul.sidenav-loan {
    padding: 0;
	position: relative;
	overflow: auto;
}
ul.sidenav-loan{
	padding: 0;
}
ul.sidenav-loan li {
	list-style: none;
}
ul.sidenav-loan li a {
	display: block;
	color: #000;
	padding: 8px 16px;
	text-decoration: none;
}

ul.sidenav-loan li a:hover:not(.active) {
	background-color: #000;
	color: white;
}

.iconlist-title {
    padding-bottom: .5em;
    font-size: 1.2em;
}

@media screen and (max-width: 480px) {
	ul.sidenav-loan {
	background: #dfefff;
}
	ul.sidenav-loan li a {
		text-align: center;
		float: none;
	}
}

div.speech-balloon {
	padding: 1em;
}
div.sb-id-3 {
	margin-bottom:1.25em;
}


/*ボックス系汎用*/
.block-box {
    margin: .4em 1em;
}

/*テーブル*/
.container table tr,
.container table th, .container table td {
  background-color: transparent;
}

.info-table table th{
  padding: .2em .4em;
  border-color:#004f99;
}
.info-table table td{
  padding: .3em .6em;
  border-color:#004f99;
}

/*物件紹介*/
.iframe-wp {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}
.iframe-wp iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.col-bor{
	border: 2px solid;
	margin: .2em .4em;
	padding: .7em .8em;
}
.col-bor p{
	margin: .2em;
	line-height: 1.6;
}

/*お役立ち全般*/
.timeline-myhome .timeline-item-label{
    width: 90px;
    padding-top: 18px;
    padding-right: 1em;
}
.timeline-myhome .timeline-item:before {
    left: 85px;
}
.timeline-myhome .timeline-item-content {
    padding: 0.8em 1.2em;
}

.timeline-myhome .block-box {
    margin: 0;
    padding: 0.8em 0.8em;
}
.timeline-myhome .faq-question {
    margin-bottom: 1.1em;
    align-items: center;
}
.timeline-myhome .faq-item-label {
    margin-top: 0.6em;
}

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

/*1030px以下*/
@media screen and (max-width: 1030px){
  /*必要ならばここにコードを書く*/
	.column-wrap > div.head-col-l {
	display: none;
 }
.column-wrap > div.head-col-r {
	width: 100%;
 }
	.box-menus .box-menu {
    width: calc(100%/3);
}
}

/*768px以下*/
@media screen and (max-width: 768px){
  /*必要ならばここにコードを書く*/
.column-wrap > div.head-col-l {
	display: none;
 }
.column-wrap > div.head-col-r {
			display: none;
 }
	.home .box-menus .box-menu {
    width: calc(100%/3);
}
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
.column-wrap > div.head-col-l {
	display: none;
 }
.column-wrap > div.head-col-r {
			display: none;
 }
		.home .box-menus .box-menu {
    width: calc(100%/3);
}
	.top-col .column-right .wp-block-embed-youtube {
			display: none;
	}
	.video-container.top{display: none;}
}

/* のみ非表示 */
.front-top-page .entry-title,
.front-top-page .sns-share,
.front-top-page .date-tags,
.front-top-page .author-info{
	display: none;
}
.single .sns-follow{
	display: none;
}
.single-news .under-entry-content {
	display: none;
}

/* 以外非表示 */
body:not(.home):not(.single)  .entry-title,
body:not(.home):not(.single)  .sns-follow,
body:not(.home):not(.single)  .date-tags,
body:not(.home):not(.single)   .author-info{ 
    display: none;
}

/* すべて非表示 */
.post-date {
	display: none;
}

/*頭足の幅広げ*/
@media screen and (min-width: 1069px) {
	#navi-in {
		width: 100%;
	}
}
.entry-content {
	margin-top: 1em;
	margin-bottom: 3em;
}

/* ギャラリー */
figure a:hover img {
	opacity: .6;
	transition: .3s ease-in-out;
}

.entry-content .wp-block-gallery .blocks-gallery-image figcaption,
.entry-content .wp-block-gallery .blocks-gallery-item figcaption {
	font-size: .9em;
}

/* コンテンツオンリー */
.content-only #footer {display:block}
.content-only #footer .footer-widgets {display: none;}
.content-only .go-to-top-button {display: flex;}


/*お問合せ*/
.wpcf7 {
    width: 95%;
    margin: auto;
    margin-top: 1.5em;
}
.wpcf7-form p{margin: .4em .2em;}
input[type='submit'] {
    border: none;
    border-radius: .6em;
    background-color: #004f99;
    color: white;
    font-size: 1em;
    padding: .4em;
    margin-top: .4em;
}
input[type='submit']:hover {
	background-color: #0095d9;
	transition: .7s;
}
input[type='submit']:active {
	transform: translateY(2px);
}
/*768px以下の指定*/
@media only screen and (max-width: 768px) {
    .contactF th, .contactF td {
        width: 100%;
        display: block;
		margin-bottom: .5em;
    }
    .contactF th {
        padding-bottom: 0;
        text-align: left;
    }
}
.contactF th{
    text-align: left;
    font-size: 16px;
    color: #444;
    font-weight: 500;
	background: #dfefff!important;
	padding: .5em .25em .5em .75em;
}
.contactF td{
	font-size:16px;
	background: #FFFFFF;
}
.ast{
    font-size: 11px;
    padding: .4em;
    background: #e95295;
    color: #fff;
    border-radius: 2px;
    margin-left: 0.5em;
    position: relative;
}
/*ラジオボタンを縦並び指定*/
.tatelist .wpcf7-list-item{
	display:block;
}
/*ここまでお問合せ*/

/*相続_TOPボタン*/
.page-id-6024 .go-to-top-button {
	background: url(https://miyakotown.com/images/TOPshindanSUB01.png);
	background-repeat: no-repeat;
	width: 120px;
	height: 140px;
	background-position: center center;
	background-size: cover;
}

.page-id-6024 .fa-chevron-up{
	display:none;
}

/*相続_menuボタン*/
.page-id-6024 li.page-item-6024 .caption-wrap{
    background: #fff100;
    color: #000;
}
.center-d img{
	display:inline-block;
}

/* WPVR */
.wpvr-cardboard {
    margin-left: auto;
    margin-right: auto;
}