/* ====================================
   佳瑛書道教室 カスタムデザイン
   ==================================== */

/* ★Google Fonts読み込み（しっぽり明朝のみ） */
@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@400;500;600;700;800&display=swap');

/* スコープ定義 */
.kaei-scope {
    --bg-color: #fcfbf9;
    --text-color: #333333;
    --accent-color: #bf4e30; /* 朱色 */
    --sub-accent: #7d8d85; /* 抹茶色 */
    --sumi-color: #2b2b2b; /* 墨色 */
    --white: #ffffff;
    
    /* ★フォント統一：すべて明朝体 */
    --font-main: 'Shippori Mincho', "Yu Mincho", "Hiragino Mincho ProN", serif;
    
    width: 100%;
    margin: 0;
    padding: 0;
    
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 2.0;
    
    overflow-x: hidden;
    position: relative;
    background-color: var(--bg-color);
}

/* 背景装飾（和紙） */
.kaei-scope::before {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100vh;
    background-image: url('https://www.transparenttextures.com/patterns/rice-paper-2.png'); 
    background-repeat: repeat;
    opacity: 0.6;
    pointer-events: none;
    z-index: 0;
    mix-blend-mode: multiply;
}

/* 共通コンテナ */
.kaei-scope .k-container {
    max-width: 1080px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 10;
    box-sizing: border-box;
}

/* リンク・画像 */
.kaei-scope a { text-decoration: none; transition: all 0.4s ease; }
.kaei-scope img { width: 100%; height: auto; display: block; object-fit: cover; }

/* 見出し共通 */
.kaei-scope .section-title {
    padding: 0;
    font-size: 2.0rem;
    text-align: center;
    margin-bottom: 5rem;
    color: var(--sumi-color);
    font-weight: 800;
    position: relative;
    z-index: 1;
    letter-spacing: 0.15em;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.kaei-scope .section-title span {
    display: block;
    font-family: var(--font-main);
    font-size: 4rem;
    color: var(--accent-color);
    opacity: 0.1;
    line-height: 1;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    z-index: -1;
    font-style: italic;
    letter-spacing: 0.05em;
}

@media (min-width: 769px) {
    .kaei-scope .section-title { font-size: 2.6rem; margin-bottom: 7rem; }
    .kaei-scope .section-title span { font-size: 6rem; }
}

/* ボタン共通 */
.kaei-scope .k-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background-color: var(--accent-color);
    color: #fff !important;
    padding: 1.1rem 3rem;
    border-radius: 4px;
    font-weight: 500;
    font-family: var(--font-main);
    box-shadow: 0 4px 15px rgba(191, 78, 48, 0.3);
    transition: all 0.3s ease;
    letter-spacing: 0.1em;
    position: relative;
    overflow: hidden;
}
.kaei-scope .k-btn:hover {
    background-color: var(--sumi-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.kaei-scope .btn-white {
    background: white;
    padding: 1rem 3rem;
    border-radius: 4px;
    font-weight: 600;
    display: inline-flex;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: all 0.3s;
    border: 1px solid #ddd !important;
    color: var(--sumi-color) !important;
}
.kaei-scope .btn-white:hover {
    border-color: var(--accent-color) !important;
    color: var(--accent-color) !important;
    background: #fffafa;
}

/* ヒーローセクション */
.kaei-scope .hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    margin-bottom: 0;
}
.kaei-scope .hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
    animation: zoomOut 20s ease-out forwards;
}
@keyframes zoomOut { from { transform: scale(1.15); } to { transform: scale(1.0); } }

.kaei-scope .hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.5) 100%);
    z-index: 1;
}
.kaei-scope .hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    text-shadow: 0 4px 10px rgba(0,0,0,0.4);
    width: 100%;
    padding: 0 1rem;
}
.kaei-scope .hero-content h1 {
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    font-weight: 800;
    letter-spacing: 0.1em;
}
.kaei-scope .marker {
    background: none;
    display: inline-block;
    border-bottom: 2px solid rgba(255,255,255,0.6);
    padding-bottom: 8px;
    margin-bottom: 8px;
}
.kaei-scope .hero-content p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.95);
    margin-bottom: 1.8rem;
    font-weight: 500;
    letter-spacing: 0.05em;
}

