@charset "UTF-8";
/**
 * page-hamagou.scss
 * template-single-hamagou.php 用のページ固有スタイル。
 * 旧 sakuraodistillery.com の assets/css/hamagou.css（歴代まとめ）を
 * Step 1（見た目の再現）として移植したもの。common.css の後にロードされる前提。
 *
 * Step 1 方針につき内容は旧 hamagou.css のままとし、画像参照の絶対パス
 * （/assets/img/...）のみビルド出力先 theme/assets/css/ からの相対パス
 * （../img/...）へ書き換えている。クラス名は Step 3 で FLOCSS 化済み（p-{slug}__*）。
 *
 * メモ:
 * - `#header` のフェード制御は旧サイトのヘッダー（#header）向け。新サイトは
 *   Cocoon の #header-container のため空振り（無害）。
 * - `body.is-animated` は page-hamagou.js が付与する（KV の kv-animation-*
 *   フェード／#header 表示のトリガ）。比較ツールも settleAnimations で付与する。
 * - KV は figure.p-hamagou__kv-image（p-hamagou__kv-animation-01/03 背景画像）と .p-hamagou__kv-title
 *   （p-hamagou__kv-animation-02 タイトル）が body.is-animated で opacity 0→1 する方式。
 *   whiteherbs のような動画→画像差し替えではない（静的フェードのみ）。
 * - `.p-hamagou__picture .p-hamagou__slider` は slick 初期化後（.slick-initialized）に表示される。
 * - 旧 hamagou.css は歴代まとめ用で、この HTML に存在しないセクション
 *   （p-hamagou__botanical / p-hamagou__place / sec-content-link / p-hamagou__online）のルールも持つが、
 *   faithful 移植として残す（年別ページ横展開時の差分把握にも使う）。
 * - 旧 hamagou.css 内のコメントアウト済み background（img-product-20200622.png）も
 *   そのまま保持。
 */
/* public
============================================================ */
#container {
  background: #f8f7f1;
}

/* kv
============================================================ */
.p-hamagou__kv {
  position: relative;
  height: 100vh;
}

