/* ===== HERO ===== */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

/* 画像・動画共通 */
.hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease;
}

/* 表示中 */
.hero-media.active {
    opacity: 1;
}

/* 黒オーバーレイ */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.hero__inner {
    margin-top: 40vh;
    position: relative;
    z-index: 2;
    color: #fff;
    text-align: center;
}


.hero__title {
    font-size: 4rem;
    font-family: var(--font-main);
    color: var(--fg);
    font-weight: 600;
    letter-spacing: .1em;
    animation: fadeUp .9s ease forwards;
    opacity: 0;
}

.hero__subtitle {
    margin-top: 20px;
    font-size: 1.2rem;
    padding: 10px;
    color: var(--fg);
    animation: fadeUp 1.5s ease forwards;
    opacity: 0;
}

@keyframes fadeUp {
    0% {
        transform: translateY(40px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ===== お知らせ ===== */
.info-section {
    padding: 20px 5vw;
    max-width: 1100px;
    margin: auto;
}

.section-title {
    font-size: 2rem;
    font-family: var(--font-main);
    margin-bottom: 30px;
    color: var(--dark);
    letter-spacing: .05em;
    text-align: center;
}

.news-list {
    border-top: 1px solid #ddd;
}

.news-item {
    display: flex;
    gap: 20px;
    padding: 18px 0;
    border-bottom: 1px solid #eee;
    transition: background .25s;
}

.news-item:hover {
    background: #fafafa;
}

.news-date {
    font-weight: 700;
    color: var(--accent);
}

.text-bold{
    font-weight: 700;
}

.text-red{
    color: var(--accent);
}

/* ===== こだわり ===== */
.concept-section {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    margin-top: 100px;
}

.concept-img {
    background: url("/assets/img/usi14.webp") center/cover no-repeat;
    min-height: 420px;
}

.concept-text {
    padding: 60px;
    background: var(--dark);
    color: var(--fg);
}

.concept-text h2 {
    font-family: var(--font-main);
    font-size: 2.1rem;
    margin-bottom: 20px;
}

.btn {
    margin-top: 25px;
    display: inline-block;
    background: var(--accent);
    color: var(--fg);
    padding: 13px 34px;
    letter-spacing: .05em;
    transition: .3s;
}

.btn:hover {
    background: #8e1a1a;
}

/* ===== グリッドリンク ===== */
.grid-nav {
    margin: 120px auto;
    padding: 0 5vw;
    max-width: 1400px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.grid-card {
    height: 260px;
    position: relative;
    overflow: hidden;
}

.grid-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform .6s ease;
}

.grid-card:hover .grid-bg {
    transform: scale(1.1);
}

.grid-card h3 {
    position: absolute;
    bottom: 20px;
    left: 24px;
    font-size: 1.4rem;
    color: var(--fg);
    font-family: var(--font-main);
    z-index: 2;
}
.grid-bg.about-us {
    background-image: url("/assets/img/usi14.webp");
}

.grid-bg.about-us::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25); /* 黒 + 40% */
    z-index: 1;
}

.grid-bg.shops {
    background-image: url("/assets/img/honten.png");
}

.grid-bg.shops::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25); /* 黒 + 40% */
    z-index: 1;
}

.grid-bg.farm {
    background-image: url("/assets/img/usi2.webp");
}

.grid-bg.factory {
    background-image: url("/assets/img/factory-okayama.webp");
}

.grid-bg.farm::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25); /* 黒 + 40% */
    z-index: 1;
}

.grid-bg.recruit {
    background-image: url("../img/usi17.webp");
}

.grid-bg.recruit::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25); /* 黒 + 40% */
    z-index: 1;
}

.grid-bg.diary {
    background-image: url("/assets/img/usi3.webp");
}

.grid-bg.diary::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25); /* 黒 + 40% */
    z-index: 1;
}

.grid-bg.service {
    background-image: url("../img/AS_gift.webp");
}

.grid-bg.contact {
    background-image: url("../img/usi.webp");
}

.grid-bg.contact::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25); /* 黒 + 40% */
    z-index: 1;
}

/* ===== レスポンシブ ===== */
@media (max-width: 900px) {
    .concept-section {
        grid-template-columns: 1fr;
    }

    .grid-nav {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .hero__title {
        font-size: 2.4rem;
    }

    .grid-nav {
        grid-template-columns: 1fr;
    }
}


/********************ギフトセクション************************/
.gift-section {
  background-color: #ffffff; /* 白背景 */
  padding: 80px 5vw;
  margin-top: 50px;
  margin-bottom: 50px;
  /*box-shadow: 0 6px 18px rgba(0,0,0,0.08); /* 軽い影で上品さ */
  text-align: center;
}

.gift-inner h2 {
  font-family: "Noto Serif JP", serif;
  font-size: 2.4rem;
  color: #b3864a; /* ゴールド系 */
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.gift-inner p {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.1rem;
  color: #4a4a4a; /* ダークグレーで落ち着き */
  margin-bottom: 30px;
  line-height: 1.6;
}

.btn-gift {
  background-color: #b3864a; /* ゴールド系ボタン */
  color: #fff;
  padding: 15px 45px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s;
}

.btn-gift:hover {
  background-color: #8c6740; /* 少し濃くして高級感 */
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .gift-inner h2 { font-size: 1.8rem; }
  .gift-inner p { font-size: 1rem; }
  .btn-gift { padding: 12px 30px; }
  .gift-section {
    margin-top: 20px;
    margin-bottom: 20px;
  }
}

/* javascript連携用 */
.hero, .hero__inner, .hero__title, .hero__subtitle, .concept-section, .grid-card {
    opacity: 0;
    transform: translateY(40px);
}
.fade {
    opacity: 1;
    transform: translateY(0);
    transition: .8s ease;
}
