@charset "UTF-8";
/* =========================================
   御菓子処 雪待堂（ポートフォリオ用架空サイト）
   参考: 構成・動きの手法のみ / 中身は全てオリジナル
========================================= */

/* ---------- 共通 ---------- */
* { box-sizing: border-box; }
body {
  font-family: "Zen Old Mincho", serif;
  color: #000;
  background: #eee;
  font-weight: 500;
  margin: 0;
  overflow-x: hidden;
}
ul, li { list-style: none; padding: 0; margin: 0; }
a, a:visited { color: #000; transition-duration: .3s; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
p { margin: 0; }
.oswald { font-family: "Oswald", sans-serif; }

.layout-base {
  padding-left: 60px;
  padding-right: 60px;
  max-width: 1480px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: content-box;
}
@media screen and (min-width: 768px) {
  .layout-base { padding-left: 120px; padding-right: 120px; }
}

.text-link a { text-decoration: underline; text-underline-offset: 4px; padding: 5px 0; }
.text-link a:hover { text-decoration: none; }

/* ---------- 四隅の固定UI ---------- */
.ui-fixed {
  position: fixed;
  z-index: 1000;
  mix-blend-mode: difference;
  color: #fff;
}
.ui-menu { left: 20px; top: 20px; }
.ui-logo { right: 20px; top: 20px; }
.ui-sns { right: 20px; bottom: 20px; }
.ui-copy {
  left: 20px; bottom: 40px;
  writing-mode: vertical-rl;
  font-size: 10px;
  letter-spacing: .15em;
  font-family: "Zen Kaku Gothic New", sans-serif;
}
@media screen and (min-width: 768px) {
  .ui-menu { left: 50px; top: 40px; }
  .ui-logo { right: 50px; top: 40px; }
  .ui-sns { right: 50px; bottom: 40px; }
  .ui-copy { left: 50px; bottom: 40px; }
}

.menu-button {
  display: block;
  background: none; border: none; cursor: pointer;
  padding: 0; margin: 0 0 30px 1px;
  width: 22px;
}
.menu-button span {
  display: block;
  width: 22px; height: 1px;
  background: #fff;
  margin: 6px 0;
  transition: transform .3s, opacity .3s;
}
.menu-button.is-open span:nth-child(1) { transform: translateY(7px) rotate(30deg); }
.menu-button.is-open span:nth-child(2) { opacity: 0; }
.menu-button.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-30deg); }

.ui-icons { display: grid; gap: 26px 0; }
.ui-icons a svg { width: 21px; height: 21px; display: block; }
.ui-sns ul { display: grid; gap: 20px 0; }
.ui-sns a svg { width: 18px; height: 18px; display: block; }

.ui-logo a { display: block; text-align: center; }
.ui-logo .mark { width: 34px; height: 34px; margin: 0 auto 14px; display: block; }
.ui-logo .tate {
  display: block;
  writing-mode: vertical-rl;
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .28em;
  margin: 0 auto;
}
.ui-logo .tate em { font-style: normal; font-size: 21px; }
@media screen and (max-width: 767px) {
  .ui-logo .mark { width: 26px; height: 26px; margin-bottom: 10px; }
  .ui-logo .tate { font-size: 13px; }
  .ui-logo .tate em { font-size: 16px; }
  .ui-icons a svg { width: 18px; height: 18px; }
  .ui-sns a svg { width: 16px; height: 16px; }
}

/* ---------- 全画面メニュー ---------- */
.overlay-menu {
  position: fixed; inset: 0;
  z-index: 950;
  background: rgba(238,238,238,.96);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s, visibility .4s;
}
.overlay-menu.is-open { opacity: 1; visibility: visible; }

