body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: YakuHanJP, "Yu Gothic", "游ゴシック", YuGothic, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo";
    line-height: calc(32 / 18);
    color: #333;
    font-size: 18px;
    letter-spacing: 0.1em;
}

@media (max-width: 768px) {

    body {
        font-size: 14px;
        line-height: calc(24 / 14);
        letter-spacing: 0.1em;
    }
}

main {
    flex: 1;
}

main > *:last-child {
    padding-bottom: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
}

a {
    transition: color 0.3s ease
}

img {
    max-width: 100%;
    height: auto;
}

/* コンテンツレイアウト */
.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
}

/* サイドバー */
.sidebar {
    position: sticky;
    top: 20px;
    padding-top: 48px;
}

.sidebar-widget {
    background: #fff;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 3px 3px 10px 1px rgba(0, 0, 0, 0.1);
    margin-bottom: 24px;
}

.widget-title {
    font-size: 18px;
    margin: 0 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #f0f0f0;
}

/* カテゴリーリスト */
.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin-bottom: 8px;
}

.category-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: #333;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.category-link:hover {
    background-color: #f5f5f5;
}

.post-count {
    font-size: 12px;
    color: #666;
}

/* 最近の実績 */
.recent-post {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recent-post-link {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 12px;
    padding: 12px;
    text-decoration: none;
    color: #333;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.recent-post-link:hover {
    background-color: #f5f5f5;
}

.news-single .recent-post-link {
    display: block;
}

.thumbnail {
    width: 80px;
    height: 80px;
    overflow: hidden;
    border-radius: 4px;
}

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

.recent-post .post-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.recent-post-link .post-title {
    font-size: 16px;
    margin: 0 0 4px;
    line-height: 1.4;
}

.recent-post-link .archive-categories {
    gap: 0px 6px;
    margin-top: 0;
}

.recent-post-link .archive-categories .category-tag {
    font-size: 10px;
    padding: 0;
    background: none;
}


.recent-post-link .archive-categories .category-tag:hover {
    background: none;
}

.recent-post-link .post-date {
    font-size: 12px;
}


.news-archive .recent-post-link{
    display: block;
}




/* レスポンシブ対応 */
@media screen and (max-width: 991px) {
    .content-wrapper {
        display: block;
    }
    
    .sidebar {
        position: static;
    }
}

.logo {
    max-width: 200px;
}

/* スクリーンリーダー用のスタイル */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ヘッダー */
.header {
    position: fixed;
    top: 24px;
    left: 1%;
    z-index: 1000;
    background: transparent;
    width: 20%;
    max-width: 320px;
    min-width: 150px;
}

/* スクロール時のヘッダー表示 */
.header.is-scrolled {
}

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

.container__inner {
    padding: 0 20px;
}

@media (max-width: 768px) {
.container__inner {
    padding: 0;
}
}

.header__inner {
    line-height: 0;
}

.header__inner img{

}


@media (max-width: 768px) {
    .header {
        top: 8px;
    }

    .header__inner img {
    }

    .header__inner {

    }

    .container {
        padding: 0 12px;
    }

}

/* グローバルナビゲーション */
.global-nav {
    display: flex;
    align-items: center;
}

.global-nav__list {
    display: flex;
    gap: 36px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.global-nav__item:last-child {
}

.global-nav__link {
    color: #333;
    text-decoration: none;
    font-weight: 700; /* フォントを太字に */
    font-size: 14px;
    position: relative;
    padding: 6px 0;
    white-space: nowrap; /* テキストの折り返しを防止 */
}

.global-nav__link:hover {
}

/* お問い合わせボタン */
.global-nav__item:last-child .global-nav__link {
}

/* 通常メニューのホバーエフェクト */
.global-nav__link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #333;
    transition: width 0.3s ease;
}

.global-nav__link:not(:last-child):hover {
}

.global-nav__link:hover:after{
    width: 100%;
}

/* サブメニュー */
.has-children {
    position: relative;
}

/* サブメニューが表示されている間、親リンクのホバー状態を維持 */
.has-children:hover > .global-nav__link {
    color: #333;
}

.has-children:hover > .global-nav__link::after {
    width: 100%;
}

.global-nav__submenu {
    position: absolute;
    top: 100%;
    left: -12px;
    background: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 24px 12px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    gap: 12px;
    display: flex;
    flex-direction: column;
}

.has-children:hover .global-nav__submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.global-nav__submenu li{
    list-style: none;
}

.global-nav__submenu a {
}

.global-nav__submenu a:hover {
}

/* ハンバーガーメニュー（モバイル用） */
.hamburger {
    display: none;
    width: 20px;
    height: 24px;
    border: none;
    background: none;
    padding: 0;
    margin-right: -12px;
    cursor: pointer;
    position: relative;
    z-index: 100;
}

.hamburger span {
    display: block;
    position: absolute;
    width: 100%;
    height: 2px;
    background: #333;
    transition: all 0.3s ease;
}

.hamburger span:nth-child(1) {top: 3px;}
.hamburger span:nth-child(2) {top: calc(50% - 1px);}
.hamburger span:nth-child(3) {bottom: 3px;}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .global-nav {
        display: none;
        position: fixed;
        top: 56px;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 20px;
        backdrop-filter: blur(10px);
        box-sizing: border-box;
        z-index: 99;
        border-radius: 24px;
        box-shadow: 3px 3px 10px 1px rgba(0, 0, 0, 0.1);
    }

    .global-nav__submenu {
        opacity: 1;
        visibility: visible;
        position: relative;
        box-shadow: none;
        transform: translateY(0);
        transition: none;
        padding: 12px 12px 0;
        left: 0;
    }

    .global-nav__submenu a {
        font-weight: normal;
    }

    .global-nav.is-active {
        display: block;
        animation: fadeIn 0.3s ease-in-out forwards;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .global-nav__list {
        flex-direction: column;
        gap: 24px;
        padding-bottom: 24px;
    }

    .hamburger {
        display: block;
    }

    .hamburger.is-active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.is-active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.is-active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* オーバーレイ */
.main-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 98; /* グローバルナビより下、他のコンテンツより上 */
    backdrop-filter: blur(3px);
}

.main-overlay.is-active {
    opacity: 1;
    visibility: visible;
}


/* フッター */
.footer {
    margin-top: auto;
    width: 100%;
    background: #f5f5f5;
}

.footer__inner {

}

.footer__content {
    display: flex;
    gap: 60px;
    justify-content: space-between;
}

.footer__company {
    width: 15%;
    color: #333;
}

.footer__logo {
    width: 100%;
    height: auto;
    margin-bottom: 6px;
}

.footer__address {
    font-style: normal;
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}

.footer-nav {
    display: flex;
    gap: 40px;
    margin-top: 15px;
    justify-content: center;
}

.footer__nav-title {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.footer-nav__list {
    font-size: 15px;
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px 40px;
    grid-template-rows: repeat(1, auto);
}

.footer-nav__item {
    margin-bottom: 0;
}

.footer-nav__item:last-child {
    margin-bottom: 0;
}

.footer-nav__link {
    font-weight: bold;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    padding: 6px 0;
}

.footer-nav__submenu .footer-nav__link {
    font-weight: normal;
}

.footer-nav__link:after {
    /*content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #333;
    transition: width 0.3s ease;
    */
}


.footer-nav__link:hover:after {
    width: 100%;
}

.footer-nav__submenu {
    list-style: none;
    padding: 5px 0 0 0;
}

.footer-nav__submenu .footer-nav__item {
    margin-bottom: 3px;
}

.footer-nav__list > .footer-nav__item:nth-child(1) {
    grid-column: 1;
    grid-row: 1/8;
}

.footer-nav__list > .footer-nav__item:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
}

.footer-nav__list > .footer-nav__item:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
}

