/* ===================================
   リセットとベーススタイル
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.7;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul, ol {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* コンテナ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================
   ヘッダー
   =================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo h1 {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: #2c5f2d;
    margin-bottom: 2px;
}

.logo-sub {
    font-size: 0.75rem;
    color: #666;
    font-weight: 300;
}

.nav-list {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-list a {
    font-size: 0.95rem;
    font-weight: 500;
    color: #333;
    padding: 8px 0;
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #2c5f2d;
    transition: width 0.3s ease;
}

.nav-list a:hover::after,
.nav-list a.active::after {
    width: 100%;
}

.nav-cta {
    background: #2c5f2d;
    color: #fff !important;
    padding: 10px 25px !important;
    border-radius: 25px;
    font-weight: 500;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: #234d24;
    transform: translateY(-2px);
}

/* ハンバーガーメニュー */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 30px;
    height: 25px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background: #333;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ===================================
   ヒーローセクション
   =================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    margin-top: 80px;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    color: #fff;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.3;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-text {
    font-size: 1.3rem;
    margin-bottom: 35px;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-controls {
    position: absolute;
    bottom: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 10;
}

.hero-prev,
.hero-next {
    background: rgba(255, 255, 255, 0.8);
    color: #333;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.hero-prev:hover,
.hero-next:hover {
    background: #fff;
    transform: scale(1.1);
}

.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active,
.dot:hover {
    background: #fff;
    transform: scale(1.3);
}

/* ===================================
   ボタン
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 35px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 30px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: #2c5f2d;
    color: #fff;
}

.btn-primary:hover {
    background: #234d24;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 95, 45, 0.3);
}

.btn-secondary {
    background: #fff;
    color: #2c5f2d;
    border: 2px solid #2c5f2d;
}

.btn-secondary:hover {
    background: #2c5f2d;
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #333;
    border: 2px solid #333;
}

.btn-outline:hover {
    background: #333;
    color: #fff;
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

/* ===================================
   セクション共通
   =================================== */
section {
    padding: 80px 0;
}

.section-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 15px;
    color: #2c5f2d;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 50px;
    font-weight: 300;
}

.section-cta {
    text-align: center;
    margin-top: 50px;
}

/* ===================================
   特徴セクション
   =================================== */
.features {
    background: #f8f9fa;
}

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

.feature-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    color: #2c5f2d;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.feature-text {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.8;
}

/* ===================================
   施工事例セクション
   =================================== */
.works-preview {
    background: #fff;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.work-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.work-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.work-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.work-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.work-card:hover .work-image img {
    transform: scale(1.1);
}

.work-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
}

.work-category {
    background: rgba(44, 95, 45, 0.9);
    color: #fff;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.work-content {
    padding: 30px 25px;
}

.work-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #333;
}

.work-text {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

.work-specs {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.8;
}

.work-specs li {
    margin-bottom: 5px;
}

/* ===================================
   お客様の声
   =================================== */
.testimonials {
    background: linear-gradient(135deg, #2c5f2d 0%, #3d7f3e 100%);
    color: #fff;
}

.testimonials .section-title,
.testimonials .section-subtitle {
    color: #fff;
}

.testimonials-slider {
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 50px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 2;
    margin-bottom: 30px;
    font-style: italic;
}

.testimonial-author {
    text-align: right;
}

.author-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.author-info {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ===================================
   ブログプレビュー
   =================================== */
.blog-preview {
    background: #f8f9fa;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.blog-link {
    display: block;
}

.blog-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-date {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(44, 95, 45, 0.9);
    color: #fff;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
}

.blog-content {
    padding: 25px;
}

.blog-category {
    display: inline-block;
    background: #e8f5e9;
    color: #2c5f2d;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 12px;
}

.blog-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.5;
}

.blog-excerpt {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.7;
}

/* ===================================
   CTAセクション
   =================================== */
.cta {
    background: linear-gradient(135deg, #2c5f2d 0%, #3d7f3e 100%);
    color: #fff;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.5;
}

.cta-text {
    font-size: 1.1rem;
    margin-bottom: 35px;
    font-weight: 300;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.cta-note {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ===================================
   フッター
   =================================== */
.footer {
    background: #1a1a1a;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #fff;
}

.footer-text {
    font-size: 0.9rem;
    line-height: 1.8;
    color: #ccc;
    margin-bottom: 25px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: #2c5f2d;
    transform: translateY(-3px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-heading {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #fff;
}

.footer-column ul {
    font-size: 0.9rem;
    line-height: 2;
    color: #ccc;
}

.footer-column a:hover {
    color: #2c5f2d;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #999;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a:hover {
    color: #2c5f2d;
}

/* ===================================
   ページトップボタン
   =================================== */
.page-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #2c5f2d;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.page-top.visible {
    opacity: 1;
    visibility: visible;
}

.page-top:hover {
    background: #234d24;
    transform: translateY(-5px);
}

/* ===================================
   ページヘッダー（下層ページ）
   =================================== */
.page-header {
    background: linear-gradient(135deg, #2c5f2d 0%, #3d7f3e 100%);
    color: #fff;
    text-align: center;
    padding: 120px 0 80px;
    margin-top: 80px;
}

.page-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.page-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 3px;
    opacity: 0.9;
}

/* パンくずリスト */
.breadcrumb {
    background: #f8f9fa;
    padding: 15px 0;
}

.breadcrumb-list {
    display: flex;
    gap: 10px;
    font-size: 0.9rem;
}

.breadcrumb-list li::after {
    content: '>';
    margin-left: 10px;
    color: #999;
}

.breadcrumb-list li:last-child::after {
    display: none;
}

.breadcrumb-list a {
    color: #2c5f2d;
}

.breadcrumb-list a:hover {
    text-decoration: underline;
}

/* ===================================
   会社概要ページ
   =================================== */
.philosophy-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 50px;
}

.philosophy-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 2rem;
    font-weight: 600;
    color: #2c5f2d;
    margin-bottom: 20px;
}

.philosophy-text {
    font-size: 1rem;
    line-height: 2;
    color: #555;
    margin-bottom: 20px;
}

.philosophy-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.value-card {
    background: #fff;
    padding: 30px 25px;
    border-radius: 10px;
    border-left: 4px solid #2c5f2d;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.value-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c5f2d;
    margin-bottom: 12px;
}

.value-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #666;
}

/* 代表挨拶 */
.message {
    background: #f8f9fa;
}

.message-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 50px;
}

.message-image {
    position: relative;
}

.message-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.message-name {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    color: #666;
}

.message-name span {
    display: block;
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-top: 5px;
}

.message-text p {
    font-size: 1rem;
    line-height: 2;
    color: #555;
    margin-bottom: 20px;
}

.message-signature {
    text-align: right;
    font-weight: 600;
    color: #333;
    margin-top: 30px;
}

/* 会社沿革 */
.timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding-left: 50px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #2c5f2d;
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -36px;
    top: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #2c5f2d;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #2c5f2d;
}

.timeline-year {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c5f2d;
    margin-bottom: 10px;
}

.timeline-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #666;
}

