@charset "UTF-8";
/**
 * common.scss
 * 全ページ共通スタイル。旧 sakuraodistillery.com の
 *   default.css / module.css / layout.css / common.css / content.css / add.css
 * を Step 1 として partial 化したものを束ねている。
 * Step 3 で共有部品・util・状態クラスは FLOCSS 化済み。残る legacy は
 * 据置（header/footer 系は Cocoon 差替時。_documents/coding.md
 * 「Step3 リネーム運用」参照）。
 */
/*!
 * This file provides to reset CSS for browsers and a lot of utility classes.
 *
 * @copyright (C) Fabric Arts inc.
 * @version   1.0.0
 */
/* Universal reset
----------------------------------------------------------- */
/*** structure ***/
html {
  overflow-y: scroll;
  font-size: 62.5%;
}

body {
  margin: 0;
  /* 旧サイトは lang="ja" のため hyphens: auto が発動していなかった。
     lang="en-US" が正しく付く新サイトで単語分割が起きないよう manual に変更 */
  hyphens: manual;
}

/*** text ***/
p {
  margin: 0;
  padding: 0;
  font-style: normal;
  font-weight: 400;
}

h1,
h2,
h3,
h4 {
  line-height: 1;
  margin: 0;
}

h1 {
  margin-top: 0;
  /*font-size: 2.369em;*/
}

h2 {
  /*font-size: 1.777em;*/
}

h3 {
  /*font-size: 1.333em;*/
}

h4,
h5,
h6 {
  font-size: 1em;
  margin: 0;
}

small {
  font-size: 0.75em;
}

sub {
  vertical-align: baseline;
  position: relative;
  bottom: -0.2em;
}

sup {
  vertical-align: baseline;
  position: relative;
  top: -0.3em;
}

iframe {
  border: none;
}

/*** list ***/
dl,
dt,
dd {
  margin: 0;
  padding: 0;
  font-style: normal;
  font-weight: 400;
}

li,
ol,
ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-style: normal;
  font-weight: 400;
}

ul.disc {
  list-style-type: disc;
  margin-left: 1.6em;
}

/*** object ***/
embed,
object {
  vertical-align: bottom;
}

/*** presentation ***/
hr {
  display: none;
}

u {
  text-decoration: underline;
}

/*** edit ***/
del {
  color: #666;
  text-decoration: line-through;
}

ins {
  border-bottom: 1px dotted #ccc;
  text-decoration: none;
}

/*** forms ***/
legend {
  white-space: normal;
}

button,
input,
label,
select,
textarea,
form img {
  vertical-align: middle;
}

button,
input,
select,
textarea {
  max-width: 100%;
  -ms-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
}

input,
select,
textarea {
  color: #333;
  border: 1px solid #ccc;
}

select,
textarea,
input[type=text],
input[type=number],
input[type=search],
input[type=date],
input[type=datetime],
input[type=datetime-local],
input[type=month],
input[type=week],
input[type=time],
input[type=email],
input[type=telephone],
input[type=url],
input[type=password] {
  max-width: 100%;
}

button,
input[type=color],
input[type=file],
input[type=image],
input[type=range] {
  border: none;
  padding: 0;
  background: none;
}

input[type=checkbox],
input[type=color],
input[type=radio],
input[type=range],
select {
  cursor: pointer;
}

input[type=checkbox],
input[type=color],
input[type=file],
input[type=image],
input[type=radio],
input[type=range] {
  border: none;
}

input[type=password] {
  ime-mode: disabled;
}

input[disabled],
input[readonly],
select[disabled],
select[readonly] {
  cursor: default;
}

textarea {
  resize: vertical;
}

label + label,
label + input[type=checkbox],
label + input[type=radio] {
  /*margin-left: 10px;*/
}

label > input[type=checkbox],
label > input[type=radio] {
  margin-right: 5px;
}

input[type=checkbox] + label,
input[type=radio] + label {
  margin-left: 5px;
}

.over,
form a img,
input[type=button],
input[type=image],
input[type=reset],
input[type=submit],
button {
  transition: opacity 0.2s ease-in-out;
}

.over:hover,
form a:hover img,
form a:active img,
input[type=button]:hover,
input[type=button]:active,
input[type=image]:hover,
input[type=image]:active,
input[type=reset]:hover,
input[type=reset]:active,
input[type=submit]:hover,
input[type=submit]:active,
button:hover,
button:active {
  -ms-filter: "alpha(opacity=80)";
  -moz-opacity: 0.8;
  opacity: 0.8;
}