.footer-nav__list > .footer-nav__item:nth-child(4) {
    grid-column: 2;
    grid-row: 3;
}

.footer__certification {
    display: flex;
    width: 25%;
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
    justify-content: end;
    gap: 5px;
}

.footer__certification li{
    width: 30%;

}

.footer__certification li a{

}

.footer__certification li img{
    width: 100%;
}

.footer__bottom {
    text-align: center;
}

.footer__bottom a{
    color: #333;
    text-decoration: none;
    font-size: 12px;
    padding: 0 12px;
}


.footer__copyright {
    font-size: 12px;
}

@media (max-width: 768px) {
    .footer {
    }

    .footer__content {
        gap: 0;
        flex-direction: column;
    }

    .footer__company {
        width: 100%;
        text-align: center;
    }

    .footer__logo {
        width: 160px;
        margin-bottom: 0;
        
    }

    .footer__nav {
        justify-content: center;
    }

    .footer__nav-title {
        font-size: 14px;
    }

    .footer__nav a:hover:after {
        width: 100%;
    }


    .footer__nav-title::after {

    }

    .footer__nav-group.is-open .footer__nav-title::after {
    }

    .footer__nav ul {
        font-size: 14px;
    }

    .footer__nav li {
        margin-bottom: 4px;
    }

    .footer__nav-group.is-open ul {
        display: block;
    }

    .footer__certification {
        width: 200px;
        margin: 16px auto 0;
        justify-content: center;
    }

    .footer__bottom {
        text-align: center;
        padding-top: 12px;
        display: grid;
        gap: 8px;
    }

}

/* メインビジュアル */
.main-visual {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    overflow: hidden;
}

.main-visual__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.main-visual__cta {
    position: relative;
    width: 100%;
    max-width: 1200px;
    text-align: center;
    z-index: 2;
}

@media (max-width: 768px) {
    .main-visual__cta {
    }
}

.main-visual__cta-image {
    width: 100%;
    height: auto;
    max-width: 1200px;
    display: block;
}

.main-visual__link {
    position: absolute;
    top: 78%;
    left: 1.7%;
    width: 300px;
    height: 66px;
    z-index: 2;

    background: linear-gradient(to right, #FF3EF1 27%, #957CF7 67%, #0BDFFE 97%) border-box border-box;
    border: 2px solid #fff;
    border-radius: 50px;
    padding: 0 24px;

    font-size: 26px;
    font-weight: bold;
    letter-spacing: 0.1rem;
    text-decoration: none;
    color: #fff;

    display: flex;
    align-items: center;
    justify-content: space-between;

    box-shadow: 8px 5px 12px 5px rgba(0, 0, 0, 0.5)
}


.main-visual__link:hover {
}


.main-visual__link svg{
    width: 35px;
    height: 35px;
    margin-right: -5px;
}

/* デバッグ用（確認後に削除可能） 
.main-visual__link:hover {
    background: rgba(255,255,255,0.2);
}
*/

@media (max-width: 768px) {
    .main-visual {
        height: auto; /* モバイルではさらに小さく */
    }

    .main-visual__cta {
        max-width: 100%;
    }

    .main-visual__link {
        width: calc(86% - 52px);
        left: 7%;
        top: 87%;
        height: 50px;
        font-size: 20px;
        box-shadow: 0px 5px 8px 0px rgba(0, 0, 0, 0.5);
        position: fixed;
        transition: opacity .5s ease;
        opacity: 1;
    }

    .main-visual__link.is-hidden {
        opacity: 0;
        pointer-events: none; /* hover やクリックを無効化（不要なら削除） */
    }

    .main-visual__link svg{
        width: 26px;
        height: 26px;
    }    
}

/* デバイス別表示制御 */
.pc-only {
    display: block;
}

.sp-only {
    display: none !important;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .pc-only {
        display: none !important;
    }

    .sp-only {
        display: block !important;
    }

}


.page-header {
    background: #f5f5f5;
    padding: 48px 0;
}

.page-title {
    font-size: 32px;
    font-weight: bold;
    margin: 0;
}

@media (max-width: 768px) {
    .page-header {
        padding: 24px 0;
    }

    .page-title {
        font-size: 32px;

    }
}


/* 会社概要ページ */
.company-page {
}


/* 会社情報テーブル */
.company-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.company-table tr {
    border-bottom: 1px solid #eee;
}

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

.company-table th,
.company-table td {
    padding: 24px 12px;
    vertical-align: top;
    line-height: 1;
}

.company-table th {
    width: 94px;
    color: #333;
    font-weight: normal;
    text-align: left;
    position: relative;
}

.company-table th::after {
    content: '';
    position: absolute;
    top: calc(50% - 7px);
    right: 0;
    width: 1px;
    height: 14px;
    background: #333;
}

.company-table td {
    color: #333;
    padding-left: 32px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .company-table th,
    .company-table td {
        padding: 16px 12px;
        font-size: 14px;
    }

    .company-table th {
        width: 100px;
    }

    .company-table th::after {
        top: 20px;
        height: 12px;
    }

    .company-table td {
        padding-left: 24px;
    }
}

/* サービス一覧ページ */
.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 60px 0;
}