/* 会社情報テーブル */
.info-table {
    max-width: 900px;
    margin: 0 auto;
}

.info-table table {
    width: 100%;
    border-collapse: collapse;
}

.info-table th,
.info-table td {
    padding: 20px;
    border: 1px solid #e0e0e0;
    text-align: left;
}

.info-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
    width: 200px;
}

.info-table td {
    line-height: 1.8;
    color: #555;
}

.info-table td ul {
    list-style: disc;
    padding-left: 20px;
}

.info-table td li {
    margin-bottom: 5px;
}

/* アクセスマップ */
.access {
    background: #f8f9fa;
}

.access-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.map-placeholder {
    background: #e0e0e0;
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #666;
}

.access-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c5f2d;
    margin-bottom: 25px;
}

.access-details {
    font-size: 0.95rem;
    line-height: 1.8;
}

.access-details dt {
    font-weight: 600;
    color: #333;
    margin-top: 20px;
    margin-bottom: 8px;
}

.access-details dd {
    color: #666;
}

.access-info .btn {
    margin-top: 30px;
    width: 100%;
}

/* ===================================
   施工事例ページ
   =================================== */
.works-filter {
    background: #f8f9fa;
    padding: 30px 0;
}

.filter-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    background: #fff;
    color: #333;
    border: 2px solid #ddd;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: #2c5f2d;
    color: #fff;
    border-color: #2c5f2d;
}

.works-grid-full {
    display: grid;
    gap: 50px;
}

.work-card-full {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.work-card-full:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.work-card-full:nth-child(even) {
    direction: rtl;
}

.work-card-full:nth-child(even) .work-content {
    direction: ltr;
}

.work-card-full .work-image {
    height: 100%;
    min-height: 400px;
}

.work-card-full .work-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.work-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.feature-tag {
    background: #e8f5e9;
    color: #2c5f2d;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* ===================================
   ブログページ
   =================================== */
.blog-section {
    background: #f8f9fa;
}

.blog-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

.blog-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.blog-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.blog-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.blog-item-link {
    display: grid;
    grid-template-columns: 300px 1fr;
}

.blog-item-image {
    position: relative;
    height: 250px;
}

.blog-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-item-date {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(44, 95, 45, 0.9);
    color: #fff;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
}

.blog-item-content {
    padding: 30px;
}

.blog-item-category {
    display: inline-block;
    background: #e8f5e9;
    color: #2c5f2d;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 12px;
}

.blog-item-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.5;
}

.blog-item-excerpt {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

.blog-item-meta {
    display: flex;
    gap: 20px;
    font-size: 0.85rem;
    color: #999;
}

/* ページネーション */
.pagination {
    margin-top: 50px;
    text-align: center;
}

.pagination-list {
    display: inline-flex;
    gap: 10px;
}

.pagination-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #fff;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pagination-link:hover {
    background: #2c5f2d;
    color: #fff;
    border-color: #2c5f2d;
}

.pagination-item.active .pagination-link {
    background: #2c5f2d;
    color: #fff;
    border-color: #2c5f2d;
}

.pagination-item.disabled .pagination-link {
    opacity: 0.5;
    cursor: not-allowed;
}

/* サイドバー */
.blog-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.widget-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c5f2d;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

.search-form {
    display: flex;
    gap: 10px;
}

.search-input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 25px;
    font-size: 0.95rem;
}

