/*
Theme Name: Eco Media
Author: JNS建築事務所
Description: 省エネメディアサイト用カスタムテーマ
Version: 1.0.0
Text Domain: eco-media
*/

@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@400;700&display=swap');

/* ===== リセット・基本 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'BIZ UDPGothic', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', sans-serif; font-weight: 700; color: #1A3A1F; background: var(--bg); }

:root {
    --blue: #1A5C2A;
    --blue-light: #E8F5E9;
    --blue-mid: #C8E6C9;
    --blue-dark: #134520;
    --text: #1A3A1F;
    --text-light: #5A7A60;
    --white: #FFFFFF;
    --bg: #E5F4E9;
    --teal: #1B9B8C;
}

/* ===== ヘッダー ===== */
.site-header {
    background: var(--white);
    border-bottom: 2px solid var(--blue-mid);
    padding: 8px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(59,130,246,0.08);
    transform: translateZ(0);
}
.site-logo { display: inline-flex; align-items: center; gap: 4px; font-size: 22px; font-weight: 700; color: var(--blue); text-decoration: none; letter-spacing: 0.05em; }
.site-logo-img { width: 60px; height: auto; display: block; transform: translateY(-6px); }
.site-logo-text { font-size: 30px; font-weight: 900; color: #4FBFC0; letter-spacing: 0.06em; font-family: 'BIZ UDPGothic', sans-serif; line-height: 1; }
.header-logo-img { height: 48px; width: auto; display: block; transform: scale(2.5); transform-origin: left center; }
.site-nav { display: flex; align-items: center; gap: 8px; }
.site-nav a {
    text-decoration: none;
    color: var(--text);
    font-size: 14px;
    margin-left: 24px;
    padding: 6px 12px;
    border-radius: 20px;
    transition: background 0.2s;
}
.site-nav a:hover { background: var(--blue-light); }
.site-nav .nav-cta { background: #79D3D3; color: #fff; padding: 8px 18px; border-radius: 20px; font-family: 'BIZ UDPGothic', sans-serif; font-weight: 700; animation: nav-cta-shake 5s ease-in-out infinite; display: inline-block; }
@keyframes nav-cta-shake {
    0%, 12%, 100% { transform: translateX(0) rotate(0deg); }
    2%  { transform: translateX(-5px) rotate(-2deg); }
    4%  { transform: translateX(5px) rotate(2deg); }
    6%  { transform: translateX(-4px) rotate(-1.5deg); }
    8%  { transform: translateX(4px) rotate(1.5deg); }
    10% { transform: translateX(-2px) rotate(-0.5deg); }
}
.site-nav .nav-cta:hover { background: var(--blue-dark); }
.nav-banner {
    display: flex; flex-direction: row; align-items: center; gap: 4px;
    background: #E3F2FD; border: none;
    border-radius: 50px !important; padding: 6px 14px; text-decoration: none;
    line-height: 1.3; transition: background 0.2s; white-space: nowrap;
    font-family: 'BIZ UDPGothic', sans-serif !important; font-weight: 700; font-size: 16px;
    color: #1976D2 !important;
}
.nav-banner:hover { background: #BBDEFB; }
.nav-banner-icon { width: 22px; height: 22px; object-fit: contain; flex-shrink: 0; filter: brightness(0) saturate(100%) invert(18%) sepia(100%) saturate(2000%) hue-rotate(205deg) brightness(80%); }
.nav-banner-text { display: flex; flex-direction: column; align-items: flex-start; }
.nav-banner-sub { font-size: 16px; font-weight: 700; color: #1976D2; font-family: 'BIZ UDPGothic', sans-serif; text-shadow: 1px 1px 3px rgba(25,118,210,0.25); }
.nav-banner-main { font-size: 16px; font-weight: 700; color: #1976D2; font-family: 'BIZ UDPGothic', sans-serif; text-shadow: 1px 1px 3px rgba(25,118,210,0.25); }
.header-cats { display: flex; gap: 4px; align-items: center; position: absolute; left: 50%; transform: translateX(-50%); }
.header-cats a { text-decoration: none; color: #2E7D8F; font-size: 16px; font-weight: 700; padding: 6px 14px; border-radius: 20px; transition: background 0.2s, color 0.2s; white-space: nowrap; font-family: 'BIZ UDPGothic', sans-serif; }
.header-cats a:nth-child(1):hover { background: #F9E0E7; color: #1A3A1F; }
.header-cats a:nth-child(2):hover { background: #2282A7; color: #ffffff; }
.header-cats a:nth-child(3):hover { background: #EEECD6; color: #1A3A1F; }

/* ===== ①ヒーローセクション ===== */
.hero {
    background: var(--bg);
    padding: 0;
    display: grid;
    grid-template-columns: 0.82fr 1fr;
    height: calc(100vh - 114px);
    min-height: 480px;
    max-height: 860px;
    overflow: hidden;
}
.hero-left { padding: 0 40px 0 80px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; font-family: 'BIZ UDPGothic', sans-serif; position: relative; }
.hero-half-bg { position: absolute; top: 914px; left: 0; height: auto; width: auto; z-index: -1; pointer-events: none; opacity: 0.6; transform: scale(0.43); transform-origin: top left; }
.hero-tagline { font-size: 15px; color: var(--blue-dark); background: var(--blue-mid); padding: 3px 10px; display: inline-block; letter-spacing: 0.05em; font-family: 'BIZ UDPGothic', sans-serif; margin: 0 0 16px 0; border-radius: 2px; position: relative; top: -20px; }
.hero-logo { position: absolute; top: 50%; left: calc(50% + 60px); transform: translate(-50%, calc(-50% - 5px)); z-index: 1; margin: 0; }
.hero-logo-img { width: 530px; height: auto; display: block; transform: scale(1.2); transform-origin: center center; filter: drop-shadow(0px 4px 10px rgba(0,0,0,0.22)); }
.hero-desc { font-size: 13px; color: var(--blue); line-height: 1.7; text-align: center; position: absolute; bottom: 270px; left: calc(50% + 60px); transform: translateX(-50%); width: max-content; }
.hero-presented { display: flex; align-items: center; justify-content: center; gap: 8px; position: absolute; bottom: 114px; left: calc(50% + 60px); transform: translateX(-50%); font-size: 12px; color: var(--text-light); font-family: 'BIZ UDPGothic', sans-serif; filter: drop-shadow(0px 2px 6px rgba(0,0,0,0.25)); z-index: 2; }
.hero-illust { position: absolute; top: 50%; left: calc(50% + 60px); transform: translate(-50%, calc(-50% + 10px)); width: 750px; max-width: 100%; height: 96%; object-fit: contain; object-position: center; display: block; z-index: 0; }
.hero-jns-logo { height: 28px; width: auto; }
.hero-cat-btns { display: flex; flex-direction: column; gap: 12px; margin-top: auto; width: 100%; padding-bottom: 12px; }
.hero-cat-btn { display: block; background: var(--teal); color: #fff; text-decoration: none; padding: 14px 24px; border-radius: 8px; font-size: 16px; font-family: 'BIZ UDPGothic', sans-serif; font-weight: 700; transition: opacity .2s; }
.hero-cat-btn:hover { opacity: .8; }
.hero-right { position: relative; background: var(--bg); padding: 32px 32px 32px 0; display: flex; align-items: center; justify-content: center; }
.pickup-label {
    font-size: 64px; font-weight: 900;
    color: white;
    -webkit-text-stroke: 3px var(--blue-dark);
    paint-order: stroke fill;
    letter-spacing: 0.08em;
    line-height: 1;
    pointer-events: none;
    align-self: flex-end;
    padding-right: 8px;
    margin-bottom: -36px;
    position: relative;
    z-index: 5;
}
.slider-col { display: flex; flex-direction: column; align-items: flex-start; position: relative; z-index: 95; transform: translateX(-10px); }
.slider-wrapper { position: relative; width: 100%; }
.slider-container { position: relative; z-index: 95; height: calc(100vh - 220px); max-height: 450px; aspect-ratio: 16/9; width: 100%; max-width: 100%; border-radius: 12px; overflow: hidden; box-shadow: none; border: 3px solid var(--blue-dark); }
.slide { position: absolute; inset: 0; display: none; }
.slide.active { display: block; }
.slider-notice { width: 100%; text-align: center; margin-bottom: -28px; position: relative; z-index: 96; font-family: 'BIZ UDPGothic', sans-serif; font-size: 48px; font-weight: 700; color: #fff; -webkit-text-stroke: 5px var(--blue-dark); paint-order: stroke fill; letter-spacing: 0.1em; text-shadow: 1px 2px 6px rgba(0,0,0,0.7); }
.slide-img {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 90px;
    background: var(--bg);
}
.slide-img img { width: 100%; height: 100%; object-fit: cover; }
.slide-title {
    position: absolute; z-index: 2;
    bottom: 0; left: 0; right: 0;
    background: white;
    color: var(--text);
    padding: 12px 20px 16px;
    margin: 0;
    border-radius: 0;
    font-size: 21px; font-weight: 700; line-height: 1.5;
    font-family: 'BIZ UDPGothic', sans-serif;
    box-shadow: none;
    text-decoration: none;
    display: block;
    text-align: center;
}
.slide-cat { position: absolute; top: 12px; left: 12px; z-index: 3; display: inline-block; background: var(--blue-dark); color: #fff; font-size: 15px; font-weight: 700; padding: 8px 16px; border-radius: 6px; font-family: 'BIZ UDPGothic', sans-serif; box-shadow: 0 4px 14px rgba(0,0,0,0.5); min-width: 200px; text-align: center; }
.slider-dots {
    position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
    display: flex; flex-direction: column; gap: 18px; z-index: 5;
}
.slider-dots button {
    background: none; border: none; cursor: pointer;
    font-size: 11px; color: rgba(255,255,255,0.6); font-weight: 700; padding: 0; line-height: 1; transition: color 0.2s;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.slider-dots button.active { color: white; }
.slider-dots button::after { content: ''; display: block; width: 18px; height: 1px; background: currentColor; margin-top: 4px; }
.slider-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 100;
    background: rgba(255,255,255,0.9); border: none; width: 36px; height: 36px;
    border-radius: 50%; cursor: pointer; font-size: 18px; color: var(--blue);
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    display: flex; align-items: center; justify-content: center; transition: background 0.2s;
}
.slider-arrow:hover { background: white; }
.slider-arrow.prev { left: -46px; }
.slider-arrow.next { right: -46px; }
.slider-dots-bottom { display: flex; gap: 10px; justify-content: center; align-items: center; width: 100%; padding: 10px 0 0; }
.slider-dots-bottom button { width: 10px; height: 10px; border-radius: 50%; background: var(--blue-mid); border: none; cursor: pointer; padding: 0; transition: background 0.2s, transform 0.2s; }
.slider-dots-bottom button.active { background: var(--blue); transform: scale(1.25); }

/* ===== セクション共通 ===== */
.section-header { text-align: center; margin-bottom: 44px; }
.section-header h2 { font-size: 36px; font-weight: 700; color: var(--text); margin-bottom: 4px; font-family: 'BIZ UDPGothic', sans-serif; }
.title-en { font-size: 72px; font-weight: 900; color: transparent; -webkit-text-stroke: 2px var(--blue); paint-order: stroke fill; letter-spacing: 0.1em; text-transform: uppercase; line-height: 1; display: block; margin-bottom: 8px; }
.title-line { width: 40px; height: 3px; background: var(--blue); border-radius: 2px; margin: 12px auto 0; }

/* ===== ②ピックアップ ===== */
.section-pickup { background: transparent; padding: 72px 40px; }
.pickup-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1100px; margin: 0 auto; }
.pickup-card {
    background: white; border-radius: 0; overflow: hidden; font-family: 'BIZ UDPGothic', sans-serif;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08); transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none; display: block;
}
.pickup-card:hover { transform: translateY(-5px); box-shadow: 0 12px 36px rgba(0,0,0,0.14); }
.pickup-card .card-thumb {
    aspect-ratio: 16/9; height: auto; overflow: hidden; position: relative;
    background: linear-gradient(135deg, #C8E6C9, #80CBC4);
    display: flex; align-items: center; justify-content: center; font-size: 48px;
}
.pickup-card .card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pickup-card .card-body { padding: 22px; }
.card-tag {
    display: inline-block; background: var(--blue-light); color: var(--blue);
    font-size: 15px; padding: 5px 14px; border-radius: 6px; margin-bottom: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.pickup-card h3 { font-size: 15px; font-weight: 600; line-height: 1.6; color: var(--text); margin-bottom: 10px; }
.card-date { font-size: 12px; color: var(--text-light); }

/* ===== ③CTA ===== */
.section-cta { background: transparent; padding: 60px 40px; }
.cta-banner-wrap { max-width: 820px; margin: 0 auto; }
.cta-banner-img { width: 100%; height: auto; display: block; border-radius: 12px; border: 3px solid #1976D2; transition: opacity 0.2s; }
.cta-banner-img:hover { opacity: 0.9; }

/* ===== ④カテゴリ（ルミアーチ風） ===== */
.section-categories { background: transparent; font-family: 'BIZ UDPGothic', sans-serif; position: relative; }
.section-deco-illust-right { position: absolute; right: 24px; top: -23px; width: 396px; height: auto; pointer-events: none; z-index: 1; }
.column-header-wrap { position: relative; }
.section-deco-illust-column { position: absolute; left: 24px; top: 100%; margin-top: -53px; width: 396px; height: auto; pointer-events: none; z-index: 1; }
.cat-deco-illust { position: absolute; top: -13px; left: -80px; width: 440px; pointer-events: none; z-index: 1; }
.cat-deco-illust-right { position: absolute; top: 741px; right: -40px; width: 400px; pointer-events: none; z-index: 1; }
.cat-deco-illust-right3 { position: absolute; top: 1351px; left: 20px; width: 440px; pointer-events: none; z-index: 1; }
.site-deco-4top { display: block; position: relative; z-index: 10; pointer-events: none; width: 440px; margin-top: -120px; margin-bottom: -60px; }
.section-categories .section-header { padding-top: 64px; margin-bottom: 24px; }
.category-section { padding: 24px 40px 48px; border-top: 1px solid var(--blue-mid); }
.category-section:nth-child(even) { background: transparent; }
.category-inner { display: grid; grid-template-columns: 380px 1fr; row-gap: 0; column-gap: 48px; max-width: 1100px; margin: 0 auto; align-items: stretch; }
.category-info { display: flex; flex-direction: column; }
.category-info h2 { font-size: 36px; font-weight: 700; color: var(--blue); line-height: 1.3; margin-bottom: 14px; }
.category-info p { font-size: 14px; color: var(--text-light); line-height: 1.9; margin-bottom: 24px; }
.cat-info-img { width: 100%; height: auto; display: block; margin-top: auto; }
.cat-info-img--large { transform: scale(1.18); transform-origin: bottom center; position: relative; top: 36px; left: -24px; }
.cat-more-wrap { text-align: center; margin-top: 16px; }
.btn-cat-more {
    display: inline-block; background: #6B4226; color: white;
    padding: 10px 22px; border-radius: 24px; font-size: 13px; font-weight: 600;
    text-decoration: none; transition: background 0.2s;
}
.btn-cat-more:hover { background: #4A2E1A; }
.section-categories .btn-cat-more { background: #1A5C2A; }
.section-categories .btn-cat-more:hover { background: #114015; }
.articles-top { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 16px; }
.art-card-big {
    border-radius: 0; overflow: hidden;
    box-shadow: 0 2px 16px rgba(59,130,246,0.08); background: white;
    transition: transform 0.2s; text-decoration: none; display: block;
}
.art-card-big:hover { transform: translateY(-4px); }
.art-card-big .art-thumb {
    aspect-ratio: 16/9; height: auto; background: linear-gradient(135deg, #C8E6C9, #80CBC4);
    display: flex; align-items: center; justify-content: center; font-size: 36px; overflow: hidden;
}
.art-card-big .art-thumb img { width: 100%; height: 100%; object-fit: cover; }
.art-card-big .art-body { padding: 14px; }
.art-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.tag { background: var(--blue-light); color: var(--blue-dark); font-size: 14px; font-family: 'BIZ UDPGothic', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif; font-weight: 600; padding: 5px 14px; border-radius: 6px; box-shadow: 0 2px 6px rgba(0,0,0,0.15); }
.art-card-big h3 { font-size: 14px; font-weight: 600; color: var(--text); line-height: 1.6; margin-bottom: 6px; }
.art-date { font-size: 11px; color: var(--text-light); }
.art-card-list {
    display: flex; align-items: center; background: white;
    border-radius: 0; overflow: hidden;
    box-shadow: 0 2px 12px rgba(59,130,246,0.06); margin-bottom: 12px;
    text-decoration: none; transition: transform 0.2s;
}
.art-card-list:hover { transform: translateX(4px); }
.art-card-list .art-thumb-sm {
    width: 260px; min-width: 260px; height: auto; aspect-ratio: 16/9;
    background: linear-gradient(135deg, #C8E6C9, #80CBC4);
    display: flex; align-items: center; justify-content: center; font-size: 26px; overflow: hidden;
}
.art-card-list .art-thumb-sm img { width: 100%; height: 100%; object-fit: cover; }
.art-card-list .art-body-sm { padding: 12px 16px; }
.art-card-list h3 { font-size: 14px; font-weight: 600; color: var(--text); line-height: 1.5; margin-bottom: 6px; }

/* ===== 記事ページ ===== */
.single-wrap { max-width: 1200px; margin: 60px auto; padding: 0 40px; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: 12px; color: var(--text-light); margin-bottom: 20px; }
.breadcrumb a { color: var(--teal); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-sep { color: var(--text-light); }
.breadcrumb-current { color: var(--text-light); }
.single-wrap h1 { font-size: 28px; font-weight: 700; line-height: 1.5; margin-bottom: 32px; background: #fff; padding: 24px 32px; border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.single-wrap h2 { font-size: 22px; font-weight: 700; line-height: 1.5; margin: 40px 0 20px; background: #fff; padding: 18px 24px; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.single-meta { display: flex; gap: 12px; align-items: center; margin-bottom: 32px; }
.single-thumb { max-width: 700px; margin: 0 auto 40px; border-radius: 16px; overflow: hidden; }
.single-thumb img { width: 100%; height: auto; display: block; }

/* 関連記事 */
.related-articles { margin-top: 64px; padding-top: 32px; border-top: 2px solid var(--blue-mid); }
.related-articles-title { font-size: 22px; font-weight: 700; color: var(--blue-dark); font-family: 'BIZ UDPGothic', sans-serif; margin-bottom: 24px; text-align: center; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related-card { background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.06); text-decoration: none; color: var(--text); transition: transform 0.2s; display: flex; flex-direction: column; overflow: hidden; }
.related-card:hover { transform: translateY(-3px); box-shadow: 0 4px 14px rgba(0,0,0,0.1); }
.related-thumb { width: 100%; aspect-ratio: 16/9; overflow: hidden; background: var(--bg); }
.related-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.related-thumb span { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 32px; }
.related-body { padding: 14px 16px; flex: 1; }
.related-body h3 { font-size: 14px; font-weight: 700; line-height: 1.5; margin: 0 0 6px; color: var(--blue-dark); font-family: 'BIZ UDPGothic', sans-serif; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.related-date { font-size: 11px; color: var(--text-light); }

/* 本文中の関連リンク（手動配置用） */
.related-inline { display: inline-block; padding: 8px 16px 8px 36px; background: #EAF6F4; border-left: 4px solid var(--teal); color: var(--blue-dark); text-decoration: none; font-weight: 700; font-size: 14px; position: relative; margin: 12px 0; transition: background 0.2s; }
.related-inline::before { content: '🔗'; position: absolute; left: 12px; top: 50%; transform: translateY(-50%); }
.related-inline:hover { background: #D0EDE8; }

@media (max-width: 640px) {
    .related-grid { grid-template-columns: 1fr; }
}
.single-content { font-size: 16px; line-height: 1.9; color: var(--text); }
.single-content h2 { font-size: 22px; font-weight: 700; margin: 40px 0 16px; padding-left: 12px; border-left: 4px solid var(--blue); }
.single-content p { margin-bottom: 20px; }
.single-content ul { list-style: none; padding-left: 1.2em; margin-bottom: 20px; }
.single-content ul li { display: flex; align-items: flex-end; gap: 0.3em; margin-bottom: 8px; }
.single-content ul li::before { content: "・"; flex-shrink: 0; }

/* ===== 実例集タブセクション ===== */
.case-tabs-section { padding: 56px 40px; max-width: 1400px; margin: 0 auto; font-family: 'BIZ UDPGothic', sans-serif; background: transparent; }
.white-zone { background: #ECF8F8; }
.white-zone .section-categories { background: #ECF8F8; padding: 8px 24px 80px; }
.white-zone .section-categories .cat-more-wrap { margin-top: 40px; text-align: center; }
.case-residential-cta { margin: 40px auto 0; max-width: 760px; background: linear-gradient(135deg, #EAF6F4, #D0EDE8); border: 2px solid #88C9BB; border-radius: 16px; padding: 32px 28px; text-align: center; display: none; }
.case-residential-cta.active { display: block; }
.case-residential-cta-title { font-size: 20px; font-weight: 700; color: var(--blue-dark); font-family: 'BIZ UDPGothic', sans-serif; margin: 0 0 10px; }
.case-residential-cta-text { font-size: 14px; color: var(--text); line-height: 1.9; margin: 0 0 20px; }
.case-residential-cta-btn { display: inline-block; background: var(--teal); color: #fff; font-size: 15px; font-weight: 700; padding: 14px 32px; border-radius: 28px; border: none; font-family: 'BIZ UDPGothic', sans-serif; cursor: pointer; box-shadow: 0 4px 12px rgba(15,167,144,0.25); transition: transform 0.2s, box-shadow 0.2s; }
.case-residential-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(15,167,144,0.35); }
.case-tabs-nav { display: flex; gap: 6px; max-width: 720px; margin: 0; padding: 0; align-items: flex-end; }
.case-tab { flex: 1; padding: 18px 24px 22px; background: #EDE3D9; color: #6B5A47; border: none; font-size: 18px; font-weight: 700; cursor: pointer; font-family: 'BIZ UDPGothic', sans-serif; border-radius: 16px 16px 0 0; transition: background 0.2s, color 0.2s, padding 0.2s; position: relative; bottom: -1px; }
.case-tab.active { background: #D7C9B1; color: #4A3F2E; font-size: 22px; padding: 22px 24px 28px; z-index: 2; box-shadow: none; }
.case-tab:hover:not(.active) { background: #DCCBB8; color: #4A3F2E; }
.case-tab-panel { background: #D7C9B1; padding: 40px 32px; box-shadow: none; border-radius: 0 16px 0 0; border: 0; outline: 0; }
.case-tab-panel:not(.active) { display: none; }
.case-tabs-section .cat-more-wrap { background: #D7C9B1; padding: 0 32px 40px; margin: 0; box-shadow: none; border-radius: 0 0 16px 16px; text-align: center; border: 0; outline: 0; }
.case-tabs-section { border: 0; outline: 0; }
@keyframes case-tab-nudge { 0%, 80%, 100% { transform: translateX(0); } 84% { transform: translateX(-5px); } 88% { transform: translateX(5px); } 92% { transform: translateX(-3px); } 96% { transform: translateX(3px); } }
.case-tab:not(.active) { animation: case-tab-nudge 3s ease-in-out infinite; }
.case-tab-panel { display: none; }
.case-tab-panel.active { display: block; }
.case-grid { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x proximity; padding: 4px 4px 16px; scroll-padding: 4px; -webkit-overflow-scrolling: touch; scroll-behavior: smooth; }
.case-grid::-webkit-scrollbar { height: 8px; }
.case-grid::-webkit-scrollbar-track { background: rgba(0,0,0,0.05); border-radius: 4px; }
.case-grid::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.2); border-radius: 4px; }
.case-grid::-webkit-scrollbar-thumb:hover { background: rgba(0,0,0,0.35); }

/* 実例集① 詳しく読む（控えめリンク） */
.jitsurei-readmore-wrap { margin-top: 14px; text-align: right; }
.jitsurei-readmore {
    display: inline-block;
    font-size: 13px;
    color: #6B4226;
    text-decoration: underline;
    text-decoration-color: rgba(107,66,38,0.5);
    font-weight: 600;
    font-family: 'BIZ UDPGothic', sans-serif;
    transition: opacity 0.2s;
}
.jitsurei-readmore:hover { opacity: 0.6; }

/* 実例集③ 2ボタンCTA */
.jitsurei-cta-buttons {
    display: flex; justify-content: center; gap: 12px; margin-top: 42px; flex-wrap: wrap;
}
.jitsurei-cta-btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 12px 24px; border-radius: 8px;
    font-weight: 700; font-size: 14px; text-decoration: none;
    font-family: 'BIZ UDPGothic', sans-serif;
    transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.jitsurei-cta-btn:hover { transform: translateY(-2px); }
.jitsurei-cta-btn.outline {
    background: #2196F3; color: #fff; border: 2px solid #2196F3;
}
.jitsurei-cta-btn.outline:hover {
    background: #1976D2; border-color: #1976D2;
}
.jitsurei-cta-btn.solid {
    background: #4FBFC0; color: #fff; border: 2px solid #4FBFC0;
}
.jitsurei-cta-btn.solid:hover {
    background: #2E7D8F; border-color: #2E7D8F;
}

/* パネルタイトル（実例集 非住宅編） */
.case-panel-title {
    display: flex; justify-content: center; align-items: baseline; gap: 14px;
    font-size: 36px; font-weight: 700; color: #6B4226;
    font-family: 'BIZ UDPGothic', sans-serif;
    margin: 0 auto 32px;
    text-align: center;
    width: fit-content;
    border-bottom: 3px solid #6B4226;
    padding: 0 80px 14px;
}
.case-panel-title-sub {
    font-size: 22px;
    font-weight: 600;
    color: #6B4226;
}

/* 新着記事ラベル */
.case-slider-label {
    display: flex; justify-content: center; align-items: center; gap: 12px;
    font-size: 28px; font-weight: 700; color: #6B4226;
    font-family: 'BIZ UDPGothic', sans-serif;
    margin: 0 0 22px;
}
.case-slider-label-badge {
    display: inline-block;
    background: #E74C3C; color: #fff;
    padding: 4px 10px; border-radius: 4px;
    font-size: 12px; font-weight: 800; letter-spacing: 0.5px;
    line-height: 1;
}

/* スライダーラッパー + 前後ボタン */
.case-slider-wrap { position: relative; }
.case-slider-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 44px; height: 44px; border-radius: 50%;
    background: #fff; color: #4FBFC0; border: 2px solid #4FBFC0;
    font-size: 26px; font-weight: 700; line-height: 1;
    cursor: pointer; z-index: 5;
    box-shadow: 0 2px 10px rgba(0,0,0,0.18);
    display: flex; align-items: center; justify-content: center;
    padding: 0 0 4px;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}
.case-slider-arrow:hover { background: #4FBFC0; color: #fff; transform: translateY(-50%) scale(1.08); }
.case-slider-arrow.prev { left: -16px; }
.case-slider-arrow.next { right: -16px; }

/* スライダードット（非表示） */
.case-slider-dots {
    display: none; justify-content: center; align-items: center;
    gap: 10px; margin-top: 22px;
}
.case-slider-dots button {
    width: 10px; height: 10px; border-radius: 50%; border: 0;
    background: rgba(107,66,38,0.3); cursor: pointer; padding: 0;
    transition: background 0.2s, transform 0.2s;
}
.case-slider-dots button:hover { background: rgba(107,66,38,0.55); }
.case-slider-dots button.active { background: #4FBFC0; transform: scale(1.4); }

.case-card { background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,0.07); text-decoration: none; color: var(--text); transition: transform 0.2s, box-shadow 0.2s; display: flex; flex-direction: column; overflow: hidden; border-radius: 14px; flex: 0 0 calc(40% - 10px); scroll-snap-align: start; }
.case-card:hover { transform: translateY(-4px); box-shadow: 0 6px 20px rgba(0,0,0,0.12); }
.case-thumb { width: 100%; aspect-ratio: 16/9; overflow: hidden; background: var(--bg); }
.case-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.case-thumb span { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 48px; }
.case-body { padding: 16px 18px; flex: 1; }
.case-body h3 { font-size: 16px; font-weight: 700; line-height: 1.5; margin: 8px 0; color: var(--blue-dark); }
.case-body .art-date { font-size: 11px; color: var(--text-light); }

/* コラム 3×1 */
.articles-grid-3x1 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1000px; width: 100%; margin: 0 auto; }

/* 非住宅セクション（仮設置） */
.non-res-section { padding: 32px 24px 64px; max-width: 1200px; margin: 0 auto; font-family: 'BIZ UDPGothic', sans-serif; }

/* 非住宅の実例集 紹介（イラスト+テキスト） */
.non-res-intro { padding: 32px 24px 64px; max-width: 1000px; margin: 0 auto; font-family: 'BIZ UDPGothic', sans-serif; }
.non-res-intro-list { display: flex; flex-direction: column; gap: 28px; margin-bottom: 56px; padding-bottom: 56px; border-bottom: 1px solid #6B4226; }
.non-res-intro-item { display: flex; align-items: stretch; gap: 32px; background: #fff; padding: 28px 32px; border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.non-res-intro-item:nth-child(even) { flex-direction: row-reverse; }
.non-res-intro-img { flex: 0 0 540px; }
.non-res-intro-img img { width: 100%; height: auto; display: block; }
.non-res-intro-text { flex: 1; display: flex; flex-direction: column; }
.non-res-intro-text .jitsurei-readmore-wrap { margin-top: auto; }
.non-res-intro-text h3 { font-size: 22px; font-weight: 700; color: var(--blue-dark); margin: 32px auto 16px; text-align: center; display: block; width: fit-content; min-width: 580px; border-bottom: 1px solid #6B4226; padding-bottom: 2px; line-height: 1.6; }
.non-res-intro-text p { font-size: 15px; color: var(--text); line-height: 1.9; margin: 0; }
@media (max-width: 640px) {
    .non-res-intro-item, .non-res-intro-item:nth-child(even) { flex-direction: column; text-align: center; }
    .non-res-intro-img { flex: 0 0 auto; width: 140px; }
}

@media (max-width: 720px) {
    .case-grid { grid-template-columns: 1fr; }
    .articles-grid-3x1 { grid-template-columns: 1fr; }
}

/* ===== シンプルヒーロー（メディアサイトセット外） ===== */
.simple-hero { background: #ECF8F8; padding: 0; text-align: center; font-family: 'BIZ UDPGothic', sans-serif; position: relative; overflow: visible; min-height: 620px; display: flex; align-items: center; justify-content: center; z-index: 5; }
.hero-bg-city { position: absolute; bottom: 600px; width: 50%; height: auto; opacity: 0.35; z-index: 0; pointer-events: none; }
.hero-bg-city-1 { left: 0; }
.hero-bg-city-2 { right: 0; }
.hero-side-left { position: absolute; top: 0; left: 0; bottom: auto; width: auto; height: auto; max-width: 28%; z-index: 1; pointer-events: none; }
.hero-side-right { position: absolute; bottom: 0; right: 0; top: auto; width: auto; height: auto; max-width: 35%; z-index: 1; pointer-events: none; }
.simple-hero-inner { position: relative; z-index: 2; }
.simple-hero-inner { background: transparent; border-radius: 0; padding: 56px 64px; box-shadow: none; max-width: 1200px; width: calc(100% - 80px); margin: 0 auto; text-align: center; }
.hero-title-wrap { display: inline-block; margin-top: 0; }
.hero-title-wrap .simple-hero-eyebrow { display: block; margin: 0 auto 24px; }
.hero-title-wrap .simple-hero-title { display: block; margin: 0; }
.hero-bottom-band { background: #4FBFC0; width: 100%; padding: 18px 24px; font-family: 'BIZ UDPGothic', sans-serif; }
.hero-bottom-band-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; }
.hero-bottom-band-text { color: #fff; margin: 0; font-size: 18px; font-weight: 700; }
.hero-bottom-band-btn { display: inline-block; background: #fff; color: #4FBFC0; padding: 10px 24px; border-radius: 24px; text-decoration: none; font-weight: 700; font-size: 14px; transition: transform 0.2s; }
.hero-bottom-band-btn:hover { transform: translateY(-2px); }
.partner-card-cta { text-align: center; padding: 48px 24px; max-width: 1100px; margin: 0 auto; }
.partner-card-cta a { display: inline-block; transition: transform 0.2s; }
.partner-card-cta a:hover { transform: translateY(-3px); }
.partner-card-cta img { max-width: 100%; height: auto; display: block; border-radius: 12px; box-shadow: 0 6px 20px rgba(0,0,0,0.1); border: 4px solid #316EA9; }
.hero-about-section { background: #ECF8F8; padding: 40px 24px 60px; font-family: 'BIZ UDPGothic', sans-serif; }
.hero-about-box { background: #fff; border-radius: 24px; padding: 24px 36px; max-width: 620px; margin: 32px auto 0; box-shadow: 0 6px 20px rgba(0,0,0,0.05); position: relative; }
.hero-about-illust { position: absolute; top: 80px; left: -15px; transform: translateX(-50%); width: auto; height: 92%; pointer-events: none; z-index: 2; filter: drop-shadow(0 8px 16px rgba(0,0,0,0.2)); }
.hero-about-section .simple-hero-about-desc { text-align: center; margin: 0; padding-left: 150px; }
.hero-about-title { display: inline-block; font-size: 24px; font-weight: 900; color: #1A5C2A; padding: 0; margin-bottom: 12px; letter-spacing: 0.05em; line-height: 1.2; }
@media (max-width: 640px) {
    .simple-hero-inner { padding: 32px 24px; border-radius: 20px; }
}
.simple-hero-illust { position: absolute; right: 400px; bottom: -230px; width: 598px; height: auto; z-index: 1000; pointer-events: none; }
@media (max-width: 900px) {
    .simple-hero-illust { display: none; }
}
.simple-hero-inner { position: relative; z-index: 2; }
.hero-corner-tr { position: absolute; top: -155px; right: -65px; width: 390px; height: auto; z-index: 1000; pointer-events: none; }
.hero-corner-bl { position: absolute; top: calc(50% - 170px); right: -130px; width: 680px; height: auto; z-index: 1000; pointer-events: none; filter: drop-shadow(0 12px 20px rgba(0,0,0,0.25)); transform: translateY(-50%); bottom: auto; }
.simple-hero-eyebrow { display: block; width: fit-content; background: #4FBFC0; color: #fff; padding: 10px 28px; border-radius: 0; font-size: 18px; letter-spacing: 0.08em; font-weight: 700; margin: 0 auto 24px; }
.simple-hero-title { font-size: 60px; font-weight: 900; color: #4FBFC0; line-height: 1.3; margin: 0 auto 24px; letter-spacing: 0.04em; text-shadow: 3px 5px 10px rgba(79,191,192,0.3); display: block; width: fit-content; border-bottom: 3px solid #4FBFC0; padding: 0 60px 8px; }
.simple-hero-accent { padding: 0 4px; }
.simple-hero-desc { font-size: 16px; color: #000; line-height: 2; margin: 0 0 36px; }
.simple-hero-about-title { font-size: 28px; font-weight: 700; color: #1A5C2A; letter-spacing: 0.04em; display: block; width: fit-content; margin: 32px auto 28px; border-bottom: 2px solid #1A5C2A; padding-bottom: 3px; }
.simple-hero-about-desc { font-size: 15px; color: #6B4226; line-height: 2.2; margin: 0; text-align: center; }
.simple-hero-about-desc strong { color: #6B4226; font-weight: 700; }
.simple-hero-about-desc .hero-wavy { text-decoration: underline; text-decoration-color: #6B4226; text-underline-offset: 5px; text-decoration-thickness: 2px; font-size: 1.15em; letter-spacing: 0.05em; }
.simple-hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.simple-hero-btn { display: inline-block; padding: 16px 36px; border-radius: 32px; text-decoration: none; font-weight: 700; font-size: 16px; transition: transform 0.2s, box-shadow 0.2s; }
.simple-hero-btn.primary { background: var(--teal); color: #fff; box-shadow: 0 4px 14px rgba(15,167,144,0.3); }
.simple-hero-btn.primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(15,167,144,0.4); }
.simple-hero-btn.secondary { background: #fff; color: var(--blue-dark); border: 2px solid var(--blue-dark); }
.simple-hero-btn.secondary:hover { background: var(--blue-dark); color: #fff; }
/* 省エネ建築 実例図鑑とは（統合ボックス） */
.troubles-answer-section { background: var(--bg); padding: 264px 24px 64px; font-family: 'BIZ UDPGothic', sans-serif; }
.ta-box { max-width: 1100px; margin: 0 auto; background: transparent; border-radius: 20px; padding: 48px 56px; text-align: center; }
.ta-title { font-size: 28px; font-weight: 700; color: #fff; letter-spacing: 0.04em; display: block; width: fit-content; margin: 0 auto 28px; border-bottom: 2px solid #fff; padding-bottom: 3px; }
.ta-troubles { list-style: none; padding: 0; margin: 0 0 28px; display: inline-block; text-align: left; }
.ta-troubles li { font-size: 15px; color: #316EA9; padding: 6px 0 6px 28px; position: relative; line-height: 1.8; }
.ta-troubles li::before { content: '💭'; position: absolute; left: 0; top: 6px; }
.ta-solution { font-size: 18px; color: #316EA9; font-weight: 700; margin: 0 0 24px; padding: 16px 20px; background: linear-gradient(135deg, #EAF6F4, #D0EDE8); border-radius: 10px; display: inline-block; }
.ta-solution strong { color: #316EA9; }
.ta-description { font-size: 17px; color: #fff; line-height: 2.1; margin: 0; text-align: center; }
.ta-description strong { color: #fff; font-weight: 700; }
.ta-mark { display: inline; font-weight: 700; }

/* 強調テキスト（実例集③のキャッチ文） */
.pickup-text {
    display: inline-block;
    font-size: 1.2em;
    font-weight: 700;
    margin-top: 6px;
    text-decoration: underline wavy;
    text-decoration-color: #6B4226;
    text-underline-offset: 6px;
    text-decoration-thickness: 1.5px;
}

/* 蛍光イエローマーカー */
.marker-yellow {
    background: linear-gradient(transparent 55%, #FFF176 55%);
    padding: 0 2px;
    font-weight: 700;
}
.ta-mark-column { color: #1A5C2A; }
.ta-mark-partner { color: #2196F3; }
@media (max-width: 640px) {
    .ta-box { padding: 32px 24px; }
    .ta-title { font-size: 22px; }
    .ta-solution { font-size: 16px; padding: 14px 16px; }
}

/* お悩み */
.hero-troubles { margin: 0 auto; max-width: 640px; background: #fff; border-radius: 14px; padding: 24px 32px; box-shadow: 0 4px 16px rgba(0,0,0,0.06); text-align: left; }
.hero-troubles-title { text-align: center; font-size: 18px; font-weight: 700; color: var(--blue-dark); margin: 0 0 14px; letter-spacing: 0.04em; }
.hero-troubles-list { list-style: none; padding: 0; margin: 0; }
.hero-troubles-list li { font-size: 15px; color: var(--text); padding: 8px 0 8px 30px; position: relative; line-height: 1.7; }
.hero-troubles-list li::before { content: '💭'; position: absolute; left: 0; top: 8px; font-size: 16px; }
.hero-troubles-list li strong { color: var(--blue-dark); }

/* 矢印 */
.hero-arrow { text-align: center; font-size: 32px; color: var(--teal); margin: 16px 0 8px; font-weight: 700; }

/* アンサー */
.hero-answer { margin: 0 auto; max-width: 760px; background: linear-gradient(135deg, var(--teal), #1A4A2E); border-radius: 16px; padding: 28px 32px; color: #fff; box-shadow: 0 6px 20px rgba(15,167,144,0.25); }
.hero-answer-eyebrow { text-align: center; font-size: 16px; margin: 0 0 20px; color: #fff; }
.hero-answer-eyebrow strong { color: #FFFF00; font-size: 1.15em; }
.hero-answer-text { font-size: 14px; line-height: 2.1; color: #fff; text-align: left; margin: 0; }
.hero-answer-text strong { color: #fff; font-weight: 700; }
.hero-answer-mark { display: inline; font-weight: 700; padding: 2px 8px; border-radius: 4px; line-height: 1.9; }
.hero-mark-column { background: rgba(255,255,0,0.25); color: #FFFF80; }
.hero-mark-partner { background: rgba(255,180,0,0.3); color: #FFD580; }

@media (max-width: 640px) {
    .simple-hero { padding: 56px 20px; }
    .simple-hero-title { font-size: 32px; }
    .simple-hero-desc { font-size: 14px; }
    .hero-troubles { padding: 20px 22px; }
    .hero-answer-grid { grid-template-columns: 1fr; }
}

/* ===== カテゴリ一覧ページ ===== */
.site-deco-migiue { position: absolute; top: 82px; right: 0; width: 38%; max-width: 440px; height: auto; pointer-events: none; opacity: 0.6; z-index: 50; }
.archive-deco { position: absolute; top: 600px; left: 0; width: auto; height: auto; transform: scale(0.43); transform-origin: top left; pointer-events: none; opacity: 0.45; z-index: 0; }
.archive-wrap { max-width: 1280px; margin: 60px auto; padding: 0 40px; position: relative; z-index: 1; }
.archive-header { margin-bottom: 48px; }
.archive-header h1 { font-size: 36px; font-weight: 700; color: var(--blue); }
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
/* Archive layout */
.archive-body { display: flex; gap: 48px; align-items: flex-start; }
.archive-main { flex: 1; min-width: 0; }
.archive-sidebar { width: 260px; flex-shrink: 0; }
.sidebar-widget { margin-bottom: 32px; }
.sidebar-title { font-size: 15px; font-weight: 700; color: var(--teal); padding-bottom: 10px; border-bottom: 2px solid var(--teal); margin-bottom: 14px; font-family: 'BIZ UDPGothic', sans-serif; }
.sidebar-cat-list { list-style: none; }
.sidebar-cat-list li { border-bottom: 1px solid rgba(0,0,0,0.08); }
.sidebar-cat-list a { display: block; padding: 10px 4px; font-size: 14px; color: var(--text); text-decoration: none; transition: color 0.2s; }
.sidebar-cat-list a:hover { color: var(--teal); }
.sidebar-search { display: flex; gap: 8px; }
.sidebar-search-input { flex: 1; border: 1px solid #ccc; border-radius: 6px; padding: 8px 12px; font-size: 14px; font-family: 'BIZ UDPGothic', sans-serif; outline: none; }
.sidebar-search-btn { background: var(--teal); color: white; border: none; border-radius: 6px; padding: 8px 14px; font-size: 14px; cursor: pointer; font-family: 'BIZ UDPGothic', sans-serif; white-space: nowrap; }
.sidebar-search-btn:hover { background: var(--blue-dark); }
.sidebar-recent-list { list-style: none; }
.sidebar-recent-list li { border-bottom: 1px solid rgba(0,0,0,0.08); padding: 10px 0; }
.sidebar-recent-list a { font-size: 13px; color: var(--text); text-decoration: none; display: block; line-height: 1.6; }
.sidebar-recent-list a:hover { color: var(--teal); }
.sidebar-recent-date { font-size: 11px; color: var(--text-light); display: block; margin-top: 4px; }
.sidebar-jns-label { font-size: 12px; color: var(--text-light); margin-bottom: 6px; text-align: center; }
.sidebar-jns-logobox { background: white; border-radius: 8px; padding: 12px; margin-bottom: 16px; text-align: center; }
.sidebar-jns-logobox-img { height: 32px; width: auto; }
.sidebar-jns-logo { width: 100%; height: auto; border-radius: 6px; display: block; }

/* ===== フッター ===== */
.site-footer { background: #2E7D8F; color: #F5F0E8; padding: 56px 40px 0; font-family: 'BIZ UDPGothic', sans-serif; margin-top: 0; position: relative; z-index: 20; }
.footer-inner { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 48px; max-width: 1100px; margin: 0 auto; padding-bottom: 48px; align-items: start; }
.footer-brand { grid-column: 1; }
.footer-brand-box {
    background: #fff;
    padding: 18px 22px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transform: translateY(8px);
}
.footer-brand-img { width: 48px; height: auto; display: block; }
.footer-brand-text {
    font-size: 26px;
    font-weight: 900;
    color: #4FBFC0;
    letter-spacing: 0.05em;
    font-family: 'BIZ UDPGothic', sans-serif;
    line-height: 1;
    transform: translateY(6px);
}
.footer-brand { width: fit-content; min-width: 260px; margin: 0 auto; padding-top: 34px; }
.footer-logo-box { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: white; border-radius: 8px; padding: 5px 14px; margin-bottom: 8px; width: 100%; box-sizing: border-box; min-height: 72px; }
.footer-logo-link { display: block; }
.footer-logo-img { height: 62px; width: auto; display: block; margin: 0 auto; }
.footer-tagline { font-size: 13px; line-height: 1.9; color: rgba(255,255,255,0.7); margin-bottom: 0; }
.footer-col-title { font-size: 14px; font-weight: 700; color: #F5F0E8; letter-spacing: 0.05em; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid #F5F0E8; font-family: 'BIZ UDPGothic', sans-serif; }

/* ===== About / Contact ページ共通 ===== */
.about-page { background: var(--bg); padding-bottom: 80px; }
.about-hero { background: linear-gradient(135deg, var(--teal), #1A4A2E); color: var(--white); text-align: center; padding: 60px 24px; margin-bottom: 48px; }
.about-hero-title { font-size: 36px; font-weight: 700; font-family: 'BIZ UDPGothic', sans-serif; margin: 0 0 12px; }
.about-hero-sub { font-size: 15px; opacity: 0.92; margin: 0; }
.about-container { max-width: 760px; margin: 0 auto; padding: 0 24px; font-family: 'BIZ UDPGothic', sans-serif; }

/* About ページ専用 */
.about-section { background: #fff; border-radius: 12px; padding: 36px 36px; margin-bottom: 28px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.about-section-title { font-size: 22px; font-weight: 700; color: var(--blue-dark); margin: 0 0 20px; padding-bottom: 12px; border-bottom: 2px solid var(--teal); font-family: 'BIZ UDPGothic', sans-serif; }
.about-sub-title { font-size: 16px; font-weight: 700; color: var(--blue-dark); margin: 22px 0 10px; font-family: 'BIZ UDPGothic', sans-serif; }
.about-text p { font-size: 14px; color: var(--text); line-height: 1.9; margin: 0 0 14px; }
.about-text a { color: var(--teal); }
.about-text a:hover { text-decoration: underline; }

.about-table-wrap { overflow-x: auto; }
.about-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.about-table th, .about-table td { padding: 14px 18px; text-align: left; vertical-align: top; line-height: 1.7; border-bottom: 1px solid var(--blue-mid); }
.about-table th { background: var(--bg); color: var(--blue-dark); font-weight: 700; width: 130px; white-space: nowrap; }
.about-table td a { color: var(--teal); }
.about-table td a:hover { text-decoration: underline; }
.about-table tr:last-child th, .about-table tr:last-child td { border-bottom: none; }

@media (max-width: 600px) {
    .about-section { padding: 24px 20px; }
    .about-table th { width: 100px; padding: 10px 12px; }
    .about-table td { padding: 10px 12px; }
}

/* ===== Contact フォーム ===== */
.contact-form { background: var(--white); border-radius: 16px; padding: 40px 36px; box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.contact-field { margin-bottom: 28px; }
.contact-label { display: block; font-size: 14px; font-weight: 700; color: var(--blue-dark); margin-bottom: 8px; }
.contact-required { background: #C0392B; color: var(--white); font-size: 11px; padding: 2px 8px; border-radius: 4px; margin-left: 6px; font-weight: 700; }
.contact-input, .contact-textarea { width: 100%; padding: 12px 14px; font-size: 15px; border: 1px solid var(--blue-mid); border-radius: 8px; background: #FAFCFB; font-family: 'BIZ UDPGothic', sans-serif; box-sizing: border-box; }
.contact-input:focus, .contact-textarea:focus { outline: none; border-color: var(--teal); background: var(--white); }
.contact-textarea { resize: vertical; min-height: 160px; line-height: 1.7; }
.contact-genre-wrap .contact-genre-input{ display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.contact-genre-wrap label { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text); padding: 8px 12px; background: var(--bg); border-radius: 6px; cursor: pointer; transition: background 0.2s; }
.contact-genre-wrap label:hover { background: #E4F3EF; }
.contact-genre-wrap label input { cursor: pointer; }


.contact-pp-box { background: var(--bg); border: 1px solid var(--blue-mid); border-radius: 10px; padding: 20px 24px; font-size: 13px; line-height: 1.8; color: var(--text); max-height: 220px; overflow-y: auto; margin-bottom: 14px; }
.contact-pp-title { font-weight: 700; color: var(--blue-dark); margin: 0 0 10px; font-size: 14px; }
.contact-pp-heading { font-weight: 700; color: var(--blue-dark); margin: 14px 0 6px; }
.contact-pp-box ul { margin: 8px 0 12px; padding-left: 20px; }
.contact-pp-box li { margin-bottom: 4px; }
.contact-pp-box a { color: var(--teal); }
.contact-privacy-label, .contact-pp-agree { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text); cursor: pointer; padding: 10px 0; }
.contact-pp-agree small { display: block; font-size: 12px; color: var(--text-light); margin-top: 2px; }

.contact-submit-wrap { text-align: center; margin-top: 8px; }
.contact-submit-btn { background: var(--teal); color: var(--white); font-size: 16px; font-weight: 700; padding: 14px 56px; border: none; border-radius: 30px; cursor: pointer; font-family: 'BIZ UDPGothic', sans-serif; transition: opacity 0.2s; box-shadow: 0 4px 12px rgba(15,167,144,0.3); margin-top: 30px;}
.contact-submit-btn:hover { opacity: 0.88; }

.contact-error { background: #FDECEA; border: 1px solid #C0392B; color: #C0392B; padding: 14px 18px; border-radius: 8px; margin-bottom: 20px; font-size: 14px; }
.contact-success { background: var(--white); border-radius: 16px; padding: 60px 36px; text-align: center; box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.contact-success-icon { font-size: 48px; margin: 0 0 16px; }
.contact-success-title { font-size: 22px; font-weight: 700; color: var(--blue-dark); font-family: 'BIZ UDPGothic', sans-serif; margin: 0 0 12px; }
.contact-success-body { font-size: 14px; color: var(--text); line-height: 1.8; margin: 0 0 28px; }
.contact-back-btn { display: inline-block; background: var(--teal); color: var(--white); padding: 12px 32px; border-radius: 24px; text-decoration: none; font-weight: 700; font-family: 'BIZ UDPGothic', sans-serif; }
.contact-back-btn:hover { opacity: 0.88; }

@media (max-width: 640px) {
    .contact-genre-wrap { grid-template-columns: 1fr; }
    .contact-form { padding: 28px 20px; }
    .about-hero-title { font-size: 26px; }
}

/* ===== カテゴリ別記事リスト (front-page) ===== */
/* テーマ別サブカテゴリ */
.cat-themes { display: flex; gap: 14px; align-items: center; justify-content: center; margin: 0 0 22px; flex-wrap: wrap; grid-column: 1 / -1; }
.cat-themes-label { background: var(--teal); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 20px; font-family: 'BIZ UDPGothic', sans-serif; white-space: nowrap; line-height: 1.6; }
.cat-themes-list { display: flex; gap: 6px 8px; flex-wrap: wrap; justify-content: center; }
.cat-theme-link { font-size: 12px; color: var(--teal); padding: 4px 10px; border: 1px solid var(--teal); border-radius: 20px; text-decoration: none; transition: background 0.2s, color 0.2s; background: #fff; }
.cat-theme-link:hover { background: var(--teal); color: #fff; }

/* 大きい記事カード（1番目） */
.category-articles { display: flex; flex-direction: column; align-items: center; grid-column: 1 / -1; }
.art-card-feature { display: flex; flex-direction: column; gap: 0; background: #fff; border-radius: 0; border: 3px solid var(--blue-dark); overflow: visible; box-shadow: 0 3px 14px rgba(0,0,0,0.08); text-decoration: none; color: var(--text); transition: transform 0.2s, box-shadow 0.2s; margin-bottom: 24px; margin-top: 64px; max-width: 1000px; width: 100%; position: relative; }
.art-pickup-label { position: absolute; bottom: 100%; left: 0; width: 100%; text-align: center; z-index: 10; margin-bottom: -14px; font-family: 'BIZ UDPGothic', sans-serif; font-size: 48px; font-weight: 700; color: #fff; -webkit-text-stroke: 5px var(--blue-dark); paint-order: stroke fill; letter-spacing: 0.1em; text-shadow: 1px 2px 6px rgba(0,0,0,0.7); line-height: 1.2; pointer-events: none; }
.art-card-feature:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.12); }
.art-feature-thumb { flex: 0 0 auto; width: 100%; overflow: hidden; background: var(--bg); aspect-ratio: 16/9; position: relative; }
.art-feature-thumb > .art-feature-badge { display: inline-block; position: absolute; top: 12px; left: 12px; width: auto; height: auto; background: var(--blue-dark); color: #fff; padding: 8px 18px; border-radius: 6px; font-family: 'BIZ UDPGothic', sans-serif; font-size: 18px; font-weight: 700; letter-spacing: 0.1em; z-index: 5; pointer-events: none; white-space: nowrap; line-height: 1.4; box-shadow: 0 2px 6px rgba(0,0,0,0.2); align-items: initial; justify-content: initial; }
.art-feature-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.art-feature-thumb span { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 56px; }
.art-feature-side { flex: 1; padding: 20px 24px; display: flex; flex-direction: column; justify-content: center; }
.art-feature-side h3 { font-size: 20px; font-weight: 700; line-height: 1.5; margin: 10px 0 12px; color: var(--blue-dark); font-family: 'BIZ UDPGothic', sans-serif; }
.art-feature-excerpt { font-size: 13px; color: var(--text); line-height: 1.8; margin: 0 0 12px; padding: 0; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }

/* 小さい記事カード（2-3番目・2カラム） */
.articles-bottom-grid { display: grid; grid-template-columns: 1fr; gap: 16px; max-width: 1000px; width: 100%; margin: 0 auto; }
.articles-bottom-grid .art-card-mini { flex-direction: row; align-items: stretch; aspect-ratio: 16 / 3; }
.articles-bottom-grid .art-mini-thumb { flex: 0 0 33.333%; width: auto; aspect-ratio: 16/9; }
.articles-bottom-grid .art-mini-body { padding: 16px 20px; overflow: hidden; }
/* archive (category) ページではbodyを優先表示 */
.archive-main .articles-bottom-grid .art-card-mini { aspect-ratio: auto; }
.archive-main .articles-bottom-grid .art-mini-thumb { align-self: stretch; min-height: 0; aspect-ratio: auto; }
.archive-main .articles-bottom-grid .art-mini-thumb img { width: 100%; height: 100%; object-fit: cover; }
.art-mini-excerpt { font-size: 12px; color: var(--text); line-height: 1.7; margin: 6px 0 8px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* コラム用 3×2グリッド */
.articles-grid-2x2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1000px; width: 100%; margin: 0 auto; }
.art-card-mini { display: flex; flex-direction: column; gap: 0; background: #fff; border-radius: 0; box-shadow: 0 2px 8px rgba(0,0,0,0.06); text-decoration: none; color: var(--text); padding: 0; overflow: hidden; transition: transform 0.2s; align-items: stretch; }
.art-card-mini:hover { transform: translateY(-2px); }
.art-mini-thumb { flex: 0 0 auto; width: 100%; aspect-ratio: 16/9; border-radius: 0; overflow: hidden; background: var(--bg); }
.art-mini-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.art-mini-thumb span { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 32px; }
.art-mini-body { flex: 1; min-width: 0; padding: 14px 16px; display: flex; flex-direction: column; justify-content: center; }
.art-mini-body h3 { font-size: 14px; font-weight: 700; line-height: 1.5; margin: 6px 0 4px; color: var(--blue-dark); font-family: 'BIZ UDPGothic', sans-serif; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.art-mini-body .art-date { font-size: 11px; color: var(--text-light); }

@media (max-width: 700px) {
    .art-card-feature { flex-direction: column; }
    .art-feature-thumb { flex: 0 0 auto; }
    .articles-bottom-grid { grid-template-columns: 1fr; }
}
.footer-links { list-style: none; }
.footer-links li { border-bottom: 1px solid rgba(245,240,232,0.2); }
.footer-links a { color: #F5F0E8; text-decoration: none; font-size: 13px; display: block; padding: 10px 0; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-operator { background: rgba(0,0,0,0.2); border-radius: 8px; padding: 14px 16px; margin-top: 20px; }
.footer-operator-title { font-size: 13px; font-weight: 700; color: white; margin-bottom: 4px; font-family: 'BIZ UDPGothic', sans-serif; }
.footer-operator-sub { font-size: 12px; color: rgba(255,255,255,0.6); margin: 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); max-width: 1100px; margin: 0 auto; padding: 20px 0; display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.5); margin: 0; }
.footer-center-illust-wrap { width: 100%; background: linear-gradient(to bottom, var(--bg) 113px, var(--blue-dark) 113px); height: 300px; position: relative; z-index: 10; }
.footer-center-illust { position: absolute; top: -101px; left: 50%; transform: translateX(-50%); width: 60%; height: auto; }
.footer-presented { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; color: #ffffff; margin: 0; background: #1A1A1A; border-radius: 8px; padding: 8px 14px; width: 100%; box-sizing: border-box; min-height: 72px; }
.footer-jns-logo { height: 36px; width: auto; }

.ft-txt {
    text-align: center;
    background: #fff;
    max-width: 800px;
    margin: 0 auto 50px;
    color: #2e7d8f;
    border-radius: 15px;
    padding: 20px;
	line-height: 1.5;}

.contact-submit-btn:disabled{
    opacity: .5;
    cursor: not-allowed;
    pointer-events: none;
}

/* 2607.公開調整対応 */
.wpcf7-spinner {
    display: none;
}