.service-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    transition: transform 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 3px 3px 10px 1px rgba(0, 0, 0, 0.1);
}

.service-card__title {
    font-size: 24px;
    margin: 0;
}

.service-card__description {
    font-size: 15px;
}

.service-card__link {
    display: inline-block;
    padding: 10px 20px;
    background: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 99px;
}

.service-card__link:hover {
}

/* サービス詳細ページ */
.service-section {
    margin-bottom: 60px;
}

.service-section__title {
    font-size: 28px;
    margin-bottom: 20px;
    color: #333;
}

.service-section__text {
    color: #666;
    line-height: 1.8;
}

.service-list {
    list-style: none;
    padding: 0;
}

.service-list li {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.price-table {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.price-plan {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}

.price-plan h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.price {
    font-size: 24px;
    font-weight: bold;
    color: #1a73e8;
    margin-bottom: 20px;
}

.price-features {
    list-style: none;
    padding: 0;
    text-align: left;
}

.price-features li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.price-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #1a73e8;
}

/* サービスチャート */
.service-chart {
    margin: 60px auto;
}

.service-chart__image {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .service-card__link {
        padding: 8px 16px;
        font-size: 14px;       
    }

    .service-chart {
        margin-bottom: 40px;
    }
}

/* サービス詳細セクション */
.service-features {
    margin-top: 40px;
}

.service-features__title {
    font-size: 26px;
}

.service-feature-item {
}

.service-feature-item:last-child {
    margin-bottom: 0;
}

.service-feature-item__title {
    font-size: 22px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.service-feature-item__icon {
    margin-right: 8px;
}

.service-feature-item__text {
    font-size: 15px;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .service-feature-item__title {
        font-size: 16px;
    }
}

.service-detail-section:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 24px);
    max-width: 1200px;
    height: 1px;
    background: #e0e0e0;
}



/* サービス特徴のリストスタイル */
.service-features ul {
    padding: 0 0 0 24px;
}

.service-features li {
    position: relative;
    margin-bottom: 16px;
    line-height: 1.6;
}

.service-features li:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .service-features li {
        font-size: 15px;
    }
}

/* CTA section */
.cta-section {
    background: #f5f5f5;
    padding: 60px 0;
    text-align: center;
    margin-top: 60px;
}

.cta-title {
    font-size: 32px;
    margin-bottom: 15px;
}

.cta-text {
    color: #666;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: #1a73e8;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background: #1557b0;
}

/* セクション共通 */
.section-title ,
.post-title{
    font-size: 48px;
    text-align: left;
    margin: 0 0 36px;
    padding: 0;
    line-height: 1.5;
    font-feature-settings: "palt";
    letter-spacing: 0.1em;

}

@media (max-width: 768px) {
    .section-title{
    font-size: 24px;
    text-align: left;
    margin: 0 0 36px;
    padding: 0;
    line-height: 1.5;
    text-align: center;
}
}


.section-title span{
    color: #FF3EF1;
    display: inline-block;
}


[class^="column-layout"]{
    display: flex;
    justify-content: space-between;
}


.column-layout__3col,.column-layout__2col {
    gap: 4%;
}


.example{
    padding: 24px 0 0;
}

.example+section{
    padding-top: 60px;
}

@media (max-width: 768px) {
    .example{
        padding: 0;
    }
    .example+section{
        padding-top: 20px;
    }
}

.problem .column-layout__3col .item {
}


.problem .item img{
    line-height: 1;
    display: block;
}


.problem .item p{
    text-align: center;
    font-weight: bold;
    line-height: 1.5;
    margin-bottom: 0;
}


.solution .column-layout__2col .item:first-child {
    flex-basis: 70%
}
.solution .column-layout__2col .item:last-child {
    flex-basis: 30%
}

.service .column-layout__2col.description .item:first-child {
    flex-basis: 70%;
    padding-bottom: 48px;
}

.service .column-layout__2col.description .item:last-child {
    flex-basis: 30%;
    position: relative;
}

.service .column-layout__2col.description .item:last-child:before {
    content: "";
    display: block;
    background-image: url(../images/service_01.jpg);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    width: 100%;
    height: auto;
    bottom: 0;
    aspect-ratio: 367 / 279;
}


@media (max-width: 768px) {
    .service .column-layout__2col.description .item:first-child {
        padding-bottom: 0;
    }
    .service .column-layout__2col.description .item:last-child {
        margin-top: 0;
    }
    .service .column-layout__2col.description .item:last-child:before {
        position: relative;
        width: 70%;
        margin: 0 auto;
    }
}





.voice .column-layout__2col {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}
.voice .column-layout__2col.open {
    max-height: 100vh;
}

.voice .column-layout__2col:nth-child(2n-1) {
    flex-direction: row-reverse;
}
.voice .column-layout__2col .item:first-child {
    flex-basis: 70%
}

.voice .column-layout__2col .item:last-child {
    flex-basis: 30%
}


.narrow ul {
    flex: 1 0 760px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}


.narrow ul li{
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
}

.narrow ul li:before{
    content: "";
    display: block;
    background-image: url(../images/check.png);
    width: 66px;
    height: 66px;
    background-size: cover;
    margin-right: 8px;
    flex: 0 0 66px;

}