.search-button {
    width: 45px;
    height: 45px;
    background: #2c5f2d;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.search-button:hover {
    background: #234d24;
    transform: scale(1.05);
}

.category-list a {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
    transition: color 0.3s ease;
}

.category-list a:hover {
    color: #2c5f2d;
}

.category-list span {
    color: #999;
    font-size: 0.9rem;
}

.popular-post-item {
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.popular-post-item a {
    display: flex;
    gap: 15px;
}

.popular-post-image {
    width: 80px;
    height: 80px;
    border-radius: 5px;
    overflow: hidden;
    flex-shrink: 0;
}

.popular-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popular-post-content h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
    line-height: 1.5;
    margin-bottom: 8px;
}

.popular-post-date {
    font-size: 0.8rem;
    color: #999;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    padding: 6px 15px;
    background: #f8f9fa;
    color: #555;
    border-radius: 20px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.tag:hover {
    background: #2c5f2d;
    color: #fff;
}

.sidebar-cta {
    background: linear-gradient(135deg, #2c5f2d 0%, #3d7f3e 100%);
    color: #fff;
}

.sidebar-cta .widget-title {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

.sidebar-cta p {
    margin-bottom: 20px;
    line-height: 1.7;
}

/* ===================================
   お問い合わせページ
   =================================== */
.contact-intro {
    text-align: center;
}

.intro-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: #2c5f2d;
    margin-bottom: 20px;
}

.intro-text {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 50px;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.contact-method-card {
    background: #f8f9fa;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.method-icon {
    color: #2c5f2d;
    margin-bottom: 20px;
}

.method-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.method-number,
.method-email,
.method-address {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c5f2d;
    margin-bottom: 10px;
}

.method-time {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

/* フォーム */
.contact-form-section {
    background: #f8f9fa;
}

.form-note {
    text-align: center;
    margin-bottom: 40px;
    color: #666;
}

.required-mark {
    color: #dc3545;
    font-weight: 600;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #2c5f2d;
}

.form-textarea {
    resize: vertical;
}

.form-help {
    display: block;
    font-size: 0.85rem;
    color: #999;
    margin-top: 5px;
}

.error-message {
    display: block;
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 5px;
    min-height: 20px;
}

.form-input.error,
.form-select.error,
.form-textarea.error {
    border-color: #dc3545;
}

.radio-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.radio-label input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    cursor: pointer;
}

.checkbox-label a {
    color: #2c5f2d;
    text-decoration: underline;
}

.form-actions {
    text-align: center;
    margin-top: 40px;
}

.form-message {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 60px 40px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.form-success {
    display: none;
}

.message-icon {
    color: #28a745;
    margin-bottom: 30px;
}

.form-message h3 {
    font-size: 2rem;
    font-weight: 600;
    color: #2c5f2d;
    margin-bottom: 20px;
}

.form-message p {
    font-size: 1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 30px;
}

.contact-map {
    background: #fff;
}

.map-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

/* ===================================
   レスポンシブデザイン
   =================================== */
@media (max-width: 1024px) {
    .features-grid,
    .works-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .work-card-full {
        grid-template-columns: 1fr;
    }

    .work-card-full:nth-child(even) {
        direction: ltr;
    }

    .blog-layout {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        position: static;
    }

    .philosophy-content,
    .message-content,
    .access-content {
        grid-template-columns: 1fr;
    }

    .contact-methods {
        grid-template-columns: 1fr;
    }

    .blog-item-link {
        grid-template-columns: 1fr;
    }

    .blog-item-image {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .header-container {
        height: 70px;
    }

    .logo h1 {
        font-size: 1.5rem;
    }

    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.98);
        display: none;
        overflow-y: auto;
        z-index: 999;
    }

    .nav.active {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        padding: 30px 20px;
        gap: 0;
    }

    .nav-list li {
        width: 100%;
        border-bottom: 1px solid #e0e0e0;
    }

    .nav-list a {
        display: block;
        padding: 15px 0;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        margin-top: 70px;
        min-height: 500px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-text {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .page-title {
        font-size: 2.2rem;
    }

    .features-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .works-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .timeline {
        padding-left: 40px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .btn {
        padding: 12px 25px;
        font-size: 0.95rem;
    }

    .btn-large {
        padding: 14px 30px;
    }

    .hero-controls {
        padding: 0 15px;
    }

    .hero-prev,
    .hero-next {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .contact-form {
        padding: 25px 15px;
    }
}