/* コンセプトセクション */
.kaei-scope .section-concept {
    padding: 8rem 0;
    position: relative;
    background-color: transparent; 
}
.kaei-scope .concept-box {
    background: rgba(255, 255, 255, 0.95);
    padding: 6rem 4rem;
    box-shadow: 0 0 30px rgba(0,0,0,0.05); 
    border-radius: 2px;
    text-align: center;
    max-width: 850px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    border: 1px solid rgba(0,0,0,0.02);
}
.kaei-scope .concept-box::after {
    content: "";
    position: absolute;
    top: 15px; left: 15px; right: 15px; bottom: 15px;
    border: 1px solid var(--accent-color);
    opacity: 0.15;
    pointer-events: none;
}
.kaei-scope .concept-lead {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2.5rem;
    color: var(--accent-color);
    line-height: 1.6;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 2rem 0;
    display: inline-block;
    white-space: nowrap;
    width: 100%;
    overflow: hidden;
    text-overflow: clip;
}
@media (max-width: 480px) {
    .kaei-scope .concept-lead { font-size: 1.1rem; padding: 1.5rem 0; }
}
.kaei-scope .concept-text-area {
    margin-bottom: 3rem;
}
.kaei-scope .concept-text-area h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--sumi-color);
}

/* プロフィールセクション */
.kaei-scope .section-profile {
    padding: 6rem 0;
    background-color: #fff;
}
.kaei-scope .profile-wrapper {
    display: flex;
    flex-direction: row;
    gap: 3rem;
    align-items: flex-start;
    background: #fff;
    padding: 3rem;
    border: 1px solid #eee;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}
.kaei-scope .profile-image {
    flex: 0 0 300px;
    width: 300px;
}
.kaei-scope .profile-image img {
    border-radius: 4px;
    width: 100%;
    height: auto;
}
.kaei-scope .profile-content {
    flex: 1;
}
.kaei-scope .profile-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-color);
    display: inline-block;
    padding-bottom: 0.5rem;
}
.kaei-scope .profile-title {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1.5rem;
    display: block;
}
.kaei-scope .profile-text {
    font-size: 1rem;
    margin-bottom: 2rem;
    text-align: justify;
}
.kaei-scope .profile-history dt {
    float: left;
    clear: left;
    width: 5em;
    font-weight: 700;
    color: var(--accent-color);
}
.kaei-scope .profile-history dd {
    margin-left: 5em;
    margin-bottom: 0.5rem;
}

/* ニュース・特徴 */
.kaei-scope .section-news {
    padding: 6rem 0;
    position: relative;
    background-color: var(--bg-color);
}
.kaei-scope .section-features {
    padding: 8rem 0;
    position: relative;
    background-color: #fff;
    border-top: 1px solid #eee;
}

/* お稽古・料金 */
.kaei-scope .section-class {
    padding: 8rem 0;
    background-color: var(--bg-color);
    position: relative;
}

/* ★Bento Grid レイアウト修正（PC2列、スマホ1列） */
.kaei-scope .bento-grid {
    display: grid;
    /* デフォルト（スマホ）: 1列 */
    grid-template-columns: 1fr;
    gap: 3rem;
}

/* PC（769px以上）: 基本2列にする */
@media (min-width: 769px) {
    .kaei-scope .bento-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    /* 「お稽古・料金」セクションの3番目のカード（その他・ご案内）を全幅にする */
    /* これで [1][2] / [  3  ] という配置になります */
    .kaei-scope .section-class .bento-grid > :nth-child(3) {
        grid-column: 1 / -1; 
    }
}

.kaei-scope .k-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    position: relative;
    border: 1px solid rgba(0,0,0,0.03);
    z-index: 2;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.kaei-scope .k-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.kaei-scope .k-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    background-color: #eee;
}
.kaei-scope .k-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.kaei-scope .k-card:hover .k-card-image img {
    transform: scale(1.05);
}

.kaei-scope .k-card-content {
    padding: 2.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.kaei-scope .card-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--sumi-color);
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 2px solid var(--bg-color);
    padding-bottom: 0.8rem;
    line-height: 1.4;
}
.kaei-scope .card-title i { color: var(--accent-color); font-size: 1.1em; }

.kaei-scope .card-text {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    color: #666;
    line-height: 2.5;
}

/* 特長リスト */
.kaei-scope .feature-list { padding: 0; margin: 0; list-style: none; }
.kaei-scope .feature-list li {
    position: relative;
    padding-left: 1.2em;
    margin-bottom: 0.5rem;
    /* font-weight: 600; */
    font-size: 0.95rem;
}
.kaei-scope .feature-list li::before {
    content: "";
    position: absolute;
    left: 0; top: 0.6em;
    width: 6px; height: 6px;
    background-color: var(--accent-color);
    border-radius: 50%;
}

