/*
  Theme Name:   unique_child
  Description:  Child theme of unique_tcd044
  Author:       regista Co.Ltd.
  Version:      1.0.0
  Template:     unique_tcd044
  Text Domain:  unique_child
*/


.post_content h1, .post_content h2, .post_content h3, .post_content h4, .post_content h5, .post_content h6 { font-weight:400; padding:0; }
.post_content h4 { line-height:1.6; }
#page_header { margin:0 0 62px 0; }
#page_header .headline { padding-top:0; }
@media only screen and (max-width: 767px) {
#page_header { margin:-10px 0 -12px; }
#tcd-pb-wrap .pb_headline { font-size:20px !important; line-height:1.5; }
#tcd-pb-wrap .pb_catchcopy { font-size:20px !important; line-height:1.5; }
.tcd-pb-widget p { font-size:14px !important; line-height:2.2; }
#page_header .desc { margin-top:-5px; }
.desc p { font-size:14px !important; line-height:2.2; }
#tcd-pb-wrap { overflow:visible!important; }
.tcd-pb-row .tcd-pb-col:only-child .pb-widget-image { margin-left:-20px; margin-right:-20px; height:186px; }
.tcd-pb-row .tcd-pb-col:only-child .pb-widget-image img { height:100%; width:auto; max-width:none; }
#main_col { overflow:hidden; }
#article .post_content .style4a, #article .post_content .style4b { font-size:16px; }
}
.post_content ol, .post_content ul { margin-bottom: 2em; }
.vegas-content .title { font-weight: bold; }
.wpcf7 { box-sizing:border-box; }
.post_content .wpcf7 th { vertical-align: middle; }
@media only screen and (max-width: 767px) {
	.post_content .wpcf7 th, .post_content .wpcf7 td {
		padding-top: 10px;
	}
	.post_content .wpcf7 td {
		border-top: 0;
	}
	.wpcf7 tr {
		display: grid;
	}
  .wpcf7-form {
    .s_table {
      white-space: normal;
    }
  }
}

#blog_list {
  &.ctm-blog {
    max-width: 768px;
    margin-inline: auto;
  }
  .ctm-blog__item {
    width: 100%;
    padding-block: 1em;
    border-bottom: 1px solid #eee;
  }
  .ctm-blog__item-figure {
    width: 75px;
    height: 75px;
    flex-shrink: 0;
    img {
      object-fit: cover;
      width: 100%;
      height: 100%;
    }
  }
  .ctm-blog__item-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1em;
  }
  .ctm-blog__item-title {
    font-weight: normal;
    font-size: 18px;
    color: #333;
  }
  .ctm-blog__item-category {
    position: relative;
    a {
      font-size: 10px;
      height: auto;
      padding: .5em 1em;
      line-height: normal;
      margin-top: .5em;
    }
  }
}
@media only screen and (max-width: 767px) {
  #blog_list {
    .ctm-blog__item-title {
      font-size: 16px;
    }
  }
}

.wp-block-gallery {
  margin-bottom: 2em;
}

.single {
  #left_col {
    margin-inline: auto;
    float: none;
  }
  #post_title {
    text-align: center;
  }
}

.post-type-archive-news {
  #left_col {
    margin-inline: auto;
    float: none;
  }
}

.single-post {
  .date {
    display: none;
  }
}

@media only screen and (min-width: 768px) {
  #footer_menu_widget_area {
    justify-content: flex-end;
  }
}