/* content */
.bach-root.bach-detail.entry {
    margin: 0 auto 0;
    width: 100%;
    max-width: unset;
    position: relative;
    margin-bottom: 152px;
}
.bach.not-editor-style {
    margin-bottom: -6rem;
}

.bach-root.bach-detail.entry #message {
    text-shadow: 0px 0px 15px rgba(61, 56, 38, 0.45);
    font-family: var(--font-shippori);
    font-size: 2.5rem;
    line-height: var(--line-height-base);
    color: var(--color-text);
    font-weight: 600;
    padding: 0;
    background-color: transparent;
}
.bach-root.bach-detail.entry .font-regular p {
    font-weight: 400;
    letter-spacing: 0.8px;
}
.entry-style .message-source::before{
    content: unset!important;
}
.bach-root.bach-detail.entry .message-lead {
    font-size: 2.5rem;
    letter-spacing: 2px;
}
.bach-root.bach-detail .main-content{
    width: 100%;
    max-width: 52.5rem;
    margin: 0 auto;
}
.bach-root.bach-detail.entry .caption1,
.bach-root.bach-detail.entry .caption2,
.bach-root.bach-detail.entry .caption3{
    width: 100%;
}
.bach-root.bach-detail.entry .caption1 {
    margin: 5.5rem 0 5rem auto;
}
.bach-root.bach-detail.entry .caption2,
.bach-root.bach-detail.entry .caption4 {
    margin: 0 0 2rem auto;
}

.bach-root.bach-detail.entry .caption3{
    margin: -6rem 0 2rem auto;
}
.bach-root.bach-detail.entry .caption5 {
    margin: 0 0 2rem auto;
}
.bach-root.bach-detail.entry .caption1 {
    margin: 2.5rem 0 4.5rem;
}
.bach-root.bach-detail.entry .caption2 {
    margin: 2.5rem 0 4.5rem;
}

.bach-root.bach-detail.entry .message-image1 {
    width: 100%;
}
.bach-root.bach-detail.entry .message-image2 {
    width: 100%;
}
.bach-root.bach-detail.entry .message-image3 {
    width: 100%;
    max-width: 600px;
    position: relative;
    margin: 0 auto 0 0;
}
.bach-root.bach-detail.entry .message-image4 {
    width: 100%;
    max-width: 300px;
    position: relative;
    margin: 0 0 0 auto;
    top: -10rem;
}
.bach-root.bach-detail.entry .message-image5 {
    width: 100%;
    max-width: 300px;
    position: relative;
    margin: 0 auto 0 0;
    top: -14rem;
}
.entry-header-visual.bach.bach-header{
    width: 100%;
    height: 100%;
    vertical-align: bottom;
    -o-object-fit: cover;
    object-fit: cover;
    position: relative;
    top: 0;
    left: 0;
    padding: 0;
    margin: -2rem auto 5.5rem;
}
.entry-header-visual.bach.bach-middle{
    padding: 0;
    width: 100%;
    height: 100%;
}

