@charset "UTF-8";
/* ==========================================================================
   トップページ
   ========================================================================== */

/* キービジュアル
   - タイル1枚の大きさ（--kvTile）を決めると、高さ・すき間・菱形の大きさがすべてそれに合わせて変わります
   - タイルは assets/js/kv.js が並べて動かします
   - 横幅は画面の端まで。広い画面ではタイルの大きさはそのままで、並ぶ数が増えます
   -------------------------------------------------------------------------- */
.topKv {
  --kvTile: 157.58px;
}
@media (max-width: 1024px) {
  .topKv {
    --kvTile: calc(80px + 5vw);
  }
}
@media (max-width: 560px) {
  .topKv {
    --kvTile: 25.715vw;
  }
}
.kvInner {
  position: relative;
  height: calc(var(--kvTile) * 4.3636);
  overflow: hidden;
  background: var(--primaryColor);
}
.kvTiles {
  position: absolute;
  inset: 0;
}
.kvTrack {
  position: absolute;
  top: 0;
  left: 0;
  will-change: transform;
}
.kvTile {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--kvTile);
  height: var(--kvTile);
  /* マウスに合わせた動き（--kvSwayX/Y・--kvLift は kv.js が入れる）
     --kvDepth：マウスと反対へずれる幅 / --kvLiftScale：近づいたときに大きくなる量 / --kvTilt：近づいたときの傾き */
  --kvDepth: calc(var(--kvTile) * .05);
  --kvLiftScale: .06;
  --kvTilt: 0deg;
  translate: calc(var(--kvSwayX, 0) * var(--kvDepth) * -1) calc(var(--kvSwayY, 0) * var(--kvDepth) * -1);
  scale: calc(1 + var(--kvLift, 0) * var(--kvLiftScale));
  rotate: calc(var(--kvLift, 0) * var(--kvTilt) * var(--kvTiltDir, 1));
}
.kvTilePhoto {
  overflow: hidden;
  border-radius: calc(var(--kvTile) * .12128);
  box-shadow: 0 calc(var(--kvLift, 0) * 10px) calc(var(--kvLift, 0) * 24px) rgb(0 0 0 / calc(var(--kvLift, 0) * .25));
}
.kvTileItem {
  --kvDepth: calc(var(--kvTile) * .09);
  --kvLiftScale: .05;
  --kvTilt: 3deg;
}
.kvTileText {
  --kvDepth: calc(var(--kvTile) * .07);
  --kvLiftScale: .04;
}
.kvTilePhoto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.kvTileItem img {
  width: auto;
  height: auto;
  max-width: 76%;
  max-height: 96%;
}
.kvTileText img {
  width: 99.4%;
}
.kvCatch {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: calc(var(--kvTile) * 3.4103);
  transform: translate(-50%, -50%);
}
.kvCatch img {
  display: block;
  width: 100%;
}

/* 大津の福、集めました。（900px以上は縦書き）
   -------------------------------------------------------------------------- */
.topAbout {
  padding-top: 83.9px;
}
.aboutLogo {
  line-height: 1;
  text-align: center;
}
.aboutLogo img {
  width: 352.37px;
}
.aboutBody {
  font-family: var(--fontSerif);
  font-weight: 500;
  letter-spacing: .06em;
}
.aboutTitle {
  font-weight: 500;
}
@media (min-width: 900px) {
  .aboutBody {
    width: max-content;
    height: max-content;
    margin: 51.2px auto 0;
    writing-mode: vertical-rl;
  }
  .aboutTitle {
    margin-block-end: 44.75px;
    font-size: 24px;
    line-height: 36px;
  }
  .aboutText {
    font-size: 16px;
    line-height: 29px;
  }
  .aboutText p + p {
    margin-block-start: 29px;
  }
}
.topAbout .btnWrap {
  margin-top: 82px;
}
@media (max-width: 899px) {
  .topAbout {
    padding-top: 69.6px;
  }
  .aboutLogo img {
    width: 240px;
  }
  .aboutBody {
    margin-top: 54.9px;
    text-align: center;
  }
  .aboutTitle {
    font-size: 22px;
    line-height: 33px;
  }
  .aboutText {
    margin-top: 38px;
    font-size: 16px;
    line-height: 28px;
  }
  .aboutText p + p {
    margin-top: 28px;
  }
  .topAbout .btnWrap {
    margin-top: 55.4px;
  }
}

/* 認定商品一覧
   -------------------------------------------------------------------------- */
