/*
Theme Name: IEYA
Theme URI: https://ieya.jp
Author: IEYA
Author URI: https://ieya.jp
Description: IEYA オフィシャルサイト用 WordPress テーマ。住まいに、品格という選択を。
Version: 1.0.0
License: All Rights Reserved
Text Domain: ieya
*/

/* ============================================================
   Base Reset
   ============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
}

body {
    font-family: 'Hiragino Kaku Gothic ProN', 'Yu Gothic', Arial, sans-serif;
    background: #f5f3f0;
    color: #3d3d3d;
    line-height: 1.8;
}

/* ============================================================
   Navigation
   ============================================================ */
.nav-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 60px;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: rgba(238, 238, 238, 0.6);
    backdrop-filter: blur(6px);
    font-family: Garamond, serif;
}

.nav-container.scrolled {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    background: rgba(238, 238, 238, 0.85);
    backdrop-filter: blur(10px);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 2px;
    color: #3d3d3d;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.7;
}

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

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
    list-style: none;
}

.nav-menu a {
    text-decoration: none;
    color: #3d3d3d;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.5px;
    position: relative;
    transition: color 0.3s ease;
    padding-bottom: 4px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background: #8B7355;
    transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-menu a:hover {
    color: #8B7355;
}

.nav-menu a:hover::after {
    width: 100%;
}

.cta-button {
    background: #8B7355;
    color: white;
    border: none;
    padding: 12px 28px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.8px;
    cursor: pointer;
    display: inline-flex;       /* flexからinline-flexに変更 */
    flex-direction: row;        /* 横並びを明示 */
    align-items: center;
    gap: 8px;
    white-space: nowrap;        /* テキスト折り返し防止 */
    text-decoration: none;      /* aタグのアンダーライン除去 */
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 2px;
    flex-shrink: 0;             /* 縮まないように固定 */
}

.cta-button:hover {
    background: #6B5444;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(139, 115, 85, 0.25);
}

/* ============================================================
   Hero Section
   ============================================================ */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-image: url('images/hero-image.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 560px;
    height: 560px;
    padding: 56px 48px;
    margin: 0 0 0 60px;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(8px);
    border-radius: 4px;
    outline: 2px solid #8B7355;
    outline-offset: -10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    animation: heroBoxIn 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s forwards;
    opacity: 0;
    transform: scale(0.96);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

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

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

.hero-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 48px;
    font-weight: 600;
    line-height: 1.3;
    color: #3d3d3d;
    letter-spacing: 3px;
    margin-bottom: 24px;
}

.typed-cursor {
    display: inline-block;
    width: 2px;
    height: 1em;
    background: #8B7355;
    margin-left: 2px;
    vertical-align: text-bottom;
    animation: cursorBlink 0.8s ease-in-out infinite;
}

.typed-cursor.is-done {
    animation: none;
    opacity: 0;
}

@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}

.hero-subtitle {
    font-size: 14px;
    line-height: 2;
    color: #6b6b6b;
    margin-bottom: 36px;
    letter-spacing: 0.5px;
    opacity: 0;
    transition: opacity 0.9s ease;
}