.p-hamagou__kv-title {
  position: relative;
  display: flex;
  width: 90%;
  max-width: 1000px;
  height: 100%;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.p-hamagou__kv-title > span {
  display: block;
  width: 100%;
}

.p-hamagou__kv-image,
.p-hamagou__kv-image > div {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: no-repeat center center/cover;
}

/* KV 背景 image-set 化（フェーズ5・WebP+フォールバック） */
.p-hamagou__kv-animation-01 > div {
  background-image: url(../img/hamagou/img-kv-01.jpg);
  background-image: -webkit-image-set(url(../img/hamagou/img-kv-01.webp) type("image/webp"), url(../img/hamagou/img-kv-01.jpg) type("image/jpeg"));
  background-image: image-set(url(../img/hamagou/img-kv-01.webp) type("image/webp"), url(../img/hamagou/img-kv-01.jpg) type("image/jpeg"));
}

.p-hamagou__kv-animation-03 > div {
  background-image: url(../img/hamagou/img-kv-02.jpg);
  background-image: -webkit-image-set(url(../img/hamagou/img-kv-02.webp) type("image/webp"), url(../img/hamagou/img-kv-02.jpg) type("image/jpeg"));
  background-image: image-set(url(../img/hamagou/img-kv-02.webp) type("image/webp"), url(../img/hamagou/img-kv-02.jpg) type("image/jpeg"));
}

.p-hamagou__kv-animation-01 {
  transition: opacity 1s ease;
  opacity: 0;
}

.p-hamagou__kv-animation-02 {
  transition: opacity 2s ease 1s;
  opacity: 0;
}

.p-hamagou__kv-animation-03 {
  transition: opacity 3s ease 2.5s;
  opacity: 0;
}

body.is-animated .p-hamagou__kv-animation-01,
body.is-animated .p-hamagou__kv-animation-02,
body.is-animated .p-hamagou__kv-animation-03 {
  opacity: 1;
}

@media screen and (max-width: 811px) {
  .p-hamagou__kv {
    min-height: 100vw;
  }
}
/* p-hamagou__lead
============================================================ */
.p-hamagou__lead {
  height: 770px;
  padding-top: 120px;
  text-align: center;
  background: url(../img/hamagou/bg-lead.jpg) no-repeat center center/cover;
}

.p-hamagou__lead-title {
  margin-bottom: 1.5em;
  font-size: 30px;
  font-weight: 400;
}

@media screen and (max-width: 811px) {
  .p-hamagou__lead {
    height: auto;
    padding-top: 5rem;
    padding-bottom: 20rem;
  }
  .p-hamagou__lead-title {
    margin-bottom: 1.5em;
    font-size: 1.5rem;
  }
  .p-hamagou__lead-text {
    text-align: left;
  }
  body[class~=en-US] .p-hamagou__lead-text {
    line-height: 1.6;
  }
}
/* p-hamagou__product
============================================================ */
.p-hamagou__product {
  position: relative;
  padding: 100px 0;
}

.p-hamagou__product-textbox {
  margin-right: 50%;
}

.p-hamagou__product-title {
  margin-bottom: 20px;
  text-align: center;
}

.p-hamagou__product-text {
  text-align: center;
}

@media screen and (min-width: 812px) {
  .p-hamagou__product {
    /*
       background: url(../img/hamagou/img-product-20200622.png) no-repeat center center / cover;
    */
    background: url(../img/hamagou/img-product.jpg) no-repeat center center/cover;
  }
}
@media screen and (min-width: 812px) and (max-width: 1000px) {
  .p-hamagou__product {
    background-position: 70% center;
  }
}
@media screen and (max-width: 811px) {
  .p-hamagou__product {
    padding: 5rem 0;
  }
  .p-hamagou__product-textbox {
    margin-right: 0;
  }
  .p-hamagou__product-title {
    margin: 0 1rem 1rem;
  }
}
/* p-hamagou__picture
============================================================ */
.p-hamagou__picture {
  margin-top: 80px;
}

.p-hamagou__picture :focus {
  outline: none;
}

.p-hamagou__picture .p-hamagou__slider {
  display: none;
}

.p-hamagou__picture .p-hamagou__slider.slick-initialized {
  display: block;
}

.p-hamagou__picture-thumb-slider-wrap {
  margin: 20px 0 0;
}

.p-hamagou__picture-thumb-slider .p-hamagou__slider-item {
  padding: 0;
  overflow: hidden;
}

.p-hamagou__picture-thumb-slider .p-hamagou__slider-item a {
  position: relative;
  display: block;
  cursor: pointer;
  transition: transform 2s cubic-bezier(0.19, 1, 0.22, 1);
}

.p-hamagou__picture-thumb-slider .p-hamagou__slider-item a:hover {
  transition-duration: 6s;
  transform: scale(1.1, 1.1);
}

.p-hamagou__picture-slider-dots {
  text-align: center;
}

.p-hamagou__picture-slider-dots li {
  display: inline-block;
  margin: 1.5em 0.75em;
  vertical-align: middle;
}

.p-hamagou__picture-slider-dots button {
  display: block;
  position: relative;
  width: 7px;
  height: 7px;
  text-indent: -10em;
  overflow: hidden;
}

.p-hamagou__picture-slider-dots button::after {
  content: "";
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #b2b2b2;
}

.p-hamagou__picture-slider-dots .slick-active button::after {
  background: #000;
}

/* overwrite slick */
.slick-dotted.slick-slider {
  margin: 0;
}

/* Step 1 追記: WP は enqueue 順が旧サイトと逆（slick-theme.css が page-css の後）になり、
   slick-theme の `.slick-dotted.slick-slider{margin-bottom:30px}`／`#main ul` の既定下マージンが
   旧 page CSS の打ち消しに勝ってスライダー直後に約30px の隙間が出る。詳細度を `#main` 付き
   （1,2,0 / 1,1,0）へ上げて旧の描画を復元する（whiteherbs と同趣旨）。
   メインスライダーは dots 付きなので `.slick-dotted.slick-slider`、サムネは dots 無しのため
   `.p-hamagou__picture-thumb-slider` を別途指定する。 */
#main .slick-dotted.slick-slider {
  margin: 0;
}

#main .p-hamagou__picture-main-slider,
#main .p-hamagou__picture-thumb-slider {
  margin: 0 !important;
}