.topItems {
  padding: 224.6px 0 130.9px;
}
.itemsTitle {
  font-family: var(--fontSerif);
  font-size: 26px;
  font-weight: 500;
  line-height: 39px;
  letter-spacing: .025em;
}
.topItems .itemFilter {
  margin-top: 33.7px;
}
.topItems .itemList,
.topItems .itemListEmpty {
  margin-top: 38.4px;
}
@media (max-width: 560px) {
  .topItems {
    padding: 98.2px 0 108.7px;
  }
  .itemsTitle {
    font-size: 20px;
    line-height: 35px;
  }
  .topItems .itemFilter {
    margin-top: 19.7px;
  }
  .topItems .itemList,
  .topItems .itemListEmpty {
    margin-top: 34px;
  }
}

/* お知らせ
   -------------------------------------------------------------------------- */
.topNews {
  padding: 155.8px 0 133.4px;
  background: var(--bgColor);
}
.topNews .inner {
  display: flex;
  justify-content: space-between;
}
.topNewsBody {
  width: 543.25px;
  padding-top: 3.7px;
}
.topNews .btnWrap {
  margin-top: 71.6px;
  text-align: right;
}
/* 公開中のお知らせが無いとき（お知らせ一覧の .newsEmpty と同じ文字） */
.topNews .newsEmpty {
  font-size: 15px;
  line-height: 32.2px;
}
@media (max-width: 1024px) {
  .topNews {
    padding: 64px 0 80.3px;
  }
  .topNews .inner {
    display: block;
  }
  .topNewsBody {
    width: auto;
    margin-top: 58.4px;
    padding-top: 0;
  }
  .topNews .btnWrap {
    margin-top: 59.7px;
    text-align: center;
  }
}

/* 公式アンバサダー（インスタ投稿が左へ流れ続ける）
   -------------------------------------------------------------------------- */
.topAmbassador {
  padding: 151.6px 0 141.5px;
}
.topAmbassador .instaSlider + .inner .secHead { /* 帯が無いとき（インスタがつながっていないとき）は詰める */
  margin-top: 82px;
}
.topAmbassador .secText {
  text-align: center;
}
.topAmbassador .btnWrap {
  margin-top: 63px;
}
@media (max-width: 560px) {
  .topAmbassador {
    padding: 97.3px 0 101.1px;
  }
  .topAmbassador .secLabel {
    font-size: 18px;
    line-height: 27px;
  }
  .topAmbassador .secTitle {
    margin-top: 8px;
    font-size: min(26px, 6.6vw);
    line-height: 39px;
    letter-spacing: -.02em;
  }
  .topAmbassador .btnWrap {
    margin-top: 48.5px;
  }
}

/* 認定商品MAP・販売所
   -------------------------------------------------------------------------- */
.topShop {
  padding: 146.4px 0 156.9px;
  background: var(--bgColor);
}
.topShop .inner {
  display: grid;
  grid-template-columns: 1fr 538.2px;
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "text imgs"
    "btn  imgs";
}
.topShopText {
  grid-area: text;
  padding-top: 47px;
}
.topShop .btnWrap {
  grid-area: btn;
  margin-top: 75.3px;
  text-align: left;
}
/* 写真2枚の重なり（PC・スマホとも同じ比率） */
.topShopImgs {
  position: relative;
  grid-area: imgs;
  aspect-ratio: 538.2 / 477.2;
}
.topShopImgs img {
  position: absolute;
  object-fit: cover;
}
.topShopImg01 {
  top: 0;
  right: 0;
  width: 80.69%;
  aspect-ratio: 434.3 / 301.31;
}
.topShopImg02 {
  top: 56.69%;
  left: 0;
  width: 51.11%;
  aspect-ratio: 275.1 / 206.73;
}
@media (max-width: 1024px) {
  .topShop {
    padding: 63.9px 0 80.4px;
  }
  .topShop .inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "text"
      "imgs"
      "btn";
  }
  .topShopText {
    padding-top: 0;
  }
  .topShop .secText {
    margin-top: 20.7px;
  }
  .topShopImgs {
    width: min(100%, 538.2px);
    margin: 42.4px auto 0;
  }
  .topShop .btnWrap {
    margin-top: 61.4px;
    text-align: center;
  }
}

/* 認定商品募集（背景の絵は縦横比そのままで端から端まで。幅1400px未満は1400pxのまま中央）
   -------------------------------------------------------------------------- */
.topRecruit {
  padding: 172.8px 0 180.3px;
  /* 【停止中】背景の絵（別の絵が決まるまで出さない。template-parts/top/recruit.php のコメント）
  background: var(--recruitBg) center top / max(100%, 1400px) auto no-repeat; */
}
.topRecruit .secText {
  text-align: center;
}
.topRecruit .btnWrap {
  margin-top: 63px;
}
@media (max-width: 560px) {
  .topRecruit {
    padding: 137.4px 0 103.3px;
  }
  .topRecruit .secText {
    margin-top: 27.8px;
  }
  .topRecruit .btnWrap {
    margin-top: 58.6px;
  }
}
