/* =========================================================================
   1. 共通設定・変数
========================================================================= */
:root {
    --mainFonts: "Noto Sans JP";
    --subFonts: "Roboto";
    --mainBlack: #414a52;
    --primaryColor: #12254D;
    --accentRed: #E94743;
    --accentGreen: #5EB676;
    --accentYellow: #FEDE58;
    --accentOrange: #eb6334;
    --bgLight: #f8f9fa;
    --bgWhite: #ffffff;
    --borderColor: #ccc;
    --z-floating: 100;
}

html {
    font-size: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--subFonts), sans-serif;
    margin: 0;
    color: var(--mainBlack);
    background-color: var(--bgLight);
}

nav a {
    text-decoration: none;
    color: inherit;
}

/* =========================================================================
   2. レイアウト・コンテナ
========================================================================= */
.container-1200 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

/* ページトップボタン */
.page-top {
    position: fixed;
    inset-block-end: 60px;
    inset-inline-end: 20px;
    z-index: var(--z-floating);
    display: inline flow-root;
    visibility: hidden;
    max-inline-size: 70px;
    aspect-ratio: 1;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

@media (1200px <= width) {
    .page-top {
        inset-block-end: 60px;
        inset-inline-end: 30px;
    }
}

.page-top.is-show {
    visibility: visible;
    opacity: 1;
}

.page-top img {
    inline-size: 100%;
}

/* =========================================================================
   3. ヘッダー - PC版 (1200px以上)
========================================================================= */
@media screen and (min-width: 1200px) {
    .wrapper {
        width: 1200px;
        margin: 0 auto;
    }

    header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100px;
        z-index: 100;
        background: #fff;
        border-bottom: 1px solid #eee;
    }

    header .wrapper {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    body {
        padding-top: 100px;
    }

    .logo_area img {
        width: 180px;
        height: auto;
    }

    h1.logo_area {
        margin: 0;
    }

    /* ヘッダー検索窓 */
    .header-search-box {
        flex: 1;
        max-width: 350px;
        margin: 0 60px 0 -50px;
    }

    .header-search-form {
        display: flex;
        align-items: center;
        background: #f5f5f5;
        border-radius: 25px;
        padding: 0px 15px;
        transition: all 0.3s;
    }

    .header-search-form:focus-within {
        background: #fff;
        box-shadow: 0 0 0 2px var(--primaryColor);
    }

    .header-search-form input {
        flex: 1;
        border: none;
        background: transparent;
        outline: none;
        font-size: 15px;
        padding: 5px 10px;
        height: 40px;
    }

    .header-search-form input::placeholder {
        color: #949494;
    }

    .header-search-form button {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 45px;
        height: 40px;
        border: none;
        background-color: transparent;
        cursor: pointer;
        flex-shrink: 0;
    }

    .header-search-form button::after {
        width: 18px;
        height: 18px;
        background-image: url('data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%20%3Cpath%20d%3D%22M23.7%2020.8%2019%2016.1c-.2-.2-.5-.3-.8-.3h-.8c1.3-1.7%202-3.7%202-6C19.5%204.4%2015.1%200%209.7%200S0%204.4%200%209.7s4.4%209.7%209.7%209.7c2.3%200%204.3-.8%206-2v.8c0%20.3.1.6.3.8l4.7%204.7c.4.4%201.2.4%201.6%200l1.3-1.3c.5-.5.5-1.2.1-1.6zm-14-5.1c-3.3%200-6-2.7-6-6s2.7-6%206-6%206%202.7%206%206-2.6%206-6%206z%22%20fill%3D%22%23949494%22%3E%3C%2Fpath%3E%20%3C%2Fsvg%3E');
        background-repeat: no-repeat;
        content: '';
    }

    /* ナビゲーション */
    nav ul {
        display: flex;
        align-items: center;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    nav ul li {
        border-left: 1px solid var(--mainBlack);
        height: 20px;
        font-size: 15px;
        line-height: 1.8;
    }

    .nav_item {
        position: relative;
        margin: 30px 40px 0;
        color: var(--mainBlack);
        padding-top: 6px 0;
        z-index: 1;
    }

    .nav_item:after {
        background: var(--primaryColor);
        width: 0;
        height: 3px;
        position: absolute;
        content: "";
        display: block;
        bottom: -3px;
        left: 0;
        z-index: -1;
        transition: 0.3s;
    }

    .nav_item:hover:after {
        width: 100%;
    }

    /* モバイルメニューを非表示 */
    .mobile-menu-overlay {
        display: none !important;
    }

    /* トップページ検索窓 */
    #main_content.hero-bg {
        background: var(--primaryColor) center/cover no-repeat url(../img/main_img00.png);
        width: 100%;
        margin: 0 auto;
        display: grid;
        grid-template-rows: 1fr auto auto 1fr;
        justify-items: center;
        row-gap: 50px;
        text-align: center;
        min-height: clamp(260px, 35vw, 420px);
        padding: 0;
        position: relative;
    }

    #main_content.hero-bg::before {
        content: none;
    }

    #main_content.hero-bg .hero-title {
        grid-row: 2;
        margin: 0;
        color: #fff;
        line-height: 1.2;
        font-weight: 600;
        font-size: clamp(24px, 5.2vw, 55px);
        position: relative;
        z-index: 2;
    }

    .search-form-5 {
        grid-row: 3;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 250px;
        height: 45px;
        overflow: hidden;
        border-radius: 25px;
        background-color: #ffffff;
    }

    .search-form-5 input {
        height: 45px;
        padding: 5px 15px;
        border: none;
        box-sizing: border-box;
        background-color: #ffffff;
        font-size: 1em;
        outline: none;
    }

    .search-form-5 input::placeholder {
        color: #949494;
    }

    .search-form-5 button {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 50px;
        height: 45px;
        border: none;
        background-color: transparent;
        cursor: pointer;
    }

    .search-form-5 button::after {
        width: 20px;
        height: 20px;
        background-image: url('data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%20%3Cpath%20d%3D%22M23.7%2020.8%2019%2016.1c-.2-.2-.5-.3-.8-.3h-.8c1.3-1.7%202-3.7%202-6C19.5%204.4%2015.1%200%209.7%200S0%204.4%200%209.7s4.4%209.7%209.7%209.7c2.3%200%204.3-.8%206-2v.8c0%20.3.1.6.3.8l4.7%204.7c.4.4%201.2.4%201.6%200l1.3-1.3c.5-.5.5-1.2.1-1.6zm-14-5.1c-3.3%200-6-2.7-6-6s2.7-6%206-6%206%202.7%206%206-2.6%206-6%206z%22%20fill%3D%22%23949494%22%3E%3C%2Fpath%3E%20%3C%2Fsvg%3E');
        background-repeat: no-repeat;
        content: '';
    }

    /* お知らせセクション */
    #notification {
        padding-top: 20px;
        padding-bottom: 55px;
    }

    .info {
        width: 100%;
        max-width: 900px;
        margin: auto;
        padding: 0 1.5rem;
        border-spacing: 0;
    }

    .info th,
    .info td {
        border-bottom: 1px solid #c9cebc;
    }

    .info th {
        text-align: left;
        font-weight: normal;
        padding: 0.8rem 0.8rem;
    }

    .info td {
        padding: 0.8rem 0;
    }

    .info td a {
        display: block;
        padding: 0.3rem 0;
        color: inherit;
        text-decoration: none;
        transition: all 0.2s ease;
    }

    .info td a:hover {
        background-color: #f5f5f5;
    }

    /* カテゴリエリア */
    #category_area1,
    #category_area2,
    #category_area3 {
        margin: 0;
        padding: 5px;
        text-align: center;
    }

    #category_area1,
    #category_area3 {
        background: var(--bgLight);
    }

    #notification,
    #category_area2 {
        background: var(--bgWhite);
    }

    .content_title {
        width: 100%;
        color: var(--mainBlack);
        margin: 0 auto;
        padding: 10px 0;
        text-align: center;
    }

    .content_title h2 {
        font-size: 20px;
    }

    /* カードコンテナ */
    .card-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 20px;
        display: grid;
        gap: 20px;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }

    .card {
        border: 1px solid var(--borderColor);
        border-radius: 8px;
        padding: 14px;
        text-align: center;
        background: #fff;
        margin: 0 0 40px;
        transition: transform 0.5s ease, box-shadow 0.5s ease;
    }

    .card:hover {
        transform: scale(1.1);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    }

    .service_img {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 6px;
        margin-bottom: 10px;
        background: #e5e5e5;
    }

    .service_title {
        font-size: 19px;
        margin: 10px 0;
        padding: 8px 12px;
    }

    .service_text {
        margin: 6px 0 10px;
        font-size: 17px;
        font-weight: 400;
        color: var(--mainBlack);
    }

    /* フッター */
    .footer-top {
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 40px;
        padding: 64px 0;
    }

    .footer-col {
        min-width: 150px;
    }
}