@media screen and (max-width: 811px) {
  .p-hamagou__picture {
    margin-top: 0;
  }
  /* picture-slider */
  .p-hamagou__picture-thumb-slider-wrap {
    margin: 1rem 0 0;
  }
  .p-hamagou__picture-slider-dots li {
    margin: 1rem 0.5rem;
  }
}
/* p-hamagou__botanical
============================================================ */
.p-hamagou__botanical {
  margin: 100px 0 120px;
}

.p-hamagou__botanical-image-01 {
  text-align: center;
}

.p-hamagou__botanical-header {
  position: relative;
  z-index: 0;
}

.p-hamagou__botanical-header-textbox {
  margin-right: 300px;
  padding: 70px 0 140px;
}

.p-hamagou__botanical-desc {
  margin-top: 50px;
}

.p-hamagou__botanical-image-02 {
  position: absolute;
  top: 0;
  right: -60px;
  width: 390px;
  height: 100%;
  z-index: -1;
}

.p-hamagou__botanical-detail + .p-hamagou__botanical-detail {
  margin-top: 120px;
}

.p-hamagou__botanical-list {
  margin: 0 -25px;
}

.p-hamagou__botanical-list li {
  width: 33.33%;
  padding: 0 25px;
  margin-top: 30px;
}

.p-hamagou__botanical-item-image {
  text-align: center;
}

.p-hamagou__botanical-item-image img {
  width: 140px;
}

.p-hamagou__botanical-item-textbox dt {
  font-size: 16px;
  font-weight: 700;
}

.p-hamagou__botanical-item-textbox dd {
  font-size: 13px;
}

@media screen and (max-width: 811px) {
  .p-hamagou__botanical {
    margin: 5rem 0;
  }
  .p-hamagou__botanical-image-01 img {
    width: 10rem;
  }
  .p-hamagou__botanical-header-textbox {
    margin-right: 0;
    padding: 2rem 0;
  }
  .p-hamagou__botanical-desc {
    margin-top: 2rem;
  }
  .p-hamagou__botanical-image-02 {
    position: static;
    width: 15rem;
    height: auto;
    margin: 0 auto;
  }
  .p-hamagou__botanical-detail {
    margin-top: 3rem !important;
  }
  .p-hamagou__botanical-list {
    margin: 0 -1rem;
  }
  .p-hamagou__botanical-list li {
    width: 50%;
    padding: 0 1rem;
    margin-top: 1.5rem;
  }
  .p-hamagou__botanical-item-image img {
    width: 7.5rem;
  }
  .p-hamagou__botanical-item-textbox dt {
    font-size: 1rem;
  }
  .p-hamagou__botanical-item-textbox dd {
    font-size: 0.9rem;
  }
}
/* p-hamagou__place
============================================================ */
.p-hamagou__place {
  padding: 100px 0 170px;
  background: #cfe2ea;
}

.p-hamagou__place-header {
  margin-bottom: 80px;
  text-align: center;
}

.p-hamagou__place-title {
  margin: 50px 0;
  line-height: 2;
  font-size: 30px;
  font-weight: 400;
}

.p-hamagou__place-item-caption {
  line-height: 1.8;
  font-size: 21px;
  font-weight: 400;
}

.p-hamagou__place-item-image {
  margin: 35px 0;
}

.p-hamagou__place-item:nth-child(even) .p-hamagou__place-item-figure {
  text-align: right;
}

.p-hamagou__place-note {
  display: flex;
  justify-content: space-between;
  margin-top: 100px;
  padding: 15px 0;
  border-top: 1px solid;
  border-bottom: 1px solid;
}

.p-hamagou__place-note-textbox {
  width: 52%;
}

.p-hamagou__place-note-title {
  line-height: 1.4;
  margin: 0.5em 0;
  font-size: 20px;
  font-weight: 400;
}

.p-hamagou__place-note-text {
  font-size: 13px;
}

.p-hamagou__place-note-image {
  width: 42%;
}

