@charset "UTF-8";

/* ==================================================
   File Name : custom.css
   Description : 追加・上書き用CSS
   Last Update : 2026-02-12
================================================== */

/* ===== 事例アーカイブの各県リストaタグに置き換え ===== */
.prefecture-list__item a ,
.prefecture-list__item a:visited {
    color: #555;
    padding-block: .2222222222em;
    display: block;
    width: 100%;
    cursor: pointer;
}

.prefecture-list__item a:hover {
    text-decoration: none;
}
/* ===== 事例アーカイブの各県リストaタグに置き換えここまで ===== */

/* ===== 事例個別に料金表コンテンツを追加 ===== */
.price_template_Block {
    padding: 0 0 60px;
    margin-top: 60px;
    padding-bottom: 0; 
}

.price_template_Block .bg-blue__inner {
    padding-top: 20px;
}

.price_template_Block .bg-blue__inner h2:not(.reset) {
    z-index: 1;
    position: relative;
    margin: 30px 0 .8571428571em;
    padding-bottom: .7142857143em;
    color: #1d69a4;
    font-size: 2.1875em;
    font-weight: 700;
    text-align: center;
}
.price_template_Block .bg-blue__inner h2:not(.reset)::after {
    -webkit-transform: translateX(-50%);
    z-index: 1;
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 2.2em;
    transform: translateX(-50%);
    border-bottom: 3px dotted #1d69a4;
    content: "";
}
/* ===== 事例個別に料金表コンテンツを追加ここまで ===== */

/* ===== 事例個別に市区町村エリアを追加 ===== */
.area_template_Block {
    padding: 60px 0 80px;
    margin-top: 0;
}
.area_template_Block .bg-stripe h2:not(.reset).-sub {
    margin-bottom: 0;
    padding-bottom: 0;
    font-size: 2.5em;
    text-align: center;
}

.area_template_Block .bg-stripe .popup__body {
    overflow-y: auto;
}

/* ===== 事例個別に市区町村エリアを追加ここまで ===== */

/* ===== 事例に日付を追加 ===== */
.single-achievements .time_wrap {
    display: flex;
    width: 1100px;
    max-width: 100%; 
    margin: 0 auto;
    justify-content: flex-end;
    padding-right: 6px;
}
.single-achievements .time_wrap .acvmntDate {
    background: #ffea80;
    padding: 3px 6px;
    font-weight: 600;
    box-sizing: border-box;
    text-align: right;
}
.home .acvmntDate ,
.page .acvmntDate ,
.post-type-archive-achievements .acvmntDate ,
.tax-achievements-area .acvmntDate ,
.tax-achievements-layout .acvmntDate {
    display: inline-block;
    background: #ffea80;
    padding: 3px 6px;
    margin-bottom: 3px;
    font-weight: 600;
    box-sizing: border-box;
}
/* ===== 事例に日付を追加ここまで ===== */

@media only screen and (max-width: 480px) {
/* ===== 事例個別に料金表コンテンツを追加 ===== */
.price_template_Block .bg-blue__inner h2:not(.reset) {
    font-size: 1.8em;
}
/* ===== 事例個別に市区町村エリアを追加 ===== */
.area_template_Block .bg-stripe h2:not(.reset).-sub {
    font-size: 1.7em;
}
}

/* ===== 事例個別タイトルh1→divに ===== */
.single-achievements div.entry-title {
    padding: .5em 1em;
    font-size: 2.5em;
    font-weight: 700;
}
.single-achievements div.entry-title span{
    display: block;
    font-size: 80%;
    margin-top: 3px;
}

@media screen and (max-width: 480px) {
    /* ===== 事例個別タイトルh1→divに ===== */
    .single-achievements div.entry-title {
        font-size: 1.6em;
    }
}

/* ===== 事例個別タイトルh2→h1に ===== */
.single-achievements .section h1:not(.reset) {
    z-index: 1;
    position: relative;
    margin: 2.8571428571em 0 .8571428571em;
    padding-bottom: .7142857143em;
    color: #1d69a4;
    font-size: 2.1875em;
    font-weight: 700;
    text-align: center;
}

@media screen and (max-width: 480px) {
    /* ===== 事例個別タイトルh2→h1に ===== */
    .single-achievements .section h1:not(.reset) {
        font-size: 1.8em;
    }
}