/* =========================================================================
   3. ヘッダー - モバイル版 (1200px未満)
========================================================================= */
@media screen and (max-width: 1200px) {
    .wrapper {
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 75px;
        z-index: 101;
        background: #fff;
        border-bottom: 1px solid #eee;
    }

    body {
        padding-top: 75px;
    }

    .logo_area img {
        width: 140px;
        height: auto;
        margin-left: 25px;
    }

    h1.logo_area {
        margin: 0;
    }

    /* PC版要素を非表示 */
    .header-search-box {
        display: none;
    }

    header nav {
        display: none !important;
    }

    /* ハンバーガーメニュー */
    #hamburger {
        position: fixed;
        top: 23px;
        right: 30px;
        width: 40px;
        height: 30px;
        cursor: pointer;
        z-index: 102;
    }

    .inner_line {
        display: block;
        position: absolute;
        left: 0;
        width: 40px;
        height: 2px;
        border-radius: 1px;
        transition: 0.3s;
        background: var(--primaryColor);
    }

    #line1 { top: 0; }
    #line2 { top: 14px; }
    #line3 { bottom: 0; }

    .line_1 {
        margin-top: 14px;
        transform: rotate(-45deg);
    }

    .line_2 {
        opacity: 0;
    }

    .line_3 {
        margin-bottom: 14px;
        transform: rotate(45deg);
    }

    /* モバイルメニューオーバーレイ */
    .mobile-menu-overlay {
        position: fixed;
        top: 75px;
        left: 0;
        width: 100%;
        height: calc(100vh - 75px);
        background: var(--primaryColor);
        z-index: 99;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s, visibility 0.3s;
        overflow-y: auto;
    }

    .mobile-menu-overlay.in {
        opacity: 1;
        visibility: visible;
    }

    /* モバイル検索窓 */
    .mobile-search-box {
        padding: 20px;
        background: rgba(0, 0, 0, 0.2);
    }

    .mobile-search-form {
        display: flex;
        align-items: center;
        background: #ffffff;
        border-radius: 25px;
        padding: 0;
        overflow: hidden;
    }

    .mobile-search-form input {
        flex: 1;
        border: none;
        background: transparent;
        outline: none;
        font-size: 15px;
        padding: 12px 20px;
        height: 45px;
    }

    .mobile-search-form input::placeholder {
        color: #949494;
    }

    .mobile-search-form button {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 50px;
        height: 45px;
        border: none;
        background-color: transparent;
        cursor: pointer;
        flex-shrink: 0;
    }

    .mobile-search-form button::after {
        width: 20px;
        height: 20px;
        background-image: url('data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%20%3Cpath%20d%3D%22M23.7%2020.8%2019%2016.1c-.2-.2-.5-.3-.8-.3h-.8c1.3-1.7%202-3.7%202-6C19.5%204.4%2015.1%200%209.7%200S0%204.4%200%209.7s4.4%209.7%209.7%209.7c2.3%200%204.3-.8%206-2v.8c0%20.3.1.6.3.8l4.7%204.7c.4.4%201.2.4%201.6%200l1.3-1.3c.5-.5.5-1.2.1-1.6zm-14-5.1c-3.3%200-6-2.7-6-6s2.7-6%206-6%206%202.7%206%206-2.6%206-6%206z%22%20fill%3D%22%23949494%22%3E%3C%2Fpath%3E%20%3C%2Fsvg%3E');
        background-repeat: no-repeat;
        content: '';
    }

    /* モバイルナビゲーション */
    .mobile-nav {
        padding: 0;
    }

    .mobile-nav-list {
        list-style: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .mobile-nav-list > li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        list-style: none !important;
    }

    .mobile-nav-list > li::before {
        content: none !important;
        display: none !important;
    }

    .mobile-nav-list > li > a,
    .mobile-nav-item {
        display: block;
        padding: 18px 25px;
        color: #fff;
        text-decoration: none;
        font-size: 16px;
        font-weight: 500;
        transition: background 0.3s;
    }

    .mobile-nav-list > li > a:hover,
    .mobile-nav-list > li > a:active {
        background: rgba(255, 255, 255, 0.1);
    }

    /* モバイルドロップダウン */
    .mobile-nav-dropdown {
        position: relative;
    }

    .mobile-nav-item {
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .dropdown-arrow {
        font-size: 12px;
        transition: transform 0.3s;
    }

    .mobile-nav-dropdown.active .dropdown-arrow {
        transform: rotate(180deg);
    }

    .mobile-dropdown-menu {
        display: none;
        list-style: none !important;
        margin: 0 !important;
        padding: 0 !important;
        background: rgba(0, 0, 0, 0.2);
    }

    .mobile-nav-dropdown.active .mobile-dropdown-menu {
        display: block;
    }

    .mobile-dropdown-menu li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        list-style: none !important;
    }

    .mobile-dropdown-menu li::before {
        content: none !important;
        display: none !important;
    }

    .mobile-dropdown-menu li:last-child {
        border-bottom: none;
    }

    .mobile-dropdown-menu a {
        display: block;
        padding: 15px 25px 15px 45px;
        color: rgba(255, 255, 255, 0.9);
        text-decoration: none;
        font-size: 15px;
        transition: background 0.3s;
    }

    .mobile-dropdown-menu a:hover {
        background: rgba(255, 255, 255, 0.05);
    }

    /* モバイル版メイン */
    #main_content {
        background: var(--primaryColor) center/cover no-repeat url(../img/main_img00-m.png);
        width: 100%;
        margin: 0 auto;
        display: grid;
        grid-template-rows: 1fr auto auto 1fr;
        justify-items: center;
        row-gap: 30px;
        place-items: center;
        text-align: center;
        min-height: clamp(200px, 40vw, 320px);
        padding: 0;
        position: relative;
    }

    #main_content.hero-bg::before {
        content: none;
    }

    #main_content.hero-bg .hero-title {
        grid-row: 2;
        margin: 0;
        color: #fff;
        line-height: 1.2;
        font-weight: 600;
        font-size: clamp(22px, 4.5vw, 50px);
        position: relative;
        z-index: 2;
        padding: 0 30px;
    }

    .search-form-5 {
        grid-row: 3;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 180px;
        height: 36px;
        overflow: hidden;
        border-radius: 18px;
        background-color: #ffffff;
    }

    .search-form-5 input {
        width: 100%;
        height: 36px;
        padding: 5px 15px;
        border: none;
        box-sizing: border-box;
        background-color: #ffffff;
        font-size: 0.9em;
        outline: none;
    }

    .search-form-5 input::placeholder {
        color: #949494;
    }

    .search-form-5 button {
        display: none;
    }

    /* お知らせセクション */
    #notification {
        padding-top: 20px;
        padding-bottom: 55px;
    }

    .info {
        width: 90%;
        max-width: 900px;
        margin: auto;
        padding: 0 1.5rem;
        border-spacing: 0;
        font-size: 14px;
    }

    .info th,
    .info td {
        border-bottom: 1px solid #c9cebc;
    }

    .info th {
        text-align: left;
        font-weight: normal;
        padding: 0.6rem 0.6rem;
    }

    .info td {
        padding: 0.6rem 0;
    }

    .info td a {
        display: block;
        padding: 0.3rem 0;
        color: inherit;
        text-decoration: none;
        transition: all 0.2s ease;
    }

    .info td a:hover {
        background-color: #f5f5f5;
    }

    /* カテゴリエリア */
    #category_area1,
    #category_area2,
    #category_area3 {
        margin: 0;
        padding: 20px;
        text-align: center;
    }

    #category_area1,
    #category_area3 {
        background: var(--bgLight);
    }

    #notification,
    #category_area2 {
        background: var(--bgWhite);
    }

    .content_title {
        width: 100%;
        color: var(--mainBlack);
        margin: 0 auto;
        padding: 30px 0 20px;
        text-align: center;
    }

    .content_title h2 {
        font-size: 20px;
    }

    /* カードコンテナ */
    .card-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 24px;
        display: grid;
        gap: 20px;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }

    .card {
        border: 1px solid var(--borderColor);
        border-radius: 8px;
        padding: 14px;
        text-align: center;
        background: #fff;
        margin: 0 0 40px;
        transition: transform 0.5s ease, box-shadow 0.5s ease;
    }

    .card:hover {
        transform: scale(1.07);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    }

    .service_img {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 6px;
        margin-bottom: 10px;
        background: #e5e5e5;
    }

    .service_title {
        font-size: 18px;
        margin: 10px 0;
        padding: 8px 12px;
    }

    .service_text {
        margin: 6px 0 10px;
        font-size: 16px;
        font-weight: 400;
        color: var(--mainBlack);
    }

    /* フッター */
    .footer .container-1200 {
        max-width: 1200px;
        margin: 0 auto 0 25px;
        padding: 0 20px;
    }

    .footer-top {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 20px;
        padding: 40px 0;
    }

    .footer-col {
        min-width: 130px;
        margin-bottom: 20px;
    }

    .footer-sns {
        gap: 10px;
    }
}