label.error,
input.error {
  background: #fee;
}

/*** tables ***/
table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  empty-cells: show;
  -ms-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
}

table th,
table td {
  word-break: break-all;
  -ms-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
}

/*** image ***/
img {
  vertical-align: bottom;
  -ms-interpolation-mode: bicubic;
}

/*** selection ***/
::-moz-selection {
  color: #fff;
  background: #39f;
  text-shadow: none;
}

::selection {
  color: #fff;
  background: #39f;
  text-shadow: none;
}

input::-moz-selection, textarea::-moz-selection {
  color: #000;
}

input::selection,
textarea::selection {
  color: #000;
}

/*** placeholder ***/
::-webkit-input-placeholder {
  color: #666;
  opacity: 1;
}

:-moz-placeholder {
  color: #666;
  opacity: 1;
}

::-moz-placeholder {
  color: #666;
  opacity: 1;
}

:-moz-placeholder {
  color: #666;
  opacity: 1;
}

:placeholder-shown {
  color: #666;
  opacity: 1;
}

:focus::-webkit-input-placeholder {
  color: transparent;
}

:focus:-moz-placeholder {
  color: transparent;
}

:focus::-moz-placeholder {
  color: transparent;
}

:focus:-moz-placeholder {
  color: inherit;
}

:focus:placeholder-shown {
  color: inherit;
}

/*
  File Name   : module.css
  Description : 共通のスタイル
*/
/* font
============================================================ */
.u-ft-gothic {
  font-family: "Helvetica Neue", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, Arial, Meiryo, sans-serif;
  -webkit-font-smoothing: antialiased;
  -ms-font-feature-settings: "normal";
}

/* svgtxt
============================================================ */
.c-svgtxt {
  height: 0.75em;
  vertical-align: middle;
}

.c-svgtxt--small {
  height: 0.6em;
  vertical-align: middle;
}

/* inview
============================================================ */
.c-inview--fadeup {
  opacity: 0;
  transition: all 1s ease 0.3s;
  transform: translateY(10px);
}

.c-inview--fadeup.is-inview {
  opacity: 1;
  transform: translateY(0);
}

.c-inview--fadedown {
  opacity: 0;
  transition: all 1s ease 0.3s;
  transform: translateY(-20px);
}

.c-inview--fadedown.is-inview {
  opacity: 1;
  transform: translateY(0);
}

.c-inview--faderight {
  opacity: 0;
  transition: all 1s ease 0.3s;
  transform: translateX(-50px);
}

.c-inview--faderight.is-inview {
  opacity: 1;
  transform: translateX(0);
}

.c-inview--closeout {
  transition: all 1s ease-out 0.3s;
  transform: scale(1.1);
}

.c-inview--closeout.is-inview {
  transform: scale(1);
}

/* bg-video
============================================================ */
body.is-bg-video .kv {
  transition: opacity 1.5s ease-in-out 0.5s;
  opacity: 0;
}

body.is-bg-video-ready .kv {
  opacity: 1 !important;
}

.c-bg-video {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  background: url(../img/front-page/loading.gif) no-repeat center center;
  background-size: 40px auto;
}

/* utiiities
============================================================ */
/*** float ***/
.u-clear {
  clear: both;
}

/*
  PCでは本文の右に回り込ませ、SPでは回り込みを解除して単独ブロックにする。
  記事本文に直接 `style="float: right"` と書くと、SP幅では本文カラムの残りが
  数十pxしかなくなり本文が1行数文字に潰れる（移行ニュース No.44 で発生）。
  本文側はこのクラスを付けるだけにして、解除の条件はCSS側で持つ。
*/
.u-float-right-pc {
  float: right;
  margin-left: 1.5em;
  margin-bottom: 1em;
}

@media screen and (max-width: 811px) {
  .u-float-right-pc {
    float: none;
    margin-left: 0;
    text-align: center;
  }
}
/*** hide ***/
.u-hide {
  position: absolute;
  z-index: -1;
  overflow: hidden;
  text-align: left;
  text-indent: -9999px;
}

/*** clearfix ***/
.u-clearfix::before,
.u-clearfix::after {
  content: " ";
  display: table;
}

.u-clearfix::after {
  clear: both;
}