.hero-subtitle.is-animated {
    opacity: 1;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-btn {
    padding: 14px 32px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 2px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
    font-family: inherit;
}

.hero-btn.is-animated {
    animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.hero-btn-primary {
    background: #8B7355;
    color: white;
    border: none;
}

.hero-btn-primary:hover {
    background: #6B5444;
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(139, 115, 85, 0.3);
}

.hero-btn-secondary {
    background: transparent;
    color: #3d3d3d;
    border: 2px solid #3d3d3d;
}

.hero-btn-secondary:hover {
    background: #f0ede8;
    border-color: #8B7355;
    color: #8B7355;
    transform: translateY(-3px);
}

.arrow {
    font-size: 16px;
    opacity: 0.6;
    transition: transform 0.3s ease;
}

.hero-btn:hover .arrow {
    transform: translateX(4px);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: bounce 2s infinite;
    opacity: 0.6;
    z-index: 100;
}

.scroll-indicator svg {
    width: 20px;
    height: 20px;
    stroke: #8B7355;
    stroke-width: 2;
    fill: none;
}

.scroll-indicator-text {
    font-size: 11px;
    color: #8B7355;
    letter-spacing: 1px;
    font-weight: 500;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(8px); }
}

/* ============================================================
   NEWS Section
   ============================================================ */
.news-section {
    width: 100%;
    padding: 80px 60px;
    background: #f5f3f0;
    display: flex;
    justify-content: center;
}

.news-inner {
    width: 100%;
    max-width: 1200px;
}

.news-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.news-label {
    font-size: 14px;
    letter-spacing: 3px;
    color: #a68968;
    font-weight: 500;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.news-label-bar {
    width: 40px;
    height: 2px;
    background: #a68968;
    margin: 12px auto 0;
}

.news-section-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 56px;
    font-weight: 600;
    color: #3d3d3d;
    margin-top: 24px;
    letter-spacing: 2px;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 48px;
}

.news-item {
    display: flex;
    align-items: center;
    padding: 32px 0;
    border-bottom: 1px solid #ddd;
    gap: 40px;
    transition: background 0.3s ease, padding 0.3s ease, margin 0.3s ease;
    cursor: pointer;
}

.news-item:last-child {
    border-bottom: none;
}

.news-item:hover {
    background: rgba(230, 191, 171, 0.1);
    padding-left: 20px;
    padding-right: 20px;
    margin-left: -20px;
    margin-right: -20px;
}

.news-date {
    font-size: 14px;
    color: #6b6b6b;
    font-weight: 400;
    min-width: 100px;
    letter-spacing: 0.5px;
}

.news-category {
    display: inline-block;
    background: #8B7355;
    color: white;
    padding: 6px 16px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    min-width: 100px;
    text-align: center;
    border-radius: 2px;
}

.news-text-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 24px;
}

.news-title-text {
    font-size: 15px;
    color: #3d3d3d;
    font-weight: 400;
    letter-spacing: 0.3px;
    flex: 1;
}

.news-title-text a {
    color: inherit;
    text-decoration: none;
}

.news-title-text a:hover {
    color: #8B7355;
}

