@charset 'UTF-8';

/*********************************************
/*
/* 波浮港醸造（Habuminato Brewery） コンテンツCSS
/*
/********************************************/

:root {
  --brew-blue: #1f3f95;        /* 青い瓶 */
  --brew-navy: #23306b;        /* 髙林商店ののれん */
  --brew-island: #7dbf7a;      /* 島の香りペールエール */
  --brew-wind: #a47bc2;        /* 風待ちのIPA */
  --brew-sunset: #e58a69;      /* 夕陽のヴァイツェン */
  --brew-cream: #f7f5ef;
}

/* ===== メインビジュアル ===== */
.subpage-topimage-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 800px;
  padding-top: 70px; /* ヘッダー分 */
  margin-bottom: 20px;
  overflow: hidden;
  background: #1b1b1b url('../../img/topics/habuminato_brew/main_image001.jpg') center center / cover no-repeat;
}

/* ロゴの可読性を保つためのごく薄い周辺減光 */
.subpage-topimage-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.05) 30%, rgba(0, 0, 0, 0.35) 100%);
  pointer-events: none;
}

.subpage-logo_screen {
  position: relative;
  z-index: 2;
  line-height: 0;
}

/* ロゴ画像は800×800（四辺に約8%の透過余白あり）。
   ヘッダーを除いた高さの約90%で表示すると、OGP画像に近いバランスになる */
.subpage-logo_screen img {
  display: block;
  width: 650px;
  max-width: calc(100vw - 40px);
  height: auto;
  animation: brewFadeIn 1.4s ease-out both;
}

@keyframes brewFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .subpage-logo_screen img {
    animation: none;
  }
}

@media screen and (max-width: 1600px) {
  .subpage-topimage-section {
    height: 700px;
  }
  .subpage-logo_screen img {
    width: 570px;
  }
}

/** タブレット時 **/
@media screen and (max-width: 960px) {
  .subpage-topimage-section {
    height: 500px;
  }
  .subpage-logo_screen img {
    width: 400px;
  }
}

/** スマートフォン時 **/
@media screen and (max-width: 767px) {
  .subpage-topimage-section {
    height: 420px;
    padding-top: 60px;
  }
  .subpage-logo_screen img {
    width: 340px;
  }
}

@media screen and (max-width: 415px) {
  .subpage-topimage-section {
    height: 380px;
  }
  .subpage-logo_screen img {
    width: 320px;
  }
}

/* ===== 本文共通 ===== */
p {
  letter-spacing: 0.2rem;
}

p.normal {
  letter-spacing: 0.2rem;
  text-align: justify;
}

.inner-block img {
  max-width: 100%;
  height: auto;
}

.photo img {
  width: 100%;
  border-radius: 10px;
}

img {
  border: none;
}

/* SP時のみ改行 */
br.sp_br {
  display: none;
}

/* ===== 見出し ===== */
h1.main_title {
  text-align: left;
  margin-top: 50px;
  margin-left: 20px;
  margin-bottom: 50px;
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: 0.1rem;
}

h3.sub_title_lft {
  position: relative;
  font-size: 2.2rem;
  line-height: 3.2rem;
  text-align: left;
  margin-left: 20px;
  margin-bottom: 30px;
  padding-left: 18px;
  letter-spacing: 0.1rem;
  font-weight: 900;
}

h3.sub_title_lft::before {
  content: "";
  position: absolute;
  top: 0.3em;
  bottom: 0.3em;
  left: 0;
  width: 5px;
  border-radius: 3px;
  background-color: var(--brew-blue);
}

@media screen and (max-width: 767px) {
  br.sp_br {
    display: inline;
  }
}

@media screen and (max-width: 415px) {
  h1.main_title {
    font-size: 1.8rem;
    margin-left: 0;
    letter-spacing: 0.05rem;
  }

  h3.sub_title_lft {
    font-size: 1.8rem;
    line-height: 2.6rem;
    margin-left: 0;
    margin-bottom: 30px;
    padding-left: 14px;
  }
}

/* ===== ビールラインナップ ===== */
/* ボックス内の段落はサイト共通の左右余白（.inner-block p）を打ち消す */
.inner-block .brew_item p,
.inner-block .brew_seasonal p,
.inner-block .brew_shop_box p {
  padding-left: 0;
  padding-right: 0;
}

.brew_lineup {
  display: grid;
  gap: 20px;
}

.brew_item {
  --brew-color: var(--brew-blue);
  padding: 25px 30px;
  background-color: var(--brew-cream);
  border-top: 6px solid var(--brew-color);
  border-radius: 10px;
}

.brew_item--island { --brew-color: var(--brew-island); }
.brew_item--wind   { --brew-color: var(--brew-wind); }
.brew_item--sunset { --brew-color: var(--brew-sunset); }

.brew_name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin: 0 0 15px;
  font-size: 2.0rem;
  font-weight: 900;
  letter-spacing: 0.1rem;
}

.brew_style {
  display: inline-block;
  padding: 4px 10px;
  color: #fff;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.15rem;
  line-height: 1.4;
  border-radius: 3px;
  background-color: var(--brew-color);
}

.brew_item p.normal {
  margin-bottom: 15px;
}

.inner-block p.brew_recommend {
  position: relative;
  margin: 0;
  padding-left: 1.6em;
  font-weight: 700;
  letter-spacing: 0.1rem;
}

.brew_recommend::before {
  content: "\f164"; /* Font Awesome thumbs-up */
  font-family: "FontAwesome";
  position: absolute;
  top: 0;
  left: 0;
  color: var(--brew-color);
}

/* 季節限定ビール */
.brew_seasonal {
  padding: 25px 30px;
  border: 1px dashed var(--brew-blue);
  border-radius: 10px;
}

.brew_seasonal_title {
  margin-bottom: 10px;
  color: var(--brew-blue);
  font-weight: 700;
}

.brew_seasonal p.normal {
  margin-bottom: 0;
}

/* 注記 */
.brew_note {
  font-size: 1.2rem;
  letter-spacing: 0.1rem;
  color: #666;
}

/* ===== 店舗情報・アクセス ===== */
.brew_shop_box {
  margin: 0 20px;
  padding: 30px;
  border-left: 5px solid var(--brew-navy);
  border-radius: 5px;
  background-color: #f1f3f9;
}

.brew_shop_box h4 {
  margin: 0 0 20px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.1rem;
}

.brew_shop_kana {
  font-size: 85%;
  font-weight: 400;
}

.brew_shop_info {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 12px 20px;
  margin: 0 0 20px;
  letter-spacing: 0.1rem;
  line-height: 1.8;
}

.brew_shop_info dt {
  font-weight: 700;
  color: var(--brew-navy);
}

.brew_shop_info dt .fa {
  margin-right: 4px;
}

.brew_shop_info dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.brew_shop_box a {
  color: var(--brew-blue);
}

.brew_shop_box .brew_note {
  margin: 0;
}

@media screen and (max-width: 600px) {
  .brew_item,
  .brew_seasonal {
    padding: 20px;
  }

  .brew_name {
    font-size: 1.8rem;
  }

  .brew_shop_box {
    margin: 0;
    padding: 20px;
  }

  /* 項目名と内容を縦積みに */
  .brew_shop_info {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .brew_shop_info dd {
    margin-bottom: 12px;
    padding-left: 1.6em;
  }
}