@media (max-width: 768px) {


    .problem .column-layout__3col {
        flex-direction: column;
        gap: 20px;
    }

    .solution .column-layout__2col {
        flex-direction: column;
        gap: 20px;
    }

    .service .column-layout__2col {
        flex-direction: column;
        gap: 20px;
    }

    .voice .column-layout__2col {
        flex-direction: column;
        gap: 30px;
    }
    .voice .column-layout__2col:nth-child(2n-1) {
        flex-direction: column;
    }

    .narrow .column-layout__2col {
        display: block;
    }

    .narrow .column-layout__2col .item:first-child{
        display: block;
    }

}

@media (max-width: 768px) {
    .problem .column-layout__3col .item{
        display: flex;        
        align-items: center;
    }
    .problem .item img{
        width: 40%;
        height: auto;
    }
    .problem .item p {
        font-size: 16px;
        text-align: left;
        margin: 0 0 0 8px;
    }
}

.comment{
    position:relative;
    display:flex;
    align-items: center;
    padding:0 32px;
    border-radius: 12px;
    /*background: #fff;*/
    margin-top: 48px;
}


.comment::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    border: 2px solid transparent;
    background: linear-gradient(to right,#FF3EF1 27%,#957CF7 67%,#0BDFFE 97%) border-box border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0) border-box;
    -webkit-mask-composite: destination-out;
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0) border-box;
    mask-composite: exclude;
}


.comment .face{
    flex: 0 0 120px;
    padding: 24px 0 8px;
    margin-bottom: auto;
}

.comment .text{
    padding: 32px 0px 0px 24px;
}

.comment .text p{
    font-size: 18px;
    /*font-weight: bold;*/
    margin: 0 0 4px;
}

.comment .logo{
    width: 180px;
    margin-left: auto;
}


@media (max-width: 768px) {
    .comment{
        padding:12px 8px;
        margin-top: 24px;
        line-height: 1.5;
    }

    .comment .face{
        flex: 0 0 64px;
        padding: 4px 0 0;
    }

    .comment .text{
        padding: 4px 4px 4px 8px;
    }

    .comment .text p{
        font-size: 14px;
        margin: 0;
    }

    .comment .logo{
        display: none;
    }
}

section.solution {
    background-image: url(../images/bg_01.jpg);
}

section.narrow {
    background-image: url(../images/bg_01.jpg);
}

section.contact {
    background-image: url(../images/bg_01.jpg);
}


.solution p {
    /*font-weight: bold;*/
    margin: 0;
}

.solution p span {
    color: #FF3EF1;
    font-weight: bold;
    display: block;
    font-size: 24px;
    margin-top: 8px;
}

@media (max-width: 768px) {
    .solution p span {
        font-size: 18px;
    }
    
}

.solution p span+span {
    margin-top: 0;
}

.solution p span:last-child {
    margin-bottom: 8px;
}

.solution figcaption {
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 0.07rem;
}

.solution figure {
    margin-bottom: 0;
}

section.service {
    padding-bottom: 0;
}

.service .description p {
    /*font-weight: bold;*/
    margin: 0;
}
.service .description p span{
    color: #FF3EF1;
    font-weight: bold;
}

.service .flow {
    margin: 56px 0;;
}

@media (max-width: 768px) {
    .service .flow {
        margin: 24px 0;
    }

}

.initial{
    margin-top: 40px;
}

.initial table{
    background: #EDF0FE;
    border-radius: 12px;
    border-collapse: collapse;
    font-size: 14px;
    /*font-weight: bold;*/
    overflow: hidden;
    line-height: 1.5;
}

.initial table td,.initial table th{
    padding: 16px;
    box-sizing: border-box;
}

.initial table td{
    vertical-align: top;
}

.initial table thead tr,.initial table tbody tr{
    border-bottom: 2px solid #fff;
}
.initial table tbody tr:last-child{
    border-bottom: 0;
}
.initial table thead tr >*,.initial table tbody tr>*{
    border-right: 2px solid #fff;
}
.initial table thead tr >*:last-child,.initial table tbody tr>*:last-child{
    border-right: 0;
}

.initial table.pc-only thead,.initial table.pc-only tbody tr td:first-child,.initial table.pc-only tbody tr:last-child td {
    font-size: 24px;
    line-height: 1.2;
    text-align: center;
    vertical-align: middle;
}

.initial table.pc-only thead {
    background: #476BEF;
    color: #fff;
}
.initial table.pc-only tbody tr td:first-child {
    background: #d0d8fb;
}

.initial table.pc-only thead tr th{
    width: 30%;
    max-width: 30%;
}

.initial table.pc-only thead tr th:first-child{
    width: auto;
    min-width: 116px;
}






.initial table ul{
    padding: 0 0 0 1em;
    line-height: 1.2;
    list-style: none;
}

.initial table ul li {
    position: relative;
}

.initial table ul li:before {
    content: "・";
    position: absolute;
    top: 0px;
    left: -1em;
}

.initial table li+li{
    margin-top: 6px;
}

@media (max-width: 768px) {
    .initial {
        overflow: scroll;
    }


    .initial table.sp-only {
        width: 800px;
    }


    .initial table.sp-only thead {
        background: #d0d8fb;
        color: #000;
        font-size: 18px;
        text-align: center;
    }
    .initial table.sp-only th {
        background: #476BEF;
        font-size: 18px;
        color: #fff;
    }
    .initial table.sp-only thead tr td {
        vertical-align: middle;
    }
    .initial table.sp-only tr td{
        width: 40%;
        max-width: 40%;
    }

    .initial table.sp-only tr th{
        width: auto;
        min-width: 132px;
        padding: 8px;
    }
    .initial table.sp-only tr td:last-child{
        width: auto;
        min-width: 130px;
        font-size: 18px;
        text-align: center;
    }

}

.service h3 {
    font-size: 36px;
    text-align: center;
    margin: 24px 0 16px;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .service h3 {
        font-size: 24px;
    }
}


.column-layout__2col.running {
    display: flex;
    flex-direction: row;
    gap: 2px;
}

.running {
    gap: 2px;
    background: #000;
    border-top-width: 24px;
    border-top-style: solid;
    border-top-color: #edf0fe;
    border-bottom-width: 24px;
    border-bottom-style: solid;
    border-bottom-color: #edf0fe;           
    border-radius: 12px;
}