.tate-menu {
  writing-mode: vertical-rl;
  font-weight: 600;
}
.overlay-menu .tate-menu { height: min(70vh, 520px); font-size: 18px; }
.overlay-menu .tate-menu li { margin-left: 28px; }
.tate-menu li a { display: inline-block; padding: 5px 0; letter-spacing: .2em; }
.tate-menu li a:hover { color: #fff; background: #000; }
.tate-menu li.sep span {
  display: block; width: 1px; height: 70px;
  background: #000; margin: 10px auto;
}

/* ---------- 縦書きページメニュー ---------- */
.page-menu { padding-top: 130px; }
.page-menu ul {
  writing-mode: vertical-rl;
  font-weight: 600;
  font-size: 15px;
  padding-left: 120px;
  height: 210px;
  display: flex;
  flex-direction: column; /* vertical-rl: 列は右→左に積まれる */
  flex-wrap: wrap;
  align-content: flex-start;
}
.page-menu li { margin-left: 34px; }
.page-menu li a { display: inline-block; padding: 5px 0; letter-spacing: .22em; }
.page-menu li a:hover { color: #fff; background: #000; }
.page-menu li.sep span { display: block; width: 1px; height: 60px; background: #000; margin: 8px auto 0; }
@media screen and (max-width: 767px) {
  .page-menu { display: none; }
}

/* ---------- ヒーロー ---------- */
.fv { position: relative; }
.fv-news { padding: 46px 60px 0; }
.fv-news a { display: flex; align-items: center; gap: 0 22px; font-size: 14px; }
.fv-news .dot { width: 7px; height: 7px; border-radius: 50%; background: #000; flex: none; }
.fv-news .date { font-family: "Oswald", sans-serif; font-weight: 300; font-size: 13px; letter-spacing: .05em; }
.fv-news a:hover .tl { text-decoration: underline; text-underline-offset: 4px; }
@media screen and (min-width: 768px) {
  .fv-news { padding: 60px 120px 0; }
}

.fv-stage {
  position: relative;
  height: 72vh;
  min-height: 420px;
  overflow: hidden;
}
.fade-slider img {
  position: absolute;
  left: -4%;
  bottom: -52%;
  width: min(76vw, 1150px);
  max-width: none;
  height: auto;
  opacity: 0;
  transition: opacity 4s ease-in-out, transform 8s ease-in-out;
  transform: scale(1);
  z-index: 0;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,.18));
}
.fade-slider img.active {
  opacity: 1;
  z-index: 1;
  transform: scale(1.04);
}
@media screen and (max-width: 767px) {
  .fv-stage { height: 64vh; min-height: 340px; }
  .fade-slider img {
    left: -28%;
    bottom: -30%;
    width: 150vw;
  }
}

/* ---------- 贈りもの ---------- */
.front-gift { margin-top: 50px; }
.front-gift .image { width: 85%; max-width: 1100px; }
.front-gift .image img { width: 100%; }
.front-gift-in { margin-top: 26px; }
.front-gift-in .tl { font-size: 24px; font-weight: 600; margin-bottom: 18px; }
.front-gift-in p.tx { font-size: 15px; line-height: 2.1; }
.front-gift-in p.link { margin-top: 14px; font-size: 16px; }
@media screen and (min-width: 768px) {
  .front-gift { margin-top: 80px; }
  .front-gift-in { margin-top: 40px; }
  .front-gift-in .tl { font-size: 30px; }
  .front-gift-in p.tx { font-size: 16px; }
  .front-gift-in p.link { font-size: 18px; }
}

/* ---------- セクション共通 ---------- */
.front-section { margin-top: 120px; }
.front-tl {
  writing-mode: vertical-rl;
  font-weight: 600;
  margin: 0 auto 40px;
  font-size: 24px;
  letter-spacing: .2em;
  line-height: 2;
}
@media screen and (min-width: 768px) {
  .front-section { margin-top: 240px; }
  .front-tl { font-size: 32px; margin-bottom: 60px; }
}

/* ---------- おすすめスライダー ---------- */
#front-recommend { overflow: hidden; }
#front-recommend .swiper-slide a {
  display: block;
  position: relative;
  padding-top: 20px;
}
#front-recommend .swiper-slide .img img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.item_name {
  position: absolute;
  top: 0;
  right: 40px;
  writing-mode: vertical-rl;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: .15em;
  z-index: 2;
}
.item_price {
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  margin: 20px 0 0;
  font-size: 18px;
  letter-spacing: .04em;
}
.item_price span {
  font-family: "Zen Old Mincho", serif;
  font-size: 11px;
  font-weight: 500;
  margin-left: 6px;
}
.swiper-control {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0 20px;
  margin-top: 40px;
}
#front-recommend .swiper-control .swiper-pagination,
#front-recommend .swiper-control .swiper-button-next,
#front-recommend .swiper-control .swiper-button-prev {
  margin-top: 0;
  position: relative;
  top: 0; left: 0; bottom: 0; right: 0;
  width: auto; height: auto;
}
#front-recommend .swiper-control .swiper-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0 5px;
}
#front-recommend .swiper-pagination .swiper-pagination-bullet {
  margin: 0;
  width: 2px;
  height: 6px;
  border-radius: 0;
  opacity: 1;
  transition-duration: .3s;
  background: #333;
}
#front-recommend .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
  height: 16px;
  background: #000;
}
#front-recommend .swiper-button-next,
#front-recommend .swiper-button-prev {
  width: 20px; height: 20px;
  cursor: pointer;
}
#front-recommend .swiper-button-next::after,
#front-recommend .swiper-button-prev::after { content: none; }
#front-recommend .swiper-button-prev {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23000' stroke-width='1.2'%3E%3Cpath d='M13 3L6 10l7 7'/%3E%3C/svg%3E") center / contain no-repeat;
}
#front-recommend .swiper-button-next {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23000' stroke-width='1.2'%3E%3Cpath d='M7 3l7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media screen and (min-width: 768px) {
  #front-recommend { margin-left: 8%; }
  #front-recommend .swiper-slide { padding-left: 20px; }
  #front-recommend .swiper-slide a { padding-top: 30px; max-width: 342px; margin-left: auto; }
  .swiper-control { margin-top: 60px; }
  #front-recommend .swiper-control { margin-right: calc(8vw + 20px); }
}
@media screen and (max-width: 767px) {
  #front-recommend { margin-left: 14%; }
  #front-recommend .swiper-slide { padding-left: 20px; width: 270px; max-width: 270px; }
  #front-recommend .swiper-control { width: 270px; padding-left: 20px; }
  .item_name { right: 28px; font-size: 18px; }
}

