@charset "UTF-8";

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

/************************************
** 子テーマ用のスタイルを書く
************************************/
.case_title_h{
  padding-bottom:.3em;
}

.case_txt_{
  padding:.4em;
}

.case_tag p{
  padding:.4em .5em;
  background:#f3fafe;
  margin-top:.1em;
  font-size:clamp(.9rem,1vw,1rem);
}

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

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


/* snsボタン全体 */

.sns-btn{
  border-radius:.375rem;
  width:min(100%,20rem);
  transition:.4s;
  text-decoration:none;
  text-align:center;

  margin:0 .4em;
  padding:.2em 0;

  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.sns-btn:hover{
  color:#fff !important;
  text-decoration:none;
}

/* YouTube */

.sns-btn.fl_yu2{
  border:.0625rem solid #fc0d1c;
  color:#fc0d1c;
}

.sns-btn.fl_yu2:hover{
  border:.0625rem solid #fc0d1c;
  background:#cd201f;
}

/* LINE */

.sns-btn.fl_li2{
  border:.0625rem solid #00c300;
  color:#00c300;
}

.sns-btn.fl_li2:hover{
  border:.0625rem solid #00c300;
  background:#00c300;
}


/* ボタン内テキスト調整 */

.sns-btn span{
  font-size:clamp(.9rem,1vw,1rem);
  position:relative;
  left:.6em;
  bottom:.125rem;
}

.sns-btn2{
  display:flex;
  align-items:center;
  justify-content:center;
}


/*SNSフォローボタン*/

.sns-follow-message{
  color:#333;
}

.sns-follow-buttons{
  display:flex;
  justify-content:center;
}

.sns-follow-buttons a{
  border-radius:50%;
  margin:0 .625rem;
}

#main .sns-follow a{
  width:2.8125rem;
  height:2.8125rem;
}


/*サイドバーのSNSフォロー*/

.sidebar .sns-follow{
  margin:0 0 1.5rem 0;
}

.sidebar .sns-follow-buttons a{
  border-radius:50%;
  width:2.5rem;
  height:2.5rem;

  font-size:1.25rem;

  margin:.2rem .375rem;
}


.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:0 auto;
}

.footer-bottom-logo img{
  height:auto;
}

.navi-entry-card-title{
  font-weight:600;
  font-size:clamp(.95rem,1vw,1rem);
}

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

/* アニメーション */
#main, #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; }
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; }

/* カルーセル */
#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;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    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; }

.sidebar h3 {
    color: #004f99;
    text-align: center;
    padding: 0.25em;
    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; }

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

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

/* 売却相談 */
.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, .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 #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: 1s ease-in-out !important;
    transform: scale(1.05);
}

/* 相続メニュー */
ul.sidenav-loan {
    padding: 0;
    position: relative;
    overflow: auto;
    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; }

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: 18px 1em 0 0; }
.timeline-myhome .timeline-item:before { left: 85px; }
.timeline-myhome .timeline-item-content { padding: 0.8em 1.2em; }
.timeline-myhome .block-box { padding: 0.8em; margin: 0; }
.timeline-myhome .faq-question { margin-bottom: 1.1em; align-items: center; }
.timeline-myhome .faq-item-label { margin-top: 0.6em; }

/* 非表示制御 */
.front-top-page .entry-title, .front-top-page .sns-share, .front-top-page .date-tags, .front-top-page .author-info, .single .sns-follow, .single-news .under-entry-content, .post-date { 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; }

.entry-content { margin: 1em 0 3em 0; }

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