/* =========================================================================
   4. 共通スタイル（PC/モバイル共通）
========================================================================= */

/* ボーダーライン */
.border-line0 {
    display: inline-block;
    padding-bottom: 2px;
    border-bottom: 5px solid var(--accentGreen);
}

.border-line1 {
    display: inline-block;
    padding-bottom: 2px;
    border-bottom: 5px solid var(--accentRed);
}

.border-line2 {
    display: inline-block;
    padding-bottom: 2px;
    border-bottom: 5px solid var(--accentYellow);
}

.border-line3 {
    display: inline-block;
    padding-bottom: 2px;
    border-bottom: 5px solid var(--accentOrange);
}

/* カード全体をリンク化 */
a.card-link,
a.card-link:link,
a.card-link:visited,
a.card-link:hover,
a.card-link:active {
    text-decoration: none;
    color: inherit;
}

/* フッター全体 */
.footer {
    font-size: 13px;
    color: #eee;
    background: var(--primaryColor);
}

.footer-icon {
    width: 14px;
    height: 14px;
    vertical-align: middle;
    margin-right: 6px;
}

.footer-col p {
    margin: 0 0 13px;
    font-size: 15px;
    font-weight: bold;
    color: #eee;
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0 0 0 10px;
}

.footer-col li {
    margin-bottom: 5px;
}

.footer-col a {
    text-decoration: none;
    color: #eee;
}

.footer-col a:hover {
    text-decoration: underline;
}

.footer-sns {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.sns-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    transition: transform .2s ease, opacity .2s ease;
}

.footer-sns a:hover .sns-icon {
    transform: scale(1.15);
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding: 5px;
    font-size: 12px;
    background: var(--bgLight);
    color: #666;
}

/* =========================================================================
   5. ヒーローセクション（共通）
========================================================================= */
.hero-bg {
    background: var(--primaryColor) center/cover no-repeat;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-rows: 1fr auto 1fr;
    justify-items: center;
    text-align: center;
    min-height: clamp(260px, 35vw, 420px);
    padding: 0;
    position: relative;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-bg .hero-title {
    grid-row: 2;
    margin: 0;
    color: #fff;
    line-height: 1.2;
    font-weight: 600;
    font-size: clamp(24px, 5.2vw, 50px);
    position: relative;
    z-index: 2;
}

/* カテゴリー別背景画像 */
#main_content_food.hero-bg { background-image: url(../img/main-food.jpg); }
#main_content_travel.hero-bg { background-image: url(../img/main-travel.jpg); }
#main_content_shopping.hero-bg { background-image: url(../img/main-shopping.jpg); }
#main_content_beauty.hero-bg { background-image: url(../img/main-beauty.jpg); }
#main_content_payment.hero-bg { background-image: url(../img/main-payment.jpg); }
#main_content_mobility.hero-bg { background-image: url(../img/main-mobility.jpg); }
#main_content_default.hero-bg { background-image: url(../img/main-all.jpg); }

/* =========================================================================
   6. パンくずリスト（共通化）
========================================================================= */
.breadcrumb-service,
.breadcrumb-blog {
    max-width: 1200px;
    margin: 20px auto 0;
    padding: 15px 20px;
}

.breadcrumb-blog {
    max-width: 900px;
}

.breadcrumb-service ol,
.breadcrumb-blog ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: 8px;
    font-size: 15px;
    color: #666;
    margin: 0;
    padding: 0;
}