.running .item {
    width: 50%;
    background: #edf0fe;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    line-height: 1;
}

.running .item p{
    font-size: 24px;
    padding: 0;
    margin: 0 0 8px;
}

@media (max-width: 768px) {
    .running .item p{
        font-size: 20px;
    }

}




.voice h3 {
    font-size: 24px;
    border-bottom: 1px solid;
    display: flex;
    align-items: center;
    font-feature-settings: "palt";    
}

.voice h3 span{
    font-size: 16px;
    line-height: 1;
    color: #fff;
    background: #000;
    border-radius: 8px;
    padding: 4px 8px;
    margin-left: 12px;
    letter-spacing: 0.15rem;
}

.voice h4 {
    font-size: 24px;
    margin: 40px 0 0px;
    font-feature-settings: "palt";
    position: relative;
    padding-right: 56px;
}

.voice h4:after {
    content: "詳細";
    display: flex;
    align-items: center;
    position: absolute;
    right: 0;
    top: 50%;
    height: 0px;
    font-size: 12px;
    line-height: 1;
    color: #fff;
    padding: 10px;
    background: #000;
    border-radius: 10px;
}

.voice h3 + h4 {
    margin-top: 0;
}

.voice h4 span{
    color: #FF3EF1;
}

.voice .name{
    font-size: 16px;
    /*font-weight: bold;*/
    margin: 0 0 16px;
}

.voice p{
    margin: 0;
}

.voice p span{
    color: #FF3EF1;
    font-weight: bold;
}





@media (max-width: 768px) {
    .voice h3 {
        flex-direction: column;
        align-items: start;
        font-size: 20px;
    }
    .voice h3 span{
        margin: 0 0 8px;
        font-size: 12px;
    }
    .voice h4 {
        font-size: 23px;
        line-height: 1.5;
    }
    .voice .name {
        font-size: 12px;
    }

}


@media (max-width: 768px) {
    .narrow ul {
        grid-template-columns: 1fr;
        margin: 0 auto;
        max-width: 100%;
        width: fit-content;
    }
    .narrow ul li {
        font-size: 20px;
        line-height: 1.5;;
    }
    .narrow ul li:before{
        width: 46px;
        height: 46px;
        flex: 0 0 46px;
    }
}



section.flow {
    padding-bottom: 0;
}

.flow-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.flow-list li {
    display: flex;
    align-items: center;
    font-size: 24px;
    background: #F5F5F5;
    padding: 0 24px;
    border-radius: 12px;
}

@media (max-width: 768px) {
    .flow-list li {
        flex-wrap: wrap;
        padding: 8px 8px 12px 12px;
    }
}


.flow-list li .number {
    flex: 0 0 64px;
    height: 64px;
    position: relative;
    display: flex;
    align-items: center;
    font-size: 32px;
    color: #fff;
    background: #000;
    border-radius: 32px;
    justify-content: center;
    margin: 32px 0;
    font-weight: bold;
}

@media (max-width: 768px) {
    .flow-list li .number{
        flex: 0 0 32px;
        height: 32px;
        margin: 0;
        font-size: 16px;
    }
}

.flow-list li .number::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 32px;
    border: 2px solid transparent;
    background: linear-gradient(to right,#FF3EF1 27%,#957CF7 67%,#0BDFFE 97%) border-box border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0) border-box;
    -webkit-mask-composite: destination-out;
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0) border-box;
    mask-composite: exclude;
}

.flow-list li .title {
    flex: 0 0 260px;
    margin: 0 0 0 20px;
    font-size: 28px;
    font-weight: bold;
}

@media (max-width: 768px) {
    .flow-list li .title{
        font-size: 20px;
        flex: 1 0 auto;
        margin-left: 4px;
    }
}

.flow-list li .description{
    font-size: 18px;
    margin: 18px 0;
}

@media (max-width: 768px) {
    .flow-list li .description{
        font-size: 14px;
        margin: 4px 0 0 38px;
        width: 100%;
    }
}


.question-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.question-list li {
    display: flex;
    font-size: 24px;
    background: #F5F5F5;
    padding: 24px;
    border-radius: 12px;
    gap: 10px
}

.question-list li .number{
    font-weight: bold;
}

.question-list li div{
}


.question-list li p{
    margin: 0;
}

.question-list li p span{
    color: #FF3EF1;
    font-weight: bold;

}

.question-list li p.q{
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 8px;
}
.question-list li p.a{
    font-size: 18px;
}

.question-list li .sd{
    flex: 0 0 82px;
}

@media (max-width: 768px) {
    .question-list li {
        font-size: 20px;
        padding: 8px 8px 12px;
        line-height: 1.5;
    }
    .question-list li p.q{
        font-size: 20px;
        line-height: 1.5;
    }
    .question-list li p.a{
        font-size: 14px;
    }

    .question-list li .sd{
        display: none;
    }
}

.question-list li:nth-child(2n) .number{
    order: 2;
}

.question-list li:nth-child(2n) div{
    order: 3;
}

.question-list li:nth-child(2n) .sd{
    order: 1;
}

@media (max-width: 768px) {
    .services-section {
        padding: 60px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .service-card {
        padding: 24px;
    }
}

.contact .section-title{
    text-align: center;
}

.contact p{
    text-align: center;
}



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

.form-container >div {
    padding: 24px;
    box-sizing: border-box;
}

.cf7-wrapper {
  width: 100%;
  margin: 0 auto;
}

.cf7-field {
  margin-bottom: 1.5rem;
}

.cf7-field label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  color: #333;
}

.required-label {
  color: #d00;
  font-size: 0.9rem;
  margin-left: 0.25em;
}

.cf7-field input[type="text"],
.cf7-field input[type="email"] {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  transition: border 0.3s;
  box-sizing: border-box;
}

.cf7-field input:focus {
  border-color: #0073aa;
  outline: none;
}

.cf7-submit {
  text-align: center;
}

