/* たて向きテーブル */
#content {
    .post table {
        border: none;
    }

    .wp-table-tate {
        width: 100%;
        border-collapse: separate;
        border-spacing: 0;
        margin-bottom: 15px;
        table-layout: fixed;
    }

    .wp-table-tate th {
        background-color: #eee;
    }

    .wp-table-tate td {
        background-color: #fff;
    }

    .wp-table-tate td {
        text-align: center;
    }

    .wp-table-tate th,
    .wp-table-tate td {
        padding: 7px;
        border: 1px solid #ddd;
    }

    .wp-table-tate tr:first-child th {
        border-radius: 6px 0 0 0;
    }

    .wp-table-tate tr:first-child td {
        border-radius: 0 6px 0 0;
    }

    .wp-table-tate tr:last-child th {
        border-radius: 0 0 0 6px;
    }

    .wp-table-tate tr:last-child td {
        border-radius: 0 0 6px 0;
    }

    .box17 {
        margin: 2em 0;
        position: relative;
        padding: 0.5em 1.5em;
        border-top: solid 2px black;
        border-bottom: solid 2px black;
    }

    .box17:before,
    .box17:after {
        content: '';
        position: absolute;
        top: -10px;
        width: 2px;
        height: -webkit-calc(100% + 20px);
        height: calc(100% + 20px);
        background-color: black;
    }

    .box17:before {
        left: 10px;
    }

    .box17:after {
        right: 10px;
    }

    .box17 p {
        margin: 0;
        padding: 0;
    }

    /*——————–
 吹き出しを作る
——————–*/
    /* 全体のスタイル */
    .kaiwa {
        margin-bottom: 25px;
    }

    /* 左画像 */
    .kaiwa-img-left {
        margin: 0;
        float: left;
        width: 60px;
        height: 60px;
        margin-right: -70px;
    }

    /* 右画像 */
    .kaiwa-img-right {
        margin: 0;
        float: right;
        width: 60px;
        height: 60px;
        margin-left: -70px;
    }

    .kaiwa figure img {
        width: 100%;
        height: 100%;
        border: 1px solid #aaa;
        border-radius: 50%;
        margin: 0;
    }

    /* 画像の下のテキスト */
    .kaiwa-img-description {
        padding: 5px 0 0;
        font-size: 8px;
        text-align: center;
        position: relative;
        bottom: 15px;
    }

    /* 左からの吹き出しテキスト */
    .kaiwa-text-right {
        position: relative;
        margin-left: 80px;
        padding: 10px;
        border-radius: 10px;
        background: #e0edff;
        margin-right: 12%;
        float: left;
    }

    /* 右からの吹き出しテキスト */
    .kaiwa-text-left {
        position: relative;
        margin-right: 80px;
        padding: 10px;
        border-radius: 10px;
        background-color: #9cd6e7;
        margin-left: 12%;
        float: right;
    }

    p.kaiwa-text {
        margin: 0 0 20px;
    }

    p.kaiwa-text:last-child {
        margin-bottom: 0;
    }

    /* 左の三角形を作る */
    .kaiwa-text-right:before {
        position: absolute;
        content: '';
        border: 10px solid transparent;
        top: 15px;
        left: -20px;
    }

    .kaiwa-text-right:after {
        position: absolute;
        content: '';
        border: 10px solid transparent;
        border-right: 10px solid #e0edff;
        top: 15px;
        left: -19px;
    }

    /* 右の三角形を作る */
    .kaiwa-text-left:before {
        position: absolute;
        content: '';
        border: 10px solid transparent;
        top: 15px;
        right: -20px;
    }

    .kaiwa-text-left:after {
        position: absolute;
        content: '';
        border: 10px solid transparent;
        border-left: 10px solid #9cd6e7;
        top: 15px;
        right: -19px;
    }

    /* 回り込み解除 */
    .kaiwa:after,
    .kaiwa:before {
        clear: both;
        content: "";
        display: block;
    }


    /*ブログカード*/
    .blogCard {
        border: 1px solid #ddd;
        border-radius: 3px;
        padding: 12px;
        margin-bottom: 1.6rem;
    }

    .blogCardCont {
        position: relative;
        margin-bottom: 5px;
        min-height: 100px;
    }

    .blogCardCont p {
        font-size: 12px;
        overflow: hidden;
        margin: 0;
    }

    .blogCardTxt {
        margin-right: 110px;
    }

    .blogCardTxt p {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }

    .blogCardTitle {
        margin-bottom: 5px;
        overflow: hidden;
        -webkit-line-clamp: 2 !important;
    }

    .blogCardTitle a {
        font-size: 17px;
        line-height: 1.4;
        color: #3d3f44;
        font-weight: bold;
        text-decoration: none;
    }

    .blogCardTitle a:hover {
        text-decoration: underline;
    }

    .blogCardImg {
        position: absolute;
        top: 0;
        right: 0;
    }

    .blogCardImg__wrap {
        float: right;
        width: 15%;
        min-width: 100px;
        height: 100px;
        overflow: hidden;
        position: relative;
    }

    .blogCardImg__wrap img {
        position: absolute;
        top: 50%;
        left: 50%;
        max-width: none;
        max-height: 100%;
        transform: translateY(-50%) translateX(-50%);
        -webkit-transform: translateY(-50%) translateX(-50%);
    }

    .blogCardFooter {
        font-size: 12px;
    }

    .blogCardFooter a {
        color: #9aa5ab;
    }

    .blogCardFooter a img {
        margin-right: 5px;
    }

    .blogCardTitle a i,
    .blog article .blogCardFooter a i {
        display: none;
    }

    .blogCard.blogCard--noimg .blogCardCont {
        min-height: auto;
    }

    blogCard.blogCard--noimg .blogCardTxt {
        margin-right: 0;
    }

    span.wpcf7-list-item {
        display: block;
    }

    h4 {
        color: #333;
        font-size: 16px;
        font-size: 1.25rem;
        font-weight: 800;
    }

    /*.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}*/

    b,
    strong,
    .strong {
        font-weight: bold !important;
    }

    /*2カラム*/
    .grid-column-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(460px, 1fr));
        gap: 10px
    }

    .grid-column-container .column {
        box-sizing: border-box;
        border: 0px solid #ccc;
        /* 枠線 */
        padding: 10px;
        text-align: left;
    }

    .grid-column-container .column2 {
        box-sizing: border-box;
        border: 1px solid #ccc;
        /* 枠線 */
        padding: 10px;
        text-align: left;
        background-color: #f9f9f9;
    }

    ::placeholder {
        color: #999;
    }

    .force-opaque::placeholder {
        opacity: 1;
    }


    /*  テーブルCSS */
    .comparison-table {
        border-collapse: collapse;
        width: 100%;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 10px;
        border: 1px solid #ddd;
        text-align: center;
    }

    .comparison-table th {
        background-color: #f0f0f0;
        font-weight: bold;
    }

    .comparison-table tbody tr:nth-child(even) {
        background-color: #f9f9f9;
    }

    .post-content table {
        border-collapse: collapse;
        width: 100%;
    }

    /* Googleスライド埋め込み用のカスタムラッパー */
    .google-slides-responsive-container {
        position: relative;
        width: 100%;
        /* 元のスライドのアスペクト比に合わせてpadding-bottomを計算 */
        /* もし元のスライドが 960px x 629px で作成されている場合: (629 / 960) * 100 = 65.52% */
        /* もし埋め込みのwidth=1440px, height=929pxを使用したい場合: (929 / 1440) * 100 = 64.51% */
        padding-bottom: 64.51%;
        /* 正しいアスペクト比で調整してください */
        height: 0;
        overflow: hidden;
        margin: 1.5em auto;
        /* 必要に応じて調整。元のpタグのmarginを考慮 */
        max-width: 1440px;
        /* 必要であれば最大幅を設定 */
        box-sizing: border-box;
        /* 確実なボックスモデル */
    }

    .google-slides-responsive-container iframe {
        position: absolute !important;
        /* 強制的に絶対配置 */
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        /* 強制的に親コンテナの100%に */
        height: 100% !important;
        /* 強制的に親コンテナの100%に */
        border: 0 !important;
        /* borderをなくす */
        max-width: none !important;
        /* 親要素のmax-widthを無視 */
        transform: none !important;
        /* 拡大縮小をリセット */
        -webkit-transform: none !important;
        /* Webkit対応 */
        -moz-transform: none !important;
        /* Firefox対応 */
        zoom: 1 !important;
        /* IE/Edgeのzoomプロパティ対策 */
        box-sizing: border-box !important;
    }

    /* pタグのiframeに対するデフォルトのmargin-bottomリセットを維持しつつ、
   上記ラッパーを使用しないpタグ内のiframeへの影響を考慮 */
    p > iframe {
        margin-bottom: 0 !important;
        /* 他のpタグのスタイル干渉を防ぐ */
    }
}