.entry-header-visual.bach.bach-header .entry-header-visual-img {
    width: calc(100% - 80px);
    position: relative;
    left: 5rem;
}
.entry-header-visual-img {
    display: block;
    width: 100%;
    object-fit: cover;
    object-position: center; 
    height: auto; 
}
/* PCなどの広い画面では比率通りに見せたい場合の調整 */
@media (min-width: 768px) {
    .entry-header-visual-img {
        min-height: 380px; 
    }
}
/* list */
.list.bach {
    width: 100%;
    padding: 6.5rem 80px;
    display: flex;
    align-items: flex-start;
    background: #ffffff80;
    box-sizing: border-box;
}
.entry-title,
.entry-list {
    flex: 0 0 50%;
    max-width: 50%;
    box-sizing: border-box;
}
.list.bach.no-entry {
    display: none;
}
.list.bach .no-list{
    text-align: center;
    padding-top: 3.125rem;
}
.list.bach .subtitle {
    font-size: 1.5rem;
    font-weight: 700;
}
.list.bach .entry_list_title {
    font-family: var(--font-notosan);
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 90%;
}
.list.bach .entry_list_summary {
  font-family: var(--font-notosan);
  font-size: 1rem;
  font-weight: 400;
  margin: 0;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 80%;
  width: 95%;
}
.list.bach .entry_link {
    display: block;
    padding: 1.6rem 0;
    border-top: 1px solid var(--color-text-entry);
    transition: all 0.3s;
}
.list.bach .entry_link:last-child {
    display: block;
    padding: 1.6rem 0;
    border-bottom: 1px solid var(--color-text-entry);
    transition: all 0.3s;
}
.list.bach  .caption {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}
.list.bach .entry_block {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.list.bach  .entry_block::after {
    content: "";
    background: url("../../k_fbook@kyobunkwan@site/images/bach/link-arrow.svg") no-repeat center center;
    background-size: cover;
    background-position: top center;
    display: inline-block;
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    width: 1.5rem;
    height: .5rem;
    z-index: 1;
}
.global_book_entry_list_container {
    top: 0;
    left: 0;
    width: 100%;
}
.content-wrapper {
    padding-bottom: 0!important;

}
.book-info {
    background: #D8D4C5;
    width: 100%;
    max-width: 62.5rem;
    margin: 6rem auto 13.75rem;
    display: flex;
    justify-content: center;
    padding: 4rem 10rem;
    box-sizing: border-box;
    gap: 3.5rem;
}
.book-info .book-image {
    width: 100%;
}
.book-info .right_info {
    width: 100%;
    max-width: 18.5rem;
    height: 100%;
    max-height: 18.5rem;
    display: block;
    text-align: center;

}

.book-info .left_info {
    width: 100%;
    display: grid;
    align-items: end;
}
.book-info .left_info .caption {
    margin: 0;
}
.book-info .left_info #book_title{
    margin-bottom: 1rem;
    line-height: 14px;
}
.book-info .left_info #book_price_tax #book_bace_price {
    margin-bottom: 1rem;
    line-height: 14px;
    font-weight: 400;
}
/* 購入サイトボタン */
.book_entry_button_block {
    gap: 1rem;
    display: inline-grid;
    max-width: 272px;
    width: 100%;
}
.product_button.contact {
    border: solid 1px var(--color-green-base);
    background-color: rgba(255, 255, 255, 0.25);
    color: var(--color-green-base);
    line-height: 64px;
    display: inline-block;
    font-size: 16px;
    font-family: var(--font-notosan);
    width: 100%;
    font-weight: 500;
}