.cf7-submit input[type="submit"] {
  background: #0073aa;
  color: #fff;
  border: none;
  padding: 0.8rem 2rem;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

.cf7-submit input[type="submit"]:hover {
  background: #005f8d;
}

.wpcf7 form .wpcf7-response-output {
    border-radius: 8px;
}
.wpcf7-spinner {
    display: none;
}


.policy {
    font-size: 14px;
    text-align: start;
    height: 10em;
    overflow: scroll;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 12px;
}

.policy p{
    text-align: start;
}

.policy ul {
    list-style: none;
    padding: 0;
}



.section-description-wrapper {
    max-width: 800px;
    margin: 0 auto 48px;
    padding: 0 20px;
}

.section-description {
    font-size: 20px;
    font-weight: bold;
}

section {
    padding: 120px 0;
    position: relative;
}

section + section {
}

@media (max-width: 768px) {
    section {
        padding: 56px 0;
    }

    .section-description-wrapper {
        margin-bottom: 32px;
    }
    
    .section-description {

    }
}

/* サービス紹介セクション */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3カラム固定に変更 */
    gap: 32px;
}





@media (max-width: 768px) {
    .services-section {
        padding: 60px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .service-card {
        padding: 24px;
    }
}

/* メッセージセクション */


.message-wrapper {
    display: flex;
    gap: 40px;
}

.message-content {
    flex: 1;
}

.message-image {
    flex: 1;
    max-width: 50%;
}

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

@media (max-width: 768px) {
    .message-wrapper {
        flex-direction: column;
        gap: 24px;
    }

    .message-content,
    .message-image {
        max-width: 100%;
    }

    .message-content {
        padding: 24px;
    }
}

.message-text {
    position: relative;
    font-size: 16px;
    line-height: 2;
    margin: 0;
}

@media (max-width: 768px) {
    .message-content {
        padding: 24px;
        margin: 0 16px;
    }

    .message-text {
        font-size: 15px;
        line-height: 1.8;
    }
}

/* 企業理念セクション */
.philosophy-section {
}

.philosophy-content {
    padding: 36px;
    background: #f5f5f5;
    border-radius: 24px;
}

.philosophy-item {
    margin-bottom: 48px;
}

.philosophy-item:last-child {
    margin-bottom: 0;
}

.philosophy-item__title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 16px;
}

.philosophy-item__subtitle {
    font-size: 14px;
    color: #666;
    margin-left: 12px;
}

.philosophy-item__text {
    font-size: 18px;
    line-height: 1.8;
    margin: 0;
}

.philosophy-item__values {
    display: grid;
    gap: 24px;
    margin-top: 24px;
}

.value-item {
    margin: 0;
    padding-left: 24px;
}

.value-item dt {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.value-item dd {
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    color: #666;
}

@media (max-width: 768px) {
    .philosophy-section {
        padding: 48px 0;
    }

    .philosophy-item {
        margin-bottom: 32px;
    }

    .philosophy-item__title {
        font-size: 20px;
    }

    .philosophy-item__text {
        font-size: 16px;
    }
}

/* ユーティリティクラス */
.highlight {
    font-weight: 700;
    background: #fffc6b;
}

/* 別のバリエーション */
.highlight--blue {
    background: rgba(26, 115, 232, 0.1); /* #1a73e8 の薄い背景 */
    color: #1a73e8;
}

.highlight--border {
    background: transparent;
    border-bottom: 2px solid #1a73e8;
    padding-bottom: 2px;
}

/* Blur Load */
.blur-load {
    background-size: cover;
    background-position: center;
    filter: blur(10px);
}

.blur-load.loaded {
    filter: blur(0);
    transition: filter 0.3s ease;
}

/* パンくずリスト */
.breadcrumb {
    padding: 12px 0;
    margin: 72px 0 0;
}

.breadcrumb__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 12px;
}

.breadcrumb__item {
    position: relative;
    color: #333;
}

.breadcrumb__item:not(:last-child) {
    padding-right: 24px;
    margin-right: 8px;
}

.breadcrumb__item:not(:last-child)::after {
    content: '';
    width: 6px;
    height: 6px;
    border-top: 1px solid #333;
    border-right: 1px solid #333;
    transform: rotate(45deg);
    position: absolute;
    right: 8px;
    top: 50%;
    margin-top: -3px;
}

.breadcrumb__item a {
    color: #333;
    text-decoration: none;
    transition: opacity 0.3s;
}

.breadcrumb__item a:hover {
    /*
    opacity: 0.7;
    */
}

/* 2カラムレイアウト */
.column-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    justify-content: space-between;
}

/* 1:1の比率 */
.column-layout--1-1 > .column-layout__left,
.column-layout--1-1 > .column-layout__right {
    flex: 1;
    width: 50%;
    max-width: 50%;
}

/* 2:1の比率 */
.column-layout--2-1 > .column-layout__left {
    flex: 1;
    width: 66%;
    max-width: 66%;
}
.column-layout--2-1 > .column-layout__right {
    flex: 1;
    width: 33%;
    max-width: 33%;
}

/* 画像を含む場合の設定 */
.column-layout__image {
    width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
}

@media (max-width: 991px) {
    .column-layout--1-1 > .column-layout__left {
        width: 66%;
        max-width: 66%;
    }
    .column-layout--1-1 > .column-layout__right {
        width: 33%;
        max-width: 33%;

    }
}
@media (max-width: 768px) {
    .column-layout {
        flex-direction: column;
        gap: 24px;
    }

    .column-layout--1-1 > .column-layout__left,
    .column-layout--1-1 > .column-layout__right,
    .column-layout--2-1 > .column-layout__left,
    .column-layout--2-1 > .column-layout__right {
        width: 100%;
        max-width: 100%;
    }
}

/* テキストスタイル */
.content-text {
    line-height: 2.2;
}

.content-text:first-child {
    margin-top: 0;
}

.content-text:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .content-text {
        /*
        font-size: 15px;
        line-height: 1.7;
        margin-bottom: 20px;
        */
    }
}

/* reCAPTCHA調整 */
.g-recaptcha {
    display: flex;
    justify-content: center;
    margin: 24px 0;
}

@media (max-width: 768px) {
    .g-recaptcha {
        transform: scale(0.9);
        transform-origin: center;
        margin: 16px 0;
    }
}

/* お問い合わせフォーム */
.contact-section {
}

