/*
Theme Name: 創業支援特設サイト
Theme URI: 
Description: KYO総合会計事務所の創業支援特設サイト用WordPressテーマ
Author: KYO総合会計事務所
Author URI: 
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sougyou
*/

/* ============================================
   創業支援特設サイト スタイルシート
   ============================================ */

/* リセット & ベーススタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.sougyou-site {
    font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', 'MS PGothic', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* ============================================
   ヘッダー
   ============================================ */
.sougyou-header {
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    width: 100%;
}

.header-container {
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 0;
}

/* ロゴ部分 */
.header-logo {
    flex-shrink: 0;
    padding-left: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-title-link {
    text-decoration: none;
    color: inherit;
}

.logo-subtitle-link {
    text-decoration: none;
    color: inherit;
}

.logo-subtitle {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.logo-subtitle-text {
    font-size: 14px;
    color: #333;
    font-weight: normal;
}

.logo-img {
    width: 300px;
    height: auto;
    object-fit: contain;
}

.logo-title {
    font-size: 26px;
    font-weight: bold;
    color: #000;
    line-height: 1.3;
    margin: 0;
    white-space: nowrap;
}

.logo-text {
    display: flex;
    flex-direction: column;
}


/* ナビゲーション */
.header-nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    padding-right: 20px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: #000;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    transition: color 0.3s ease;
    padding: 5px 0;
    position: relative;
}

.nav-link:hover {
    color: #000;
}

.nav-link.active {
    color: #000;
    font-weight: bold;
}

/* お問い合わせ部分 */
.header-contact {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    margin-left: auto;
    margin-right: 0;
    flex-shrink: 0;
}

.contact-btn {
    background-color: #1a4d7a;
    color: #fff;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s ease;
    white-space: nowrap;
    width: 100%;
}

.contact-btn:hover {
    background-color: #0f3a5a;
}

.contact-icon {
    font-size: 18px;
}

.contact-buttons {
    display: flex;
    gap: 0;
    width: 100%;
}

.line-btn,
.chatwork-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 15px 30px;
    text-decoration: none;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.line-btn {
    background-color: #00c300;
    border-radius: 0;
}

.line-btn:hover {
    opacity: 0.9;
}

.chatwork-btn {
    background-color: #000;
    border-radius: 0;
}

.chatwork-btn:hover {
    opacity: 0.9;
}

.contact-icon-img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    font-size: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ============================================
   ハンバーガーメニュー（モバイル用）
   ============================================ */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    margin-right: 20px;
    position: relative;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: #000;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #fff;
    border-top: 1px solid #e0e0e0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 999;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    opacity: 0;
    visibility: hidden;
    display: block;
}

.mobile-menu.active {
    max-height: calc(100vh - 100%) !important; /* ビューポートの高さからヘッダー分を引く */
    height: calc(100vh - 100%) !important;
    opacity: 1 !important;
    visibility: visible !important;
    overflow-y: auto !important; /* コンテンツが多い場合にスクロール可能に */
}

.mobile-nav {
    padding: 20px;
}

.mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-nav-link {
    color: #000;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    padding: 10px 0;
    display: block;
    border-bottom: 1px solid #e0e0e0;
}

.mobile-nav-link.active {
    color: #1a4d7a;
}

