/* Reset & Basic Styles */
body, h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd {
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    line-height: 1.7;
    color: #333;
    background-color: #f9f9f9;
}

a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    opacity: 0.8;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

.container {
    width: 96%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
.header {
    background-color: #fff;
    border-bottom: 1px solid #eee;
}

.header-sub-text {
    font-size: 12px;
    color: #666;
    text-align: center;
    padding: 10px 0;
    font-weight: bold;
}

.header-main {
    position: relative;
    padding: 30px 40px 60px;
    background-image: url('/bg_header.svg');
    background-size: cover;
    background-position: right;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Align items to the start (left) */
    justify-content: center;
    color: #fff;
    text-align: left; /* Default text align to left */
}

.header-main .hero-image {
   max-width: 450px;
   margin-bottom: 20px;
}

.header-catchphrase {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 25px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.header-center-content {
    align-self: center; /* Center this specific block */
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.3); /* Semi-transparent background */
    padding: 20px 20px 30px;
    border-radius: 10px; /* Rounded corners */
    text-align: center; /* Center the text inside this block */
}



/* Button Styles */
.btn {
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    cursor: pointer;
    display: inline-block;
    line-height: 1.5;
}

.btn-primary {
    background-color: #ff6600; /* Accent color */
    color: #fff;
    font-size: 20px; /* フォントサイズを大きく */
    padding: 15px 40px; /* パディングを大きく */
    border-radius: 30px; /* 角を丸く */
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-primary:hover {
    background-color: #e65c00;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    color: #fff !important;
    text-decoration: none !important;
    opacity: 1;
}

.btn-secondary {
    background-color: #f0f0f0;
    color: #333;
    border-color: #ccc;
}

.btn-secondary:hover {
    background-color: #e0e0e0;
    color: #333;
    text-decoration: none !important;
    opacity: 1;
}

/* Page Layout */
.page-wrapper {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}

.sidebar {
    width: 25%;
    min-width: 220px;
    flex-shrink: 0;
}

.main-content {
    width: 75%;
    flex-grow: 1;
}

/* Sidebar */
.sidebar-nav {
    background-color: #fff;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #eee;
}

.sidebar-group {
    margin-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 15px;
}
.sidebar-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.sidebar-title {
    font-size: 18px;
    color: #ff6600;
    margin-bottom: 10px;
    margin-top: 20px;
}

.sidebar-item, .sidebar-item-text {
    display: block;
    padding: 8px 10px;
    font-size: 14px;
    border-radius: 4px;
}

.sidebar-item {
    transition: background-color 0.2s;
}

.sidebar-item:hover, .sidebar-item.active {
    background-color: #eaf9e3;
}

.sidebar-sub-group {
    padding-left: 15px;
    font-size: 13px;
    color: #555;
}
.sidebar-sub-group p {
    margin-bottom: 5px;
}

/* Main Content */
.section {
    background-color: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    border: 1px solid #eee;
}

.section-title {
    font-size: 22px;
    color: #ff6600;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ff6600;
}
.section-title a {
    color: inherit;
    text-decoration: none;
}

.feature-list {
    list-style: none;
    padding-left: 0;
}

.sidebar-blog-banner {
    padding: 10px 0;
    text-align: center;
}
.sidebar-blog-banner img {
    max-width: 100%;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.sidebar-qr {
    text-align: center;
    padding: 10px;
}
.sidebar-qr p {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
}
.sidebar-qr img {
    max-width: 150px;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
    align-items: center;
}

.store-info {
    display: flex;
    justify-content: center;
    gap: 20px;
    text-align: center;
    flex-wrap: wrap;
}

.service-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.service-box {
    background-color: #eff1c2;
    padding: 15px;
    border-radius: 5px;
}
.service-title {
    text-align: center;
    color: #333;
    font-size: 18px;
    margin-bottom: 15px;
}
.service-content div {
    margin-bottom: 10px;
}
.service-content h4 {
    color: #ff0000;
    font-size: 16px;
}
.service-box > a {
    display: block;
    text-align: center;
    margin-top: 10px;
}

.local-gallery {
    display: flex;
    justify-content: space-around;
    gap: 15px;
    text-align: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.local-data {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 20px;
}
.data-table h3, .access-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
}
.data-table table {
    width: 100%;
    border-collapse: collapse;
}
.data-table th, .data-table td {
    border: 1px solid #ddd;
    padding: 8px;
    font-size: 14px;
    text-align: left;
}
.data-table th {
    background-color: #fad174;
    width: 80px;
}
.access-info dt {
    font-weight: bold;
    margin-top: 10px;
}

/* Footer */
.footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px;
    margin-top: 30px;
}
.footer p {
    margin-bottom: 5px;
}
.copyright {
    margin-top: 15px;
    font-size: 12px;
    opacity: 0.7;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .local-data {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-wrapper {
        flex-direction: column;
    }

    .sidebar, .main-content {
        width: 100%;
    }

    
    
    .service-info {
        grid-template-columns: 1fr;
    }

    .header-main {
        padding: 40px 15px;
        align-items: center; /* 中央寄せに戻す */
        text-align: center; /* 中央寄せに戻す */
    }

    .header-catchphrase {
        font-size: 20px;
    }

    .btn-primary {
        font-size: 18px;
        padding: 12px 30px;
    }
}