.contact-form {
    width: calc(100% - 24px);
    max-width: 800px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 32px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.required {
    color: #e4434b;
    font-size: 12px;
    margin-left: 8px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
}

.form-textarea {
    resize: vertical;
}

.form-privacy {
    text-align: center;
    margin: 40px 0;
}

.form-privacy.has-error {
    background-color: #fff8f8;
    border: 1px solid #e60012;
    padding: 12px;
    border-radius: 4px;
}

.form-privacy .error-message {
    display: block;
    color: #e60012;
    font-size: 14px;
    margin-top: 8px;
}

.form-checkbox {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.submit-button {
    display: block;
    width: 300px;
    margin: 0 auto;
    padding: 16px;
    background: #1a73e8;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-button:hover {
    background: #1557b0;
}

@media (max-width: 768px) {
    .contact-section {
        padding: 40px 0;
    }

    .form-group {
        margin-bottom: 24px;
    }

    .submit-button {
        width: 100%;
    }
}

/* フォームの共通スタイル */
.contact-form-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 0;
    background: #f9f9f9;
    border-radius: 8px;
}

.form-list {
    margin: 0;
    padding: 24px;
    background: #fff;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    box-shadow: 3px 3px 10px 1px rgba(0, 0, 0, 0.1);
}

.form-item {
    display: flex;
    border-bottom: 1px solid #eee;
    padding: 24px;
}

.form-item:first-child {
}

.form-item:last-child {
    border-bottom: none;
}

.form-item dt {
    width: 180px;
    padding-top: 8px;
    color: #333;
    font-weight: normal;
}

.form-item dt label {

}

.form-item dd {
    flex: 1;
    margin: 0;
    padding-left: 24px;
}

.form-item input[type="text"],
.form-item input[type="email"],
.form-item input[type="tel"],
.form-item textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    background: #f9f9f9;
    box-sizing: border-box;
    font-family: "Yu Gothic", "游ゴシック", YuGothic, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo";
}

.form-item textarea {
    resize: vertical;
    min-height: 120px;
}

.required {
    display: inline-block;
    margin-left: 8px;
    color: #e4434b;
    font-size: 12px;
}

.form-item input.error,
.form-item textarea.error {
    border-color: #e60012;
    background-color: #fff8f8;
}

/* エラー表示のスタイル */
.error-box {
    background: #fff0f0;
    border: 1px solid #e60012;
    border-radius: 4px;
    padding: 16px 24px;
    margin-bottom: 24px;
    display: none;
}

.error-list {
    margin: 0;
    padding-left: 20px;
}

.error-list li {
    color: #e60012;
    margin-bottom: 4px;
}

.error-message {
    display: block;
    color: #e60012;
    font-size: 14px;
    margin-top: 8px;
}

@media (max-width: 768px) {
    .form-item {
        flex-direction: column;
        padding: 16px 0;
    }

    .form-item dt {
        width: 100%;
        margin-bottom: 8px;
        padding-top: 0;
    }

    .form-item dd {
        padding-left: 0;
    }
}

/* 確認画面のスタイル */
.confirm-list {
    max-width: 800px;
    margin: 0 auto;
    padding: 24px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.confirm-item {
    display: flex;
    border-bottom: 1px solid #eee;
    padding: 24px;
}

.confirm-item:last-child {
    border-bottom: none;
}

.confirm-item dt {
    width: 180px;
    color: #333;
    font-weight: normal;
}

.confirm-item dd {
    flex: 1;
    margin: 0;
    padding-left: 24px;
    color: #333;
    font-weight: 500;
}

.confirm-buttons {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-top: 40px;
}

.back-button {
    padding: 16px 40px;
    background: #ddd;
    border: none;
    border-radius: 4px;
    color: #666;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.back-button:hover {
    background: #e8e8e8;
}

@media (max-width: 768px) {
    .confirm-content {
        padding: 24px;
    }

    .confirm-item {
        flex-direction: column;
        padding: 16px 0;
    }

    .confirm-item dt {
        width: 100%;
        margin-bottom: 8px;
    }

    .confirm-item dd {
        padding-left: 0;
    }

    .confirm-buttons {
        flex-direction: column-reverse;
        gap: 16px;
    }

    .back-button,
    .submit-button {
        width: 100%;
    }
}

/* お問い合わせ完了ページ */
.thanks-content {
    margin: 0 auto;
}

.thanks-message {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 24px;
    color: #333;
}

.thanks-description {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 32px;
}

.thanks-button {
    margin-top: 48px;
}

.thanks-button .button {
    display: inline-block;
    padding: 16px 40px;
    background: #1a73e8;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    font-size: 16px;
    transition: background-color 0.3s;
    text-align: center;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.thanks-button .button:hover {
    background: #1557b0;
}

@media (max-width: 768px) {
    .thanks-content {
    }

    .thanks-message {
        font-size: 20px;
    }

    .thanks-button {
        text-align: center;
    }


    .thanks-button .button {
        font-size: 15px;
    }
}

/* プライバシーポリシーモーダル */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.modal-content {
    position: relative;
    background: #fff;
    width: 90%;
    max-width: 800px;
    margin: 40px auto;
    border-radius: 8px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 20px;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 0 8px;
}

.modal-body {
    padding: 24px;
}

.modal-body h3 {
    margin: 24px 0 16px;
    font-size: 18px;
}

.modal-body p, .modal-body ul {
    margin: 16px 0;
    line-height: 1.6;
}

.privacy-link {
    background: none;
    border: none;
    color: #1a73e8;
    padding: 0;
    font-size: inherit;
    cursor: pointer;
    text-decoration: underline;
}

.privacy-link:hover {
    color: #1557b0;
}

@media (max-width: 768px) {
    .modal-content {
        margin: 20px;
        width: auto;
    }
}

/* タームフィルター */
.term-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
    list-style: none;
    padding: 0;
}

.term-filter li {
    margin: 0;
}

.term-link {
    display: inline-block;
    padding: 10px 16px;
    border: 1px solid #ccc;
    border-radius: 58px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #333;
    line-height: 1;
    font-size: 14px;
}

.term-link:hover {
    background-color: #f5f5f5;
}

.term-link.is-active {
    background-color: #333;
    color: #fff;
    border-color: #333;
}

.term-count {
    font-size: 0.8em;
    opacity: 0.7;
    margin-left: 4px;
}

/* アーカイブページのグリッドレイアウト */
.archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin: 40px 0;
}