@media screen and (min-width: 1200px) {
  .p-hamagou__place-item:nth-child(even) .p-hamagou__place-item-figure {
    margin-right: -40px;
  }
}
@media screen and (min-width: 812px) {
  .p-hamagou__place-item {
    width: 47.5%;
    max-width: 420px;
  }
  .p-hamagou__place-item:nth-child(n+3) {
    margin-top: 100px;
  }
  .p-hamagou__place-item:nth-child(odd) {
    float: left;
  }
  .p-hamagou__place-item:nth-child(even) {
    float: right;
  }
  .p-hamagou__place-item:nth-child(1) .p-hamagou__place-item-figure {
    margin: 20px 0;
  }
}
@media screen and (max-width: 811px) {
  .p-hamagou__place {
    padding: 5rem 0;
  }
  .p-hamagou__place-image-01 img {
    width: 10rem;
  }
  .p-hamagou__place-header {
    margin-bottom: 3rem;
  }
  .p-hamagou__place-title {
    margin: 2rem 0;
    font-size: 1.4rem;
  }
  .p-hamagou__place-item + .p-hamagou__place-item {
    margin-top: 3rem;
  }
  .p-hamagou__place-item-caption {
    font-size: 1.2rem;
  }
  .p-hamagou__place-item-image {
    margin: 1rem 0;
  }
  .p-hamagou__place-item:nth-child(1) .p-hamagou__place-item-figure {
    width: 6rem;
    margin: 0 1rem 0 auto;
  }
  .p-hamagou__place-item:nth-child(2) .p-hamagou__place-item-figure {
    width: 10rem;
    margin: 0 0 0 1rem;
  }
  .p-hamagou__place-item:nth-child(4) .p-hamagou__place-item-figure img {
    width: 10rem;
  }
  .p-hamagou__place-note {
    display: block;
    margin-top: 3rem;
    padding: 1rem 0;
  }
  .p-hamagou__place-note-textbox {
    width: auto;
  }
  .p-hamagou__place-note-title {
    font-size: 1.2rem;
  }
  .p-hamagou__place-note-text {
    font-size: 1rem;
  }
  .p-hamagou__place-note-image {
    width: auto;
    margin-top: 1rem;
  }
}
/* sec-content-link
============================================================ */
.c-content-link {
  margin-top: 100px;
}

.c-content-link .c-content-link__list li p:last-child {
  line-height: 1.8;
  font-size: inherit;
}

@media screen and (min-width: 1200px) {
  .c-content-link .c-content-link__list {
    margin: 0 -85px;
  }
}
@media screen and (min-width: 812px) and (max-width: 1199px) {
  .c-content-link .c-content-link__list {
    margin: 0 -25px;
  }
}
@media screen and (min-width: 812px) {
  .c-content-link .c-content-link__list li {
    width: 50%;
    padding: 0 25px;
  }
}
@media screen and (max-width: 811px) {
  .c-content-link {
    margin-top: 5rem;
  }
}
/* p-hamagou__online
============================================================ */
.p-hamagou__online {
  margin-top: 100px;
  padding-bottom: 100px;
}

@media screen and (min-width: 1200px) {
  .p-hamagou__online-inner {
    margin: 0 -60px;
  }
}
@media screen and (max-width: 811px) {
  .p-hamagou__online {
    margin-top: 5rem;
    padding-bottom: 5rem;
  }
}
/* p-hamagou__btn-back
============================================================ */
.p-hamagou__btn-back {
  margin-top: 80px;
  text-align: center;
}

.p-hamagou__btn-back a {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 390px;
  padding: 18px 0;
  border: 4px solid;
}

.p-hamagou__btn-back a .en {
  line-height: 60px;
  font-size: 30px;
}

.p-hamagou__btn-back a::after {
  content: "";
  position: absolute;
  display: block;
  left: 20px;
  top: 50%;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  border-bottom: 1px solid;
  border-left: 1px solid;
  transform: rotate(45deg);
}

@media screen and (max-width: 811px) {
  .p-hamagou__btn-back {
    margin-top: 3rem;
  }
  .p-hamagou__btn-back a {
    max-width: 90%;
    padding: 0.25rem 0;
    border-width: 0.2rem;
  }
  .p-hamagou__btn-back a::after {
    right: 1rem;
    bottom: 1rem;
    width: 0.6rem;
    height: 0.6rem;
  }
  .p-hamagou__btn-back a .en {
    line-height: 3rem;
    font-size: 130%;
  }
}
