/*
Theme Name: yukodenki
*/
/*　グリッド　*/
body, html {
    margin: 0;
    padding: 0;
}
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
h4 {
    position: relative;
}
h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    transform: translateX(0%);
    width: 100%;
    /*height: 1px;　下線あり*/
    height: 0;
    background: linear-gradient(to right, #ff930d 0%, #ff930d 50%, #ccc 50%, #ccc 100%);
}
.shell {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.shell.reverse {
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: wrap;
}
.shell.nowrap-x {
    flex-wrap: nowrap;
}
.shell.left {
    justify-content: flex-start;
}
.shell.center, .shell.x-center {
    justify-content: center;
}
.shell.right {
    justify-content: flex-end;
}
.shell.fill, .shell.fill-x, .shell.split {
    justify-content: space-between;
}
.shell.equalize {
    justify-content: space-around;
}
.shell.top {
    align-items: flex-start;
}
.shell.middle, .shell.y-center {
    align-items: center;
}
.shell.baseline {
    align-items: baseline;
}
.shell.bottom {
    align-items: flex-end;
}
.shell > .grow-x {
    flex-grow: 1;
}
.stretch, .grow-y {
    align-self: stretch;
}
.solo, .full {
    width: 100%;
}
.duo, .half {
    width: 50%;
}
.trio, .one-third {
    width: calc(100% / 3);
}
.two-thirds {
    width: calc(100% / 3 * 2);
}
.quad, .quarter {
    width: 25%;
}
.three-quarters {
    width: 75%;
}
.penta, .twenty {
    width: 20%;
}
.thirty {
    width: 30%;
}
.forty {
    width: 40%;
}
.sixty {
    width: 60%;
}
.seventy {
    width: 70%;
}
.eighty {
    width: 80%;
}
.solo.gutter, .full.gutter {
    width: 98%;
    margin: 1em 1%;
}
.duo.gutter, .half.gutter {
    width: 48%;
    margin: 1em 1%;
}
.trio.gutter, .one-third.gutter {
    width: calc(94% / 3);
    margin: 1em 1%;
}
.two-thirds.gutter {
    width: calc(97% / 3 * 2);
    margin: 1em 1%;
}
.quad.gutter, .quarter.gutter {
    width: 23%;
    margin: 1em 1%;
}
.three-quarters.gutter {
    width: 73%;
    margin: 1em 1%;
}
.penta.gutter, .twenty.gutter {
    width: 18%;
    margin: 1em 1%;
}
.thirty.gutter {
    width: 28%;
    margin: 1em 1%;
}
.forty.gutter {
    width: 38%;
    margin: 1em 1%;
}
.sixty.gutter {
    width: 58%;
    margin: 1em 1%;
}
.seventy.gutter {
    width: 68%;
    margin: 1em 1%;
}
.eighty.gutter {
    width: 78%;
    margin: 1em 1%;
}
.centering {
    text-align: center;
}
.centering > * {
    margin-left: auto !important;
    margin-right: auto !important;
}
/* Universal Padding Class --- as you like */
.pd-around {
    padding: 1.5em 1.5em;
}
.pd-side {
    padding: 0 1.5em;
}
.pd-top-bottom {
    padding: 1.5em 0;
}
.pd-right {
    padding-right: 1.5em;
}
.pd-left {
    padding-left: 1.5em;
}
/* clearfix --- for use together with legacy float layout */
.clearfix:before, .clearfix:after {
    content: " ";
    display: table;
}
.clearfix:after {
    clear: both;
}
.clearfix {
    *zoom: 1;
}
.clear {
    clear: both;
    display: block;
    overflow: hidden;
    visibility: hidden;
    width: 0;
    height: 0;
}
/*** Media Query ***/
@media only screen and (max-width: 899px) {
    .shell.break900:not(.step) {
        flex-direction: column;
    }
    .shell.break900 > .solo, .shell.break900 > .full, .shell.break900 > .duo, .shell.break900 > .half, .shell.break900 > .trio, .shell.break900 > .one-third, .shell.break900 > .two-thirds, .shell.break900 > .quad, .shell.break900 > .quarter, .shell.break900 > .three-quarters, .shell.break900 > .penta, .shell.break900 > .twenty, .shell.break900 > .thirty, .shell.break900 > .forty, .shell.break900 > .sixty, .shell.break900 > .seventy, .shell.break900 > .eighty {
        width: 100%;
    }
    .shell.break900 > .solo.gutter, .shell.break900 > .full.gutter, .shell.break900 > .duo.gutter, .shell.break900 > .half.gutter, .shell.break900 > .trio.gutter, .shell.break900 > .one-third.gutter, .shell.break900 > .two-thirds.gutter, .shell.break900 > .quad.gutter, .shell.break900 > .quarter.gutter, .shell.break900 > .three-quarters.gutter, .shell.break900 > .penta.gutter, .shell.break900 > .twenty.gutter, .shell.break900 > .thirty.gutter, .shell.break900 > .forty.gutter, .shell.break900 > .sixty.gutter, .shell.break900 > .seventy.gutter, .shell.break900 > .eighty.gutter {
        width: 98%;
        margin: 1em 1%;
    }
    .shell.step {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .shell.step > .duo, .shell.step > .half, .shell.step > .trio, .shell.step > .one-third, .shell.step > .two-thirds, .shell.step > .quad, .shell.step > .quarter, .shell.step > .three-quarters, .shell.step > .penta, .shell.step > .twenty, .shell.step > .thirty, .shell.step > .forty, .shell.step > .sixty, .shell.step > .seventy, .shell.step > .eighty {
        width: 50%;
    }
    .shell.step > .duo.gutter, .shell.step > .half.gutter, .shell.step > .trio.gutter, .shell.step > .one-third.gutter, .shell.step > .two-thirds.gutter, .shell.step > .quad.gutter, .shell.step > .quarter.gutter, .shell.step > .three-quarters.gutter, .shell.step > .penta.gutter, .shell.step > .twenty.gutter, .shell.step > .thirty.gutter, .shell.step > .forty.gutter, .shell.step > .sixty.gutter, .shell.step > .seventy.gutter, .shell.step > .eighty.gutter {
        width: 48%;
        margin: 1em 1%;
    }
}
/* Mobile Single Column ( like 7-10 inch Tablet ) */
@media only screen and (max-width: 768px) {
    .container, .wide-container {
        padding: 0 0.3em;
    } /* as you like */
    .shell.break768:not(.step) {
        flex-direction: column;
    }
    .shell.break768 > .solo, .shell.break768 > .full, .shell.break768 > .duo, .shell.break768 > .half, .shell.break768 > .trio, .shell.break768 > .one-third, .shell.break768 > .two-thirds, .shell.break768 > .quad, .shell.break768 > .quarter, .shell.break768 > .three-quarters, .shell.break768 > .penta, .shell.break768 > .twenty, .shell.break768 > .thirty, .shell.break768 > .forty, .shell.break768 > .sixty, .shell.break768 > .seventy, .shell.break768 > .eighty {
        width: 100%;
    }
    .shell.break768 > .solo.gutter, .shell.break768 > .full.gutter, .shell.break768 > .duo.gutter, .shell.break768 > .half.gutter, .shell.break768 > .trio.gutter, .shell.break768 > .one-third.gutter, .shell.break768 > .two-thirds.gutter, .shell.break768 > .quad.gutter, .shell.break768 > .quarter.gutter, .shell.break768 > .three-quarters.gutter, .shell.break768 > .penta.gutter, .shell.break768 > .twenty.gutter, .shell.break768 > .thirty.gutter, .shell.break768 > .forty.gutter, .shell.break768 > .sixty.gutter, .shell.break768 > .seventy.gutter, .shell.break768 > .eighty.gutter {
        width: 98%;
        margin: 1em 1%;
    }
    .shell:not(.keep) > .solo, .shell:not(.keep) > .full, .shell:not(.keep) > .duo, .shell:not(.keep) > .half, .shell:not(.keep) > .trio, .shell:not(.keep) > .one-third, .shell:not(.keep) > .two-thirds, .shell:not(.keep) > .quad, .shell:not(.keep) > .quarter, .shell:not(.keep) > .three-quarters, .shell:not(.keep) > .penta, .shell:not(.keep) > .twenty, .shell:not(.keep) > .thirty, .shell:not(.keep) > .forty, .shell:not(.keep) > .sixty, .shell:not(.keep) > .seventy, .shell:not(.keep) > .eighty {
        width: 100%;
        margin: 0;
    }
    .shell:not(.keep) > .solo.gutter, .shell:not(.keep) > .full.gutter, .shell:not(.keep) > .duo.gutter, .shell:not(.keep) > .half.gutter, .shell:not(.keep) > .trio.gutter, .shell:not(.keep) > .one-third.gutter, .shell:not(.keep) > .two-thirds.gutter, .shell:not(.keep) > .quad.gutter, .shell:not(.keep) > .quarter.gutter, .shell:not(.keep) > .three-quarters.gutter, .shell:not(.keep) > .penta.gutter, .shell:not(.keep) > .twenty.gutter, .shell:not(.keep) > .thirty.gutter, .shell:not(.keep) > .forty.gutter, .shell:not(.keep) > .sixty.gutter, .shell:not(.keep) > .seventy.gutter, .shell:not(.keep) > .eighty.gutter {
        width: 98%;
        margin: 1em 1%;
    }
    .shell.step {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .shell.step > .duo, .shell.step > .half, .shell.step > .trio, .shell.step > .one-third, .shell.step > .two-thirds, .shell.step > .quad, .shell.step > .quarter, .shell.step > .three-quarters, .shell.step > .penta, .shell.step > .twenty, .shell.step > .thirty, .shell.step > .forty, .shell.step > .sixty, .shell.step > .seventy, .shell.step > .eighty {
        width: 50%;
    }
    .shell.step > .duo.gutter, .shell.step > .half.gutter, .shell.step > .trio.gutter, .shell.step > .one-third.gutter, .shell.step > .two-thirds.gutter, .shell.step > .quad.gutter, .shell.step > .quarter.gutter, .shell.step > .three-quarters.gutter, .shell.step > .penta.gutter, .shell.step > .twenty.gutter, .shell.step > .thirty.gutter, .shell.step > .forty.gutter, .shell.step > .sixty.gutter, .shell.step > .seventy.gutter, .shell.step > .eighty.gutter {
        width: 48%;
        margin: 1em 1%;
    }
    .shell.keep-half:not(.keep), .shell.keep-half:not(.keep) {
        flex-direction: row;
    }
    .shell.keep-half:not(.keep) > .solo, .shell.keep-half:not(.keep) > .full, .shell.keep-half:not(.keep) > .duo, .shell.keep-half:not(.keep) > .half, .shell.keep-half:not(.keep) > .trio, .shell.keep-half:not(.keep) > .one-third, .shell.keep-half:not(.keep) > .two-thirds, .shell.keep-half:not(.keep) > .quad, .shell.keep-half:not(.keep) > .quarter, .shell.keep-half:not(.keep) > .three-quarters, .shell.keep-half:not(.keep) > .penta, .shell.keep-half:not(.keep) > .twenty, .shell.keep-half:not(.keep) > .thirty, .shell.keep-half:not(.keep) > .forty, .shell.keep-half:not(.keep) > .sixty, .shell.keep-half:not(.keep) > .seventy, .shell.keep-half:not(.keep) > .eighty {
        width: 50%;
    }
    .shell.keep-half:not(.keep) > .solo.gutter, .shell.keep-half:not(.keep) > .full.gutter, .shell.keep-half:not(.keep) > .duo.gutter, .shell.keep-half:not(.keep) > .half.gutter, .shell.keep-half:not(.keep) > .trio.gutter, .shell.keep-half:not(.keep) > .one-third.gutter, .shell.keep-half:not(.keep) > .two-thirds.gutter, .shell.keep-half:not(.keep) > .quad.gutter, .shell.keep-half:not(.keep) > .quarter.gutter, .shell.keep-half:not(.keep) > .three-quarters.gutter, .shell.keep-half:not(.keep) > .penta.gutter, .shell.keep-half:not(.keep) > .twenty.gutter, .shell.keep-half:not(.keep) > .thirty.gutter, .shell.keep-half:not(.keep) > .forty.gutter, .shell.keep-half:not(.keep) > .sixty.gutter, .shell.keep-half:not(.keep) > .seventy.gutter, .shell.keep-half:not(.keep) > .eighty.gutter {
        width: 48%;
        margin: 1em 1%;
    }
    /* Universal padding class --- as you like */
    .pd-around {
        padding: 1.5em 1.5em;
    }
    .pd-side {
        padding: 0 1.5em;
    }
    .ttal {
        text-align: left !important;
    }
    .ttal:not(.pd-side) {
        padding: 0 1.5em;
    }
    .pd-around .ttal:not(.pd-side), .pd-side .ttal:not(.pd-side) {
        padding: 0;
    }
}
/* Traditional SmartPhone Portrait Size */
@media only screen and (max-width: 479px) {
    .shell:not(.keep), .shell.step:not(.keep) {
        flex-direction: column;
    }
    .shell.step:not(.keep) > .solo, .shell.step:not(.keep) > .full, .shell.step:not(.keep) > .duo, .shell.step:not(.keep) > .half, .shell.step:not(.keep) > .trio, .shell.step:not(.keep) > .one-third, .shell.step:not(.keep) > .two-thirds, .shell.step:not(.keep) > .quad, .shell.step:not(.keep) > .quarter, .shell.step:not(.keep) > .three-quarters, .shell.step:not(.keep) > .penta, .shell.step:not(.keep) > .twenty, .shell.step:not(.keep) > .thirty, .shell.step:not(.keep) > .forty, .shell.step:not(.keep) > .sixty, .shell.step:not(.keep) > .seventy, .shell.step:not(.keep) > .eighty {
        width: 100%;
        margin: 0;
    }
    .shell.step:not(.keep) > .solo.gutter, .shell.step:not(.keep) > .full.gutter, .shell.step:not(.keep) > .duo.gutter, .shell.step:not(.keep) > .half.gutter, .shell.step:not(.keep) > .trio.gutter, .shell.step:not(.keep) > .one-third.gutter, .shell.step:not(.keep) > .two-thirds.gutter, .shell.step:not(.keep) > .quad.gutter, .shell.step:not(.keep) > .quarter.gutter, .shell.step:not(.keep) > .three-quarters.gutter, .shell.step:not(.keep) > .penta.gutter, .shell.step:not(.keep) > .twenty.gutter, .shell.step:not(.keep) > .thirty.gutter, .shell.step:not(.keep) > .forty.gutter, .shell.step:not(.keep) > .sixty.gutter, .shell.step:not(.keep) > .seventy.gutter, .shell.step:not(.keep) > .eighty.gutter {
        width: 98%;
        margin: 1em 1%;
    }
    /* Single Column --- Universal margin-bottom class */
    .shell.automa > , .shell.automa > .gutter {
        margin-bottom: 1.5em !important;
    }
    /* Universal padding class --- as you like */
    .pd-around {
        padding: 6% 3%;
    }
    .pd-side, .pd-right, .pd-left {
        padding: 0 3%;
    }
    .stal {
        text-align: left !important;
    }
    .stal:not(.pd-side) {
        padding: 0 3%;
    }
    .pd-around .stal:not(.pd-side), .pd-side .stal:not(.pd-side) {
        padding: 0;
    }
}
/*　ウェジェット　*/
.sidebar-wrapper {
    margin-bottom: 2rem;
}
.sidebar-title {
    display: inline-block;
    color: #333;
    font-size: 1.1rem;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 20px;
    width: 100%;
    max-width: 500px;
    text-align: left;
}
/*　罫線　*/
.content hr {
    border-top: 1px solid #ccc;
    border-bottom-style: none;
    margin-block-start: 0;
    margin-block-end: 0;
}
/*　一覧レイアウト　*/
.list dt {
    float: left;
}
.list dd {
    padding-left: 10em;
}
@media screen and (max-width: 480px) {
    .list dt {
        /*float: none;*/
    }
    .list dd {
        padding-left: 7.5em;
    }
}
.quarter.gutter ul li {
    list-style-type: none;
}
.main-nav ul li a {
    line-height: 125px;
}
/* Aパターン */
.content h2 {
    font-size: 2.6em;
    text-align: center;
    margin-bottom: 2em;
    line-height: 1.5em;
}
.content img {
    width: 100%;
    max-width: 100%;
    height: auto;
}
/* Cパターン */
.index_wp ul li {
    display: block;
    justify-content: start;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    margin-right: 20px;
    border-bottom: 0px dotted #CCCCCC;
}
/*.infobox {
    padding: 3em;
    background-color: #fff;
    box-shadow: 0px 0px 5px #bbb;
    width: 80%;
    margin: 0 auto;
}
@media screen and (max-width: 480px) {
.infobox {
    width: 100%;
}
}*/
/* 1カラムここから */
/* 共通 */
.changeCard ul {
    padding: 0;
    list-style: none;
    border: none;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0;
    margin-top: 20px;
}
.changeItemTxt {
    width: 62%;
}
.changeItemTxt p.itemTitle {
    font-size: 1.1rem;
    line-height: 1.56;
    margin: 0;
    font-weight: bold;
    color: #313131;
    margin-bottom: 10px;
}
.changeItemTxt ul.itemTag {
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.changeItemTxt ul.itemTag li {
    background: #f1f1f1;
    color: #707070;
    font-size: 0.7rem;
    padding: 2px 10px;
    position: relative;
}
.changeItemTxt ul.itemTag li:before {
    padding-right: 3px;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 1em;
    content: "\f02b";
    vertical-align: baseline;
    color: #aaa;
}
p.itemCat {
    position: absolute;
    left: 22px;
    top: 22px;
    background: #747675; /* 色替え */
    color: #FFF;
    border-radius: 9999px;
    font-size: 0.7rem;
    display: inline-block;
    padding: 1px 12px 0px;
    z-index: 2;
}
/* 共通ここまで */
/* List */
li.changeItem.defaultList {
    width: 100%;
    padding: 0;
}
li.changeItem.defaultList a {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    border-radius: 2px;
    background: #fff;
    cursor: pointer;
    transition: 0.2s ease-in-out;
    padding: 15px;
    position: relative;
    align-items: center;
    text-decoration: none;
    border-top: solid 1px #eee;
    padding-right: 10px;
    cursor: pointer;
}
li.changeItem.defaultList:last-child a {
    border-bottom: solid 1px #EEE;
}
li.changeItem.defaultList a:hover {
    background: #fafafa;
}
li.changeItem.defaultList a img {
    width: 35%;
    margin-right: 3%;
}
@media screen and (max-width: 767px) {
    /* （ここにモバイル用スタイルを記述） */
    li.changeItem.defaultList a {
        flex-direction: column;
    }
    li.changeItem.defaultList a img {
        width: 100%;
        margin: 0 0 15px;
    }
    li.changeItem.defaultList a .changeItemTxt {
        width: 100%;
    }
}
/* 1カラムここまで */
.det-box h2 {
    margin-bottom: 10px;
}
/*.list-nav {
    display: flex;
    gap: 10px;
    list-style: none;
}
.list-nav li a {
    text-decoration: none;
    color: #000;
    padding: 5px 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
.list-nav li a.active {
    background-color: #000;
    color: #fff;
}
.list-box div {
    margin-bottom: 20px;
}
.list-box h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
}*/
.wp-block-image {
    margin-bottom: 40px;
}
/* 検索フォーム全体 */
#searchform {
    width: 100%;
}
#searchform div {
    position: relative;
}
/* テキスト入力欄 */
#searchform #s {
    width: 100%;
    padding: 10px 40px 10px 12px; /* 右にボタンのスペース */
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}
/* 送信ボタンを見えなくする（非表示ではなく透明） */
#searchform #searchsubmit {
    position: absolute;
    right: 0;
    top: 0;
    width: 40px; /* クリックエリア */
    height: 100%;
    opacity: 0; /* 非表示だがクリック可能 */
    cursor: pointer;
    border: none;
    background: none;
    z-index: 2; /* アイコンより上 */
}
/* 虫眼鏡アイコン（見た目） */
#searchform div::after {
    content: "\f002";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #666;
    pointer-events: none; /* アイコン自体はクリックさせない */
    z-index: 1;
}
.map-wrap {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
}
.map-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
/*ContactForm7カスタマイズ*/
table.CF7_table {
    width: 100%;
    margin: 0 auto;
    border: 3px solid #e5e5e5;
}
table.CF7_table tr {
    border-top: 1px solid #e5e5e5;
}
.single .entry-content table.CF7_table, .page .entry-content table.CF7_table {
    display: table;
}
/*入力欄*/
.CF7_table input, .CF7_table textarea {
    border: 1px solid #d8d8d8;
    padding: 10px;
    vertical-align: middle;
    width: 90%;
}
.CF7_table ::placeholder {
    color: #797979;
}
.CF7_table select {
    border: 1px solid #d8d8d8;
    padding: 10px;
    vertical-align: middle;
}
/*「必須」文字*/
.CF7_req {
    font-size: .9em;
    padding: 5px;
    background: #f79034; /*オレンジ*/
    color: #fff;
    border-radius: 3px;
    margin-right: 1em;
}
/*「任意」文字*/
.CF7_unreq {
    font-size: .9em;
    padding: 5px;
    background: #bdbdbd; /*グレー*/
    color: #fff;
    border-radius: 3px;
    margin-right: 1em;
}
/* タイトル列 */
@media screen and (min-width: 768px) {
    .CF7_table th {
        width: 30%; /*横幅*/
        background-color: #f3f3f3;
        text-align: left;
        padding: 10px;
        vertical-align: middle;
    }
    .CF7_table td {
        vertical-align: middle;
    }
}
/* レスポンシブ */
@media screen and (max-width: 768px) {
    table.CF7_table {
        width: 95%;
    }
    .CF7_table tr, .CF7_table td, .CF7_table th {
        display: block;
        width: 100%;
        line-height: 2.5em;
    }
    .CF7_table th {
        background-color: #ebedf5;
    }
}
/* 「送信する」ボタン */
.wpcf7 input.wpcf7-submit {
    background-color: #f79034;
    border: 0;
    color: #fff;
    font-size: 1em;
    font-weight: bold;
    margin: 0 auto;
    padding: 15px 25px;
}
.CF7_btn {
    text-align: center;
    margin-top: 20px;
}
.wpcf7-spinner {
    width: 0;
    margin: 0;
}
.case-nav a {
    transition: all .3s ease;
}
.case-nav a.active {
    background: #222;
    color: #fff;
    transform: translateY(-2px);
}
.f-wrap-ad {
    background: #fff;
    padding: 0;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 60px;
    /*transition: transform .3s ease;*/
}
/*.f-wrap-ad:hover {
    transform: translateY(-6px);
}*/
.ttl-closeup {
    margin-bottom: 50px;
}
.before h5, .after h5 {
    font-size: 14px;
    letter-spacing: .1em;
    margin-bottom: 10px;
    color: #888;
}
.swiper-slide img {
    width: 100%;
    border-radius: 10px;
}
.card-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(4, 1fr);
    /*padding: 20px;*/
}
.card-grid2 {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, 1fr);
    /*padding: 20px;*/
}
@media (max-width: 768px) {
    .card-grid, .card-grid2 {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .card-grid, .card-grid2 {
        grid-template-columns: repeat(1, 1fr);
    }
}
/* 画像を正方形にトリミング */
.card-grid .thumb, .card-grid2 .thumb {
    width: 100%;
    aspect-ratio: 1 / 1; /* 正方形 */
    overflow: hidden;
}
.card-grid .thumb img, .card-grid2 .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* トリミング */
    display: block;
    transition: transform .6s ease;
}
.card-grid .thumb:hover img, .card-grid2 .thumb:hover img {
    transform: scale(1.1); /* 拡大 */
}
/* 見出しなど */
.card-grid h3, .card-grid2 h3 {
    font-size: 1em;
    color: #333;
    /*margin-top: 5px;*/
}
.card-grid h3:after, .card-grid2 h3:after {
    width: 0;
    height: 0;
}
.card-grid a, .card-grid2 a {
    display: block;
    text-decoration: none;
}
.card-grid li, .card-grid2 li {
    position: relative;
    padding: 0 10px;
}
.card-grid .date-badge, .card-grid2 .date-badge {
    position: absolute;
    top: 0;
    right: 10px;
    background: #338aa9;
    color: #fff;
    font-size: 12px;
    padding: 3px 10px;
    z-index: 9999;
}
.contNews ul li a {
    display: block;
    padding: 10px 1em;
    text-decoration: none;
    color: inherit;
    width: 100%;
    transition: background-color 0.8s ease;
}
.contNews ul li:hover a {
    background: #f2f2f2;
}
.slide-items .thumb {
    width: 100%;
    aspect-ratio: 1 / 1; /* 正方形 */
    overflow: hidden;
}
.slide-items .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 中央トリミング */
    display: block;
}
.swiper-slide {
    box-sizing: border-box;
    padding: 0;
}
.swiper-pagination-bullet-active {
    opacity: var(--swiper-pagination-bullet-opacity, 1);
    background: #c98a3d, #c98a3d;
}
/* ページネーション全体のコンテナ */
.page-nav {
    margin: 50px 0;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 8px; /* 数字同士の間隔 */
}
/* 数字と矢印の共通スタイル */
.page-nav a, .page-nav span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    color: #333;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px; /* 少し角丸（丸くしたいなら 50%） */
    transition: all 0.3s ease;
}
/* ホバーした時 */
.page-nav a:hover {
    background-color: #f8f8f8;
    border-color: #999;
    color: #000;
}
/* 現在のページの数字 */
.page-nav .current {
    background-color: #333; /* サイトのメインカラーに合わせて変更してください */
    border-color: #333;
    color: #fff;
}
/* 「…」の部分 */
.page-nav .dots {
    border: none;
    background: transparent;
}
/* モバイル対応：少し小さくする */
@media (max-width: 480px) {
    .page-nav a, .page-nav span {
        width: 50px;
        height: 50px;
        font-size: 13px;
    }
}
/* 親要素に基準を作る */
.f-wrap-ad {
    position: relative;
    /*padding-bottom: 50px;*/ /* パジネーションを表示するスペースを下に確保 */
    display: flex;
    flex-wrap: wrap;
}
/* BeforeとAfterのスライダー */
.f-item1-2-w {
    width: 50%; /* 隙間を作るために少し狭める */
}
/* パジネーションを絶対配置で真ん中に持ってくる */
.f-wrap-ad .swiper-pagination {
    position: absolute;
    bottom: 10px; /* 下からの距離 */
    left: 0;
    right: 0;
    margin: 0 auto; /* 左右中央揃え */
    width: 100%; /* 親要素の幅いっぱいに広げて中央計算 */
    text-align: center;
    z-index: 10;
}
/* 丸いポチ（ドット）のデザイン微調整 */
.f-wrap-ad .swiper-pagination-bullet {
    background: #333; /* サイトの色に合わせて変更してください */
    opacity: 0.5;
    margin: 0 5px !important;
}
.f-wrap-ad .swiper-pagination-bullet-active {
    opacity: 1;
    background: #ff930d;
}
.side li {
    display: flex;
    /* align-items: center; ←これを削除または上書き */
    align-items: flex-start; /* 上揃えに変更 */
    gap: 0 10px;
    padding: .3em;
}
.side li::before {
    transform: rotate(-45deg);
    width: .4em;
    height: .4em;
    border-bottom: 3px solid #338aa9;
    border-right: 3px solid #338aa9;
    content: '';
    margin-right: 5px;
    /* 追加：1行目の文字の高さに合わせるための調整 */
    margin-top: 0.5em; /* フォントサイズに合わせて 0.4em 〜 0.6em 程度で微調整してください */
    flex-shrink: 0; /* 矢印が潰れないように固定 */
}
/* No Image プレースホルダーのスタイル */
.no-img-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3; /* 画像のサイズに合わせて 3/2 や 16/9 に調整してください */
    background-color: #eeeeee;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999999;
    font-size: 20px;
    font-weight: bold;
    border: 1px dashed #cccccc;
    box-sizing: border-box;
    border-radius: 10px;
}
.no-img-placeholder span {
    position: relative;
}
/* スライダー内の画像を縦横いっぱいに広げる設定（崩れ防止） */
.swiper-slide img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3; /* プレースホルダーと合わせる */
    object-fit: cover;
    display: block;
}
.time {
    font-size: 0.8em;
}