/*** align ***/
.u-align-right {
  text-align: right !important;
}

.u-align-center {
  text-align: center !important;
}

.u-align-left {
  text-align: left !important;
}

.u-justify {
  text-align: justify;
}

/*** panel layout ***/
.c-panel-layout {
  width: 100%;
  overflow: hidden;
  table-layout: fixed;
  word-spacing: -0.4em;
  display: block\9 ;
  -ms-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
}

.c-panel-layout .c-panel-layout__child,
.c-panel-layout > article,
.c-panel-layout > figure,
.c-panel-layout > li,
.c-panel-layout > div,
.c-panel-layout > p,
.c-panel-layout > section {
  display: inline-block;
  margin: 0;
  padding: 0;
  vertical-align: top;
  word-spacing: normal;
  -ms-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
}

/*
  File Name   : layout.css
  Description : 各ブロックのレイアウト
*/
/*
============================================================ */
/* BASE
============================================================ */
/*** structure ***/
body {
  position: relative;
  color: #000;
  font-family: "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "游明朝", YuMincho, "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
  -ms-font-feature-settings: "normal";
  font-size: 14px;
  line-height: 2;
  background: #f2f0e5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body * {
  -ms-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
}

@media screen and (max-width: 811px) {
  html, body {
    font-size: 20px;
  }
  h1,
  h2,
  h3,
  h4,
  h5 {
    font-size: 100%;
  }
}
@media screen and (max-width: 479px) {
  html, body {
    font-size: 3.9vw;
  }
  h1,
  h2,
  h3,
  h4,
  h5 {
    font-size: 100%;
  }
}
/*** hypertext ***/
a:link {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:active {
  text-decoration: underline;
}

a:visited {
  color: inherit;
}

a.disable {
  pointer-events: none;
}

a.disable-link-only {
  cursor: default;
}

a img {
  border: none;
}

a.over,
a img.over,
input.over {
  transition: all 0.3s ease;
  opacity: 1;
}

a.over:hover,
a:hover img.over,
input.over:hover {
  text-decoration: none;
  opacity: 0.6;
}

.sp-link:hover {
  text-decoration: none;
  cursor: default;
}

@media screen and (max-width: 811px) {
  .sp-link {
    cursor: default;
    text-decoration: none !important;
    pointer-events: none;
  }
}
/*** img ***/
img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

/*** figure ***/
figure {
  margin: 0;
}

/*** pc-only / sp-only ***/
@media screen and (min-width: 812px) {
  .sp-only {
    display: none !important;
  }
}
@media screen and (max-width: 811px) {
  .pc-only {
    display: none !important;
  }
}
/*** js event  !! .hoge { display: none; } & <div class="hoge no-js"></div> !! ***/
.no-js {
  display: block !important;
}

/*
  File Name   : common.css
  Description : コンテンツエリア共通
*/
/* section
============================================================ */
.section-inner {
  width: 960px;
  margin: 0 auto;
}

/* sp section
------------------------------------------------------------ */
@media screen and (max-width: 811px) {
  .section-inner {
    width: 100%;
  }
}
/* （旧サイトの .hoge プレースホルダ例は Step3 で撤去） */
/*
  File Name   : content.css
  Description : 汎用コンテンツ
*/
/*
============================================================ */
/* sec-content
============================================================ */
.l-content-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

.c-content__title {
  margin-bottom: 1em;
  font-size: 46px;
}

.c-content__textbox {
  font-size: 15px;
  text-align: center;
  letter-spacing: 0.05em;
}

.c-content__textbox .c-content__copy {
  line-height: 2;
  margin-bottom: 2em;
  font-size: 200%;
  font-weight: 400;
}

.c-content__btn-more {
  margin-top: 80px;
  text-align: center;
}

.c-content__btn-more a {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 390px;
  padding: 5px 0 20px;
  border: 4px solid;
}

.c-content__btn-more a::after {
  content: "";
  position: absolute;
  display: block;
  right: 20px;
  bottom: 20px;
  width: 12px;
  height: 12px;
  border-top: 1px solid;
  border-right: 1px solid;
  transform: rotate(45deg);
}

.c-content__btn-more a span {
  display: block;
}

.c-content__btn-more a .en {
  line-height: 60px;
  font-size: 30px;
}

.c-content__btn-more a .jp {
  line-height: 1;
  font-weight: 700;
}

.c-content__btn-more.coming a {
  pointer-events: none;
}

.c-content__btn-more.coming a::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  font-size: 90%;
  background: url(../img/front-page/b-coming-soon.svg) no-repeat center center rgba(255, 255, 255, 0.9);
  background-size: auto 1em;
  z-index: 1;
}

