/*
Theme Name: EBISU
Theme URI: https://ebisu-hiroshima.com/
Author: 株式会社EBISU
Description: 広島市のリフォーム・火災保険申請サポート「株式会社EBISU」のオリジナルテーマです。
Version: 1.2.0
Text Domain: ebisu
*/

/* --------------------------------------------------------------------------
 * 1. ベーススタイル
 * -------------------------------------------------------------------------- */
html {
    scroll-behavior: smooth;
}

body {
    font-family: "Noto Sans JP", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #f8fafc;
    color: #334155;
}

/* --------------------------------------------------------------------------
 * 1.5. カスタムデザインシステム (Glassmorphism, Animations, Gradients)
 * -------------------------------------------------------------------------- */
.glass-header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.gradient-text {
    background: linear-gradient(135deg, #0f172a 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-bg-primary {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
}

.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(-5px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.12);
}

.btn-primary {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    box-shadow: 0 4px 14px 0 rgba(249, 115, 22, 0.39);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
}

/* --------------------------------------------------------------------------
 * 2. ブロックエディタ (Gutenberg) 記事本文用スタイル
 * -------------------------------------------------------------------------- */
.entry-content {
    line-height: 1.8;
    color: #475569;
    font-size: 1.05rem;
}

.entry-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f172a;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0.75rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.entry-content h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: #f97316;
}

.entry-content h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1e293b;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    padding-left: 1rem;
    border-left: 4px solid #3b82f6;
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.entry-content p {
    margin-bottom: 1.75rem;
}

.entry-content ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.75rem;
    background: #f8fafc;
    padding: 1.5rem 1.5rem 1.5rem 3rem;
    border-radius: 0.5rem;
}

.entry-content ol {
    list-style-type: decimal;
    padding-left: 1.5rem;
    margin-bottom: 1.75rem;
    background: #f8fafc;
    padding: 1.5rem 1.5rem 1.5rem 3rem;
    border-radius: 0.5rem;
}

.entry-content li {
    margin-bottom: 0.75rem;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.75rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.entry-content a {
    color: #f97316;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
    transition: all 0.2s ease;
}

.entry-content a:hover {
    color: #ea580c;
    text-decoration-thickness: 2px;
}

/* --------------------------------------------------------------------------
 * 3. WordPress 標準必須クラス
 * -------------------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%;
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}