/* 相続_TOPボタン */
.page-id-6024 .go-to-top-button {
    background: url(https://miyakotown.com/images/TOPshindanSUB01.png) no-repeat center center / cover;
    width: 120px; height: 140px;
}
.page-id-6024 .fa-chevron-up { display: none; }
.page-id-6024 li.page-item-6024 .caption-wrap { background: #fff100; color: #000; }
.center-d img { display: inline-block; }
.wpvr-cardboard { margin-left: auto; margin-right: auto; }

/* ロゴ横の文章 */
.my-header-comment { display: block; font-size: 14px; line-height: 1.4; color: #555; text-align: center; }

/* モバイルメニュー・フッター */
.mobile-footer-menu-buttons { background: #004f99; }
.mobile-footer-menu-buttons a, .mobile-footer-menu-buttons i { color: #fff !important; }

/* サイドバー タグ一覧 */
.widget_tag_search .toc-title::after{display:none;}
.widget_tag_search .toc-title label{display:inline-flex;align-items:center;white-space:nowrap;cursor:pointer;}
.widget_tag_search .tag-toggle-text{margin-left:6px;font-size:13px;}
.widget_tag_search .toc-title{overflow:hidden;}
.widget_tag_search .tag-list{display:flex;flex-wrap:wrap;gap:6px;padding:6px 0;}
.widget_tag_search .tag-item{display:inline-block;padding:4px 8px;font-size:13px;text-decoration:none;color:#004f99;transition:0.2s ease;}
.widget_tag_search .tag-item:hover{background:#004f99;color:#fff;}
.widget_tag_search .tag-item::before{content:"#";font-weight:bold;margin-right:2px;}
.widget_tag_search .toc-checkbox:checked~.toc-content{padding-top:0;}
aside.widget_tag_search .widget-title{margin:10px 0;}
aside.widget_tag_search .toc-content{padding:0 6px;}

/* レスポンシブデザイン（統合・整理）*/
/* 1069px以上 */
@media screen and (min-width: 1069px) {
    #navi-in { width: 100%; }
}

/* 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); }
    .site-logo-image { content: url("https://miyakotown.com/images/logotype_S_jpg.jpg"); height: auto; }
}

/* 768px以下 */
@media screen and (max-width: 768px) {
    .column-wrap > div.head-col-l, .column-wrap > div.head-col-r { display: none; }
    .home .box-menus .box-menu { width: calc(100%/3); }
    .contactF th, .contactF td { width: 100%; display: block; margin-bottom: .5em; }
    .contactF th { padding-bottom: 0; text-align: left; }
    .my-header-comment { margin: 4px auto 0 auto; font-size: 12px; }
    .widget_tag_search .tag-item { flex: 1 0 48%; text-align: center; }
}

/* 480px以下 */
@media screen and (max-width: 480px) {
    .top-col .column-right .wp-block-embed-youtube { display: none; }
    .video-container.top { display: none; }
    ul.sidenav-loan { background: #dfefff; }
    ul.sidenav-loan li a { text-align: center; float: none; }
	.widget_tag_search .toc-title label,.widget_tag_search .tag-toggle-text,.widget_tag_search .tag-item{font-size:12px;}
}

/* ここから追加 */
/*TOP*/
body.page-id-1745 #content,
body.page-id-1745 #content-in{
  margin-top:0 !important;
  padding-top:0 !important;
}

body.page-id-1745 .main{
  padding-top:0 !important;
}

body.page-id-1745 .entry-content{
  margin-top:0;
}

/*コンテンツ下部*/
.footer-contact-wrap{
  margin:auto;
}

.footer-cta{
  text-align:center;
  margin-bottom:.8em;
}

.footer-cta h3{
  position:relative;
  text-align:center;
  background:none;
  color:#555;
  padding:.4em;
  padding-top:1em;
  border:none;
  box-shadow:none;
  font-size:clamp(1.2rem,2vw,1.4rem);
  line-height:1.4;
  text-wrap:balance;
}

.footer-cta h3:before{
  content:"";
  position:absolute;
  bottom:-0.6rem;
  left:50%;
  transform:translateX(-50%);
  width:clamp(3rem,5vw,3.75rem);
  height:.25rem;
  background-color:#004f99;
}

.footer-buttons{
  display:flex;
  justify-content:center;
  gap:clamp(.7rem,2vw,.9rem);
  padding:1em 0;
  flex-wrap:wrap;
  margin:1em 0;
}

.footer-btn{
  text-align:center;
  background:#004f99;
  color:#fff;
  padding:.6em 1.1em;
  border-radius:1.25rem;
  text-decoration:none;
  font-weight:500;
  font-size:clamp(.85rem,1vw,.9rem);
  display:inline-block;
}

.footer-btn:hover{
  opacity:.85;
  color:#fff;
}

.footer-info{
  display:grid;
  grid-template-columns:1fr;
  gap:clamp(1.2rem,3vw,1.9rem);
  align-items:center;
}

@media (min-width:48rem){
  .footer-info{
    grid-template-columns:1.5fr 1fr;
  }
}

.footer-map iframe{
  width:100%;
  height:clamp(11rem,20vw,13.75rem);
  border:0;
}

.footer-company{
  font-size:clamp(.85rem,1vw,.9rem);
  line-height:1.8;
}

.footer-company-name{
  font-size:clamp(1.05rem,1.3vw,1.2rem);
  font-weight:700;
  margin-bottom:.3em;
}

@media (max-width:48rem){
  .footer-buttons{
    flex-direction:column;
    align-items:center;
  }
  .footer-btn{
    width:min(100%,13.75rem);
  }
  .footer-company{
    padding-left:1.4em;
  }
}