/*
Theme Name: Domo WebSite
Theme URI: https://do-mo.jp/
Description: A theme by <a href="https://do-mo.jp/">Domo Corp.</a>.
Version: 3.0
Author: Yoshiyuki Ide
Author URI: 
Template: lightning
*/

/* 
domo-publishing-2
*/
.vk_post-postType-product .vk_post_imgOuter {

    padding: 40% 0;
}

.widget_block .vk_post_imgOuter {
    background-size: contain !important;
    background-repeat: no-repeat;
    padding: 0;
}

.main-section>.vk_posts>.media.vk_post-col-lg-12 .media-img {
    background-size: contain;
    background-repeat: no-repeat;
    padding: 16%;
    border: none;
    overflow: visible;
}
.card-img-overlay {
    position: absolute;
    top: -29px;
    right: 0;
  
    left: 0;
    padding: 1.25rem;
  
    text-align: center;
}

.vk_post_imgOuter_singleTermLabel {

    left: 0;
    margin: auto;
}

.entry-header {
    margin-bottom: var(--vk-margin-block-bottom);
    border-bottom: 3px solid #0085C8;
    padding: 0 5px 5px;
}
.wpcf7-form  .bookformlist .bookformlist li {
    margin-bottom: 5px;
    padding-bottom: 5px;
}
.wpcf7-form  .bookformlist p {
    margin-bottom: 0px;
    padding-bottom: 0px;
}

.wpcf7-form  .bookformlist .wpcf7-form-control-wrap {
   display: inline-block;
}


.wpcf7-form  .bookformlist-container {
    max-width: 100%;
    margin: 15px auto 0;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.wpcf7-form  .bookformlist-container p {
    margin-bottom: 10px;
    font-weight: bold;
}

.wpcf7-form  .bookformlist-container input, 
.wpcf7-form  .bookformlist-container select, 
.wpcf7-form  .bookformlist-container textarea {
    width: 100%;
    padding: 8px;
    margin: 0px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.wpcf7-form  .bookformlist {
    list-style: none;
    padding: 0;
}

.wpcf7-form  .bookformlist li {
    border-bottom: 1px solid #ddd;
}

.wpcf7-form-control-wrap select {
    background-color: #fff;
    cursor: pointer;
}

.bookformlist-container .wpcf7-submit {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #007BFF;
    color: #fff;
    font-size: 18px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.bookformlist-container .wpcf7-submit:hover {
    background-color: #0056b3;
}

.author-info {
    margin-left:20px !important;
}
.author-books ul {
    margin: 0;
}

.author-books li {
    padding: 1px;
    margin: 1px;
    line-height: 1.4;
}

.single-product .wp-block-media-text.alignwide > *,
.single-book_offer .wp-block-media-text.alignwide > *,
#book_eyecatch_block > *
 {
    align-self: start !important;
}


.single-product .wp-block-media-text.alignwide > figure,
.single-book_offer .wp-block-media-text.alignwide >  figure,
#book_eyecatch_block >  figure {
    padding: 20px;
}

.book-excerpt {
    margin: 0;
    padding: 0;
        font-size: 12px;
    line-height: 1.6;
    opacity: .8;
    list-style: none;
}
.book-excerpt li {
    padding: 0;
    margin: 0;
}

.single-product .entry-body > .wp-block-media-text.alignwide {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
}

.sub-section .vk_posts .vk_post_imgOuter.media-img {
    background-size: contain;
    background-repeat: no-repeat;
}

#book_eyecatch_block {
    margin: auto !important;
    max-width: 100% !important;
}

.product-type-radio-container {
    margin-left:0px;
    padding:5px 10px;
    background-color: #f0f0f0;
    border-radius: 5px;
    border: 1px solid #000;
}
.product-type-radio-container::before {
    content: '形式：';
    font-weight: bold;
}

.product-type-radio-container .wpcf7-list-item.first {
    margin-left: 0px;
}

.product-type-radio {
    display: inline-block !important;
}

.product-type-radio input[type="radio"] {
    width: auto !important;
}