/* ---------- 定番の品：重なりピン留め ---------- */
.fix-area .box {
  position: relative;
  overflow: hidden;
  height: 100vh;
  width: 100vw;
}
.fix-area .pinSection {
  height: 100%;
  width: 100%;
}
.fix-area .pinSection-in,
.fix-area .image {
  top: -50%;
  left: 50%;
  transform: translate(-50%, -50%);
  position: absolute;
  height: 100%;
  width: 100%;
}
.fix-area .image img {
  height: 100vh;
  width: 100vw;
  object-fit: cover;
  max-width: none;
}
.fix-area .pin-spacer {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}
.fix-area .event1 .pinSection-in,
.fix-area .event1 .image {
  top: 50%;
}
/* 可読性: 暗い/中間色の背景のパネルは白文字＋ほのかな影で浮かせる */
.fix-area .event1,
.fix-area .event3,
.fix-area .event4,
.fix-area .event5 { color: #fff; }
.fix-area .event1 a,
.fix-area .event3 a,
.fix-area .event4 a,
.fix-area .event5 a { color: #fff; }
.fix-area .event1 .front-genre,
.fix-area .event3 .front-genre,
.fix-area .event4 .front-genre {
  text-shadow: 0 1px 22px rgba(0, 0, 0, .55), 0 0 6px rgba(0, 0, 0, .3);
}
/* 明るくにぎやかな背景は黒文字のまま、うっすら白いハロで読ませる */
.fix-area .event7 .front-genre {
  text-shadow: 0 0 14px rgba(255, 255, 255, .9), 0 0 36px rgba(255, 255, 255, .6);
}
@media screen and (min-width: 768px) {
  .fix-area { margin-top: 120px; }
}

/* 縦書き商品テキスト */
.front-genre { writing-mode: vertical-rl; position: absolute; z-index: 5; }
.front-genre p { margin: 0; }
.front-genre p.tl,
.front-genre p.link { font-weight: 600; }
.front-genre p.tl { font-size: 26px; letter-spacing: .2em; }
.front-genre p.tx {
  font-weight: 400;
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: .1em;
  margin: 0 40px;
}
.front-genre p.link { font-size: 16px; text-align: end; }
.front-genre p.link a { padding: 5px 0; }
.front-genre.front-genre-top {
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.front-genre.front-genre-bottom {
  bottom: 30%;
  left: 50%;
  transform: translate(-50%, 50%);
}
@media screen and (min-width: 768px) {
  .front-genre p.tl { font-size: 32px; }
  .front-genre p.tx { font-size: 16px; }
  .front-genre p.link { font-size: 18px; }
  .event1 .front-genre { bottom: 50%; left: 78%; }
  .event2 .front-genre { bottom: 40%; left: 20%; }
  .event3 .front-genre { top: 30%; left: 20%; }
  .event4 .front-genre { bottom: 70%; left: 20%; }
  .event5 .front-genre { top: 30%; left: 75%; }
  .event6 .front-genre { bottom: 30%; left: 25%; }
  .event7 .front-genre { top: 70%; left: 75%; }
}
@media screen and (max-width: 767px) {
  .front-genre p.tx { margin: 0 24px; }
}

/* ---------- カテゴリ ---------- */
.front-category .front-tl { line-height: 2.4; }
.front-category-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px 20px;
}
.front-category-item .image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.front-category-item p {
  margin-top: 14px;
  text-align: center;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .2em;
}
.front-category-item a:hover img { opacity: .85; }
.front-category-item a img { transition: opacity .3s; }
@media screen and (min-width: 768px) {
  .front-category-list { grid-template-columns: repeat(4, 1fr); gap: 40px; }
  .front-category-item p { font-size: 16px; }
}

/* ---------- お知らせ ---------- */
.front-topics-list { max-width: 860px; margin: 0 auto; }
.front-topics-list li { border-bottom: 1px dotted #999; }
.front-topics-list li:first-child { border-top: 1px dotted #999; }
.front-topics-list li a {
  display: flex;
  align-items: center;
  gap: 0 30px;
  padding: 24px 10px;
  font-size: 15px;
}
.front-topics-list li a:hover { background: #e7e7e7; }
.front-topics-list .date {
  font-family: "Oswald", sans-serif;
  font-weight: 300;
  font-size: 13px;
  letter-spacing: .06em;
  flex: none;
}
.front-topics .more { text-align: center; margin-top: 30px; font-size: 16px; }
@media screen and (max-width: 767px) {
  .front-topics-list li a { flex-direction: column; align-items: flex-start; gap: 6px 0; }
}

/* ---------- 店舗 ---------- */
.front-store {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
}
.front-store-item .image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.front-store-item .tx-wrap { margin-top: 22px; }
.front-store-item .tl { font-size: 21px; font-weight: 600; margin: 0 0 12px; letter-spacing: .1em; }
.front-store-item .tx { font-size: 15px; line-height: 2; }
.front-store-item .link { margin-top: 10px; font-size: 16px; }
@media screen and (min-width: 768px) {
  .front-store { grid-template-columns: repeat(2, 1fr); gap: 80px; }
  .front-store-item .tl { font-size: 23px; }
}

/* ---------- タグ ---------- */
.front-tags {
  border-top: 1px dotted #999;
  border-bottom: 1px dotted #999;
  padding-top: 34px;
  padding-bottom: 34px;
}
.front-tags .label { font-size: 13px; margin-bottom: 14px; letter-spacing: .15em; }
.front-tags ul { display: flex; flex-wrap: wrap; gap: 12px 26px; }
.front-tags li a {
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.front-tags li a::before { content: "#"; margin-right: 2px; font-family: "Oswald", sans-serif; font-weight: 300; }
.front-tags li a:hover { text-decoration: none; }

/* ---------- フッター ---------- */
.custom-footer {
  margin-top: 120px;
  padding: 70px 0 130px;
  border-top: 1px dotted #999;
}
@media screen and (min-width: 768px) {
  .custom-footer { margin-top: 240px; }
}
.footer-logo { display: flex; align-items: center; gap: 0 18px; }
.footer-logo .mark { width: 44px; height: 44px; flex: none; }
.footer-logo p { font-size: 19px; font-weight: 600; letter-spacing: .2em; }
.footer-logo p span {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  margin-top: 6px;
}
.footer-menus {
  display: flex;
  gap: 0 70px;
  margin-top: 60px;
}
.footer-menu-group .ttl {
  font-size: 12px;
  letter-spacing: .2em;
  margin-bottom: 18px;
  font-family: "Zen Kaku Gothic New", sans-serif;
}
.footer-menu-group .tate-menu { height: 190px; font-size: 14px; }
.footer-menu-group .tate-menu li { margin-left: 22px; }
.footer-copy { margin-top: 70px; }
.footer-copy p {
  font-family: "Oswald", sans-serif;
  font-weight: 300;
  font-size: 12px;
  letter-spacing: .1em;
}
.footer-copy .note {
  font-family: "Zen Old Mincho", serif;
  font-size: 11px;
  color: #666;
  margin-top: 12px;
  line-height: 1.9;
  letter-spacing: .05em;
}
@media screen and (max-width: 767px) {
  .footer-menus { flex-direction: row; gap: 0 40px; }
  .footer-menu-group .tate-menu { height: 170px; }
}
