/* マイクロインタラクション用スタイル */
.hover-lift {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}
.btn-interactive {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}
.btn-interactive::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    padding-top: 300%;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.5s ease;
}
.btn-interactive:hover::after {
    transform: translate(-50%, -50%) scale(1);
}
.text-shadow {
    text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}
/* ドロワーメニュー */
#mobile-menu {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(100%);
}
#mobile-menu.open {
    transform: translateX(0);
}
/* ヒーロー画像のオーバーレイ */
.hero-overlay {
    background: linear-gradient(to bottom, rgba(17, 24, 39, 0.75) 0%, rgba(17, 24, 39, 0.35) 45%, rgba(17, 24, 39, 0.1) 100%),
                linear-gradient(to right, rgba(17, 24, 39, 0.5) 0%, transparent 100%);
}
@media (min-width: 768px) {
    .hero-overlay {
        background: linear-gradient(to right, rgba(17, 24, 39, 0.8) 0%, rgba(17, 24, 39, 0.45) 50%, rgba(17, 24, 39, 0.1) 100%),
                    linear-gradient(to bottom, rgba(17, 24, 39, 0.5) 0%, rgba(17, 24, 39, 0.1) 60%, rgba(17, 24, 39, 0.2) 100%);
    }
}

/* ページネーション */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.pagination .page-numbers {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.5rem;
    border-radius: 0.375rem;
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    color: #374151;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}
.pagination .page-numbers.current {
    background-color: #2563EB; /* accent */
    border-color: #2563EB;
    color: #ffffff;
}
.pagination a.page-numbers:hover {
    background-color: #e5e7eb;
    color: #111827;
}
.pagination .prev,
.pagination .next {
    padding: 0 1rem;
}

/* Swiper About Slider Customization */
.about-swiper .swiper-pagination-bullet {
    background: #ffffff;
    opacity: 0.7;
    width: 8px;
    height: 8px;
    margin: 0 4px;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}
.about-swiper .swiper-pagination-bullet-active {
    background: #2563EB; /* accent */
    opacity: 1;
    width: 24px;
    border-radius: 9999px;
}

/* Swiper Hero Slider */
.hero-swiper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.hero-swiper .swiper-slide {
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.hero-swiper .hero-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Instagram Feed floatクリア対策 */
#sbi_mod_link,
#sbi_mod_error {
    float: none !important;
}

/* ==========================================================================
   記事詳細ページ（ブログ・お知らせ・コラム・ギャラリー）本文レイアウト & タイポグラフィ
   ========================================================================== */
.entry-content {
    color: #374151;
    font-size: 1rem;
    line-height: 1.95;
    letter-spacing: 0.02em;
    word-break: break-word;
    overflow-wrap: anywhere;
}

@media (min-width: 768px) {
    .entry-content {
        font-size: 1.0625rem;
        line-height: 2;
    }
}

/* 段落 */
.entry-content p {
    margin-top: 0;
    margin-bottom: 1.6em;
    line-height: 1.95;
}

.entry-content > *:first-child {
    margin-top: 0 !important;
}

.entry-content > *:last-child {
    margin-bottom: 0 !important;
}

/* 見出し共通 */
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    color: #111827;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: 0.03em;
}

/* H2: 左アクセントボーダー＋下線＋淡い背景で視認性の高い見出し */
.entry-content h2 {
    font-size: 1.375rem;
    margin-top: 2.5em;
    margin-bottom: 1.1em;
    padding: 0.65rem 1rem;
    background-color: #F9FAFB;
    border-left: 5px solid #2563EB;
    border-bottom: 1px solid #E5E7EB;
    border-radius: 0 0.5rem 0.5rem 0;
}

@media (min-width: 768px) {
    .entry-content h2 {
        font-size: 1.625rem;
        padding: 0.75rem 1.25rem;
    }
}

/* H3: 左アクセントライン＋下線 */
.entry-content h3 {
    font-size: 1.2rem;
    margin-top: 2em;
    margin-bottom: 0.9em;
    padding-left: 0.85rem;
    padding-bottom: 0.35rem;
    border-left: 4px solid #2563EB;
    border-bottom: 1px solid #F3F4F6;
}

@media (min-width: 768px) {
    .entry-content h3 {
        font-size: 1.375rem;
    }
}

/* H4: アクセントドット付き小見出し */
.entry-content h4 {
    font-size: 1.1rem;
    margin-top: 1.75em;
    margin-bottom: 0.75em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.entry-content h4::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #2563EB;
    border-radius: 9999px;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .entry-content h4 {
        font-size: 1.1875rem;
    }
}

.entry-content h5,
.entry-content h6 {
    font-size: 1rem;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

/* 強調・マーカー */
.entry-content strong,
.entry-content b {
    color: #111827;
    font-weight: 700;
}

/* リンク */
.entry-content a {
    color: #2563EB;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 500;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.entry-content a:hover {
    color: #1D4ED8;
    opacity: 0.85;
}

/* リスト (ul / ol) */
.entry-content ul,
.entry-content ol {
    margin-top: 0;
    margin-bottom: 1.6em;
    padding-left: 1.5rem;
}

.entry-content ul {
    list-style-type: disc;
}

.entry-content ol {
    list-style-type: decimal;
}

.entry-content li {
    margin-bottom: 0.5em;
    line-height: 1.85;
    padding-left: 0.25rem;
}

.entry-content li::marker {
    color: #2563EB;
    font-weight: 700;
}

.entry-content li > ul,
.entry-content li > ol {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

/* 引用 (blockquote) */
.entry-content blockquote,
.entry-content .wp-block-quote {
    margin: 1.8em 0;
    padding: 1.25rem 1.5rem;
    background-color: #F9FAFB;
    border-left: 4px solid #2563EB;
    border-radius: 0 0.75rem 0.75rem 0;
    color: #4B5563;
    font-style: normal;
}

.entry-content blockquote p:last-child {
    margin-bottom: 0;
}

.entry-content blockquote cite {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #6B7280;
    font-style: normal;
}

/* 画像・フィギュア・ギャラリー */
.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.75rem;
    margin-top: 1.5em;
    margin-bottom: 1.5em;
    box-shadow: 0 4px 15px -3px rgba(0, 0, 0, 0.08);
}

.entry-content figure,
.entry-content .wp-block-image {
    margin: 1.8em 0;
}

.entry-content figure img,
.entry-content .wp-block-image img {
    margin-top: 0;
    margin-bottom: 0;
}

.entry-content figcaption {
    margin-top: 0.6rem;
    text-align: center;
    font-size: 0.875rem;
    color: #6B7280;
    line-height: 1.5;
}

.entry-content .wp-block-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
    margin: 2em 0;
}

.entry-content .wp-block-gallery figure {
    margin: 0;
}

/* テーブル */
.entry-content table,
.entry-content .wp-block-table table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.8em 0;
    font-size: 0.95rem;
    overflow: hidden;
    border-radius: 0.5rem;
    border: 1px solid #E5E7EB;
}

.entry-content th,
.entry-content td {
    padding: 0.85rem 1rem;
    border: 1px solid #E5E7EB;
    text-align: left;
    line-height: 1.6;
}

.entry-content th {
    background-color: #F9FAFB;
    color: #111827;
    font-weight: 700;
}

/* 区切り線 */
.entry-content hr,
.entry-content .wp-block-separator {
    border: none;
    border-top: 1px solid #E5E7EB;
    margin: 2.5em 0;
}

/* WordPress配置クラス */
.entry-content .aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.entry-content .alignleft {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1rem;
}

.entry-content .alignright {
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}
