/* =========================================================
 共通カラー
========================================================= */
:root{
  --orange:#ffa600;
  --brown:#4b2e1f;
  --white:#ffffff;
}

/* =========================================================
 ヘッダー
========================================================= */
.topbar{
  background:var(--orange);
  height:80px;
  box-sizing:border-box;
  padding:0;
  display:block;
}

.topbar-inner{
  max-width:1200px;
  height:80px;
  margin:0 auto;
  padding:0 24px;
  box-sizing:border-box;

  display:flex;
  align-items:center;
  flex-wrap:wrap; /* 折り返しを許可（狭いとき2段化の土台） */
}

.topbar-logo img{
  height:56px;
  display:block;
}

.topbar nav{ margin-left:auto; }

.topbar ul{
  list-style:none;
  display:flex;
  gap:22px;
  margin:0;
  padding:0;
}

.topbar a{
  color:var(--brown);
  text-decoration:none;
  font-size:16px;
  white-space:nowrap;
}

/* トップバー：ホバー時 */
.topbar a:hover {
  font-weight: 700; /* 太文字 */
  text-decoration: underline; /* 下線 */
}

/* =========================================================
 ヒーロー
========================================================= */
.hero{
  position:relative;
  height:clamp(400px,70vw,700px);
  overflow:hidden;
  background:#fff;
}

.hero img{
  position:absolute;
  inset:0;
  width:100%;
  max-width:1200px;
  height:100%;
  max-height:800px;
  margin:0 auto;
  left:0;
  right:0;
  object-fit:cover;
}

/* キャッチコピー */
.hero-catch{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  padding:24px;
  text-align:center;
  color:var(--white);
  box-sizing:border-box;
}


.hero-catch::before{
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  left:50%;
  transform:translateX(-50%);
  width:100%;
  max-width:1200px;
  background:linear-gradient(
    to bottom,
    rgba(0,0,0,0.08),
    rgba(0,0,0,0.12)
  );
}

.hero-catch p{
  margin:0;
  position:relative;
  opacity:0;
  transform:translateY(14px);
  filter:blur(3px);
}

/* アニメーション */
.catch-main{
  font-size:clamp(24px,3.2vw,44px);
  line-height:1.5;
  letter-spacing:0.08em;
  font-weight:600;
  animation:catchFadeUp 1.6s ease-out 0.3s forwards;
}

.catch-sub{
  margin-top:80px;
  font-size:clamp(32px,4.8vw,64px);
  letter-spacing:0.24em;
  font-weight:600;
  animation:wineryFadeUp 2.8s ease-out 1.1s forwards;
}

@keyframes catchFadeUp{
  to{
    opacity:1;
    transform:translateY(0);
    filter:blur(0);
  }
}

@keyframes wineryFadeUp{
  to{
    opacity:1;
    transform:translateY(0);
    filter:blur(0);
  }
}

@media (prefers-reduced-motion:reduce){
  .hero-catch p{
    animation:none;
    opacity:1;
    transform:none;
    filter:none;
  }
}

/* =========================================================
 メイン共通コンテナ
========================================================= */
.content{
  max-width:900px;
  margin:0 auto;
  padding:24px;
  box-sizing:border-box;
}

/* セクション共通 */
.section-title{
  margin:0 0 10px;
  font-size:22px;
  font-weight:700;
  color:var(--brown);
}

.section-line{
  height:10px;
  background:var(--orange);
  margin-bottom:20px;
}

/* 新着情報 */
.news-body{
  font-size:16px;
  line-height:1.9;
  color:#222;
}

/* =========================================================
 左：写真 / 右：文章
  - 写真が大きくなりすぎないよう max 幅を設定
  - 画面が狭いときは縦並び
========================================================= */
.about-intro{
  display: grid;
  grid-template-columns: minmax(180px, 280px) 1fr; /* 左は最大280px */
  gap: 20px;
  align-items: start;
  margin-top: 8px;
}

.about-intro-photo img{
  width: 100%;
  max-width: 280px; /* これ以上大きくしない */
  height: auto;
  display: block;
  border-radius: 6px;
  object-fit: cover;
}

.about-intro-text{
  margin: 0; /* pのデフォルト余白を揃える */
}

/* スマホでは写真→文章の縦並びにする */
@media (max-width: 640px){
  .about-intro{
    grid-template-columns: 1fr;
  }
  .about-intro-photo img{
    max-width: 520px; /* 縦並び時は少し大きめまで許容 */
    margin: 0 auto;
  }
}