.mobile-contact {
    padding: 20px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-contact-btn {
    background-color: #1a4d7a;
    color: #fff;
    text-decoration: none;
    padding: 15px 20px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.mobile-contact-btn:hover {
    background-color: #0f3a5a;
}

.mobile-contact-buttons {
    display: flex;
    gap: 10px;
}

.mobile-line-btn,
.mobile-chatwork-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 20px;
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    border-radius: 4px;
    transition: opacity 0.3s ease;
}

.mobile-line-btn {
    background-color: #00c300;
}

.mobile-line-btn:hover {
    opacity: 0.9;
}

.mobile-chatwork-btn {
    background-color: #000;
}

.mobile-chatwork-btn:hover {
    opacity: 0.9;
}

/* ============================================
   Heroセクション
   ============================================ */
.hero-section {
    position: relative;
    min-height: auto;
    overflow: hidden;
    background-color: #1a4d7a;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.bookshelf-bg {
    width: 100%;
    height: 100%;
    background-image: url('../images/herobg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.bookshelf-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(26, 77, 122, 0.7);
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 20px 0;
    padding-bottom: 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: end;
    margin-bottom: 0;
}

.hero-text-wrapper {
    grid-column: 2;
}

/* 左側：税理士の写真 */
.hero-image-wrapper {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    align-self: flex-end;
    padding-bottom: 0;
    margin-bottom: 0;
}

.hero-tax-accountant-name {
    position: absolute;
    bottom: 20px;
    left: 20px;
    transform: translateX(-50px);
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    text-align: left;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
    z-index: 2;
    white-space: nowrap;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 6px 12px;
    border-radius: 4px;
}

.hero-tax-accountant-name.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.hero-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.hero-person-image {
    width: 100%;
    max-width: 450px;
    height: auto;
    object-fit: contain;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    display: block;
    margin-bottom: 0;
    vertical-align: bottom;
}

.hero-person-image.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.hero-image-caption {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    color: #333;
}

/* 右側：テキストブロック */
.hero-text-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    z-index: 2;
}

.hero-text-block {
    background-color: transparent;
    padding: 0;
    border-radius: 8px;
    color: #fff;
    text-align: right;
    transform: translateX(100%);
    transition: transform 0.8s ease;
    overflow: hidden;
}

.hero-text-block.animate-in {
    transform: translateX(0);
}

.hero-headline {
    font-size: 40px;
    font-weight: bold;
    line-height: 1.4;
    margin-bottom: 5px;
    color: #fff;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero-headline.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* hero-headline-1は特別なアニメーションを持つため、親のスタイルを上書き */
.hero-headline.hero-headline-1 {
    opacity: 0 !important;
    transform: none !important;
    transition: opacity 0.6s ease !important;
    visibility: hidden !important;
}

.hero-headline.hero-headline-1.animate-in {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

.hero-headline-1 {
    font-size: 44px;
    display: inline-block;
    padding: 12px 20px;
    border-radius: 0;
    margin-bottom: 5px;
    position: relative;
    overflow: hidden;
    color: #fff !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    font-weight: bold;
}

.hero-headline-1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #0d3a5f;
    border-radius: 0;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.6s ease;
    z-index: -1;
}

.hero-headline-1 > * {
    position: relative;
    z-index: 1;
}

.hero-headline-1.background-in::before {
    transform: scaleX(1);
}

/* より具体的なセレクタで確実に適用 */
.hero-headline.hero-headline-1.animate-in,
.hero-headline-1.animate-in {
    opacity: 1 !important;
    visibility: visible !important;
}

.hero-headline-2 {
    font-size: 36px;
}

.hero-headline-3 {
    font-size: 32px;
    margin-top: 10px;
}

.hero-price {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 15px;
    margin: 5px 0;
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.price-badge {
    width: auto;
    height: 160px;
    object-fit: contain;
    flex-shrink: 0;
    position: relative;
    top: -40px;
}

.hero-price.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.price-main {
    display: flex;
    align-items: baseline;
    gap: 5px;
    background-image: linear-gradient(150deg, rgba(247, 54, 12, 1) 10%, rgba(177, 0, 0, 1) 32%, rgba(247, 35, 35, 1) 55%, rgba(238, 39, 39, 1) 62%, rgba(172, 0, 0, 1) 78%, rgba(231, 35, 35, 1));
    padding: 10px 20px;
    border-radius: 0;
}

.price-label {
    font-size: 80px;
    font-weight: bold;
    color: #fff;
    line-height: 1;
}

.price-amount {
    font-size: 80px;
    font-weight: bold;
    color: #fff;
    line-height: 1;
}

.price-right {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 5px;
    padding-top: 20px;
}

.price-unit {
    font-size: 32px;
    color: #fff;
    line-height: 1.2;
    text-align: left;
}

.hero-headline-3 {
    font-size: 32px;
    margin-top: 0;
    margin-bottom: 0;
    line-height: 1.2;
}

.hero-subheadline {
    font-size: 24px;
    line-height: 1.6;
    margin-top: 0;
    color: #fff;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero-subheadline.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* 動画プレースホルダー */
.hero-video-placeholder {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}

.video-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.video-circle:hover {
    transform: scale(1.05);
    background-color: rgba(0, 0, 0, 0.9);
}

.video-play-icon {
    font-size: 60px;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* クラウド会計対応 */
.hero-cloud-accounting {
    text-align: right;
    padding: 0 0 30px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero-cloud-accounting.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.cloud-text {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    margin-bottom: 10px;
}

.cloud-logos {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    flex-wrap: nowrap;
}

.cloud-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 10px 20px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.cloud-logo img {
    height: 30px;
    width: auto;
    object-fit: contain;
}

.cloud-logo span {
    font-size: 18px;
    color: #333;
    white-space: nowrap;
}

/* ============================================
   レスポンシブ対応
   ============================================ */

/* タブレット（768px以下） */
@media (max-width: 768px) {
    .sougyou-header {
        min-height: 80px;
        position: sticky !important;
        top: 0 !important;
    }

    .header-container {
        flex-wrap: wrap;
        align-items: center;
        padding: 15px 0;
        min-height: 80px;
    }

    .header-nav,
    .header-contact {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu {
        position: absolute; /* absoluteに戻してヘッダーの直下に配置 */
        top: 100%;      /* ヘッダーの直下から開始 */
        left: 0;
        right: 0;
        margin-top: 0;
        display: block !important; /* 常に存在はさせる */
    }

    .mobile-menu.active {
        max-height: calc(100vh - 80px) !important; /* ビューポートの高さからヘッダー分を引く */
        height: calc(100vh - 80px) !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
        overflow-y: auto !important;
    }

    .logo-img {
        width: 130px;
    }

    .logo-title {
        font-size: 20px;
    }

    .logo-subtitle-text {
        font-size: 12px;
    }

    .header-logo {
        gap: 15px;
        padding-left: 15px;
    }

    .header-contact {
        width: 100%;
        align-items: stretch;
    }

    .contact-btn {
        justify-content: center;
    }

    .contact-buttons {
        width: 100%;
    }

    .line-btn,
    .chatwork-btn {
        flex: 1;
        justify-content: center;
    }

    .hero-container {
        display: none; /* スマホではコンテンツを非表示 */
    }

    .hero-section {
        min-height: 300px; /* 背景用の最小高さを設定 */
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-image-wrapper {
        text-align: center;
        order: 2;
    }

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

    .hero-person-image {
        max-width: 300px;
    }

    .hero-tax-accountant-name {
        font-size: 14px;
        padding: 5px 10px;
        bottom: 15px;
    }

    .hero-text-wrapper {
        order: 1;
    }

    .hero-text-block {
        padding: 30px 20px;
    }

    .hero-headline {
        font-size: 24px;
    }

    .hero-headline-1,
    .hero-headline-2 {
        font-size: 20px;
    }

    .hero-headline-3 {
        font-size: 18px;
    }

    .price-main {
        padding: 8px 15px;
    }
    
    .price-amount {
        font-size: 48px;
        color: #fff;
    }
    
    .price-label {
        font-size: 48px;
        color: #fff;
    }
    
    .price-unit {
        font-size: 20px;
    }
    
    .hero-headline-3 {
        font-size: 20px;
    }
    
    .price-badge {
        height: 130px;
    }

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

    .video-circle {
        width: 150px;
        height: 150px;
    }

    .video-play-icon {
        font-size: 40px;
    }

    .hero-video-placeholder {
        justify-content: center;
    }

    .cloud-logos {
        flex-direction: column;
        align-items: center;
    }

    .mobile-fixed-buttons {
        display: flex !important;
    }

    .sougyou-footer {
        padding: 30px 15px 50px !important;
    }

    body.sougyou-site {
        padding-bottom: 60px;
    }
}

/* スマートフォン（480px以下） */
@media (max-width: 480px) {
    .sougyou-header {
        min-height: 70px;
        position: sticky !important;
        top: 0 !important;
    }

    .header-container {
        padding: 12px 0;
        min-height: 70px;
    }

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

    .logo-subtitle {
        font-size: 10px;
    }

    .header-logo {
        gap: 12px;
    }

    .logo-img {
        width: 100px;
        height: auto;
    }

    .logo-title {
        font-size: 16px;
    }

    .logo-subtitle-text {
        font-size: 11px;
    }

    .header-logo {
        gap: 10px;
        flex-wrap: wrap;
    }

    .mobile-menu-toggle {
        width: 25px;
        height: 25px;
        margin-right: 15px;
    }

    .mobile-nav-link {
        font-size: 16px;
    }

    .mobile-contact-btn,
    .mobile-line-btn,
    .mobile-chatwork-btn {
        font-size: 14px;
        padding: 12px 15px;
    }

    .line-btn,
    .chatwork-btn {
        font-size: 12px;
        padding: 6px 12px;
    }

    .hero-container {
        padding: 40px 15px 30px;
    }

    .hero-text-block {
        padding: 20px 15px;
    }

    .hero-headline {
        font-size: 20px;
    }

    .hero-headline-1,
    .hero-headline-2 {
        font-size: 18px;
    }

    .hero-headline-3 {
        font-size: 16px;
    }

    .price-main {
        padding: 6px 12px;
    }
    
    .price-amount {
        font-size: 36px;
        color: #fff;
    }

    .price-label {
        font-size: 36px;
        color: #fff;
    }
    
    .price-unit {
        font-size: 18px;
    }
    
    .hero-headline-3 {
        font-size: 18px;
    }
    
    .price-badge {
        height: 100px;
    }
    
    .price-unit {
        font-size: 18px;
    }

    .hero-subheadline {
        font-size: 14px;
    }

    .video-circle {
        width: 120px;
        height: 120px;
    }

    .video-play-icon {
        font-size: 30px;
    }

    .cloud-text {
        font-size: 16px;
    }

    .cloud-logo {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }

    .cloud-logo span {
        font-size: 12px;
    }
}

/* ============================================
   事務所紹介セクション
   ============================================ */
.office-intro-section {
    background-color: #fff;
    padding: 60px 0;
}

.office-intro-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.office-intro-content {
    max-width: 1000px;
    margin: 0 auto;
}

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

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

.office-intro-highlight {
    font-weight: bold;
    color: #1a4d7a;
    font-size: 18px;
    margin-top: 20px;
}

/* ============================================
   画像セクション
   ============================================ */
.image-section {
    background-color: #fff;
    padding: 60px 0;
}

.image-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.image-section-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    text-align: center;
}

.image-section-text {
    font-size: 24px;
    line-height: 1.8;
    color: #333;
}

.image-section-text p {
    margin-bottom: 15px;
}

.image-section-text p:last-child {
    margin-bottom: 0;
}

.image-section-small {
    font-size: 18px !important;
}

.image-section-highlight {
    font-weight: bold;
    color: #1a4d7a;
    font-size: 24px;
    margin-top: 20px;
}

.image-section-highlight-orange {
    color: #ff6600;
}

/* 小規模事業に特化したサポート */
.small-business-support {
    margin: 40px 0;
    text-align: center;
}

.small-business-image {
    max-width: 100%;
    height: auto;
}

.intro-image {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%;
}

/* ============================================
   KYO総合会計事務所の24の特徴セクション
   ============================================ */
.features-section {
    background-color: #f5f5f5;
    padding: 60px 0;
}

.features-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.features-title {
    font-size: 32px;
    font-weight: bold;
    color: #1a4d7a;
    text-align: center;
    margin-bottom: 40px;
}

.features-subtitle {
    font-size: 24px;
    font-weight: bold;
    color: #1a4d7a;
    text-align: center;
    margin: 50px 0 30px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.features-subtitle::before,
.features-subtitle::after {
    content: '';
    flex: 0 0 30px;
    height: 1px;
    background-color: #1a4d7a;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.features-grid:has(.feature-item:only-child) {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.feature-item {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-item:nth-child(1) { animation-delay: 0.1s; }
.feature-item:nth-child(2) { animation-delay: 0.15s; }
.feature-item:nth-child(3) { animation-delay: 0.2s; }
.feature-item:nth-child(4) { animation-delay: 0.25s; }
.feature-item:nth-child(5) { animation-delay: 0.3s; }
.feature-item:nth-child(6) { animation-delay: 0.35s; }
.feature-item:nth-child(7) { animation-delay: 0.4s; }
.feature-item:nth-child(8) { animation-delay: 0.45s; }

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.feature-number {
    position: absolute;
    top: -10px;
    left: -10px;
    width: 45px;
    height: 45px;
    background-color: #AD9451;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: bold;
    flex-shrink: 0;
    z-index: 1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    clip-path: polygon(0 0, 85% 0, 100% 15%, 100% 100%, 15% 100%, 0 85%);
}

.feature-text {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    line-height: 1.8;
    margin-top: 10px;
    width: 100%;
    padding-top: 15px;
    padding-left: 15px;
}

.feature-description {
    font-size: 16px;
    font-weight: normal;
    color: #333;
    display: block;
    margin-top: 8px;
    line-height: 1.6;
}

.feature-highlight {
    background-color: #1a4d7a;
    color: #fff;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: bold;
    display: inline-block;
    margin: 0 8px 0 2px;
}

.feature-note {
    font-size: 14px;
    color: #666;
    font-weight: normal;
    display: block;
    margin-top: 5px;
}

.features-conclusion {
    padding: 40px 20px;
    text-align: center;
    margin-top: 50px;
}

.features-conclusion-text {
    font-size: 24px;
    color: #000;
    font-weight: bold;
    margin: 0 0 15px 0;
    text-shadow:
        -2px -2px 0 #fff,
        2px -2px 0 #fff,
        -2px 2px 0 #fff,
        2px 2px 0 #fff,
        0 -2px 0 #fff,
        0 2px 0 #fff,
        -2px 0 0 #fff,
        2px 0 0 #fff;
    line-height: 1.6;
}

.features-conclusion-highlight {
    font-size: 36px;
    color: #ff6600;
    font-weight: bold;
    margin: 0;
    text-shadow:
        -2px -2px 0 #fff,
        2px -2px 0 #fff,
        -2px 2px 0 #fff,
        2px 2px 0 #fff,
        0 -2px 0 #fff,
        0 2px 0 #fff,
        -2px 0 0 #fff,
        2px 0 0 #fff;
    line-height: 1.4;
}

/* ============================================
   よくあるご質問セクション
   ============================================ */
.faq-section {
    padding: 60px 0;
}

.faq-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.faq-title {
    font-size: 32px;
    font-weight: bold;
    color: #1a4d7a;
    text-align: center;
    margin-bottom: 40px;
}

.faq-content {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.faq-item {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 2px solid #e0e0e0;
}

.faq-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.faq-question {
    display: flex;
    align-items: flex-start;
    width: 100%;
    padding: 15px 0;
    margin-bottom: 0;
    font-size: 20px;
    font-weight: bold;
    color: #1a4d7a;
    line-height: 1.6;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: color 0.3s ease;
    position: relative;
}

.faq-question:hover {
    color: #ff6600;
}

.faq-question.active {
    color: #ff6600;
}

.faq-q {
    color: #ff6600;
    font-weight: bold;
    margin-right: 8px;
    flex-shrink: 0;
}

.faq-question-text {
    flex: 1;
}

.faq-toggle-icon {
    margin-left: auto;
    font-size: 24px;
    font-weight: bold;
    color: #1a4d7a;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    width: 30px;
    text-align: center;
}

.faq-question.active .faq-toggle-icon {
    transform: rotate(45deg);
    color: #ff6600;
}

.faq-answer {
    display: flex;
    align-items: flex-start;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0;
}

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

.faq-a {
    color: #1a4d7a;
    font-weight: bold;
    margin-right: 8px;
    flex-shrink: 0;
}

.faq-answer-text {
    flex: 1;
}

.faq-answer-text p {
    margin-bottom: 15px;
}

.faq-answer-text p:last-child {
    margin-bottom: 0;
}

.faq-more-wrapper {
    text-align: center;
    margin-top: 40px;
}

.faq-more-btn {
    display: inline-block;
    background-color: #1a4d7a;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    padding: 15px 40px;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.faq-more-btn:hover {
    background-color: #0f3a5a;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

/* ============================================
   お客様の声セクション
   ============================================ */
.testimonials-section {
    background-color: #fff;
    padding: 60px 0;
}

.testimonials-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.testimonials-title {
    font-size: 32px;
    font-weight: bold;
    color: #1a4d7a;
    text-align: center;
    margin-bottom: 40px;
}

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

.testimonial-item {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.testimonial-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.testimonial-more-link {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #1a4d7a;
    color: #fff;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    z-index: 1;
    transition: background-color 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.testimonial-more-link i {
    font-size: 12px;
}

.testimonial-more-link:hover {
    background-color: #0f3a5a;
    transform: translateY(-2px);
}

.testimonial-more-link:hover i {
    transform: translateX(3px);
    transition: transform 0.3s ease;
}

.testimonial-photo-wrapper {
    width: 100%;
    height: 200px;
    background-color: #e0e0e0;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    overflow: hidden;
    position: relative;
}

.testimonial-photo-name {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 14px;
    font-weight: bold;
    color: #333;
    z-index: 2;
    text-align: center;
}

.testimonial-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    border-radius: 8px;
}

.testimonial-content {
    flex: 1;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin: 0;
}

.testimonial-bubble {
    display: inline-block;
    background-color: #ff6600;
    color: #fff;
    padding: 10px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
    position: relative;
    margin-bottom: 10px;
}

.testimonial-bubble::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 30px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #ff6600;
}

.testimonial-author {
    border-top: 1px solid #e0e0e0;
    padding-top: 15px;
}

.testimonial-location {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.testimonial-name {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
    line-height: 1.6;
}

.testimonial-company {
    font-size: 16px;
    font-weight: bold;
    color: #1a4d7a;
    line-height: 1.6;
}

.testimonials-more-wrapper {
    text-align: center;
    margin-top: 40px;
}

.testimonials-more-btn {
    display: inline-block;
    background-color: #1a4d7a;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    padding: 15px 40px;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.testimonials-more-btn:hover {
    background-color: #0f3a5a;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

/* ============================================
   創業したばかりの苦しいあなたを全力で支援しますセクション
   ============================================ */
.support-section {
    background: #1A4D7A;
    padding: 60px 0;
    position: relative;
}

.support-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.03) 2px,
            rgba(0, 0, 0, 0.03) 4px
        );
    pointer-events: none;
}

.support-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.support-title {
    font-size: 32px;
    font-weight: bold;
    color: #fff;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.4;
    font-family: 'Yu Mincho', 'YuMincho', 'Hiragino Mincho ProN', serif;
}

.support-content {
    background-color: #fefefe;
    padding: 50px 60px;
    border-radius: 2px;
    box-shadow: 
        0 0 0 1px rgba(0, 0, 0, 0.1),
        0 4px 8px rgba(0, 0, 0, 0.15),
        0 8px 16px rgba(0, 0, 0, 0.1);
    position: relative;
    transform: rotate(-0.5deg);
    max-width: 100%;
}

.support-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 60px;
    width: 2px;
    height: 100%;
    background: repeating-linear-gradient(
        to bottom,
        transparent,
        transparent 20px,
        rgba(0, 0, 0, 0.1) 20px,
        rgba(0, 0, 0, 0.1) 22px
    );
}

.support-content::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        transparent 0%,
        transparent 95%,
        rgba(0, 0, 0, 0.05) 95%,
        rgba(0, 0, 0, 0.05) 100%
    );
    pointer-events: none;
}

.support-text {
    font-size: 16px;
    line-height: 2.2;
    color: #2c2c2c;
    margin-bottom: 20px;
    font-family: 'Yu Mincho', 'YuMincho', 'Hiragino Mincho ProN', serif;
    letter-spacing: 0.5px;
}

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

.support-note {
    font-size: 14px;
    color: #666;
    font-style: italic;
    padding-left: 20px;
}

.support-highlight {
    font-weight: bold;
    color: #1a4d7a;
    font-size: 18px;
    margin-top: 30px;
}

/* ============================================
   創業支援特別料金表セクション
   ============================================ */
.pricing-section {
    background-color: #fff;
    padding: 60px 0;
}

.pricing-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.pricing-title {
    font-size: 32px;
    font-weight: bold;
    color: #1a4d7a;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.pricing-badge {
    display: inline-block;
    position: relative;
    background-color: #AD9451;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    padding: 8px 20px;
    border-radius: 8px;
    white-space: nowrap;
    margin-bottom: 10px;
}

.pricing-badge::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #AD9451;
}

.pricing-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.pricing-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.pricing-table thead {
    background-color: #1a4d7a;
    color: #fff;
}

.pricing-table th {
    padding: 15px 20px;
    text-align: left;
    font-size: 16px;
    font-weight: bold;
    white-space: nowrap;
    border: 1px solid #d0d0d0;
}

.pricing-table th:first-child {
    min-width: 200px;
}

.pricing-table th:not(:first-child) {
    text-align: center;
    min-width: 120px;
}

.pricing-table tbody tr {
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.3s ease;
}

.pricing-table tbody tr:hover {
    background-color: #f9f9f9;
}

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

.pricing-table td {
    padding: 15px 20px;
    font-size: 16px;
    color: #333;
    border: 1px solid #d0d0d0;
}

.pricing-table td:first-child {
    font-weight: bold;
    color: #1a4d7a;
    background-color: #e8f0f8;
}

.pricing-table tbody tr:hover td:first-child {
    background-color: #d9e7f4;
}

.pricing-table tbody tr:hover td:not(:first-child) {
    background-color: #f5f5f5;
}

.pricing-table td:not(:first-child) {
    text-align: center;
    background-color: #fff;
    font-weight: bold;
}

.price-old {
    text-decoration: line-through;
    margin-right: 8px;
    display: block;
}

.price-new {
    color: #dc3545;
    font-weight: bold;
    display: block;
    margin-top: 4px;
}

.pricing-payroll-section {
    margin-top: 40px;
}

.pricing-payroll-title {
    font-size: 24px;
    font-weight: bold;
    color: #1a4d7a;
    text-align: center;
    margin-bottom: 20px;
}

.pricing-payroll-table {
    max-width: 600px;
    margin: 0 auto;
    box-shadow: none;
    border-collapse: separate;
    border-spacing: 0;
}

.pricing-payroll-table td {
    padding: 12px 20px;
    border: 1px solid #d0d0d0;
}

.pricing-payroll-table td:first-child {
    font-weight: 500;
    color: #1a4d7a;
    width: 50%;
    background-color: #e8f0f8;
}

.pricing-payroll-table tbody tr:hover td:first-child {
    background-color: #d9e7f4;
}

.pricing-payroll-table tbody tr:hover td:last-child {
    background-color: #f5f5f5;
}

.pricing-payroll-table td:last-child {
    text-align: center;
    font-weight: bold;
    color: #333;
    background-color: #fff;
}

.pricing-note {
    margin-top: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-note-text {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 15px;
}

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

.pricing-highlight-box {
    margin-top: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    background-image: linear-gradient(90deg, rgba(253, 219, 146, 1), rgba(209, 253, 254, 1));
    border-radius: 8px;
    padding: 30px;
}

.pricing-highlight-text {
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 15px;
    font-weight: bold;
    text-align: center;
}

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

.pricing-highlight-red {
    color: #dc3545;
    font-weight: bold;
    font-size: 20px;
}

.pricing-disclaimer {
    margin-top: 30px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-disclaimer-text {
    font-size: 13px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 10px;
}

.pricing-disclaimer-text:last-of-type {
    margin-bottom: 15px;
}

.pricing-disclaimer-note {
    font-size: 12px;
    line-height: 1.6;
    color: #999;
    font-style: italic;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

/* ============================================
   お問い合わせCTA（料金表セクション内）
   ============================================ */
.contact-cta-box {
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.contact-cta-banner {
    background-color: #1a4d7a;
    padding: 20px;
    text-align: center;
    border-radius: 8px 8px 0 0;
}

.contact-cta-banner-text {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    margin: 0;
}

.contact-cta-button-wrapper {
    padding: 20px 20px 30px;
    text-align: center;
    position: relative;
}

.contact-cta-label {
    display: inline-block;
    background-color: #fff;
    border: 2px solid #000;
    border-radius: 20px;
    padding: 5px 15px;
    font-size: 14px;
    font-weight: bold;
    color: #dc3545;
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    white-space: nowrap;
    line-height: 1.2;
}

.contact-cta-button {
    display: inline-block;
    background: linear-gradient(to bottom, #ff8c00, #ff6600);
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    padding: 20px 60px;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
    margin-top: 10px;
}

.contact-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.pricing-banner {
    margin-top: 40px;
    text-align: center;
}

.pricing-banner-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* ============================================
   他の事務所に問い合わせてから、最後に弊所に連絡して下さい！セクション
   ============================================ */
.other-office-section {
    background-color: #fff;
    padding: 60px 0;
}

.other-office-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.other-office-banner {
    background-color: #1a4d7a;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 40px;
    text-align: center;
}

.other-office-title {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    line-height: 1.4;
}

.other-office-content {
    background-color: #fff;
    text-align: center;
}

.other-office-text {
    text-align: left;
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
}

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

.other-office-highlight-red {
    font-size: 30px;
    font-weight: bold;
    color: #dc3545;
    line-height: 1.6;
    margin-bottom: 20px;
    margin-top: 20px;
}

.other-office-gray-box {
    background-color: #e8e8e8;
    padding: 20px;
    border-radius: 4px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.other-office-gray-box .other-office-text {
    margin-bottom: 15px;
}

.other-office-gray-box .other-office-text:last-child {
    margin-bottom: 0;
}

.other-office-gray-box .other-office-highlight-red {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 28px;
    text-align: center;
}

.other-office-image-wrapper {
    text-align: center;
    margin: 30px 0;
}

.other-office-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.other-office-tsucho-box {
    background-color: #fff;
    border: 3px solid #1a4d7a;
    border-radius: 8px;
    overflow: hidden;
    margin: 30px 0;
    text-align: center;
}

.other-office-tsucho-box .other-office-image-wrapper {
    margin: 0;
}

.other-office-tsucho-box .other-office-image {
    width: 100%;
    max-width: 100%;
    display: block;
}

.other-office-tsucho-text {
    font-size: 18px;
    color: #333;
    line-height: 1.8;
    margin: 0;
    padding: 20px 30px;
    text-align: left;
}

/* ============================================
   １２月３１日まで限定！１２月決算法人様向け 決算特別料金セクション
   ============================================ */
.special-price-section {
    background-color: #f5f5f5;
    padding: 60px 0;
}

.special-price-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.special-price-title {
    font-size: 32px;
    font-weight: bold;
    color: #1a4d7a;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.4;
}

.special-price-image-wrapper {
    text-align: center;
    margin-bottom: 30px;
}

.special-price-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.special-price-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.special-price-text {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 25px;
}

.special-price-disclaimer {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #e0e0e0;
}

.special-price-disclaimer-text {
    font-size: 13px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 10px;
}

.special-price-disclaimer-text:last-child {
    margin-bottom: 0;
}

.special-price-section .contact-cta-box {
    margin-top: 40px;
}

/* メインコンテンツ */
.main-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* パンくずリスト */
.breadcrumb {
    background-color: #f5f5f5;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}

.breadcrumb-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    font-size: 14px;
}

.breadcrumb-container a {
    color: #0066cc;
    text-decoration: none;
}

.breadcrumb-container a:hover {
    text-decoration: underline;
}

.breadcrumb-separator {
    margin: 0 8px;
    color: #999;
}

.breadcrumb-current {
    color: #666;
}

/* ページコンテンツ */
.page-content {
    max-width: 1000px;
    margin: 0 auto;
}

.page-header {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
}

.page-title {
    font-size: 36px;
    font-weight: bold;
    color: #333;
    line-height: 1.4;
}

.page-body {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.page-body h2 {
    font-size: 28px;
    font-weight: bold;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #1a4d7a;
}

.page-body h3 {
    font-size: 22px;
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #333;
}

.page-body ul,
.page-body ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.page-body li {
    margin-bottom: 10px;
}

/* 経営は楽しいページの特別なスタイル */
.mission-box {
    background: linear-gradient(135deg, #1a4d7a 0%, #0f3a5a 100%);
    color: #fff;
    padding: 30px;
    border-radius: 8px;
    margin: 30px 0;
}

.mission-text {
    font-size: 20px;
    margin: 0;
    text-align: center;
}

.mission-text strong {
    font-size: 24px;
    color: #ffd700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.reality-box {
    background-color: #fff5f5;
    border-left: 4px solid #dc3545;
    padding: 25px;
    margin: 30px auto;
    border-radius: 4px;
    max-width: 700px;
}

.reality-title {
    font-size: 18px;
    font-weight: bold;
    color: #dc3545;
    margin-bottom: 15px;
}

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

.reality-list li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    line-height: 1.8;
    border-bottom: 1px solid #ffe0e0;
}

.reality-list li:last-child {
    border-bottom: none;
}

.reality-list li::before {
    content: '×';
    position: absolute;
    left: 0;
    color: #dc3545;
    font-weight: bold;
    font-size: 20px;
}

.values-box {
    background-color: #f8f9fa;
    border: 2px solid #1a4d7a;
    padding: 30px;
    margin: 30px auto;
    border-radius: 8px;
    max-width: 700px;
}

.values-list {
    list-style: none;
    padding-left: 0;
    margin: 0 0 20px 0;
}

.values-list li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    line-height: 1.8;
    border-bottom: 1px solid #e0e0e0;
}

.values-list li:last-child {
    border-bottom: none;
}

.values-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #1a4d7a;
    font-weight: bold;
    font-size: 18px;
}

.values-note {
    margin: 20px 0 0 0;
    font-style: italic;
    color: #666;
    text-align: center;
}

.highlight-box {
    background: linear-gradient(135deg, #fff9e6 0%, #ffe6cc 100%);
    border-left: 4px solid #ff6600;
    padding: 25px;
    margin: 30px 0;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(255, 102, 0, 0.1);
}

.highlight-box p {
    margin: 0;
    font-size: 18px;
    line-height: 1.8;
}

.highlight-box strong {
    color: #ff6600;
    font-weight: bold;
}

.quote-box {
    background-color: #f0f7ff;
    border-left: 4px solid #1a4d7a;
    padding: 25px;
    margin: 30px 0;
    border-radius: 4px;
    position: relative;
}

.quote-box::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 15px;
    font-size: 60px;
    color: #1a4d7a;
    opacity: 0.2;
    font-family: serif;
    line-height: 1;
}

.quote-box p {
    margin: 0;
    font-size: 18px;
    line-height: 1.8;
    padding-left: 20px;
}

.quote-box strong {
    color: #1a4d7a;
    font-weight: bold;
}

.conclusion-box {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border: 2px solid #4caf50;
    padding: 30px;
    margin: 30px 0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.2);
}

.conclusion-box p {
    margin: 0;
    font-size: 18px;
    line-height: 1.8;
    text-align: center;
}

.conclusion-box strong {
    color: #2e7d32;
    font-weight: bold;
    font-size: 20px;
}

/* レスポンシブ：事務所紹介セクション */
@media (max-width: 768px) {
    .office-intro-section {
        padding: 40px 0;
    }

    .office-intro-container {
        padding: 0 15px;
    }

    .office-intro-text {
        font-size: 15px;
    }

    .office-intro-highlight {
        font-size: 16px;
    }

    .image-section {
        padding: 40px 0;
    }

    .image-container {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 15px;
    }

    .image-section-left .intro-image {
        width: 100%;
        max-width: 100%;
    }

    .image-section-right .intro-image {
        width: 100% !important;
        max-width: 100% !important;
    }

    .features-section {
        padding: 40px 0;
    }

    .features-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .features-conclusion {
        padding: 30px 15px;
        margin-top: 40px;
    }

    .features-conclusion-text {
        font-size: 20px;
    }

    .features-conclusion-highlight {
        font-size: 30px;
    }

    .features-subtitle {
        font-size: 20px;
        margin: 40px 0 25px;
        gap: 10px;
    }

    .features-subtitle::before,
    .features-subtitle::after {
        flex: 0 0 20px;
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        margin-bottom: 25px;
    }

    .faq-section {
        padding: 40px 0;
    }

    .faq-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .faq-content {
        padding: 30px 20px;
    }

    .faq-item {
        margin-bottom: 30px;
        padding-bottom: 30px;
    }

    .faq-question {
        font-size: 18px;
        padding: 12px 0;
    }

    .faq-toggle-icon {
        font-size: 20px;
        width: 25px;
    }

    .faq-answer {
        font-size: 15px;
    }

    .faq-item.active .faq-answer {
        padding: 15px 0;
    }

    .faq-more-wrapper {
        margin-top: 35px;
    }

    .faq-more-btn {
        font-size: 17px;
        padding: 14px 35px;
    }

    .testimonials-section {
        padding: 40px 0;
    }

    .testimonials-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .testimonial-photo-wrapper {
        height: 180px;
    }

    .testimonial-more-link {
        font-size: 12px;
        padding: 6px 12px;
        top: 12px;
        right: 12px;
    }

    .testimonial-bubble {
        font-size: 13px;
        padding: 8px 12px;
    }

    .testimonials-more-wrapper {
        margin-top: 35px;
    }

    .testimonials-more-btn {
        font-size: 17px;
        padding: 14px 35px;
    }

    .support-section {
        padding: 40px 0;
    }

    .support-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .support-content {
        padding: 40px 30px;
        transform: rotate(-0.3deg);
    }

    .support-content::before {
        left: 30px;
    }

    .support-text {
        font-size: 15px;
    }

    .support-highlight {
        font-size: 16px;
    }

    .pricing-section {
        padding: 40px 0;
    }

    .pricing-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .pricing-badge {
        font-size: 14px;
        padding: 6px 16px;
    }

    .pricing-table th,
    .pricing-table td {
        padding: 12px 15px;
        font-size: 15px;
    }

    .pricing-table th:first-child {
        min-width: 180px;
    }

    .pricing-note {
        margin-top: 30px;
        padding: 0 15px;
    }

    .pricing-note-text {
        font-size: 15px;
    }

    .pricing-highlight-box {
        margin-top: 30px;
        padding: 25px 20px;
    }

    .pricing-highlight-text {
        font-size: 16px;
    }

    .pricing-highlight-red {
        font-size: 18px;
    }

    .pricing-disclaimer {
        margin-top: 25px;
        padding: 0 15px;
    }

    .pricing-disclaimer-text {
        font-size: 12px;
    }

    .pricing-disclaimer-note {
        font-size: 11px;
    }

    .contact-cta-box {
        margin-top: 30px;
    }

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

    .contact-cta-button {
        font-size: 20px;
        padding: 18px 50px;
    }

    .contact-cta-label {
        font-size: 13px;
        padding: 4px 12px;
    }

    .pricing-banner {
        margin-top: 30px;
    }

    .other-office-section {
        padding: 40px 0;
    }

    .other-office-title {
        font-size: 20px;
    }

    .other-office-text {
        font-size: 15px;
    }

    .other-office-highlight-red {
        font-size: 18px;
    }

    .other-office-gray-box {
        padding: 15px;
    }

    .special-price-section {
        padding: 40px 0;
    }

    .special-price-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .special-price-content {
        padding: 25px 20px;
    }

    .special-price-text {
        font-size: 15px;
    }

    .special-price-disclaimer-text {
        font-size: 12px;
    }

    .footer-banner-section {
        padding: 40px 15px;
    }

    .footer-banners {
        gap: 20px;
    }

    .footer-banner {
        padding: 30px 50px;
        font-size: 20px;
        width: 350px;
    }

    .footer-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .footer-text {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .office-intro-section {
        padding: 30px 0;
    }

    .office-intro-text {
        font-size: 14px;
    }

    .office-intro-highlight {
        font-size: 15px;
    }

    .image-section {
        padding: 40px 0;
    }

    .image-container {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 15px;
    }

    .image-section-left .intro-image {
        width: 100%;
        max-width: 100%;
    }

    .image-section-right .intro-image {
        width: 100% !important;
        max-width: 100% !important;
    }

    .image-section-text {
        font-size: 14px;
    }

    .features-section {
        padding: 40px 0;
    }

    .features-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .features-conclusion {
        padding: 25px 12px;
        margin-top: 35px;
    }

    .features-conclusion-text {
        font-size: 18px;
    }

    .features-conclusion-highlight {
        font-size: 26px;
    }

    .features-subtitle {
        font-size: 18px;
        margin: 35px 0 20px;
        gap: 8px;
    }

    .features-subtitle::before,
    .features-subtitle::after {
        flex: 0 0 15px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-bottom: 20px;
    }

    .feature-item {
        padding: 15px;
    }

    .feature-number {
        width: 35px;
        height: 35px;
        font-size: 16px;
        top: -8px;
        left: 50%;
        transform: translateX(-50%);
    }

    .feature-text {
        font-size: 16px;
        font-weight: bold;
        text-align: center;
        padding-left: 0;
    }

    .feature-description {
        font-size: 13px;
    }

    .faq-section {
        padding: 40px 0;
    }

    .faq-title {
        font-size: 24px;
        margin-bottom: 25px;
    }

    .faq-content {
        padding: 25px 15px;
    }

    .faq-item {
        margin-bottom: 25px;
        padding-bottom: 25px;
    }

    .faq-question {
        font-size: 16px;
        padding: 10px 0;
        flex-wrap: wrap;
    }

    .faq-q {
        margin-bottom: 5px;
    }

    .faq-question-text {
        flex: 1;
        min-width: 0;
    }

    .faq-toggle-icon {
        font-size: 18px;
        width: 20px;
        margin-top: 2px;
    }

    .faq-answer {
        font-size: 14px;
        flex-direction: column;
    }

    .faq-a {
        margin-bottom: 5px;
    }

    .faq-item.active .faq-answer {
        padding: 12px 0;
    }

    .faq-more-wrapper {
        margin-top: 30px;
    }

    .faq-more-btn {
        font-size: 16px;
        padding: 12px 30px;
    }

    .testimonials-section {
        padding: 40px 0;
    }

    .testimonials-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .testimonials-more-wrapper {
        margin-top: 30px;
    }

    .testimonials-more-btn {
        font-size: 16px;
        padding: 12px 30px;
    }

    .testimonial-photo-wrapper {
        height: 160px;
    }

    .testimonial-photo-third {
        object-position: top -30px;
    }

    .testimonial-more-link {
        font-size: 11px;
        padding: 5px 10px;
        top: 10px;
        right: 10px;
    }

    .testimonial-item {
        padding: 20px;
    }

    .testimonial-text {
        font-size: 15px;
    }

    .testimonial-bubble {
        font-size: 12px;
        padding: 8px 12px;
    }

    .testimonial-bubble::after {
        left: 25px;
        bottom: -8px;
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-top: 8px solid #ff6600;
    }

    .testimonial-name {
        font-size: 15px;
    }

    .testimonial-company {
        font-size: 13px;
    }

    .support-section {
        padding: 40px 0;
    }

    .support-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .support-content {
        padding: 30px 20px;
        transform: rotate(-0.2deg);
    }

    .support-content::before {
        left: 20px;
    }

    .support-text {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .support-note {
        font-size: 13px;
        padding-left: 15px;
    }

    .support-highlight {
        font-size: 15px;
        margin-top: 20px;
    }

    .pricing-section {
        padding: 40px 0;
    }

    .pricing-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .pricing-badge {
        font-size: 12px;
        padding: 5px 14px;
    }

    .pricing-table-wrapper {
        margin: 0 -15px;
        padding: 0 15px;
    }

    .pricing-table th,
    .pricing-table td {
        padding: 10px 12px;
        font-size: 14px;
    }

    .pricing-table th:first-child {
        min-width: 150px;
    }

    .pricing-table th:not(:first-child) {
        min-width: 100px;
    }

    .pricing-payroll-title {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .pricing-payroll-table td {
        padding: 10px 12px;
        font-size: 14px;
    }

    .pricing-note {
        margin-top: 30px;
        padding: 0;
    }

    .pricing-note-text {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .pricing-highlight-box {
        margin-top: 30px;
        padding: 20px 15px;
        border-width: 2px;
    }

    .pricing-highlight-text {
        font-size: 15px;
        margin-bottom: 12px;
    }

    .pricing-highlight-red {
        font-size: 17px;
    }

    .pricing-disclaimer {
        margin-top: 25px;
        padding: 0;
    }

    .pricing-disclaimer-text {
        font-size: 11px;
        margin-bottom: 8px;
    }

    .pricing-disclaimer-note {
        font-size: 10px;
        margin-top: 12px;
        padding-top: 12px;
    }

    .pricing-payroll-section {
        margin-top: 30px;
    }

    .pricing-payroll-title {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .pricing-payroll-table td {
        padding: 8px 10px;
        font-size: 13px;
    }

    .contact-cta-box {
        margin-top: 25px;
    }

    .contact-cta-banner {
        padding: 15px;
    }

    .contact-cta-banner-text {
        font-size: 15px;
    }

    .contact-cta-button-wrapper {
        padding: 25px 15px;
    }

    .contact-cta-button {
        font-size: 18px;
        padding: 15px 40px;
        width: 100%;
        max-width: 100%;
    }

    .contact-cta-label {
        font-size: 12px;
        padding: 3px 10px;
    }

    .pricing-banner {
        margin-top: 25px;
    }

    .other-office-section {
        padding: 40px 0;
    }

    .other-office-container {
        padding: 0 15px;
    }

    .other-office-banner {
        padding: 20px 15px;
        margin-bottom: 30px;
    }

    .other-office-title {
        font-size: 18px;
    }

    .other-office-text {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .other-office-highlight-red {
        font-size: 16px;
        margin-top: 15px;
        margin-bottom: 15px;
    }

    .other-office-gray-box {
        padding: 15px;
        margin-top: 15px;
        margin-bottom: 15px;
    }

    .other-office-image-wrapper {
        margin: 25px 0;
    }

    .special-price-section {
        padding: 40px 0;
    }

    .special-price-container {
        padding: 0 15px;
    }

    .special-price-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .special-price-content {
        padding: 20px 15px;
    }

    .special-price-text {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .special-price-disclaimer {
        margin-top: 20px;
        padding-top: 20px;
    }

    .special-price-disclaimer-text {
        font-size: 11px;
        margin-bottom: 8px;
    }

    .footer-banners {
        gap: 20px;
    }

    .footer-banner {
        padding: 18px 30px;
        font-size: 16px;
        min-width: 180px;
    }
}

/* レスポンシブ：ページコンテンツ */
@media (max-width: 768px) {
    .page-title {
        font-size: 28px;
    }

    .page-body h2 {
        font-size: 24px;
    }

    .page-body h3 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 24px;
    }

    .page-body {
        font-size: 14px;
    }

    .page-body h2 {
        font-size: 20px;
    }

    .page-body h3 {
        font-size: 18px;
    }

    .mission-box {
        padding: 20px;
        margin: 20px 0;
    }

    .mission-text {
        font-size: 18px;
    }

    .mission-text strong {
        font-size: 20px;
    }

    .reality-box,
    .values-box,
    .highlight-box,
    .quote-box,
    .conclusion-box {
        padding: 20px;
        margin: 20px 0;
    }

    .highlight-box p,
    .quote-box p,
    .conclusion-box p {
        font-size: 16px;
    }

    .conclusion-box strong {
        font-size: 18px;
    }

    .footer-banner-section {
        padding: 40px 15px;
    }

    .footer-banners {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .footer-banner {
        padding: 25px 40px;
        font-size: 18px;
        width: 100%;
        max-width: 100%;
    }

    .footer-title {
        font-size: 24px;
        margin-bottom: 25px;
    }

    .footer-content {
        gap: 30px;
    }

    .footer-text {
        font-size: 12px;
    }

    .mobile-fixed-buttons {
        display: flex !important;
    }

    .sougyou-footer {
        padding: 30px 15px 50px !important;
    }

    body.sougyou-site {
        padding-bottom: 60px;
    }
}

/* ============================================
   モバイル固定ボタン（スマートフォン用）
   ============================================ */
.mobile-fixed-buttons {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: transparent;
    z-index: 1000;
    padding: 0;
    gap: 0;
    align-items: stretch;
    justify-content: stretch;
    flex-direction: row;
}

.mobile-fixed-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 10px 8px;
    text-decoration: none;
    border-radius: 0;
    transition: opacity 0.3s ease, transform 0.2s ease;
    font-size: 11px;
    font-weight: 500;
    color: #333;
    min-height: 60px;
    border-right: none;
}

.mobile-fixed-btn:active {
    transform: scale(0.95);
    opacity: 0.8;
}

.mobile-fixed-contact {
    background: linear-gradient(to bottom, #ff8c00, #ff6600);
    color: #fff;
}

.mobile-fixed-contact:hover {
    opacity: 0.9;
}

.mobile-fixed-line {
    background-color: #00c300;
    color: #fff;
}

.mobile-fixed-line:hover {
    opacity: 0.9;
}

.mobile-fixed-chatwork {
    background-color: #000;
    color: #fff;
}

.mobile-fixed-chatwork:hover {
    opacity: 0.9;
}

.mobile-fixed-btn:last-child {
    border-right: none;
}

.mobile-fixed-contact .fas,
.mobile-fixed-contact i,
.mobile-fixed-line .fab,
.mobile-fixed-line i {
    font-size: 24px !important;
    width: 24px !important;
    height: 24px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
}

.mobile-fixed-chatwork .mobile-fixed-icon-img,
.mobile-fixed-icon-img {
    width: 24px !important;
    height: 24px !important;
    object-fit: contain !important;
}

.mobile-fixed-btn span {
    font-size: 14px;
    font-weight: bold;
    white-space: nowrap;
}

/* ============================================
   フッターバナーセクション
   ============================================ */
.footer-banner-section {
    padding: 60px 20px;
}

/* お問い合わせセクションの後にフッターバナーが来る場合の間隔調整 */
.pricing-section + .footer-banner-section {
    padding-top: 20px;
}

.pricing-section:has(+ .footer-banner-section) {
    padding-bottom: 20px;
}

.footer-banner-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-banners {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

/* フッター */
.sougyou-footer {
    background-color: #333;
    color: #fff;
    padding: 40px 20px 30px;
}

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

.footer-title {
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: #fff;
}

.footer-content {
    max-width: 900px;
    margin: 0 auto;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: center;
}

.footer-text {
    font-size: 14px;
    line-height: 1.6;
    color: #fff;
    margin: 0;
}

.footer-banner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #1a4d7a;
    color: #fff;
    text-decoration: none;
    padding: 40px 80px;
    border-radius: 4px;
    transition: opacity 0.6s ease-in-out;
    font-size: 24px;
    font-weight: bold;
    width: 400px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 120px;
}

.footer-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.6s ease;
    z-index: 0;
}

.footer-banner-faq::after {
    background-image: url('../images/360_F_220167978_gUhEplokvTvjnRnQmBko1HKjLdabPCQw.jpg');
    background-position: center bottom;
}

.footer-banner-profile::after {
    background-image: url('../images/360_F_116058686_FuaP1ymok70069LcCnogu2leh10QAzgF.jpg');
}

.footer-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(26, 77, 122, 0.7);
    z-index: 1;
    transition: background-color 0.6s ease-in-out;
}

.footer-banner:hover {
    opacity: 0.9;
}

.footer-banner:hover::after {
    transform: scale(1.1);
}

.footer-banner:hover::before {
    background-color: rgba(15, 58, 90, 0.8);
}

.footer-banner-text {
    display: block;
    color: #fff;
    position: relative;
    z-index: 2;
}

/* ============================================
   フッターSNSアイコン
   ============================================ */
.footer-social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.social-link i {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================
   フッターコピーライト
   ============================================ */
.footer-copyright {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-copyright p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.6;
}

/* レスポンシブ：SNSアイコンとコピーライト */
@media (max-width: 480px) {
    .footer-social {
        gap: 15px;
        margin-top: 25px;
        padding-top: 15px;
    }

    .social-link {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .footer-copyright {
        margin-top: 20px;
        padding-top: 15px;
    }

    .footer-copyright p {
        font-size: 12px;
    }
}

