/* General Styles & Reset */
*, *::before, *::after {
    box-sizing: border-box; /* Ensures padding and border are included in the element's total width and height */
}

html {
    font-size: 16px; /* Base font size for rem units */
}

body {
    font-family: "Yu Gothic UI", "游ゴシック UI", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", sans-serif;
    margin: 0;
    line-height: 1.6;
    color: #eee;
    background-color: #000;
    -webkit-font-smoothing: antialiased; /* Better font rendering on macOS/iOS */
    text-rendering: optimizeLegibility; /* Better text rendering */
}

.container {
    max-width: 1200px; /* Increased max-width for larger screens */
    margin: 0 auto;
    padding: 2rem 1.5rem; /* rem units for consistent scaling */
}

h1, h2, h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: bold;
    color: #fff;
}

h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem); /* Responsive font size for H1 */
    color: #e74c3c; /* Red for the main title */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    line-height: 1.1;
}

h2 {
    font-size: clamp(2rem, 6vw, 3rem); /* Responsive font size for H2 */
    color: #e74c3c; /* Red for section titles */
    border-bottom: 2px solid #e74c3c;
    display: inline-block;
    padding-bottom: 0.5rem;
    margin-bottom: 2.5rem;
}

h3 {
    font-size: clamp(1.4rem, 4vw, 2rem); /* Responsive font size for H3 */
    color: #fff;
    margin-top: 1.5rem;
}

p {
    margin-bottom: 1rem;
    text-align: center;
    font-size: 1rem; /* Base paragraph size */
}

.section {
    padding: 5rem 0; /* rem units for consistent scaling */
    text-align: center;
}

.dark-bg {
    background-color: #111;
}

/* Hero Section */
.hero {
  display: flex;
  justify-content: center; /* 中央に配置 */
  align-items: center;
  text-align: center;       /* テキストも中央寄せ */
  padding: 50px 20px;       /* 適宜調整 */
}

.hero-content {
  max-width: 800px;         /* 中央に置きたい横幅 */
  width: 100%;
}

.hero-sub-text {
    font-size: clamp(1rem, 2.5vw, 1.4rem); /* Responsive font size */
    margin-bottom: 0.8rem;
}

.hero-title {
    font-family: 'serif'; /* For a more calligraphic feel */
    margin: 0;
}

.hero-catch-copy {
    font-size: clamp(1.2rem, 3vw, 1.8rem); /* Responsive font size */
    margin-top: 1rem;
    font-style: italic;
}

.hero-info {
    margin-top: 2rem;
    font-size: clamp(0.9rem, 2vw, 1.1rem); /* Responsive font size */
}

.hero-info p {
    margin: 0.3rem 0;
}

/* SNS Links (Header & Footer) */
.sns-links {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 1rem; /* Space between icons */
}

.sns-links a {
    color: #fff;
    font-size: clamp(1.5rem, 4vw, 2rem); /* Responsive icon size */
    transition: color 0.3s ease;
}

.sns-links a:hover {
    color: #e74c3c;
}

/* Section specific */
#cuisine .note {
    font-size: 0.9rem;
    color: #bbb;
    margin-top: 1.5rem;
}

/* Progress Section - SNS Feed Placeholder */
.sns-feed-placeholder {
    background-color: #222;
    padding: 2.5rem;
    margin-top: 3rem;
    border-radius: 8px;
    border: 1px dashed #e74c3c;
}

.sns-feed-placeholder p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.sns-buttons {
    display: flex;
    justify-content: center;
    gap: 1.25rem; /* 20px */
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

.btn {
    display: inline-flex; /* Use flex for button content alignment */
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: background-color 0.3s ease, color 0.3s ease;
    min-width: 180px; /* Ensure buttons don't get too small */
}

.btn-instagram {
    background-color: #E4405F; /* Instagram color */
    color: #fff;
}

.btn-instagram:hover {
    background-color: #d82e4f;
}

.btn-facebook {
    background-color: #1877F2; /* Facebook color */
    color: #fff;
}

.btn-facebook:hover {
    background-color: #0d65e0;
}

.btn i {
    margin-right: 0.5rem;
}

/* Info Section */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Responsive grid columns */
    gap: 2rem;
    margin-top: 2.5rem;
    text-align: left;
}

.info-grid > div {
    background-color: #222;
    padding: 1.8rem;
    border-radius: 8px;
    border-left: 3px solid #e74c3c;
}

.info-label {
    font-size: 1.1rem;
    font-weight: bold;
    color: #e74c3c;
    margin-bottom: 0.8rem;
}

.info-value {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 0.8rem;
}

.info-description {
    font-size: 0.95rem;
    color: #bbb;
}

/* Footer */
footer {
    background-color: #000;
    color: #aaa;
    padding: 2.5rem 1.5rem;
    text-align: center;
    border-top: 1px solid #333;
}

footer .sns-links {
    margin-top: 1rem;
}

footer .sns-links a {
    font-size: 1.3rem;
}

/* Media Queries for Fine-Tuning */

/* For screens smaller than 768px (Tablets and below) */
@media (max-width: 768px) {
    .section {
        padding: 4rem 0;
    }
    .container {
        padding: 1.5rem;
    }
    h2 {
        margin-bottom: 2rem;
    }
    .sns-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 1rem;
    }
    .btn {
        width: 100%; /* Full width for stacked buttons */
        max-width: 300px; /* Max width for readability */
        margin: 0 auto;
    }
    .info-grid {
        grid-template-columns: 1fr; /* Single column layout */
        text-align: center;
    }
    .info-grid > div {
        border-left: none; /* Remove left border */
        border-top: 3px solid #e74c3c; /* Add top border instead */
    }
}

/* For screens smaller than 480px (Mobile phones) */
@media (max-width: 480px) {
    html {
        font-size: 14px; /* Slightly reduce base font size for very small screens */
    }
    .section {
        padding: 3rem 0;
    }
    .hero-content {
        padding: 1rem;
    }
    .hero-info p {
        font-size: 0.9rem;
    }
    .sns-feed-placeholder {
        padding: 1.5rem;
        margin-top: 2rem;
    }
    .sns-buttons {
        gap: 0.8rem;
    }
    .btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
}