/* =========================================================
 テーブル
========================================================= */
.table{
  width: 100%;
  max-width: 800px;
  border-collapse: collapse;
  margin-top: 10px;
  border: 2px solid var(--brown); /* 外枠：こげ茶 */
}

.table td{
  border: 1px solid var(--brown); /* 内側の線：こげ茶 */
  padding: 10px 14px;
  font-size: 15px;
  line-height: 1.6;
  vertical-align: top;
}

/* 左列（項目名）を少し強調 */
.table td:first-child{
  width: 30%;
  font-weight: 700;
  background: rgba(255, 196, 68, 0.05); /* オレンジの薄色 */
}

/* テーブル内リンク */
.table a {
  color: var(--brown); /* こげ茶 */
  font-weight: 700; /* 太文字 */
  text-decoration: none; /* 下線なし */
}

.table a:hover {
  text-decoration: underline; /* ホバー時のみ下線（任意） */
}

/* =========================================================
 地図サイズ設定
========================================================= */
.access-map{
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  margin: 40px auto; /* 中央寄せ */
}

/* =========================================================
 おすすめワイン
========================================================= */
.wine-section{ margin-top:40px; }

.wine-row{
  display:grid;
  grid-template-columns:240px 1fr;
  gap:20px;
  margin-bottom:28px;
}

.wine-row img{
  width:100%;
  display:block;
}

.wine-name{
  font-size:18px;
  font-weight:700;
  margin:0 0 8px;
  color:var(--brown);
}

.wine-desc{
  font-size:15px;
  line-height:1.8;
  color:#222;
}

.wine-more{
  text-align:right;
  margin-top:10px;
}

.wine-more a{
  color:var(--brown);
  font-weight:600;
  text-decoration:none;
}

.wine-more a:hover{
  text-decoration:underline;
}

/* =========================================================
 スマホ対応
  - トップバーを2段にする（上：ロゴ / 下：ナビ）
========================================================= */
@media (max-width:640px){
  .topbar{
    height:auto; /* 背景側は高さ可変 */
  }

  .topbar-inner{
    height:auto;
    padding:10px;
    /* flex-wrap:wrap は共通で有効なのでここでは維持 */
  }

  /* ナビを必ず2段目へ */
  .topbar nav{
    width:100%;
    margin-left:0;
    margin-top:8px;
  }

  .topbar ul{
    flex-wrap:wrap;
    justify-content:center;
    gap:12px;
  }

  .wine-row{
    grid-template-columns:1fr;
  }
}

/* =========================================================
 フッター
  - 左：会社名
  - 右：コピーライト
  - 狭い場合は2段表示
========================================================= */
.footer{
  background: var(--orange);
  min-height: 120px;
  display: flex;
  align-items: center;
}

.footer-inner{
  max-width: 1200px; /* 新着情報・本文と同じ幅 */
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
}

.footer-left,
.footer-right{
  color: var(--brown);
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

/* スマホ・狭い画面では2段表示 */
@media (max-width: 640px){
  .footer-inner{
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  .footer-right{
    font-size: 13px;
  }
}

/* ワインカテゴリナビ（wines.html 用） */
.wine-nav{
  display:flex;
  flex-wrap:wrap;
  justify-content: center;
  gap:12px 36px;
  margin: 10px 0 0;
}

.wine-nav a{
  color: var(--brown);
  text-decoration:none;
  font-weight:600;
}

.wine-nav a:hover{ text-decoration:underline; }

/* =========================================================
 ワイン 画像サイズ指定
========================================================= */
.wine-row img{
  width: 100%;
  height: 300px; /* 画像高さ */
  object-fit: contain; /* 縦横比を保ったまま中央トリミング */
  object-position: center;
  display: block;
}

@media (max-width: 640px){
  .wine-row img{
    height: 200px;
  }
}

/* ワインの表（メタ情報） */
.wine-meta{
  margin: 0 0 10px;
  padding: 0;
  display:flex;
  flex-wrap:wrap;
  gap: 6px 14px;
}

.wine-meta div{
  display:flex;
  gap:6px;
}

.wine-meta dt{
  font-weight:700;
  color: var(--brown);
}

.wine-meta dd{
  margin:0;
  color:#222;
}

/* 完売表示 */
.red-chr{
  color:#ff0000
}

/* セクション間の余白を統一 */
.wine-section{ margin-top: 40px; }

@media (max-width: 640px){
  .wine-nav{ justify-content:center; }
}
