/*!
Theme Name: dshop
Description: SEO最適化されたWordPressカスタムテーマ
Author: Your Name
Version: 1.0.0
Text Domain: dshop
Domain Path: /languages
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* Reset & Base Styles */
* {
    box-sizing: border-box;
}

/* Remove all focus outlines */
*:focus {
    outline: none !important;
}

*:focus-visible {
    outline: none !important;
}

html, body, * {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 600;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loading-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.loading-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: fadeInUp 0.8s ease-out;
}

.loading-logo {
    margin-bottom: 2rem;
    animation: logoFloat 2s ease-in-out infinite;
}

.loading-logo-image {
    width: 150px;
    height: auto;
    max-width: 200px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.loading-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(0, 124, 186, 0.3);
    border-top: 3px solid #007cba;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Loading Animations */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments for loading screen */
@media (max-width: 768px) {
    .loading-logo-image {
        width: 120px;
    }
    
    .spinner {
        width: 35px;
        height: 35px;
        border-width: 2px;
    }
}

@media (max-width: 480px) {
    .loading-logo-image {
        width: 100px;
    }
    
    .loading-logo {
        margin-bottom: 1.5rem;
    }
    
    .spinner {
        width: 30px;
        height: 30px;
    }
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    background-color: #ffffff;
    margin: 0;
    padding: 0;
}

/* Layout */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Large screens optimization */
@media (min-width: 1200px) {
    .container {
        max-width: 1600px;
        padding: 0;
    }
}

@media (min-width: 1600px) {
    .container {
        max-width: 1800px;
        padding: 0;
    }
}

@media (min-width: 1920px) {
    .container {
        max-width: 100%;
        padding: 0;
    }
    
    /* Typography scaling for large screens */
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .hero-description {
        font-size: 1.375rem;
    }
    
    .section-description {
        font-size: 1.25rem;
    }
}



/* Breadcrumb */
.breadcrumb {
    margin-bottom: 2rem;
}

.breadcrumb-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.breadcrumb-item::after {
    content: "/";
    margin-left: 0.5rem;
    color: #666;
}

.breadcrumb-item:last-child::after {
    display: none;
}

.breadcrumb-item a {
    color: #007cba;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

/* Search Form */
.search-form {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    max-width: 400px;
}

.search-field {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.search-field:focus {
    border-color: #007cba;
    outline: none;
}

.search-submit {
    padding: 0.75rem;
    background: #007cba;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-submit:hover,
.search-submit:focus {
    background: #005a87;
}

/* Entry Meta */
.entry-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #666;
}

.entry-meta a {
    color: #007cba;
    text-decoration: none;
}

.entry-meta a:hover {
    text-decoration: underline;
}

/* Entry Tags */
.entry-tags {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
}

.entry-tags a {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #f8f9fa;
    color: #007cba;
    text-decoration: none;
    border-radius: 15px;
    font-size: 0.85rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    transition: background-color 0.3s ease;
}

.entry-tags a:hover {
    background: #e9ecef;
}

/* Post Navigation */
.post-navigation {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.nav-links {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.nav-previous,
.nav-next {
    flex: 1;
}

.nav-next {
    text-align: right;
}

.nav-subtitle {
    display: block;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.25rem;
}

.nav-title {
    font-weight: 600;
    color: #007cba;
}

/* Pagination */
.pagination {
    margin-top: 3rem;
    text-align: center;
}

.page-numbers {
    display: inline-flex;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.page-numbers a,
.page-numbers span {
    display: block;
    padding: 0.75rem 1rem;
    text-decoration: none;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.page-numbers a:hover,
.page-numbers a:focus {
    background: #f8f9fa;
    border-color: #007cba;
}

.page-numbers .current {
    background: #007cba;
    color: white;
    border-color: #007cba;
}

/* Form Styles */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="date"],
select,
textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #007cba;
    outline: none;
}

input.error,
select.error,
textarea.error {
    border-color: #dc3545;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    padding: 0.75rem 1.5rem;
    background: #007cba;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover,
button:focus,
input[type="button"]:hover,
input[type="button"]:focus,
input[type="reset"]:hover,
input[type="reset"]:focus,
input[type="submit"]:hover,
input[type="submit"]:focus {
    background: #005a87;
}

/* Widget Styles */
.widget {
    margin-bottom: 2rem;
}

.widget-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #007cba;
}

.widget ul {
    list-style: none;
    padding: 0;
}

.widget li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f8f9fa;
}

.widget li:last-child {
    border-bottom: none;
}

.widget a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.widget a:hover {
    color: #007cba;
}

/* Main Content */
.site-main {
    min-height: 60vh;
    padding: 0;
}

.entry-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.entry-content {
    margin-bottom: 2rem;
}

.entry-content h2 {
    font-size: 2rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.entry-content h3 {
    font-size: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
}

.wp-post-image {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Footer */
.site-footer {
    background: #f8f9fa;
    padding: 2rem 0;
    border-top: 1px solid #e9ecef;
}

.site-info {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

/* Accessibility */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Focus Styles */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .entry-header h1 {
        font-size: 2rem;
    }
    
    .container {
        padding: 0;
    }
    
    .entry-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-next {
        text-align: left;
    }
    
    .breadcrumb-list {
        flex-wrap: wrap;
    }
    
    .search-form {
        flex-direction: column;
        gap: 1rem;
    }
    
    .page-numbers {
        flex-wrap: wrap;
        gap: 0.25rem;
    }
    
    .page-numbers a,
    .page-numbers span {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
}



/* Print Styles */
@media print {
    .site-header,
    .site-footer,
    .main-navigation {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
}

/* dshop Style Hero Section - Split Layout */
.dshop-hero {
    position: relative;
    height: 100vh;
    min-height: 500px;
    max-height: 100vh;
    overflow: hidden;
    background: #fff;
}

.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-content-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
}

.hero-text-area {
    width: 30%;
    background: #ffffff;
    display: flex;
    align-items: center;
    padding: 60px 40px;
    position: relative;
    z-index: 2;
}

.hero-image-area {
    width: 70%;
    position: relative;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1);
    transition: transform 0.3s ease;
}

/* アクティブなスライドの画像にズームアウトアニメーション */
.hero-slide.active .hero-image {
    animation: zoomOut 5s ease-out forwards;
}

/* スライドショー画像のズームアウトアニメーション */
@keyframes zoomOut {
    0% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Image Placeholder Styles */
.hero-image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

.placeholder-content {
    text-align: center;
    opacity: 0.7;
}

.placeholder-content svg {
    margin-bottom: 1rem;
    color: #999;
}

.placeholder-content p {
    font-size: 0.9rem;
    margin: 0;
    font-weight: 500;
}

.hero-text {
    color: #333;
    max-width: 100%;
}

.hero-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 2.8rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: #333333;
    padding-bottom: 1rem;
    border-bottom: 2px solid #ddd;
}

.hero-title-small {
    font-size: 0.7em;
    font-weight: 400;
}

.hero-title-orange {
    color: #ff8c00;
    font-weight: 700;
}

.hero-title-red {
    color: #ff0000;
    font-weight: 700;
}

.hero-subtitle {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.4;
    margin-top: 1rem;
    margin-bottom: 0.3rem;
    color: #333333;
    letter-spacing: 0.01em;
}

.hero-subtitle:first-of-type {
    margin-top: 1rem;
}

.hero-subtitle:last-of-type {
    margin-bottom: 2.5rem;
}

.hero-subtitle-orange {
    color: #F28300;
}

.hero-cta {
    margin-top: 2rem;
}

.hero-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #999999;
    text-decoration: none;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.75rem 0;
    border-bottom: 2px solid #999999;
    transition: all 0.3s ease;
}

.hero-link:hover {
    color: #777777;
    border-bottom-color: #777777;
    transform: translateX(5px);
}

.hero-link svg {
    transition: transform 0.3s ease;
    color: #999 !important;
}

.hero-link:hover svg {
    transform: translateX(5px);
}

/* Ultra-minimal Hero Navigation Dots with Progress */
.hero-dots {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 2px;
    z-index: 3;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(8px);
}

.hero-dot {
    width: 8px;
    height: 1px;
    border-radius: 0;
    border: none;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: background-color 0.2s ease, opacity 0.2s ease;
    opacity: 0.5;
    position: relative;
    overflow: hidden;
}

.hero-dot:hover {
    background: #F28300;
    opacity: 0.8;
}

.hero-dot.active {
    background: #F28300;
    opacity: 1;
}

/* Progress indicator for active dot */
.hero-dot.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    animation: dotProgress 5s linear infinite;
}

@keyframes dotProgress {
    0% {
        width: 0%;
    }
    100% {
        width: 100%;
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 20px;
    right: 40px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    z-index: 3;
}

.scroll-line {
    width: 30px;
    height: 1px;
    background: #666;
    position: relative;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #333;
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scaleX(0.8);
    }
    50% {
        opacity: 1;
        transform: scaleX(1);
    }
}

/* Responsive Design for Hero - Comprehensive Breakpoints */

/* Extra Large Desktop - 1920px and up */
@media (min-width: 1920px) {
    .dshop-hero {
        max-height: 800px;
    }
    
    .hero-text-area {
        padding: 100px 80px;
    }
    
    .hero-title {
        font-size: 3.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.6rem;
    }
    
    .hero-link {
        font-size: 1rem;
    }
}

/* Large Desktop - 1400px to 1919px */
@media (min-width: 1400px) and (max-width: 1919px) {
    .hero-text-area {
        padding: 80px 60px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
}

/* Standard Desktop - 1024px to 1399px */
@media (min-width: 1024px) and (max-width: 1399px) {
    .dshop-hero {
        height: 65vh;
        min-height: 480px;
        max-height: 650px;
    }
    
    .hero-text-area {
        padding: 60px 40px;
    }
    
    .hero-title {
        font-size: 2.3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
}

/* Small Desktop / Large Tablet - 769px to 1023px */
@media (min-width: 769px) and (max-width: 1023px) {
    .dshop-hero {
        height: 60vh;
        min-height: 450px;
    }
    
    .hero-text-area {
        width: 35%;
        padding: 40px 30px;
    }
    
    .hero-image-area {
        width: 65%;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
}

/* Mobile and Tablet - Root Cause Solution with Header Consideration */
@media (max-width: 768px) {
    .dshop-hero {
        height: auto;
        min-height: calc(100vh - 80px); /* Account for header height */
        max-height: none;
        margin-top: 0;
        padding-top: 0;
    }
    
    .hero-slide .hero-content-wrapper {
        flex-direction: column;
        min-height: calc(100vh - 80px); /* Account for header height */
    }
    
    .hero-slide .hero-text-area {
        width: 100%;
        order: 2;
        position: relative;
        background: #ffffff;
        padding: 40px 20px;
        flex-shrink: 0;
    }
    
    .hero-slide .hero-image-area {
        width: 100%;
        order: 1;
        height: calc(60vh - 40px); /* Account for header and adjust for better proportion */
        min-height: 280px;
        max-height: 450px;
        position: relative;
        flex-shrink: 0;
        overflow: hidden;
    }
    
    .hero-slide .hero-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
        position: absolute;
        top: 0;
        left: 0;
    }
    
    .hero-slide .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
        line-height: 1.2;
        color: #202020;
    }
    
    .hero-title-small {
        font-size: 0.65em;
    }
    
    .hero-slide .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        line-height: 1.4;
        color: #666;
    }
    
    .hero-slide .hero-link {
        font-size: 0.85rem;
        padding: 0.6rem 0;
        color: #007cba;
        border-bottom-color: #007cba;
    }
    
    /* Hide scroll indicator on mobile */
    .scroll-indicator {
        display: none;
    }
    
    /* Mobile dots adjustment */
    .hero-dots {
        bottom: 15px;
        right: 15px;
        gap: 2px;
    }
    
    .hero-dot {
        width: 6px;
        height: 1px;
    }
}

/* Small Mobile - 480px and below */
@media (max-width: 480px) {
    .dshop-hero {
        min-height: calc(100vh - 70px); /* Smaller header on mobile */
    }
    
    .hero-slide .hero-content-wrapper {
        min-height: calc(100vh - 70px);
    }
    
    .hero-slide .hero-text-area {
        padding: 30px 15px;
    }
    
    .hero-slide .hero-image-area {
        height: calc(55vh - 35px); /* Adjust for smaller screen */
        min-height: 240px;
        max-height: 380px;
    }
    
    .hero-slide .hero-title {
        font-size: 1.7rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-title-small {
        font-size: 0.6em;
    }
    
    .hero-slide .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }
    
    .hero-slide .hero-link {
        font-size: 0.8rem;
    }
    
    .hero-slide .hero-link svg {
        width: 16px;
        height: 16px;
    }
    
    /* Small mobile dots adjustment */
    .hero-dots {
        bottom: 10px;
        right: 10px;
        gap: 1px;
    }
    
    .hero-dot {
        width: 4px;
        height: 1px;
    }
}

/* Very Small Mobile - 320px and below */
@media (max-width: 320px) {
    .dshop-hero {
        min-height: calc(100vh - 65px); /* Even smaller header */
    }
    
    .hero-slide .hero-content-wrapper {
        min-height: calc(100vh - 65px);
    }
    
    .hero-slide .hero-text-area {
        padding: 25px 10px;
    }
    
    .hero-slide .hero-image-area {
        height: calc(50vh - 30px); /* Adjust for very small screen */
        min-height: 200px;
        max-height: 320px;
    }
    
    .hero-slide .hero-title {
        font-size: 1.4rem;
        margin-bottom: 0.6rem;
    }
    
    .hero-title-small {
        font-size: 0.55em;
    }
    
    .hero-slide .hero-subtitle {
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }
    
    .hero-slide .hero-link {
        font-size: 0.75rem;
    }
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: #007cba;
    color: white;
}

.btn-primary:hover {
    background: #005a87;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #007cba;
    border-color: #007cba;
}

.btn-secondary:hover {
    background: #007cba;
    color: white;
}

.btn-outline {
    background: transparent;
    color: #007cba;
    border-color: #007cba;
}

.btn-outline:hover {
    background: #007cba;
    color: white;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

/* Section Styles */
.reservation-notice-section {
    padding: 4rem 0;
    background: #f0f0f0;
    position: relative;
}

.reservation-notice-section .container {
    max-width: none;
    padding: 0 20px;
}

.reservation-notice-section .section-title {
    color: #F28300;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.reservation-notice-section .section-description {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 1rem;
}

.features-section {
    padding: 4rem 0;
    background: #ffffff;
}

.features-section .container {
    max-width: none;
    padding: 0 20px;
}

.latest-posts-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.latest-posts-section .container {
    max-width: none;
    padding: 0 20px;
}





.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
}

/* Latest Posts Section Title */
.latest-posts-section .section-title {
    color: #fd7e14;
}

.highlight-text {
    color: #fd7e14;
}

.section-description {
    font-size: 1.1rem;
    color: #666;
    max-width: 90%;
    margin: 0 auto;
    font-weight: 600;
}

.section-footer {
    text-align: center;
    margin-top: 3rem;
}

/* お知らせセクション専用のフッター */
.latest-posts-section .section-footer {
    max-width: 800px;
    margin: 2rem auto 0;
    text-align: right;
    padding-right: 2rem;
}

@media (min-width: 1200px) {
    .latest-posts-section .section-footer {
        max-width: 900px;
    }
}

.news-link {
    color: #fd7e14;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: color 0.3s ease;
    display: inline-block;
}

.news-link:hover {
    color: #e56b00;
    text-decoration: underline;
}


/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

@media (min-width: 1200px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        max-width: 900px;
    }
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    text-align: left;
    padding: 2.5rem;
    border-radius: 12px;
    background: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.feature-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.feature-item:nth-child(1) {
    transition-delay: 0.1s;
}

.feature-item:nth-child(2) {
    transition-delay: 0.3s;
}

.feature-item:nth-child(3) {
    transition-delay: 0.5s;
}

.feature-item:nth-child(4) {
    transition-delay: 0.7s;
}

.feature-image {
    flex-shrink: 0;
    width: 200px;
    height: auto;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 20px;
    color: white;
}

.feature-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    object-fit: cover;
}

.feature-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.feature-description {
    color: #666;
    line-height: 1.8;
    margin: 0;
}



/* Posts List - 縦並びレイアウト */
.posts-list {
    max-width: 800px;
    margin: 0 auto;
}

@media (min-width: 1200px) {
    .posts-list {
        max-width: 900px;
    }
}

.post-item {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.post-item-content {
    display: flex;
    align-items: center;
    padding: 1.5rem 2rem;
    gap: 2rem;
    min-height: 80px;
}

.post-date {
    flex-shrink: 0;
    width: 100px;
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
    border-right: 1px solid #e9ecef;
    padding-right: 2rem;
    text-align: center;
}

.post-category {
    flex-shrink: 0;
    background: #fd7e14;
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    min-width: 80px;
    text-align: center;
}

.post-title {
    flex: 1;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.5;
}

.post-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
}

.post-title a:hover {
    color: #fd7e14;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .post-item-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .post-date {
        width: auto;
        border-right: none;
        border-bottom: 1px solid #e9ecef;
        padding-right: 0;
        padding-bottom: 0.5rem;
        text-align: left;
        align-self: stretch;
    }
    
    .post-category {
        min-width: auto;
    }
    
    .post-title {
        font-size: 1rem;
    }
}



/* Tablet and Small Desktop Responsive */
@media (max-width: 1366px) {
    .feature-image {
        max-width: 90%;
    }
    
    .feature-image img {
        max-width: 350px;
    }
}

@media (max-width: 1024px) {
    .feature-item {
        gap: 1.5rem;
        padding: 2rem;
    }
    
    .feature-image {
        width: 180px;
    }
    
    .feature-image img {
        max-width: 400px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 700px;
    }
}

/* Mobile Responsive for Front Page Sections (excluding hero) */
@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid,
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        max-width: 600px;
        gap: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        gap: 1.5rem;
    }
    
    .feature-image {
        width: 200px;
        margin: 0 auto;
    }
    
    .feature-image img {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .feature-item {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
        gap: 1.5rem;
    }
    
    .feature-image {
        width: 180px;
        margin: 0 auto;
    }
    
    .feature-image img {
        width: 100%;
        max-width: 350px;
    }
    
    .features-grid {
        gap: 1.5rem;
        max-width: 100%;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 320px) {
    .feature-item {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem 1rem;
        gap: 1rem;
    }
    
    .feature-image {
        width: 150px;
        margin: 0 auto;
    }
    
    .feature-image img {
        width: 100%;
        max-width: 280px;
    }
    
    .feature-title {
        font-size: 1.25rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
} 