.breadcrumb-service li,
.breadcrumb-blog li {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.breadcrumb-service li:not(:last-child)::after,
.breadcrumb-blog li:not(:last-child)::after {
    content: none;
    margin-left: 8px;
    color: #999;
}

.breadcrumb-service a,
.breadcrumb-blog a {
    color: var(--primaryColor);
    text-decoration: none;
    transition: all 0.2s;
}

.breadcrumb-service a:hover,
.breadcrumb-blog a:hover {
    text-decoration: underline;
    color: #2d4a7c;
}

/* Breadcrumb NavXT用 */
.breadcrumb-service .breadcrumb-navxt,
.breadcrumb-blog .breadcrumb-navxt {
    font-size: 15px;
    color: #666;
}

.breadcrumb-service .breadcrumb-navxt a,
.breadcrumb-blog .breadcrumb-navxt a {
    color: var(--primaryColor);
    text-decoration: none;
}

.breadcrumb-service .breadcrumb-navxt a:hover,
.breadcrumb-blog .breadcrumb-navxt a:hover {
    text-decoration: underline;
}

.breadcrumb-service .breadcrumb-navxt span,
.breadcrumb-blog .breadcrumb-navxt span {
    display: inline;
}

.breadcrumb-service .breadcrumb-navxt .breadcrumb_last,
.breadcrumb-blog .breadcrumb-navxt .breadcrumb_last {
    color: #666;
}

.breadcrumb-navxt span[property="itemListElement"]:last-of-type {
    display: none;
}

@media screen and (max-width: 768px) {
    .breadcrumb-service,
    .breadcrumb-blog {
        padding: 10px 15px;
        margin: 15px auto 0;
    }

    .breadcrumb-service ol,
    .breadcrumb-blog ol,
    .breadcrumb-service .breadcrumb-navxt,
    .breadcrumb-blog .breadcrumb-navxt {
        font-size: 13px;
    }
}

/* =========================================================================
   7. サービス紹介ページ
========================================================================= */
.main-section {
    background: white;
    padding: 15px 40px;
    margin-bottom: 40px;
}

h1.page-title {
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #fff;
    text-align: left;
    background: linear-gradient(135deg, #1a254d 0%, #2d4a7c 100%);
    padding: 18px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(26, 37, 77, 0.25);
    position: relative;
}

/* スクリーンリーダー専用テキスト */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* サービスメタ情報 */
.service-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.service-meta time {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* カテゴリタグ */
.category-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px;
    margin-bottom: 20px;
}

.category-tag,
.category-tags .category-tag {
    display: inline-block;
    background: var(--accentGreen);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.category-tags .category-tag:hover {
    background: #4a9c5f;
    transform: translateY(-1px);
}

/* サービスヘッダー */
.service-header {
    display: block;
    overflow: hidden;
    gap: 0;
    margin-bottom: 40px;
}

.service-image {
    float: left;
    flex: none;
    width: 400px;
    margin-right: 25px;
    margin-bottom: 15px;
}

.service-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.service-info {
    display: block;
    flex: none;
    padding: 0;
}

.service-info-content {
    width: 100%;
}

.offer-title {
    font-size: 38px;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--accentRed);
}

.offer-text {
    font-size: 18px;
    line-height: 1.9;
    color: #333;
}

/* クーポンセクション */
.coupon-section {
    text-align: center;
    margin: 0 0 40px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.coupon-code {
    font-size: 32px;
    font-weight: bold;
    letter-spacing: 3px;
    margin: 0 0 25px;
    cursor: pointer;
    display: inline-block;
    transition: all 0.2s;
    user-select: none;
}

.coupon-code:hover {
    color: #666;
}

.coupon-code:active {
    transform: scale(0.95);
}

.coupon-code.copied {
    animation: pulse 0.5s;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); color: #4CAF50; }
}

.coupon-button {
    padding: 12px 80px;
    background: white;
    border: 2px solid #333;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    color: #333;
    display: inline-block;
}

.coupon-button:hover {
    background: #333;
    color: white;
}

/* セクションタイトル */
.section-title1 {
    font-size: 20px;
    font-weight: bold;
    margin: 40px 0 20px;
    padding-left: 7px;
    border-left: 4px solid var(--accentGreen);
}

.section-title2 {
    font-size: 20px;
    font-weight: bold;
    margin: 40px 0 20px;
    padding-left: 7px;
    border-left: 4px solid var(--accentRed);
}

.section-title3 {
    font-size: 20px;
    font-weight: bold;
    margin: 40px 0 20px;
    padding-left: 7px;
    border-left: 4px solid var(--accentYellow);
}

.section-title4 {
    font-size: 20px;
    font-weight: bold;
    margin: 40px 0 20px;
    padding-left: 7px;
    border-left: 4px solid var(--primaryColor);
}

.description-text {
    line-height: 2;
    letter-spacing: 0.5px;
}

/* レビュー */
.reviews {
    margin: 0 0 40px 0;
}

.review-item {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    padding: 20px;
    background: #fafafa;
    border-radius: 8px;
}

.review-avatar-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.review-avatar {
    margin: 0;
}

.review-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.review-name {
    font-size: 12px;
    color: #666;
    white-space: nowrap;
}

.review-month {
    font-size: 11px;
    color: #999;
    white-space: nowrap;
}

.review-bubble {
    flex: 1;
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #ddd;
    position: relative;
    line-height: 1.7;
    letter-spacing: 0.5px;
}

.review-bubble::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 20px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 10px 8px 0;
    border-color: transparent #ddd transparent transparent;
    z-index: 0;
}

.review-bubble::after {
    content: '';
    position: absolute;
    left: -8px;
    top: 20px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 10px 8px 0;
    border-color: transparent white transparent transparent;
    z-index: 1;
}

/* 記事・注意事項 */
.articles {
    margin: 30px 0;
}

.articles ul {
    margin-left: 40px;
}

.articles li {
    margin: 10px 0;
    line-height: 1.8;
    list-style-type: disc;
}

.notes {
    margin: 30px 0;
}

.notes li {
    font-size: 14px;
    line-height: 1.8;
    list-style-type: disc;
}

/* コピーメッセージ */
.copied-message {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #333;
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 14px;
    z-index: 1000;
}

.copied-message.show {
    display: block;
    animation: fadeInOut 2s;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0; }
    10%, 90% { opacity: 1; }
}

/* PR文言 */
.pr-notice {
    padding: 6px 20px 4px 10px;
    background: repeating-linear-gradient(45deg, #fcfcfc, #fcfcfc 3px, #f5f5f5 3px, #f5f5f5 6px);
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

/* ブログページ用 */
.blog-container .pr-notice {
    max-width: 900px;
    padding: 6px 20px 4px 10px;
}

/* サービスページ用 */
.main-section .pr-notice {
    width: auto;
    max-width: none;
    margin: 0 0 20px 0;
    padding: 6px 20px 4px 10px;
}

.pr-notice .pr-icon {
    flex-shrink: 0;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

.pr-notice p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}

/* おすすめのサービスセクション */
.recommended-services {
    background: white;
    padding: 15px 40px;
    margin-bottom: 40px;
}

.recommended-services .section-title4 {
    margin-top: 20px;
}

.recommended-services .card-grid-4 {
    padding: 20px 0 20px;
}

/* サービスページ レスポンシブ */
@media (max-width: 768px) {
    h1.page-title {
        font-size: 34px;
        padding: 16px 25px;
    }

    .service-header {
        display: flex;
        flex-direction: column;
        overflow: visible;
        margin-bottom: 30px;
    }

    .service-image {
        float: none;
        width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }

    .service-info {
        display: block;
        width: 100%;
    }

    .offer-title {
        font-size: 32px;
    }

    .offer-text {
        font-size: 17px;
    }

    .section-title1,
    .section-title2,
    .section-title3,
    .section-title4 {
        margin-top: 30px;
    }

    .category-tags {
        gap: 6px;
    }

    .category-tags .category-tag {
        padding: 5px 12px;
        font-size: 13px;
    }

    .pr-notice {
        padding: 5px 20px 3px 5px;
    }

    .pr-notice .pr-icon {
        font-size: 14px;
    }

    .pr-notice p {
        font-size: 13px;
    }

    .recommended-services {
        padding: 15px 25px;
    }
}

/* =========================================================================
   8. ブログページ
========================================================================= */
.hero {
    background: linear-gradient(135deg, #1a254d 0%, #2d4a7c 100%);
    color: white;
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero h1 {
    font-size: 36px;
    margin: 10px 0;
    font-weight: bold;
}

.hero p {
    font-size: 16px;
    opacity: 0.9;
    margin: 0;
}

.hero p:empty {
    display: none;
}

.main-layout {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.geometric-shape {
    position: absolute;
    opacity: 0.05;
    pointer-events: none;
}

.geometric-shape.circle {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: white;
    top: -200px;
    right: -150px;
}

.geometric-shape.square {
    width: 250px;
    height: 250px;
    background: white;
    bottom: -150px;
    left: -100px;
    transform: rotate(45deg);
}

/* カテゴリータブ */
.category-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.category-tab {
    padding: 10px 25px;
    background-color: white;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
    color: #333;
}

.category-tab a {
    color: #333;
    text-decoration: none;
}

.category-tab:hover a,
.category-tab.active a {
    color: #fff;
}

.category-tab:hover,
.category-tab.active {
    background-color: var(--primaryColor);
    color: #fff;
    border-color: var(--primaryColor);
}

/* ブログ記事グリッド */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.blog-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 20px;
}

.blog-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 12px;
    color: #666;
    align-items: center;
}

.blog-category {
    background-color: var(--primaryColor);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
}

.blog-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
    line-height: 1.5;
}

.blog-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.read-more {
    color: var(--primaryColor);
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.read-more:hover {
    text-decoration: underline;
}

/* ページネーション */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 40px 0;
}

.pagination button {
    padding: 10px 18px;
    border: 2px solid #e0e0e0;
    background-color: white;
    color: #333;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s;
    font-size: 14px;
}

.pagination button:hover,
.pagination button.active {
    background-color: var(--primaryColor);
    color: white;
    border-color: var(--primaryColor);
}

/* ブログ記事本文 */
.blog-container {
    background: #fff;
    width: 100%;
    min-height: 100vh;
    padding-top: 20px;
    padding-bottom: 80px;
    margin: 0 auto;
}

.article-header {
    max-width: 900px;
    margin: 10px auto;
    padding: 0 20px;
}

.article-title {
    font-size: 32px;
    font-weight: bold;
    line-height: 1.5;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.article-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: #666;
    padding-bottom: 10px;
}

.article-meta time {
    display: flex;
    align-items: center;
    gap: 5px;
}

.article-eyecatch {
    max-width: 900px !important;
    margin: 30px auto !important;
    padding: 0 20px !important;
}

.article-eyecatch img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 目次 */
.table-of-contents {
    max-width: 900px !important;
    margin: 40px auto !important;
    padding: 25px;
    background-color: #f0f4f8;
    border-radius: 12px;
    border-left: 4px solid var(--primaryColor);
}

.table-of-contents h2 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--primaryColor);
}