@media screen and (max-width: 811px) {
  .l-content-inner {
    padding: 0 1rem;
  }
  .c-content__title {
    margin-bottom: 0.5em;
    font-size: 300%;
  }
  .c-content__textbox {
    font-size: 100%;
  }
  .c-content__textbox .c-content__copy {
    line-height: 1.6;
    margin-bottom: 1.5em;
    font-size: 150%;
  }
  .c-content__textbox .c-content__text {
    text-align: left;
    word-break: break-all;
  }
  .c-content__btn-more {
    margin-top: 3rem;
  }
  .c-content__btn-more a {
    max-width: 90%;
    padding: 0.25rem 0 1rem;
    border-width: 0.2rem;
  }
  .c-content__btn-more a::after {
    right: 1rem;
    bottom: 1rem;
    width: 0.6rem;
    height: 0.6rem;
  }
  .c-content__btn-more a .en {
    line-height: 3rem;
    font-size: 130%;
  }
}
/*
============================================================ */
/* sec-content-link
============================================================ */
.c-content-link {
  margin-top: 130px;
}

.c-content-link + .c-content-link {
  margin-top: 70px;
}

.c-content-link .c-content-link__list {
  margin: 0 -35px;
}

.c-content-link .c-content-link__list li {
  width: 33.33%;
  padding: 0 35px;
}

.c-content-link .c-content-link__list li a {
  display: block;
  text-align: center;
}

.c-content-link .c-content-link__list li p {
  line-height: 1.4;
  font-size: 15px;
  margin: 1em 0;
}

@media screen and (max-width: 1099px) {
  .c-content-link .c-content-link__list {
    margin: 0 -15px;
  }
  .c-content-link .c-content-link__list li {
    padding: 0 15px;
  }
}
@media screen and (max-width: 811px) {
  .c-content-link {
    margin-top: 5rem;
  }
  .c-content-link + .c-content-link {
    margin-top: 3rem;
  }
  .c-content-link .c-content-link__list {
    margin: 0;
  }
  .c-content-link .c-content-link__list li {
    width: 100%;
    padding: 1rem 0;
  }
  .c-content-link .c-content-link__list li p {
    font-size: 120%;
    margin: 0.25em 0 0;
  }
}
/*
============================================================ */
/* sec-field-trip 
============================================================ */
.c-field-trip {
  margin-top: 140px;
}

.c-field-trip .c-field-trip__desc {
  max-width: 640px;
}

.c-field-trip .c-field-trip__image {
  margin-top: 80px;
}

.c-field-trip .c-content__btn-more .en {
  font-size: 100%;
  font-weight: 700;
}

@media screen and (max-width: 811px) {
  .c-field-trip {
    margin-top: 5rem;
  }
  .c-field-trip .c-field-trip__desc {
    max-width: 100%;
  }
  .c-field-trip .c-field-trip__image {
    margin-top: 2rem;
  }
}
/*
============================================================ */
/* sec-news-pickup 
============================================================ */
.c-news-pickup {
  margin-top: 140px;
}

.c-news-pickup .c-news-pickup__list-wrap {
  position: relative;
  z-index: 0;
}

.c-news-pickup .c-news-pickup__list-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60px;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0 60px;
  background: #000;
  z-index: -1;
}

.c-news-pickup .c-news-pickup__list {
  margin: 0 -35px;
}

.c-news-pickup .c-news-pickup__item {
  width: 33.33%;
  padding: 40px 35px 30px;
}

.c-news-pickup .c-news-pickup__item a {
  display: block;
  color: #f2f0e5;
}

.c-news-pickup .c-news-pickup__item-date {
  margin: 0.5em 0 3em;
  font-size: 12px;
}

.c-news-pickup .c-news-pickup__item-title {
  font-size: 15px;
}

.c-news-pickup .c-news-pickup__item-text {
  font-size: 13px;
}