.news-arrow {
    font-size: 16px;
    color: #8B7355;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.news-cta-btn-wrap {
    display: flex;
    justify-content: center;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #8B7355;
    color: white;
    border: none;
    padding: 16px 48px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 2px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-primary:hover {
    background: #6B5444;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(139, 115, 85, 0.3);
    color: white;
}

/* NEWS Animations */
@keyframes newsDissolveDown {
    from { opacity: 0; transform: translateY(-32px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes newsDissolve {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes newsDrop {
    from { opacity: 0; transform: translateY(-48px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-40px); }
    to   { opacity: 1; transform: translateY(0); }
}

.news-label-anim  { opacity: 0; }
.news-title-anim  { opacity: 0; }
.news-item-anim   { opacity: 0; transform: translateY(-48px); }
.news-cta-anim    { opacity: 0; }

.news-label-anim.nv  { animation: newsDissolveDown 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards; }
.news-title-anim.nv  { animation: newsDissolveDown 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.45s forwards; }
.news-item-anim.nv   { animation: newsDrop 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards; }
.news-cta-anim.nv    { animation: newsDissolve 1.2s ease forwards; }

.news-header {
    opacity: 0;
    transform: translateY(40px);
}

.news-header.is-visible {
    animation: fadeInDown 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.news-item.is-visible {
    animation: fadeInDown 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.news-item:nth-child(2).is-visible { animation-delay: 0.2s; }
.news-item:nth-child(3).is-visible { animation-delay: 0.4s; }

.news-cta-btn {
    opacity: 0;
}

.news-cta-btn.is-visible {
    animation: fadeInUp 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.6s forwards;
}

/* ============================================================
   i-AREA Section
   ============================================================ */
.iarea-section {
    width: 100%;
    padding: 100px 60px;
    background-image: url('images/i-area-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    min-height: 800px;
    position: relative;
}

.iarea-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.75);
    z-index: 1;
}

.iarea-inner {
    width: 100%;
    max-width: 1200px;
    position: relative;
    z-index: 2;
}

.iarea-header {
    text-align: center;
    margin-bottom: 80px;
}

.iarea-catchcopy {
    font-size: 14px;
    letter-spacing: 1px;
    color: #a68968;
    font-weight: 400;
    margin-bottom: 20px;
}

.iarea-logo-wrapper {
    margin-bottom: 12px;
}

.iarea-logo-wrapper img {
    max-width: 600px;
    height: auto;
    display: inline-block;
}

.iarea-series-title {
    font-size: 16px;
    letter-spacing: 4px;
    color: #8B7355;
    font-weight: 400;
}

.iarea-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.iarea-card {
    background: white;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
}

.iarea-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.iarea-card-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

.iarea-card-body {
    padding: 28px 24px 32px;
}

.iarea-card-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 20px;
    font-weight: 500;
    color: #3d3d3d;
    margin-bottom: 12px;
    line-height: 1.6;
    letter-spacing: 0.3px;
}

.iarea-card-desc {
    font-size: 13px;
    color: #6b6b6b;
    line-height: 1.8;
    margin-bottom: 24px;
    font-weight: 400;
    letter-spacing: 0.2px;
}

.iarea-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #8B7355;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: gap 0.3s ease;
}

.iarea-card-link:hover {
    gap: 12px;
}

.iarea-cta-wrap {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

.iarea-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(139, 115, 85, 0.9);
    color: white;
    padding: 16px 48px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.6px;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.iarea-cta-btn:hover {
    background: #6B5444;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(139, 115, 85, 0.3);
    color: white;
}

/* i-AREA Animations */
.iarea-catchcopy {
    opacity: 0;
    transform: translateY(-30px);
    transition: none;
}

.iarea-catchcopy.is-visible {
    animation: newsDissolveDown 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.iarea-logo-wrapper {
    opacity: 0;
    transition: none;
}

.iarea-logo-wrapper.is-visible {
    animation: newsDissolve 0.8s ease forwards;
}

.iarea-series-title {
    opacity: 0;
    transform: translateY(-20px);
    transition: none;
}

.iarea-series-title.is-visible {
    animation: newsDissolveDown 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.iarea-card {
    opacity: 0;
    transform: translateX(-40px);
    transition: none;
}

.iarea-card.is-visible {
    animation: slideInLeft 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to   { opacity: 1; transform: translateX(0); }
}

.iarea-cta-btn {
    opacity: 0;
}

.iarea-cta-btn.is-visible {
    animation: fadeInUp 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) 3.4s forwards;
}

/* ============================================================
   Rental Management Section
   ============================================================ */
.rental-mgmt-section {
    width: 100%;
    padding: 100px 60px;
    background-image: url('images/rental-management-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    min-height: 800px;
    position: relative;
}

.rental-mgmt-inner {
    width: 100%;
    max-width: 1200px;
    position: relative;
    z-index: 2;
}

.rental-mgmt-box {
    text-align: center;
    margin-bottom: 80px;
    background: rgba(255, 255, 255, 0.5);
    padding: 60px 40px;
    border-radius: 4px;
    opacity: 0;
    animation: fadeInUp 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    animation-play-state: paused;
}

.rental-mgmt-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 72px;
    font-weight: 400;
    color: #3d3d3d;
    letter-spacing: 8px;
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    animation-play-state: paused;
}

.rental-mgmt-body {
    font-size: 16px;
    letter-spacing: 1px;
    color: #6b6b6b;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    animation-play-state: paused;
}

.rental-mgmt-btn-wrap {
    display: flex;
    justify-content: center;
}

.rental-mgmt-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #8B7355;
    color: white;
    padding: 16px 48px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.8px;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    animation-play-state: paused;
}

.rental-mgmt-btn:hover {
    background: #6B5444;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(139, 115, 85, 0.3);
    color: white;
}

/* ============================================================
   Sanchaya Section
   ============================================================ */
.sanchaya-section {
    width: 100%;
    padding: 100px 60px;
    background-image: url('images/sanchaya-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    min-height: 800px;
    position: relative;
}

.sanchaya-bg-cover {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    pointer-events: none;
    z-index: 1;
}

.sanchaya-tile {
    background: #f5f3f0;
    opacity: 1;
    transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.sanchaya-inner {
    width: 100%;
    max-width: 1200px;
    position: relative;
    z-index: 2;
}

.sanchaya-box {
    text-align: center;
    margin-bottom: 80px;
    background: rgba(255, 255, 255, 0.5);
    padding: 60px 40px;
    border-radius: 4px;
    opacity: 0;
    animation: fadeInUp 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    animation-play-state: paused;
}

.sanchaya-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 72px;
    font-weight: 400;
    color: #3d3d3d;
    letter-spacing: 8px;
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    animation-play-state: paused;
}

.sanchaya-body {
    font-size: 16px;
    letter-spacing: 1px;
    color: #6b6b6b;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    animation-play-state: paused;
}

.sanchaya-btn-wrap {
    display: flex;
    justify-content: center;
}

.sanchaya-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #8B7355;
    color: white;
    padding: 16px 48px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.8px;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    animation-play-state: paused;
}

.sanchaya-btn:hover {
    background: #6B5444;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(139, 115, 85, 0.3);
    color: white;
}

/* ============================================================
   Site Footer
   ============================================================ */
.site-footer {
    background: #3d3d3d;
    color: #f5f3f0;
    padding: 40px 60px;
    text-align: center;
}

.site-footer p {
    font-size: 12px;
    letter-spacing: 2px;
    color: #c0b8ad;
}

/* ============================================================
   Article / Single Page
   ============================================================ */
.article-header {
    padding: 140px 0 60px;
    text-align: center;
    background: #f5f3f0;
}

.article-header-inner {
    max-width: 1060px;
    margin: 0 auto;
    padding: 0 40px;
}

.article-breadcrumb {
    font-size: 12px;
    letter-spacing: 2px;
    color: #a68968;
    font-weight: 500;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.article-breadcrumb-divider {
    width: 40px;
    height: 2px;
    background: #a68968;
    margin: 16px auto 0;
}

.article-category {
    display: inline-block;
    background: #8B7355;
    color: white;
    padding: 6px 18px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 28px;
    border-radius: 2px;
}

.article-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 44px;
    font-weight: 500;
    line-height: 1.4;
    color: #3d3d3d;
    margin-bottom: 28px;
    letter-spacing: 2px;
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    font-size: 13px;
    color: #6b6b6b;
    letter-spacing: 1px;
}

.article-meta-divider {
    width: 1px;
    height: 14px;
    background: #c0b8ad;
}

.article-wrapper {
    padding: 40px 0;
    background: #f5f3f0;
}

.article-container {
    max-width: 1060px;
    margin: 0 auto;
    padding: 60px 40px 80px;
    background: #ffffff;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
}

.article-body {
    margin-bottom: 60px;
}

.article-body p {
    font-size: 16px;
    line-height: 2;
    color: #4a4a4a;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.article-body p:first-of-type::first-letter {
    font-family: 'Noto Serif JP', serif;
    font-size: 48px;
    color: #8B7355;
    float: left;
    line-height: 1;
    margin-right: 8px;
    margin-top: 4px;
    font-weight: 500;
}

.article-body h3 {
    font-family: 'Noto Serif JP', serif;
    font-size: 28px;
    font-weight: 600;
    color: #3d3d3d;
    margin-top: 60px;
    margin-bottom: 28px;
    padding-left: 20px;
    border-left: 4px solid #8B7355;
    letter-spacing: 1px;
    line-height: 1.5;
}

.image-gallery {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 60px;
}

.image-item {
    background: white;
    overflow: hidden;
    border-radius: 2px;
    opacity: 0;
    /* 横スライドから「少し上から落ちてくる」on-scroll slide-in に変更 */
    transform: translateY(-30px);
    transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.4s ease;
    will-change: opacity, transform;
}

/* 偶数・奇数ともに同じ方向（上から落下）に統一 */
.image-item:nth-child(even) {
    transform: translateY(-30px);
}

.image-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.image-item.is-visible:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.image-item img {
    width: 100%;
    height: auto;
    display: block;
}

.image-caption {
    padding: 16px 24px;
    font-size: 12px;
    color: #6b6b6b;
    letter-spacing: 2px;
    background: #faf8f5;
    border-bottom: 2px solid #8B7355;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.image-number {
    font-family: 'Noto Serif JP', serif;
    font-size: 14px;
    color: #8B7355;
    font-weight: 600;
}

.article-cta {
    margin-top: 80px;
    padding: 60px 40px;
    background: #faf8f5;
    border: 1px solid #e8e0d4;
    text-align: center;
    border-radius: 2px;
}

.article-cta-label {
    font-size: 12px;
    letter-spacing: 3px;
    color: #a68968;
    font-weight: 500;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.article-cta-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 28px;
    font-weight: 500;
    color: #3d3d3d;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.article-cta-text {
    font-size: 14px;
    color: #6b6b6b;
    margin-bottom: 32px;
    line-height: 1.8;
}

.article-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #8B7355;
    color: white;
    padding: 16px 48px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.article-cta-button:hover {
    background: #6B5444;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(139, 115, 85, 0.3);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1100px) {
    .nav-container { padding: 0 24px; }
    .nav-menu { display: none; }
    .hero-content { width: 90%; margin: 0 auto; height: auto; padding: 40px 32px; }
    .hero-title { font-size: 36px; }
    .news-section { padding: 60px 24px; }
    .iarea-section, .rental-mgmt-section, .sanchaya-section { padding: 80px 24px; }
    .iarea-cards { grid-template-columns: 1fr; }
    .rental-mgmt-title, .sanchaya-title { font-size: 48px; }
    .article-container { margin: 0 20px; padding: 40px 24px 60px; }
    .article-title { font-size: 32px; }
}

/* ============================================================
   画像ギャラリー - lazy loading 競合対策（追加修正）
   opacity: 0 のままでは画像がビューポート外と判定されるため
   visibility: visible を維持しつつ translateY で上から落下
   ============================================================ */
.image-item {
    opacity: 0 !important;
    transform: translateY(-30px); /* 上から落ちてくる on-scroll slide-in */
    visibility: visible;          /* ブラウザが位置を認識できるよう visible を維持 */
}

/* 偶数・奇数ともに同じ方向（上から落下）に統一 */
.image-item:nth-child(even) {
    transform: translateY(-30px);
}

.image-item.is-visible {
    opacity: 1 !important;
    transform: translateY(0);
    transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 画像本体：幅・高さを明示して lazy loading の読み込み判定を助ける */
.image-item img {
    width: 100%;
    height: auto;
    display: block;
    min-height: 1px;  /* ← 高さ0を防ぎ、ブラウザがビューポート内と認識 */
}

/* ============================================================
   ヘッダー ボタングループ - 横並び固定
   ============================================================ */
.nav-btn-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* SVGアイコン共通設定 */
.cta-button__icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    stroke: currentColor;
    display: block;
}

/* ============================================================
   レスポンシブ：1100px以下
   ============================================================ */
@media (max-width: 1100px) {
    .nav-btn-group {
        gap: 8px;
    }

    .cta-button--iarea span {
        display: none;
    }

    .cta-button--iarea .cta-button__icon {
        width: 20px;
        height: 20px;
    }

    .cta-button {
        padding: 10px 16px;
        font-size: 12px;
    }
}