.book_entry_button_block .book_entry_button:first-child {
    background-color: var(--color-green-base);
    border: none;
}
.book_entry_button_block .book_entry_button:first-child .site_buy_button_link {
    line-height: 64px;
    display: inline-flex;
    font-size: 16px;
    color: #fff;
    align-items: center;
    font-family: var(--font-notosan);
}
.book_entry_button_block .book_entry_button:first-child .site_buy_button_link svg {
    padding-left: 7px;
    padding-top: 7px;
    box-sizing: content-box;
}
/* 商品について問い合わせるボタン */
.book_entry_button_block .book_entry_button:last-child {
    border: solid 1px var(--color-green-base);
    background-color: rgba(255, 255, 255, 0.25);
}
.book_entry_button_block .book_entry_button:last-child .product_contact_link {
    color: var(--color-green-base);
    line-height: 64px;
    display: inline-block;
    font-size: 16px;
    font-family: var(--font-notosan);
}
.caption.bach-pc-hidden {
    display: block!important;
}
.caption.bach-sp-hidden {
    display: none!important;
}
@media (max-width:1099px) and (min-width:768px) {
    .bach-root.bach-detail .main-content {
        width: 90%;
    }
    .book-info .left_info #book_title {
        margin-bottom: 1rem;
        line-height: 1.5rem;
    }
    .book-info {
        padding: 4rem 4rem;
        /* display: flex; */
    }
    .book-info .left_info {
        width: calc( 50% - 128px);
        display: grid;
        align-items: end;
    }
    .book_entry_button_block .book_entry_button:first-child .site_buy_button_link,
    .book_entry_button_block .book_entry_button:last-child .product_contact_link {
        font-size: 14px;
    }
}
@media (max-width: 767.98px) {
    .entry-title,
    .entry-list {
        flex: 0 0 50%;
        max-width: 100%;
        box-sizing: border-box;
    }
      .list.bach .entry_list_title  {
        font-weight: 500;
        font-size:1rem;
        margin:0;
        -webkit-line-clamp: 1;
    }
    .entry-header-visual.bach.bach-header {
        margin: -3.5rem auto 2rem;
        right: -3rem;
    }
    .entry-header-visual.bach.bach-header .entry-header-visual-img {
        width: 353px;
        max-width: unset;
        position: relative;
        left: 0;
    }
    .bach-root.bach-detail.entry {
        margin: 0 auto 80px;
        width: 100%;
        max-width: calc(100% - 44px);
        position: relative;
        
    }
    .bach-detail.bach-root #page_base_title {
        padding-left: 0;
    }
    .list.bach .entry_list_title  {
        font-weight: 500;
        font-size: 18px;
        margin-top: 16px;
        margin-bottom: 16px;
    }
    .bach-root.bach-detail.entry #message {
        font-size: 1.75rem;
    }
    .bach-root.bach-detail.entry .message-lead {
        font-size: 1.5rem;
        margin-top: 6rem;
    }

    .bach-root.bach-detail.entry .caption1,
    .bach-root.bach-detail.entry .caption2,
    .bach-root.bach-detail.entry .caption3,
    .bach-root.bach-detail.entry .caption4,
    .bach-root.bach-detail.entry .caption5 {
        width: 100%;
    }
    .bach-root.bach-detail.entry .caption1 {
        margin: 5.5rem 0 5rem auto;
    }
    .bach-root.bach-detail.entry .caption2 {
        margin: 2rem auto 2rem;
        position: inherit;
    }
    .bach-root.bach-detail.entry .caption3,
    .bach-root.bach-detail.entry .caption4 {
        margin: -3rem auto 2rem;
        position: inherit;
    }
    .bach-root.bach-detail.entry .caption5 {
        margin: 0 0 2rem auto;
    }
    .bach-root.bach-detail.entry .caption1 {
        margin: 2rem 0 3rem auto;
    }

    .bach-root.bach-detail.entry .message-image1 {
        display: block;
        width: 100%;
        max-width: 331px;
    }
    .bach-root.bach-detail.entry .message-image2 {
        display: block;
        width: 100%;
        max-width: 331px;
        position: inherit;
        margin: 0 auto;
    }
    .bach-root.bach-detail.entry .message-image3 {
        width: 100%;
        max-width: 331px;
        position: inherit;
        margin: 0 auto;
        position: relative;
        left: -2rem;
    }
    .bach-root.bach-detail.entry .message-image4 {
        width: 100%;
        max-width: 200px;
        position: relative;
        top: -4.5rem;
        right: 0;
    }
    .bach-root.bach-detail.entry .message-image5 {
        width: 100%;
        max-width: 300px;
        position: inherit;
        margin: 0 auto 0 0;
        position: relative;
        top: 0;
        left: -2rem;
        right: 0;
    }
    .bach.not-editor-style {
        margin-bottom: 2rem;
    }
    .list.bach {
        width: 100%;
        display: block;
        padding: 1.4rem 1.4rem 5rem;
    }
    .list.bach .subtitle {
        font-size: 1.5rem;
        margin-bottom: 2.5rem;
        padding-top: 6rem;
        font-weight: 700;
    }
    .list.bach .entry_link {
        padding: 1.6rem 0;
    }
    .list.bach .entry_list_summary {
        font-family: var(--font-notosan);
        font-size: 1rem;
        font-weight: 400;
        margin: 0;
        width: 95%;
        white-space: inherit;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
    }
    .book-info {
        display: block;
        margin: 2.5rem auto;
        padding: 22px;
    }
    .book-info .book-image {
        max-width: 152px;
        width: 100%;
    }
    .book-info .right_info {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        gap: 1rem;
        max-width: unset;
    }
    #book_title {
        font-size: 0.875rem;
        margin-bottom: 1rem;
    }
    #book_price_tax {
        font-size:0.9375rem;
    }
    #book_bace_price {
        font-size: 0.75rem;
        font-weight: 400;
    }
    .right_info .caption.bach-sp-hidden {
        text-align: left;
        width: 50%;
    }
    .book_entry_button_block {
        max-width: unset;
    }
    .book-info .left_info {
        margin-top: 2rem;
    }
    .caption.bach-pc-hidden {
        display: none!important;
    }
    .caption.bach-sp-hidden {
        display: block!important;
    }
}