@media screen and (max-width: 1099px) {
  .c-news-pickup .c-news-pickup__list {
    margin: 0 -15px;
  }
  .c-news-pickup .c-news-pickup__item {
    padding: 40px 15px 30px;
  }
}
@media screen and (max-width: 811px) {
  .c-news-pickup {
    margin-top: 5rem;
  }
  .c-news-pickup .c-news-pickup__list {
    margin: 0;
  }
  .c-news-pickup .c-news-pickup__item {
    width: 100%;
    padding: 2rem 0;
  }
  .c-news-pickup .c-news-pickup__item-date {
    margin: 0.5em 0;
    font-size: 90%;
  }
  .c-news-pickup .c-news-pickup__item-title {
    font-size: 120%;
  }
  .c-news-pickup .c-news-pickup__item-text {
    font-size: 100%;
  }
}
/*
============================================================ */
/* sec-access
============================================================ */
.c-access {
  margin-top: 150px;
}

.c-access .c-access__logo {
  width: 390px;
}

.c-access .c-access__txt {
  margin: 1.5em 0;
  font-size: 13px;
}

.c-access .c-gmap__btn-more {
  width: 130px;
}

.c-access #gmap {
  margin-top: 65px;
  height: 460px;
}

@media screen and (max-width: 811px) {
  .c-access {
    margin-top: 5rem;
  }
  .c-access .c-access__logo {
    width: 100%;
  }
  .c-access .c-access__txt {
    font-size: 100%;
  }
  .c-access .c-gmap__btn-more {
    max-width: 50%;
  }
  .c-access #gmap {
    margin-top: 2rem;
    height: 75vw;
  }
}
/* sec-contact 節は新サイトで未使用（テンプレに markup 無し）のため Step3 で撤去。 */
/*
============================================================ */
/* sec-anchor
============================================================ */
.c-anchor {
  padding-top: 60px;
  margin-top: -60px;
}

/*
  File Name   : add.css
  Description : omo追加css
*/
/* 20181017 */
.l-content-inner {
  max-width: 1042px;
}

/*
  記事本文のスペック表記。
  旧実装は dt を float させ、項目名の文字数に応じて本文側で spec8 / spec12 … と
  クラスを付け分けて `width: N em` を当てていた。これは letter-spacing の末尾分を
  見込めておらず、ちょうど N 文字の項目名が 1〜3px 溢れて2行に折れていた（公開投稿23件）。
  grid の max-content にすると dt 列が一番長い項目名に自動で合うため、
  specN の付け分け自体が不要になる（本文に残っている specN は無害な文字列として残るだけ）。
*/
dl.spec {
  display: grid;
  grid-template-columns: max-content 1fr;
  /*
    .p-wp__content の text-align: justify を打ち消す。
    継承したままだと、値が列内で折り返したときに最終行以外が列幅まで引き伸ばされ、
    「： 　　　JPY130(with」のようにコロン後の半角スペース1個だけが極端に広がる。
    スペック表は文章ではなくデータなので両端揃えにする理由がない。
  */
  text-align: left;
}

dl.spec dt {
  float: none;
  width: auto;
  font-weight: 400;
}

/*
  閉店した旧オンラインショップ（sakuraobd.jp）へのリンクを無効化した箇所。
  <a> はテーマ側（theme/inc/retired-links.php）が表示時に外していて、
  DB の投稿本文にはリンクが残っている。取消線＋グレーで「終了済み」を示す。
*/
.is-link-retired {
  color: #777;
  text-decoration: line-through;
}

.outlink::after {
  /* stylelint-disable-next-line font-family-no-missing-generic-family-keyword -- アイコンフォント（汎用フォールバック指定は不可） */
  font-family: "Font Awesome 5 Free";
  content: "\f35d";
  margin-top: 0;
  margin-left: 0.5em;
  font-weight: 900;
}

/* omo スライダー============================================================ */
/* スライダー全体のレイアウト */
.c-omo-slider {
  position: relative;
}

/* 横スクロールさせる領域 */
.c-omo-slider__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth; /* ボタン操作以外のときもスムーズに */
  -webkit-overflow-scrolling: touch;
}

/* 横にスライドを並べるトラック */
.c-omo-slider__track {
  display: flex;
}

/* 各スライド（画面幅1枚分） */
.c-omo-slider__slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
}

/* スクロールバーを隠したい場合（任意） */
.c-omo-slider__viewport {
  scrollbar-width: none; /* Firefox */
}

.c-omo-slider__viewport::-webkit-scrollbar {
  display: none; /* WebKit */
}