.table-of-contents ol {
    margin-left: 20px;
}

.table-of-contents li {
    margin-bottom: 10px;
}

.table-of-contents a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.table-of-contents a:hover {
    color: var(--primaryColor);
    text-decoration: underline;
}

/* 記事本文 */
.article-content {
    max-width: 900px;
    margin: 0 auto 60px;
    padding: 20px;
    background-color: white;
    border-radius: 12px;
}

.article-content h2 {
    font-size: 26px;
    font-weight: bold;
    margin: 50px 0 20px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--primaryColor);
    color: #1a1a1a;
}

.article-content h3 {
    font-size: 22px;
    font-weight: bold;
    margin: 40px 0 15px;
    padding-left: 12px;
    border-left: 4px solid var(--primaryColor);
    color: #1a1a1a;
}

.article-content p {
    font-size: 16px;
    line-height: 1.9;
}

.article-content ul,
.article-content ol {
    margin: 20px 0 20px 30px;
}

.article-content li {
    margin-bottom: 12px;
    font-size: 16px;
    list-style-type: disc;
}

.article-content strong {
    font-weight: bold;
    color: var(--primaryColor);
}

/* ボックス装飾 */
.info-box {
    background-color: #e8f4f8;
    border-left: 4px solid #2196F3;
    padding: 20px;
    margin: 30px 0;
    border-radius: 8px;
}

.warning-box {
    background-color: #fff3e0;
    border-left: 4px solid #ff9800;
    padding: 20px;
    margin: 30px 0;
    border-radius: 8px;
}

.point-box {
    background-color: #f3e5f5;
    border-left: 4px solid #9c27b0;
    padding: 20px;
    margin: 30px 0;
    border-radius: 8px;
}

