* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background-color: #fff8dc;
    min-height: 100vh;
}

.top-link {
    display: block;
    text-align: center;
    font-size: 2em;
    font-weight: bold;
    margin: 20px 0;
    text-decoration: none;
    color: #333;
}

.top-link:hover {
    color: #666;
}

.food-container {
    display: flex;
    width: 70%;
    margin: 20px auto;
    gap: 15px;
    padding: 0 20px;
}

.food-link {
    flex: 1;
    text-decoration: none;
    color: #333;
    border-radius: 15px;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
}

.food-name-label {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    color: #333;
    font-family: "vdl-v7gothic", sans-serif;
    font-weight: 900;
    font-style: normal;
    font-size: 1.1em;
    font-weight: bold;
    text-align: center;
    white-space: nowrap;
    z-index: 4;
}

.food-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.food-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.arrow-icon {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 900;
    color: #333;
    z-index: 3;
    transition: all 0.3s ease;
}

.food-link:hover .arrow-icon {
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
}

.food-logo {
    position: absolute;
    top: 150%;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.4s ease-out;
    z-index: 2;
    width: 70%;
}

.food-logo img {
    width: 100%;
    height: auto;
    max-width: none;
    max-height: none;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.food-link:hover .food-logo {
    top: 50%;
    transform: translate(-50%, -50%);
}

.food-link:hover .food-overlay {
    background: rgba(0, 0, 0, 0.2);
}

.top-section {
    position: relative;
    width: 100vw;
    height: 56.25vw; /* 16:9 aspect ratio (9/16 * 100) */
    max-height: 80vh; /* 画面の高さを超えないように制限 */
    min-height: 400px; /* 最小高さを確保 */
    background-image: url('top-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0;
    left: 50%;
    transform: translateX(-50%);
}

.top-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/top_background.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    aspect-ratio: 16/9; /* 1920x1080の比率 */
    object-fit: cover;
}

.top-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.logo-link {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
    text-decoration: none;
}

.top-logo {
    max-height: 240px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.top-text {
    position: absolute;
    bottom: 30px;
    right: 80px;
    z-index: 2;
}

.top-text-line1 {
    position: relative;
    left: -50px; 
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 3px 10px;
    font-family: "vdl-v7gothic", sans-serif;
    font-weight: 900;
    font-style: normal;
    font-size: 1.6em;
    line-height: 1.4;
    border-radius: 5px;
    max-width: 380px;
    margin-bottom: 10px;
    white-space: nowrap;
}

.top-text-line2 {
    position: relative;
    left: 50px; 
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 3px 10px;
    font-family: "vdl-v7gothic", sans-serif;
    font-weight: 900;
    font-style: normal;
    font-size: 1.6em;
    line-height: 1.4;
    border-radius: 5px;
    max-width: 600px;
    white-space: nowrap;
}

.hero-text {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 15px 20px;
    font-family: "vdl-v7gothic", sans-serif;
    font-weight: 900;
    font-style: normal;
    line-height: 1.4;
    border-radius: 5px;
    z-index: 2;
    max-width: 300px;
}

/* メインテキストのスタイル */
h1, h2, h3, h4, h5, h6, h7 {
    font-family: "vdl-v7gothic", sans-serif;
    font-weight: bold;
    font-style: normal;
    font-size: 2em;
    text-align: center;
    margin: 10px auto;
    max-width: 800px;
    line-height: 1.6;
    color: #333;
}

.main-text {
    font-family: "vdl-v7gothic", sans-serif;
    font-weight: bold;
    font-style: normal;
    font-size: 2em;
    text-align: center;
    margin: 10px auto;
    max-width: 800px;
    line-height: 1.6;
    color: #333;
}

.highlight {
    background: linear-gradient(transparent 60%, #ffff00 60%, #ffff00 90%, transparent 90%);
    background-size: 100% 1.2em;
    background-position: 0 0.1em;
    background-repeat: no-repeat;
}