/* 料金表 */
.kaei-scope .price-head {
    font-size: 1.0rem;
    font-weight: 700;
    color: var(--sub-accent);
    border-bottom: 1px dashed #ccc;
    padding-bottom: 0.5rem;
    margin: 1.5rem 0 1rem;
}
.kaei-scope .price-row {
    display: flex; justify-content: space-between;
    margin-bottom: 0.5rem; font-weight: 700; font-size: 1.1rem;
}
.kaei-scope .price-box {
    background: #fafafa;
    /* padding: 1.5rem; */
    border-radius: 10px;
    margin-bottom: 1rem;
}
.kaei-scope .price-row-dashed {
    display: flex; justify-content: space-between;
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px dashed #ddd;
}
.kaei-scope .price-row-dashed:last-child { border-bottom: none; }
.kaei-scope .price-val {
    font-weight: 800;
    color: var(--accent-color);
    font-size: 1.2rem;
    text-align: right;
    /* ★修正: フォント統一（明朝体） */
    font-family: var(--font-main);
}
.kaei-scope .strong-text {
    font-weight: 700;
    color: var(--sumi-color);
    display: block;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

/* Instagram */
.kaei-scope .section-insta {
    padding: 8rem 0;
    background-color: #fcfcfc;
    position: relative;
}
.kaei-scope .insta-banner {
    background: #fff;
    padding: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    border: 1px solid #eee;
}

.kaei-scope .insta-image-col {
    background-image: url('https://kaei-shodo.com/wp-content/uploads/2026/02/S__3915786.jpg'); 
    background-size: cover;
    background-position: center;
    min-height: 350px;
    height: 100%;
}
.kaei-scope .insta-content-col {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; 
    text-align: center;
}
.kaei-scope .insta-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.kaei-scope .insta-text h3 {
    margin: 0 0 1rem;
    font-size: 1.8rem;
    color: var(--sumi-color);
    /* フォント統一 */
    font-family: var(--font-main);
}
.kaei-scope .insta-text p {
    color: #666;
    margin-bottom: 2rem;
}
.kaei-scope .insta-btn {
    background: #fff;
    color: #E67A55 !important;
    padding: 1rem 3rem;
    font-size: 1rem;
    border: 2px solid #E67A55 !important;
    box-shadow: none;
    transition: all 0.3s;
}
.kaei-scope .insta-btn:hover {
    background: #E67A55;
    color: #fff !important;
    transform: translateY(-2px);
}

/* アクセス */
.kaei-scope .section-access {
    padding: 8rem 0;
    position: relative;
    background-color: var(--bg-color);
    text-align: center;
}
.kaei-scope .access-address {
    font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem;
}
.kaei-scope .access-stations {
    margin-bottom: 1rem; font-weight: 600;
}

/* お問い合わせ */
.kaei-scope .section-contact {
    padding: 8rem 0 10rem;
    position: relative;
    background-color: #fff;
    color: var(--text-color);
}
.kaei-scope .contact-lead {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-color);
    text-align: center;
    margin-bottom: 1rem;
}
.kaei-scope .contact-wrapper {
    background: #fff;
    padding: 4rem 2rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}
.kaei-scope .contact-wrapper::before,
.kaei-scope .contact-wrapper::after {
    content: "";
    position: absolute;
    width: 20px; height: 20px;
    border-color: var(--sub-accent);
    border-style: solid;
}
.kaei-scope .contact-wrapper::before { top: 0; left: 0; border-width: 3px 0 0 3px; }
.kaei-scope .contact-wrapper::after { bottom: 0; right: 0; border-width: 0 3px 3px 0; }

/* スマホ対応 */
@media (max-width: 768px) {
    .kaei-scope .k-container { padding: 0 1.2rem; }
    .kaei-scope .hero-content h1 { font-size: 2.2rem; }
    .kaei-scope .profile-wrapper { flex-direction: column; align-items: center; padding: 2rem 1.5rem; }
    .kaei-scope .profile-image { width: 100%; max-width: 300px; margin-bottom: 2rem; }
    
    .kaei-scope .bento-grid { grid-template-columns: 1fr; gap: 2rem; }
    .kaei-scope .k-card { padding: 0; border-radius: 8px; overflow: hidden; }
    .kaei-scope .k-card-content { padding: 2rem; }
    
    .kaei-scope .insta-banner { grid-template-columns: 1fr; }
    .kaei-scope .insta-image-col { min-height: 250px; }
    .kaei-scope .insta-content-col { padding: 2.5rem 1.5rem; }
    
    .kaei-scope .contact-wrapper { padding: 2rem 1rem; }
    
    .kaei-scope .section-concept,
    .kaei-scope .section-news,
    .kaei-scope .section-features,
    .kaei-scope .section-class,
    .kaei-scope .section-insta,
    .kaei-scope .section-access,
    .kaei-scope .section-contact {
        padding: 4rem 0;
    }
}

.kaei-scope .news-list-wrapper {
    background: #fff;
    padding: 2rem;
    border: 1px solid #eee;
    border-radius: 4px;
}

/* アニメーション */
.js-fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.js-fade-up.is-active {
    opacity: 1;
    transform: translateY(0);
}

.swell-block-fullWide__inner { padding: 0 !important; }