.box-title {
    font-weight: bold;
    font-size: 17px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* テーブル */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background-color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.comparison-table th,
.comparison-table td {
    padding: 15px;
    text-align: left;
    border: 1px solid #e0e0e0;
}

.comparison-table th {
    background-color: var(--primaryColor);
    color: white;
    font-weight: bold;
}

.comparison-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* CTAボタン */
.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #12254D 0%, #2d4a7c 100%);
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    margin: 30px 0;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(18, 37, 77, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(18, 37, 77, 0.4);
}

.cta-section {
    text-align: center;
    margin: 50px 0 0 0;
    padding: 40px 20px;
    background: linear-gradient(135deg, #f0f4f8 0%, #e8f4f8 100%);
    border-radius: 12px;
}

.cta-word {
    font-size: 22px;
    font-weight: bold;
    margin: 40px 0 15px;
    padding-left: 12px;
    color: #1a1a1a;
}

/* 関連記事 */
/* 関連記事 */
.related-articles {
    max-width: 900px !important;
    margin: 60px auto !important;
    padding: 0 20px !important;
}

.related-articles h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 30px;
    text-align: center;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* 関連記事カードのラッパー（article要素） */
.related-card-wrapper {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.related-card-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* aタグはテキスト装飾なしで透明 */
.related-card {
    text-decoration: none;
    color: #333;
    display: block;
}

/* 画像部分 */
.related-card-image {
    margin: 0;
    width: 100%;
    overflow: hidden;
}

.related-card-image img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

/* テキストコンテンツ部分 */
.related-card-content {
    padding: 15px;
}

.related-card-title {
    font-size: 15px;
    font-weight: bold;
    line-height: 1.5;
    margin: 0;
    color: #333;
}

/* SNSシェアボタン */
.share-buttons {
    max-width: 900px;
    margin: 40px auto;
    padding: 25px 25px 45px 25px;
    background-color: #f9f9f9;
    border-radius: 12px;
    text-align: center;
}

.share-buttons .share-label {
    font-size: 16px;
    margin-bottom: 15px;
    color: #333;
    font-weight: bold; /* 必要なら */
}

.share-button-group {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    color: white;
    font-size: 14px;
    font-weight: bold;
    transition: opacity 0.3s;
}

.share-btn:hover {
    opacity: 0.8;
}

.share-btn.x { background-color: #000000; }
.share-btn.facebook { background-color: #4267B2; }
.share-btn.line { background-color: #00B900; }

/* ブログ レスポンシブ */
@media (min-width: 769px) and (max-width: 1024px) {
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 16px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .article-title {
        font-size: 24px;
    }

    .article-content h2 {
        font-size: 22px;
    }

    .article-content h3 {
        font-size: 19px;
    }

    .table-of-contents {
        margin-left: 20px;
        margin-right: 20px;
    }

    .comparison-table {
        font-size: 14px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 10px;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================================
   9. FAQページ
========================================================================= */
.faq-container {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
}

.faq-hero {
    text-align: center;
    margin-bottom: 50px;
}

.faq-hero h1 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--primaryColor);
}

.faq-hero p {
    font-size: 16px;
    color: #666;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-section-title {
    font-size: 20px;
    font-weight: bold;
    color: var(--primaryColor);
    padding: 20px 0 10px 0;
    margin-top: 30px;
    border-bottom: 2px solid var(--primaryColor);
}

.faq-section-title:first-of-type {
    margin-top: 0;
}

.faq-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    background: white;
    border: none;
    text-align: left;
    font-size: 16px;
    font-weight: bold;
    color: var(--primaryColor);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question-text {
    flex: 1;
    padding-right: 20px;
    line-height: 1.5;
    font-size: 16px;
}

.faq-icon {
    width: 24px;
    height: 24px;
    background: var(--primaryColor);
    color: white;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    flex-shrink: 0;
    transition: transform 0.2s;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-in-out, padding 0.2s ease-in-out;
    padding: 0 25px;
}

.faq-item.active .faq-answer {
    max-height: 600px;
    padding: 0 25px 20px 25px;
}

.faq-answer-content {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
    padding-top: 10px;
}

.faq-answer-content a {
    color: var(--primaryColor);
    text-decoration: underline;
}

.faq-answer-content a:hover {
    color: #0066cc;
}

.faq-footer {
    margin-top: 60px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 12px;
    text-align: center;
}

.faq-footer h3 {
    font-size: 20px;
    font-weight: bold;
    color: var(--primaryColor);
    margin-bottom: 15px;
}

.faq-footer p {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
}

.faq-footer a {
    color: var(--primaryColor);
    text-decoration: underline;
}

.faq-footer a:hover {
    color: #0066cc;
}

@media (max-width: 768px) {
    .faq-container {
        margin: 40px auto;
    }

    .faq-hero h1 {
        font-size: 26px;
    }

    .faq-hero p {
        font-size: 14px;
    }

    .faq-section-title {
        font-size: 18px;
        margin-top: 25px;
    }

    .faq-question {
        padding: 18px 20px;
        font-size: 15px;
    }

    .faq-answer-content {
        font-size: 14px;
    }

    .faq-footer {
        margin-top: 40px;
        padding: 25px 20px;
    }

    .faq-footer h3 {
        font-size: 18px;
    }

    .faq-footer p {
        font-size: 14px;
    }
}

/* =========================================================================
   10. 検索結果ページ
========================================================================= */
.search-results-page {
    background-color: var(--bgLight);
    min-height: 100vh;
}

.search-hero {
    background: linear-gradient(135deg, #1a254d 0%, #2d4a7c 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.search-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.search-hero h1 {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: bold;
}

.search-query {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.search-query strong {
    color: var(--accentYellow);
    font-weight: bold;
}

.search-form-large {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.search-form-large input {
    flex: 1;
    padding: 15px 25px;
    border: none;
    font-size: 16px;
    outline: none;
}

.search-form-large button {
    padding: 15px 35px;
    background: var(--primaryColor);
    color: white;
    border: none;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.search-form-large button:hover {
    background: #1a3666;
}

.search-results-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px 100px;
}

.search-results-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.search-result-item {
    display: flex;
    gap: 20px;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s, transform 0.3s;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.search-result-item:hover {
    box-shadow: 0 6px 20px rgba(18, 37, 77, 0.25);
    transform: translateY(-4px);
    background: #f8fbff;
}

.result-thumbnail {
    flex-shrink: 0;
    width: 200px;
    height: 150px;
    overflow: hidden;
    border-radius: 6px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.result-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.no-thumbnail {
    color: #999;
    font-size: 14px;
    text-align: center;
}

.result-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.result-title-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.result-title {
    font-size: 20px;
    font-weight: bold;
    margin: 0;
    flex: 1;
    color: #333;
}

/* line-clamp: 標準プロパティ追加 */
.result-excerpt {
    font-size: 14px;
    line-height: 1.8;
    color: #666;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.result-excerpt strong {
    font-weight: bold;
    color: var(--primaryColor);
    background: var(--accentYellow);
    padding: 2px 4px;
    border-radius: 2px;
}

.result-offer-title {
    display: inline-block;
    background-color: var(--accentRed);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    margin-left: 10px;
    white-space: nowrap;
}

/* 結果なし */
.no-results {
    text-align: center;
    padding: 0 20px;
}

.no-results-content {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 60px 40px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.no-results-image {
    margin-bottom: 30px;
}

.no-results-image img {
    max-width: 180px;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.no-results h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #333;
}

.no-results p {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

.no-results ul {
    text-align: left;
    display: inline-block;
    margin: 20px 0 30px 0;
    padding-left: 20px;
    color: #666;
}

.no-results li {
    margin-bottom: 10px;
    line-height: 1.8;
}

.back-to-home {
    margin-top: 30px;
}

.button-primary {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primaryColor);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: background 0.3s;
}

.button-primary:hover {
    background: #1a3666;
}

@media (max-width: 768px) {
    .search-hero h1 {
        font-size: 28px;
    }

    .search-query {
        font-size: 16px;
    }

    .search-form-large {
        flex-direction: column;
        border-radius: 12px;
    }

    .search-form-large input {
        border-radius: 12px 12px 0 0;
    }

    .search-form-large button {
        border-radius: 0 0 12px 12px;
    }

    .search-result-item {
        flex-direction: column;
    }

    .result-thumbnail {
        width: 100%;
        height: 200px;
    }

    .result-title {
        font-size: 18px;
    }

    .result-title-row {
        flex-wrap: wrap;
        gap: 8px;
    }

    .result-offer-title {
        font-size: 13px;
        padding: 3px 8px;
        margin-left: 0;
    }

    .no-results-content {
        padding: 40px 20px;
    }

    .no-results h2 {
        font-size: 22px;
    }
}

/* =========================================================================
   11. サービス概要ページ
========================================================================= */
.about-page {
    background-color: var(--bgLight);
}

.about-hero {
    background: linear-gradient(135deg, #1a254d 0%, #2d4a7c 100%);
    color: white;
    padding: 80px 20px 100px;
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.about-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

.about-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.about-hero-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.3;
}

.about-hero-subtitle {
    font-size: 20px;
    line-height: 1.8;
    opacity: 0.95;
}

.about-content {
    padding: 60px 20px;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
}

.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
}

.about-section.reverse {
    direction: rtl;
}

.about-section.reverse > * {
    direction: ltr;
}

.about-text {
    padding: 20px;
}

.about-section-title {
    font-size: 32px;
    font-weight: bold;
    color: var(--primaryColor);
    margin-bottom: 25px;
    line-height: 1.4;
}

.about-description {
    font-size: 16px;
    line-height: 2;
    color: #333;
    margin-bottom: 20px;
}

.about-image {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.about-image img {
    width: 500px;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-image img:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.about-notice {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-left: 5px solid #ff9800;
    border-radius: 12px;
    padding: 30px;
    margin: 60px 0;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.about-notice-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: #ff9800;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-notice-content {
    flex: 1;
}

.about-notice-title {
    font-size: 20px;
    font-weight: bold;
    color: #e65100;
    margin: 10px 0;
}

.about-notice-text {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
}

.about-cta {
    background: linear-gradient(135deg, #12254D 0%, #2d4a7c 100%);
    border-radius: 16px;
    padding: 60px 40px;
    text-align: center;
    color: white;
    margin-top: 80px;
}

.about-cta-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 15px;
}

.about-cta-text {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.about-cta-button {
    display: inline-block;
    background: white;
    color: var(--primaryColor);
    padding: 18px 50px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.about-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

@media (max-width: 1024px) {
    .about-section {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 60px;
    }

    .about-section.reverse {
        direction: ltr;
    }

    .about-hero-title {
        font-size: 36px;
    }

    .about-hero-subtitle {
        font-size: 18px;
    }

    .about-section-title {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .about-hero {
        padding: 60px 20px 80px;
    }

    .about-hero-title {
        font-size: 28px;
    }

    .about-hero-subtitle {
        font-size: 16px;
    }

    .about-content {
        padding: 60px 20px;
    }

    .about-text {
        padding: 0;
    }

    .about-section-title {
        font-size: 24px;
    }

    .about-description {
        font-size: 15px;
    }

    .about-notice {
        flex-direction: column;
        padding: 25px;
    }

    .about-notice-icon {
        width: 40px;
        height: 40px;
    }

    .about-cta {
        padding: 40px 25px;
    }

    .about-cta-title {
        font-size: 28px;
    }

    .about-cta-text {
        font-size: 16px;
    }

    .about-cta-button {
        padding: 15px 40px;
        font-size: 16px;
    }

    .about-image {
        max-width: 100%;
    }

    .about-image img {
        width: 100%;
        height: auto;
    }
}

/* =========================================================================
   12. 法的ページ（免責事項・プライバシーポリシー等）
========================================================================= */
.legal-hero {
    background: linear-gradient(135deg, #1a2b5c 0%, #2d4a8c 100%);
    padding: 80px 20px 60px;
    position: relative;
    overflow: hidden;
}

.legal-hero::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: rgba(255, 215, 0, 0.1);
    top: -50px;
    right: 10%;
}

.legal-hero::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: rgba(255, 71, 87, 0.1);
    bottom: -30px;
    left: 5%;
}

.legal-hero-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.legal-hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
}

.legal-hero-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    letter-spacing: 0.1em;
}

.legal-content {
    background-color: #f8f9fa;
    padding: 60px 20px 80px;
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    padding: 50px 60px;
}

.legal-intro {
    padding-bottom: 30px;
    margin-bottom: 40px;
    border-bottom: 1px solid #e9ecef;
}

.legal-intro p {
    font-size: 0.95rem;
    line-height: 1.9;
    color: #495057;
}

.legal-intro a {
    color: #1a2b5c;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-intro a:hover {
    color: #2d4a8c;
}

.legal-section {
    margin-bottom: 45px;
}

.legal-section:last-of-type {
    margin-bottom: 40px;
}

.legal-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a2b5c;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #1a2b5c;
}

.legal-section-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #f0f4ff;
    border-radius: 8px;
    color: #1a2b5c;
    flex-shrink: 0;
}

.legal-section-icon svg {
    width: 20px;
    height: 20px;
}

.legal-section-content {
    padding-left: 48px;
}

.legal-section-content p {
    font-size: 0.95rem;
    line-height: 1.9;
    color: #495057;
    margin-bottom: 16px;
}

.legal-section-content p:last-child {
    margin-bottom: 0;
}

.legal-section-content a {
    color: #1a2b5c;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.3s ease;
}

.legal-section-content a:hover {
    color: #2d4a8c;
}

/* 運営者情報テーブル */
.operator-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.operator-table tr {
    border-bottom: 1px solid #e9ecef;
}

.operator-table tr:last-child {
    border-bottom: none;
}

.operator-table th,
.operator-table td {
    padding: 16px 0;
    text-align: left;
    vertical-align: top;
}

.operator-table th {
    width: 140px;
    font-weight: 600;
    color: #1a2b5c;
    background: none;
}

.operator-table td {
    color: #495057;
}

.operator-table td a {
    color: #1a2b5c;
    text-decoration: underline;
    text-underline-offset: 3px;
    word-break: break-all;
}

.operator-table td a:hover {
    color: #2d4a8c;
}

.legal-dates {
    text-align: right;
    padding-top: 30px;
    border-top: 1px solid #e9ecef;
}

.legal-dates p {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 5px;
}

.legal-dates p:last-child {
    margin-bottom: 0;
}

.legal-list {
    margin-top: 12px;
    padding-left: 0;
    list-style: none;
}

.legal-list li {
    position: relative;
    padding-left: 24px;
    font-size: 0.95rem;
    line-height: 1.9;
    color: #495057;
    margin-bottom: 10px;
}

.legal-list li:last-child {
    margin-bottom: 0;
}

.legal-list li::before {
    content: '・';
    position: absolute;
    left: 8px;
    color: #1a2b5c;
    font-weight: 600;
}

@media screen and (max-width: 768px) {
    .legal-hero {
        padding: 60px 20px 50px;
    }

    .legal-hero-title {
        font-size: 1.875rem;
    }

    .legal-hero-subtitle {
        font-size: 0.875rem;
    }

    .legal-content {
        padding: 40px 15px 60px;
    }

    .legal-container {
        padding: 35px 25px;
        border-radius: 12px;
    }

    .legal-intro {
        padding-bottom: 25px;
        margin-bottom: 30px;
    }

    .legal-section {
        margin-bottom: 35px;
    }

    .legal-section-title {
        font-size: 1.125rem;
        gap: 10px;
    }

    .legal-section-icon {
        width: 32px;
        height: 32px;
    }

    .legal-section-icon svg {
        width: 18px;
        height: 18px;
    }

    .legal-section-content {
        padding-left: 0;
    }

    .legal-section-content p {
        font-size: 0.9rem;
        line-height: 1.85;
        margin-bottom: 14px;
    }

    .operator-table th {
        width: 100px;
        font-size: 0.875rem;
    }

    .operator-table td {
        font-size: 0.875rem;
    }

    .operator-table th,
    .operator-table td {
        padding: 14px 0;
    }

    .legal-dates {
        padding-top: 25px;
    }

    .legal-dates p {
        font-size: 0.85rem;
    }

    .legal-list li {
        font-size: 0.9rem;
        line-height: 1.85;
        padding-left: 20px;
        margin-bottom: 8px;
    }
}

@media screen and (max-width: 480px) {
    .legal-hero {
        padding: 50px 15px 40px;
    }

    .legal-hero-title {
        font-size: 1.5rem;
    }

    .legal-container {
        padding: 30px 20px;
    }

    .operator-table th,
    .operator-table td {
        display: block;
        width: 100%;
        padding: 8px 0;
    }

    .operator-table th {
        padding-top: 14px;
        padding-bottom: 4px;
    }

    .operator-table td {
        padding-bottom: 14px;
    }

    .operator-table tr {
        display: block;
    }
}

/* =========================================================================
   13. お問い合わせページ
========================================================================= */
.contact-page {
    background: #f8f9fa;
    padding: 60px 20px;
    min-height: calc(100vh - 200px);
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-title {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin-top: 0;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.contact-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primaryColor);
    border-radius: 2px;
}

.contact-intro {
    background: #fff;
    padding: 35px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #ddd;
}

.contact-intro > p {
    color: #333;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 32px;
}

.contact-list li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 12px;
    color: #333;
    font-size: 15px;
    line-height: 1.6;
}

.contact-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: var(--primaryColor);
    border-radius: 50%;
}

.contact-note-link {
    font-size: 14px;
    color: #666;
    margin-bottom: 0 !important;
}

.contact-notice {
    background: var(--bgLight);
    padding: 20px 25px;
    border-radius: 6px;
    margin-bottom: 30px;
}

.notice-title {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.notice-title::before {
    content: '📋';
    font-size: 14px;
}

.notice-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.notice-list li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 10px;
    color: #333;
    font-size: 13px;
    line-height: 1.7;
}

.notice-list li:last-child {
    margin-bottom: 0;
}

.notice-list li::before {
    content: '・';
    position: absolute;
    left: 0;
    color: #666;
}

.notice-list a {
    color: var(--primaryColor);
    text-decoration: underline;
}

.notice-list a:hover {
    color: #1a3a6e;
}

.contact-form-wrapper {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Contact Form 7 */
.wpcf7 {
    width: 100%;
}

.wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.wpcf7-form > p {
    margin: 0;
}

.wpcf7 label {
    display: block;
    font-weight: bold;
    color: #333;
    font-size: 15px;
    margin-bottom: 8px;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    color: #333;
    background: #fff;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 textarea:focus {
    outline: none;
    border-color: var(--primaryColor);
    box-shadow: 0 0 0 3px rgba(18, 37, 77, 0.1);
}

.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
    color: #aaa;
}

.wpcf7 textarea {
    min-height: 180px;
    resize: vertical;
    line-height: 1.8;
}

.wpcf7-acceptance {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 6px;
    cursor: pointer;
}

.wpcf7-acceptance input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--primaryColor);
    cursor: pointer;
}

.wpcf7-acceptance .wpcf7-list-item-label {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

.wpcf7 input[type="submit"] {
    display: block;
    width: 100%;
    max-width: 280px;
    margin: 10px auto 0;
    padding: 16px 40px;
    background: var(--primaryColor);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
    box-shadow: 0 4px 15px rgba(18, 37, 77, 0.3);
}

.wpcf7 input[type="submit"]:hover {
    background: #1a3a6e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(18, 37, 77, 0.4);
}

.wpcf7 input[type="submit"]:active {
    transform: translateY(0);
}

.wpcf7-not-valid {
    border-color: #e74c3c !important;
}

.wpcf7-not-valid-tip {
    color: #e74c3c;
    font-size: 13px;
    margin-top: 6px;
    display: block;
}

.wpcf7-spinner {
    margin: 10px auto;
    display: block;
}

.wpcf7-response-output {
    margin: 20px 0 0 !important;
    padding: 15px 20px !important;
    border-radius: 6px !important;
    font-size: 14px;
    text-align: center;
}

.wpcf7-mail-sent-ok,
.wpcf7 form.sent .wpcf7-response-output {
    background: #d4edda !important;
    border: 1px solid #c3e6cb !important;
    color: #155724 !important;
}

.wpcf7-mail-sent-ng,
.wpcf7 form.failed .wpcf7-response-output {
    background: #f8d7da !important;
    border: 1px solid #f5c6cb !important;
    color: #721c24 !important;
}

.wpcf7-validation-errors,
.wpcf7 form.invalid .wpcf7-response-output {
    background: #fff3cd !important;
    border: 1px solid #ffeeba !important;
    color: #856404 !important;
}

@media screen and (max-width: 768px) {
    .contact-page {
        padding: 40px 15px;
    }

    .contact-title {
        font-size: 24px;
    }

    .contact-intro {
        padding: 25px 20px;
    }

    .contact-form-wrapper {
        padding: 25px 20px;
    }

    .contact-notice {
        padding: 15px 18px;
    }

    .notice-title {
        font-size: 13px;
    }

    .wpcf7 input[type="text"],
    .wpcf7 input[type="email"],
    .wpcf7 textarea {
        padding: 12px 14px;
        font-size: 16px;
    }

    .wpcf7 input[type="submit"] {
        max-width: 100%;
        padding: 14px 30px;
    }

    .wpcf7-acceptance {
        padding: 15px;
    }
}

@media screen and (max-width: 480px) {
    .contact-title {
        font-size: 22px;
    }

    .contact-list li {
        font-size: 14px;
    }

    .notice-list li {
        font-size: 12px;
    }

    .wpcf7-form {
        gap: 20px;
    }
}

/* =========================================================================
   14. ドロップダウン・アコーディオン
========================================================================= */

/* PC用ドロップダウン */
@media screen and (min-width: 1200px) {
    .nav_item_with_dropdown {
        position: relative;
    }

    .nav_item_with_dropdown > .nav_item {
        cursor: pointer;
        transition: color 0.3s;
    }

    .nav_item_with_dropdown.active > .nav_item {
        color: var(--primaryColor);
        font-weight: bold;
    }

    .dropdown_menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        background: #fff;
        min-width: 200px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        border-radius: 4px;
        padding: 10px 0;
        margin-top: 10px;
        z-index: 1000;
        list-style: none;
    }

    .nav_item_with_dropdown.active .dropdown_menu {
        display: block;
    }

    .dropdown_menu li {
        border-left: none;
        height: auto;
        margin: 0;
    }

    .dropdown_menu li a {
        display: block;
        padding: 10px 20px;
        color: var(--mainBlack);
        text-decoration: none;
        font-size: 14px;
        transition: background 0.3s;
        margin: 0;
    }

    .dropdown_menu li a:hover {
        background: #f5f5f5;
    }

    .dropdown_menu li a:after {
        display: none;
    }

    /* 子カテゴリアコーディオン */
    .dropdown_menu li.has-children {
        position: relative;
    }

    .dropdown_menu li.has-children .parent-category-link {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0;
        transition: background 0.3s;
    }

    .dropdown_menu li.has-children .parent-category-link:hover {
        background: #f5f5f5;
    }

    .dropdown_menu li.has-children .parent-category-link a {
        display: block;
        padding: 10px 15px 10px 20px;
        color: var(--mainBlack);
        text-decoration: none;
        font-size: 14px;
        flex: 1;
    }

    .dropdown_menu li.has-children .parent-category-link a:hover {
        color: var(--primaryColor);
    }

    .dropdown_menu .accordion-arrow {
        display: inline-block;
        width: 0;
        height: 0;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 6px solid #999;
        border-bottom: none;
        cursor: pointer;
        padding: 0;
        margin: 0 20px 0 5px;
        transition: transform 0.3s;
        user-select: none;
        transform-origin: center center;
        vertical-align: middle;
    }

    .dropdown_menu li.has-children.open .accordion-arrow {
        transform: rotate(180deg);
    }

    .dropdown_menu .sub-dropdown {
        display: none;
        list-style: none;
        margin: 0;
        padding: 0;
        background: #f9f9f9;
    }

    .dropdown_menu li.has-children.open .sub-dropdown {
        display: block;
    }

    .dropdown_menu .sub-dropdown li {
        margin: 0;
        padding: 0;
        border-left: none;
        height: auto;
    }

    .dropdown_menu .sub-dropdown li a {
        display: block;
        padding: 8px 20px 8px 40px;
        color: #666;
        text-decoration: none;
        font-size: 13px;
        transition: all 0.2s;
    }

    .dropdown_menu .sub-dropdown li a:hover {
        background: #eee;
        color: var(--primaryColor);
    }
}

/* モバイル用ドロップダウン */
@media screen and (max-width: 1200px) {
    .nav_item_with_dropdown > .nav_item {
        cursor: pointer;
    }

    .dropdown_menu {
        display: none;
        list-style: none;
        padding-left: 20px;
        margin-top: 10px;
    }

    .nav_item_with_dropdown.active .dropdown_menu {
        display: block;
    }

    .dropdown_menu li {
        margin: 8px 0;
    }

    .dropdown_menu li a {
        color: var(--mainBlack);
        text-decoration: none;
        font-size: 14px;
        display: block;
        padding: 5px 10px;
    }

    .dropdown_menu li a:hover {
        background: rgba(18, 37, 77, 0.1);
    }

    /* 子カテゴリアコーディオン */
    .mobile-dropdown-menu li.has-children {
        position: relative;
    }

    .mobile-dropdown-menu li.has-children .parent-category-link {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0;
    }

    .mobile-dropdown-menu li.has-children .parent-category-link a {
        display: block;
        padding: 15px 15px 15px 45px;
        color: rgba(255, 255, 255, 0.9);
        text-decoration: none;
        font-size: 15px;
        flex: 1;
    }

    .mobile-dropdown-menu .mobile-accordion-arrow {
        display: inline-block;
        width: 0;
        height: 0;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 6px solid rgba(255, 255, 255, 0.7);
        border-bottom: none;
        cursor: pointer;
        padding: 0;
        margin: 0 25px 0 10px;
        transition: transform 0.3s;
        user-select: none;
        transform-origin: center center;
        vertical-align: middle;
    }

    .mobile-dropdown-menu li.has-children.open .mobile-accordion-arrow {
        transform: rotate(180deg);
    }

    .mobile-dropdown-menu .mobile-sub-dropdown {
        display: none;
        list-style: none;
        margin: 0;
        padding: 0;
        background: rgba(0, 0, 0, 0.15);
    }

    .mobile-dropdown-menu li.has-children.open .mobile-sub-dropdown {
        display: block;
    }

    .mobile-dropdown-menu .mobile-sub-dropdown li {
        list-style: none;
    }

    .mobile-dropdown-menu .mobile-sub-dropdown li::before {
        display: none;
    }

    .mobile-dropdown-menu .mobile-sub-dropdown li a {
        display: block;
        padding: 12px 25px 12px 65px;
        color: rgba(255, 255, 255, 0.8);
        text-decoration: none;
        font-size: 14px;
        transition: background 0.3s;
    }

    .mobile-dropdown-menu .mobile-sub-dropdown li a:hover {
        background: rgba(255, 255, 255, 0.05);
    }

    .mobile-dropdown-menu > li:not(.has-children) > a {
        display: block;
        padding: 15px 25px 15px 45px;
        color: rgba(255, 255, 255, 0.9);
        text-decoration: none;
        font-size: 15px;
        transition: background 0.3s;
    }

    .mobile-dropdown-menu > li:not(.has-children) > a:hover {
        background: rgba(255, 255, 255, 0.05);
    }
}

/* =========================================================================
   15. サブカテゴリタブ・4列グリッド
========================================================================= */
.category-nav-wrapper {
    background-color: #fff;
}

.category-nav-wrapper .breadcrumb-service {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 24px 10px;
    background-color: #fff;
}

#service_list {
    background-color: #fff;
}

.screen-reader-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.subcategory-tabs-section {
    background: #fff;
    padding: 15px 0 25px;
}

.subcategory-tabs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.subcategory-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 24px;
    background-color: #f5f5f5;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.subcategory-tab:hover,
.subcategory-tab.active {
    background-color: var(--primaryColor);
    border-color: var(--primaryColor);
    color: #fff;
}

.subcategory-tab .count {
    font-size: 12px;
    opacity: 0.8;
}

/* 4列グリッドレイアウト */
.card-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 24px 40px;
}

.card-grid-4 .card {
    border: 1px solid var(--borderColor);
    border-radius: 8px;
    padding: 14px;
    text-align: center;
    background: #fff;
    margin: 0;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.card-grid-4 .card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.no-services, .no-posts {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-size: 16px;
}

@media screen and (max-width: 1200px) {
    .card-grid-4 {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        padding: 20px;
    }
}

@media screen and (max-width: 900px) {
    .card-grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        padding: 20px;
    }
}

@media screen and (max-width: 768px) {
    .subcategory-tabs-section {
        padding: 20px 0;
    }

    .subcategory-tabs {
        gap: 8px;
        padding: 0 15px;
    }

    .subcategory-tab {
        padding: 10px 16px;
        font-size: 13px;
    }
}

@media screen and (max-width: 600px) {
    .card-grid-4 {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 16px;
    }

    .card-grid-4 .card:hover {
        transform: scale(1.03);
    }
}