/* スライダーコントロールの配置（缶の下に配置） */
.c-omo-slider__controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2em;
  margin-top: 2em;
  margin-bottom: 3em;
}

.c-omo-slider__prev,
.c-omo-slider__next {
  width: 50px;
  height: 50px;
  border: 2px solid #333;
  border-radius: 50%;
  /* background: #fff; */
  color: #333;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.c-omo-slider__prev img,
.c-omo-slider__next img {
  width: 50%;
  height: auto;
}

/* ホバー時のスタイル */
.c-omo-slider__prev:hover:not(:disabled),
.c-omo-slider__next:hover:not(:disabled) {
  background: #333;
  color: #fff;
}

/* グレーアウト時のスタイル */
.c-omo-slider__prev:disabled,
.c-omo-slider__next:disabled {
  border-color: #ccc;
  color: #ccc;
  cursor: not-allowed;
}

.c-omo-slider__prev:disabled img,
.c-omo-slider__next:disabled img {
  opacity: 0.3;
}

@media (max-width: 812px) {
  .c-omo-slider__controls {
    gap: 1.5em;
    margin-top: 1.5em;
    margin-bottom: 2em;
  }
  .c-omo-slider__prev,
  .c-omo-slider__next {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}
/* /omo スライダー============================================================ */
/* レイアウト主導モード（is-layout-driven）
 * Cocoon 親テーマは #content-in を一定幅で中央寄せにするため、フル幅の
 * 黒帯やスライダー等を画面いっぱいに広げたいテンプレートには不向き。
 * functions.php の sakurao_use_layout_driven() を呼んだテンプレートでは
 * body に is-layout-driven が付与され、外側ラッパーの幅制約・パディング・
 * 上マージンを解放する。内側の文字列など可読幅を保ちたい部分は、
 * テンプレート側で .l-content-inner 等の制限コンテナを使う。
 * 詳細：_documents/coding.md「レイアウト主導モード」セクション参照。 */
body.is-layout-driven #content {
  margin-top: 0;
}
body.is-layout-driven #content-in {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}
body.is-layout-driven #main {
  padding-left: 0;
  padding-right: 0;
  padding-top: 0;
  border: 0;
  background-color: transparent;
}

/* 黒本文 × 黒フッターのページの最下部を密着させる。
 * Cocoon 既定の #main 下パディング（36px）と #footer 上マージン（20px）に
 * body 地色（#f2f0e5）が透けてベージュの帯が出るため、余白を詰めたうえで
 * 残余を黒（フッターと同色 #15120f）で繋ぎ、本文〜フッターを地続きの黒にする。
 * 付与は各テンプレートが冒頭で sakurao_use_flush_dark_footer() を宣言する方式
 * （functions.php・is-flush-dark-footer）。対象は本文末尾が黒で終わるページのみ。 */
body.is-flush-dark-footer {
  background-color: #15120f;
}
body.is-flush-dark-footer #main {
  padding-bottom: 0;
}
body.is-flush-dark-footer #footer {
  margin-top: 0;
  background-color: transparent;
}

/* 蒸留所移行ページの基準フォントサイズ復元。
 * 旧 sakuraodistillery.com の body フォントサイズは _legacy-layout.scss で
 * bare な `body` / `html, body` セレクタで指定されているため、Cocoon の
 * body クラス（`.fz-18px` 等）に詳細度で負けて上書きされる。
 * `body.is-distillery-page`（functions.php で付与）で詳細度を上げて旧基準を復元する。
 * 値は _legacy-layout.scss の body 指定と必ず一致させること（PC 14px / 〜811px 20px / 〜479px 3.9vw）。
 * Cocoon の html 指定は legacy の `html, body` より詳細度が高く、SP の rem 基準が
 * ずれるため、`:has()` で対象ページの html 側も旧サイトの基準へ戻す。 */
html:has(body.is-distillery-page) {
  font-size: 62.5%;
}

body.is-distillery-page {
  font-size: 14px;
}

@media screen and (max-width: 811px) {
  html:has(body.is-distillery-page) {
    font-size: 20px;
  }
  body.is-distillery-page {
    font-size: 20px;
  }
}
@media screen and (max-width: 479px) {
  html:has(body.is-distillery-page) {
    font-size: 3.9vw;
  }
  body.is-distillery-page {
    font-size: 3.9vw;
  }
}