@media (max-width: 767.98px) {
  .list.bach .entry_list_title  {
        font-weight: 500;
        font-size:1rem;
        margin:0;
        -webkit-line-clamp: 1;
    }
}
/* detail */
.bach-detail {
    width: 100%;
    max-width: 52.5rem;
    margin: 0 auto;
    margin: 5.5rem auto 2rem;
}
.bach-detail .entry-header-title {
    font-weight: 500;
    font-size: 1.5rem;
    font-family: var(--font-notosan);
    margin-bottom: 2.5rem;
    padding: 0 0 20px;
    border-bottom: 1px solid var(--color-border-line);
    line-height: 18px;
}

.bach-detail .column-block-editor > p > span,
.bach-detail .column-block-editor table td p{
    font-weight: 400;
}
.bach-detail .column-media.column-media-center .columnImage {
    width: 100%;
}
.news-list-link {
    display: block;
    text-align: center;
    margin: 5rem auto 15rem;
}
.news-list-link a.category-link {
    font-family: var(--font-notosan);
    font-weight: 500;
    border-bottom: 1px solid var(--color-text-entry);
    font-size: 18px;
}

.bach-detail .column-media.column-media-center.align-center {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0 0 2.5rem;
}
.bach-detail .column-block-editor p {
    margin: 0 0 2.5rem;
}
.bach-detail .column-media.column-media-center a {
  display: block !important;
  width: 100% !important;
}
.bach-detail .column-media.column-media-center img.columnImage {
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
}
/* @media (max-width: 1099px) { */
@media (max-width: 767.98px) {
    .bach-detail{
        width: 100%;
        max-width: 90%;
        margin: 4.5rem auto 2rem;
    }
    .bach-detail .entry-blog-name {
        margin-bottom: 1rem;
    }
    .bach-detail .entry-header-title {
        font-size: 1.25rem;
        margin-bottom: 2rem;
        padding: 0 0 1.5rem;
        line-height: 1.6rem;
    }
    .bach-detail .entry-header-date {
        font-size: .875rem;
    }
    .bach-detail .column-block-editor tr {
        display: flex;
        flex-direction: column;
    }
    .bach-detail .entry-style table:not(:where([class~=not-editor-style], 
     [class~=not-editor-style] *)) tr td {
        border-top: 0;
    }
    .entry-style table:not(:where([class~=not-editor-style], 
    [class~=not-editor-style] *)) tr:last-child th {
        border-bottom: 0!important;
    }
    .entry-style table:not(:where([class~=not-editor-style], 
    [class~=not-editor-style] *)) tr th {
        padding:2rem 1rem 1rem;
    }
    .entry-style table:not(:where([class~=not-editor-style], 
    [class~=not-editor-style] *)) tr td {
        padding:1rem;
    }
    .news-list-link {
        margin: 3.5rem 0 5rem;
    }

    .bach-detail .column-media.column-media-center.align-center {
        margin: 0 0 2rem;
    }
    .bach-detail .column-block-editor p {
        margin: 0 0 2rem;
    }

}