.archive-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 3px 3px 10px 1px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
    padding: 0 0 16px 0;
}

.archive-item:hover {
    /*
    transform: translateY(-4px);
    */
}

.archive-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.archive-image {
    position: relative;
    padding-top: 66.666%; /* 3:2のアスペクト比 */
    overflow: hidden;
}

.archive-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.archive-content {
    padding: 16px 16px 0;
}

.archive-content >*:first-child {
    margin-top: 0;
}

.archive-title {
    margin-bottom: 0;
}

.archive-categories,
.post-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 8px;
}

.archive-categories .category-tag ,
.post-categories .category-tag {
    display: inline-block;
    font-size: 12px;
    padding: 4px 8px;
    background: #f5f5f5;
    border-radius: 4px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.archive-categories .category-tag:hover ,
.post-categories .category-tag:hover {
    background: #e0e0e0;
    color: #333;
}

/* ニュース一覧 */
.archive-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.archive-list .archive-item {
    border-bottom: 1px solid #eee;
    box-shadow: none;
    padding: 0;
}

.archive-list .archive-item:first-child{
    border-top: 1px solid #eee;
}

.archive-list .archive-link {
    display: flex;
    align-items: center;
    padding: 20px 0;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

.archive-list .archive-link:hover {
    opacity: 0.7;
}

.archive-date {
    flex: 0 0 120px;
    font-size: 14px;
}

.archive-list .archive-title {
    flex: 1;
    margin: 0;
    font-size: 16px;
    font-weight: normal;
}

@media screen and (max-width: 767px) {
    .archive-list .archive-link  {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 0;
    }

    .archive-date {
        margin-bottom: 5px;
        flex-basis: 0;
        font-size: 12px;
    }
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
    .post-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media screen and (max-width: 480px) {
    .post-grid {
        grid-template-columns: 1fr;
    }
}

.post-header{
    padding: 48px 0;;
}

.post-title{
    font-size: 32px;
    margin: 0;
}

.post-date {
    font-size: 14px;
}

.post-content p {
    line-height: 2.2;
}

.post-content .wp-block-list {
    display: grid;
    gap: 10px;
}

@media screen and (max-width: 768px) {
    .post-header{
        padding: 24px 0;;
    }
}

/* セパレーター */
.wp-block-separator {
    border: none;
    border-top: 1px solid;
    margin: 48px 0;
}

/* エディター内でも同じスタイルを適用 */
.editor-styles-wrapper .wp-block-separator {
    border: none;
    border-top: 1px solid;
    margin: 48px 0;
}

/* 横スクロールコンテナ */
.scroll-container {
    position: relative;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.scroll-container::-webkit-scrollbar {
    display: none;
}

.scroll-container__inner {
    display: inline-flex;
}

.scroll-container__inner  .archive-item {
    flex: 0 0 300px;
    width: 300px;
    margin: 10px;
}



/* レスポンシブ対応 */
@media screen and (max-width: 767px) {
    .scroll-container__item {
        flex: 0 0 260px;
        width: 260px;
    }
}

.top-page .content-wrapper {
    grid-template-columns: minmax(540px, 1fr) 1fr;
}

.top-page .works-section {
    padding-top: 0;
}

.top-page .works-section .archive-grid {
    grid-template-columns: 1fr;
    margin: 0 0 24px;
}

.top-page .works-section .archive-item a {
    display: grid;
    grid-template-columns: 2fr 3fr;
    align-items: center;
    transition: all 0.3s;
}

.top-page .works-section .archive-item a:hover{
    background-color: #f5f5f5;
}

.top-page .works-section .archive-categories .category-tag {
    font-size: 10px;
    padding: 0;
    background: none;
    color: #333;
}

.top-page .archive-item {
    padding: 0;
}

.top-page .archive-content {
    padding: 0 16px;
}

.top-page .archive-image img {
}

.top-page .news-section .archive-list {
    margin: 0 0 24px;
}

.top-page .news-section {
    padding-top: 0;
}

@media screen and (max-width: 767px) {
    .top-page .works-section {
        padding-top: 20px;
    }
    .top-page .news-section {
        padding-top: 20px;
    }

    .top-page .works-section .archive-item a {
        grid-template-columns: 2fr 3fr;
    }
    .top-page .works-section .archive-title {
        font-size: 16px;
    }
}

/* ページネーション */
.pagination {
    margin: 40px 0;
}

.pagination .page-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination .page-numbers li {
    margin: 0;
}

.pagination .page-numbers a,
.pagination .page-numbers span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 35px;
    height: 35px;
    padding: 0 8px;
    border: 1px solid #e5e5e5;
    border-radius: 99px;
    color: #333;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    line-height: 1;
}

.pagination .page-numbers span.dots {
    border: none;
    padding: 0;
}

.pagination .page-numbers a:hover {
    background-color: #f5f5f5;
    border-color: #ccc;
}

.pagination .page-numbers .current {
    background-color: #333;
    border-color: #333;
    color: #fff;
}

.pagination .page-numbers .prev,
.pagination .page-numbers .next {
    padding: 0 16px;
}

.pagination .page-numbers .prev::before,
.pagination .page-numbers .next::after {
    content: '';
    width: 8px;
    height: 8px;
    border-top: 1px solid currentColor;
    border-right: 1px solid currentColor;
    display: inline-block;
}

.pagination .page-numbers .prev::before {
    transform: rotate(-135deg);
}

.pagination .page-numbers .next::after {
    transform: rotate(45deg);
}

/* スマートフォン向けスタイル */
@media (max-width: 767px) {
    .pagination .page-numbers {
        gap: 4px;
    }

    .pagination .page-numbers a,
    .pagination .page-numbers span {
        min-width: 25px;
        height: 30px;
        font-size: 12px;
    }

    .pagination .page-numbers .prev,
    .pagination .page-numbers .next {
        padding: 0 12px;
    }
}