@charset "utf-8";

/*--------------------------------------------------------------*/
/* 下記はreset.cssに記載済み

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

1rem = 10pxとなります。
6px→1.6rem、
24px→2.4rem、
48px→4.8rem
のように記述できます。

/*--------------------------------------------------------------*/
:root {
  --color-primary: #333;
  --main-color: #e60012;
  --color-wht: #fff;
  --color-black: #000;
  --color-contrast: #ffd400;
  --color-hi-contrast: #fff33f;
  --color-bg-light: #f9f9f9;
  --color-bg: #f5f5f5;
}
/* ------------------------------------------------------------ */
/* 基本指定 */
/* ------------------------------------------------------------ */
html {
  overflow-x: hidden;
}

/* ナビ表示のときはスクロールしないように 
ただし、ページ内でposition:stickyをつかうときは注意 */
html.is-locked {
  overflow-y: hidden;
}

body {
  font-size: 1.6rem;
  line-height: 1.5;
  font-weight: 400;
  font-style: normal;
  font-family:
    "Noto Sans JP", "M PLUS 1p", YuGothic, "Yu Gothic Medium", "Yu Gothic", "Helvetica Neue", HelveticaNeue, Meiryo,
    sans-serif !important;
  overflow-wrap: break-word;
  text-size-adjust: 100%;
  font-feature-settings: "palt";
  letter-spacing: 0.02em;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#header {
  /*表示区連れのため明示的に記述*/
  background-color: #fff;
}

.container {
  /*表示区連れのため明示的に記述*/
  width: 100%;
  background: #fff;
}

@media screen and (min-width: 900px) {
  div#breadcrumb_container {
    /*表示区連れのため明示的に記述*/
    width: 100%;
  }
}

.pc {
  display: none;
}

.tab_pc {
  display: none;
}

@media (min-width: 768px) {
  /*電話番号リンクをスマホのみ有効にする*/
  a[href^="tel:"] {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
  }
}

/* ------------------------------------------------------------ */
/* font */
.noto {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

/* ------------------------------------------------------------ */
/* common layouts */
.wrapper {
  width: 100%;
  height: auto;
  overflow: hidden;
}

.content_inner,
.content_inner_s,
.content_inner_ss,
.content_inner_l {
  width: 100%;
  max-width: 100%;
  height: auto;
  padding: 0 1.6rem;
  margin: 0 auto;
  clear: both;
}

/* 標準（一般的なセクション） */
.content_inner {
  @media screen and (min-width: 1024px) {
    max-width: 1000px;
  }
}

/* 狭め（標準的な狭めサイズ） */
.content_inner_s {
  @media screen and (min-width: 768px) {
    max-width: 800px;
  }
}

/* 一番狭い（文章量が少ない時・中央に寄せたい時） */
.content_inner_ss {
  @media screen and (min-width: 590px) {
    max-width: 600px;
  }
}

/* 広め（なるべく幅を使いたいセクション） */
.content_inner_l {
  @media screen and (min-width: 1280px) {
    max-width: 1200px;
  }
}

.inner {
  width: 100%;
  max-width: 100%;
  height: auto;
  /*padding: 0 1em;*/
  margin: 0 auto;
  clear: both;

  @media screen and (min-width: 1024px) {
    max-width: 1000px;
  }
}
.inner::after {
  content: "";
  clear: both;
  display: block;
}

.content {
  position: relative;
  width: 100%;
  height: auto;
  padding: 0;
  margin: 0 auto;
}
.base {
  position: relative;
  width: 100%;
  height: auto;
  padding: 4.8rem 0;
  margin: 0 auto;

  @media screen and (min-width: 768px) {
    padding: 8rem 0;
  }
}

.center {
  text-align: center;
}

.flx_box {
  display: block;

  @media screen and (min-width: 768px) {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }

  .flx_item {
    &:first-child {
      margin: 0 0 2em 0;
    }

    @media screen and (min-width: 768px) {
      width: calc(100% / 2 - 1em);
    }
  }
}

.pc_block {
  display: none;

  @media screen and (min-width: 1024px) {
    display: block;
  }
}

.sp_block {
  display: block;

  @media screen and (min-width: 1024px) {
    display: none;
  }
}

/* ---------------------- */
/* img */
.img img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------------------- */
/* link */
.wrapper a {
  transition:
    opacity 0.3s ease,
    color 0.3s ease;

  &:link {
    color: var(--main-color);
    text-decoration: underline;
  }

  &:visited {
    color: #a3000d;
  }

  &:hover {
    color: var(--main-color);
    text-decoration: none;
    opacity: 0.7;
  }

  &:active {
    color: var(--color-primary);
  }
}

/* ------------------------------------------------------------ */
/* ここから オリジナル */

/* ---------------------- */
/* ttl / font */
.main_ttl {
  position: relative;

  text-align: center;
  margin: 1em 0;
}

.box_ttl {
  font-size: 2.2rem;
  font-weight: 700;
  text-align: left;
}

.txt_l {
  font-size: 2rem;
  font-weight: 700;
}

.txt_r {
  font-size: 1.8rem;
}

.txt_m {
  font-size: 1.6rem;
}

.txt span {
  text-align: left;
}

.notice {
  color: var(--main-color);
  font-weight: 700;
}

.asterisk {
  font-size: 1.2rem;
  color: var(--main-color);
}

/* ---------------------- */
/* swiper */

.food-slider {
  visibility: hidden; /*初動画像のガタつき防止 */
  position: relative;
  padding: 0 0 3em;
}

.food-slider.swiper-initialized {
  visibility: visible; /*初動画像のガタつき防止 */
}

.swiper-pagination-bullet.swiper-pagination-bullet-active {
  background: #e60012;
}
.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: #b4b3b3;
  opacity: 1;
}

.swiper-horizontal > .swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
  bottom: 0;
}
/* ---------------------- */
/* btn */
.btn_wrap {
  display: block;
  padding: 1em 0 !important;
  a {
    position: relative;
    display: inline-block;
    font-size: 1.8rem;
    font-weight: 900;
    background: var(--main-color);
    color: var(--color-wht);
    border-radius: 30px;
    padding: 0.5em 1em;
    box-shadow: 5px 5px 0 var(--color-primary);
    transition: all 0.3s ease;
    z-index: 10;
  }

  a:hover {
    transform: translateX(5px) translateY(5px);
    box-shadow: inherit;
    text-decoration: none;
  }

  a:focus,
  a:active {
    outline: none;
    outline-offset: inherit;
    box-shadow: none;
    text-decoration: none;
  }
}

/* ---------------------- */
/* tabs */
.tabs_list {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.tabs_button {
  flex-shrink: 0;
  min-width: 180px;
  padding: 24px;
  border: none;
  background: #e5e5e5;
  cursor: pointer;
}

.tabs_button.is-active {
  background: #f5aa18;
}

.tabs_panel {
  display: none;
}

.tabs_panel.is-active {
  display: block;
}

/* ---------------------- */
/* mainvisual */
.mainvisual {
  position: relative;
  /* padding: 2.4rem 0 0; */

  @media screen and (min-width: 768px) {
    padding: 4rem 0 0;
  }

  .content_inner_s {
    padding: 0;

    @media screen and (min-width: 768px) {
      padding: 0 1.6rem;
    }
  }
}

.mainvisual_img {
  margin: 0;
}

/* 画像上のリンク：元画像(2000×6781px)のボタン座標を%に換算して配置 */
.mainvisual_box {
  position: relative;
}

.mainvisual_app {
  margin: 0;
  padding: 0;
}

.mainvisual_app_btn {
  position: absolute;
  top: calc(2027 / 6781 * 100%);
  width: calc(545 / 2000 * 100%);
  height: calc(157 / 6781 * 100%);
  border-radius: 12px;
  transition: background-color 0.3s ease;

  &:hover {
    background-color: rgba(255, 255, 255, 0.2);
  }

  &:focus-visible {
    outline: 3px solid var(--main-color);
    outline-offset: 2px;
  }

  /* App Store：x 742〜1287px */
  &.is-appstore {
    left: calc(742 / 2000 * 100%);
  }

  /* Google Play：x 1317〜1862px */
  &.is-googleplay {
    left: calc(1317 / 2000 * 100%);
  }
}

/* 読み上げ用テキスト（視覚的に非表示） */
.visually_hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------------------- */
/* coupon（大和西大寺店 OPEN記念クーポン） */
.coupon {
  color: var(--color-primary);
}

.coupon_ttl {
  position: relative;
  font-size: clamp(2rem, 1.4rem + 1.6vw, 2.8rem);
  font-weight: 900;
  line-height: 1.4;
  text-align: center;
  padding: 0 0 0.8em;
  margin: 0 0 1.2em;

  &::after {
    position: absolute;
    content: "";
    left: 50%;
    bottom: 0;
    width: 64px;
    height: 4px;
    background: var(--main-color);
    border-radius: 2px;
    transform: translateX(-50%);
  }
}

.coupon_lead {
  font-size: 1.4rem;
  line-height: 1.8;
  margin: 0 0 2.4rem;

  @media screen and (min-width: 768px) {
    font-size: 1.6rem;
    text-align: center;
  }
}

.coupon_strong {
  color: var(--main-color);
  font-weight: 700;
}

/* 表：SPはカード型、768px以上はテーブル表示 */
.coupon_table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 4rem;

  thead {
    display: none;

    @media screen and (min-width: 768px) {
      display: table-header-group;
    }
  }

  th {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-wht);
    background: var(--main-color);
    border: 1px solid var(--main-color);
    padding: 12px 8px;
    text-align: center;
  }

  tr {
    display: block;
    border: 2px solid var(--main-color);
    border-radius: 8px;
    overflow: hidden;
    margin: 0 0 16px;

    @media screen and (min-width: 768px) {
      display: table-row;
      border: none;
      border-radius: 0;
      margin: 0;
    }
  }

  td {
    display: flex;
    align-items: center;
    font-size: 1.4rem;
    font-weight: 700;
    background: var(--color-wht);
    border-bottom: 1px solid #e5e5e5;
    padding: 0;

    &:last-child {
      border-bottom: none;
    }

    /* SP用ラベル */
    &::before {
      content: attr(data-label);
      flex-shrink: 0;
      width: 11em;
      align-self: stretch;
      display: flex;
      align-items: center;
      font-size: 1.2rem;
      color: var(--main-color);
      background: #fdeced;
      padding: 10px 8px;
      margin: 0 12px 0 0;
    }

    @media screen and (min-width: 768px) {
      display: table-cell;
      font-size: 1.6rem;
      text-align: center;
      border: 1px solid #ddd;
      padding: 14px 8px;

      &:last-child {
        border-bottom: 1px solid #ddd;
      }

      &::before {
        content: none;
      }
    }
  }

  tbody tr:nth-child(even) td {
    @media screen and (min-width: 768px) {
      background: var(--color-bg-light);
    }
  }
}

/* ＼テキスト／ */
.coupon_catch {
  margin: 0 0 2.4rem;
}

.coupon_catch_txt {
  display: inline-block;
  font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.4rem);
  font-weight: 900;
  color: var(--main-color);
  margin: 0;

  span {
    position: relative;
    display: inline-block;

    &::before,
    &::after {
      position: absolute;
      content: "";
      top: 50%;
      width: 2px;
      height: 1.4em;
      background: var(--main-color);
    }

    &::before {
      left: -0.8em;
      transform: translateY(-50%) rotate(-25deg);
    }

    &::after {
      right: -0.8em;
      transform: translateY(-50%) rotate(25deg);
    }
  }
}

.coupon_notes {
  font-size: 1.2rem;
  line-height: 1.8;
  background: var(--color-bg);
  border-radius: 8px;
  padding: 16px 20px;
  margin: 0;

  @media screen and (min-width: 768px) {
    font-size: 1.4rem;
    padding: 20px 32px;
  }

}

.coupon_notes_ttl {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 0.4em;

  @media screen and (min-width: 768px) {
    font-size: 1.6rem;
  }
}

.coupon_notes_list {
  margin: 0;

  li {
    padding: 0 0 0 1em;
    text-indent: -1em;
  }
}

/* ---------------------- */
/* utility */
.sp-only {
  @media screen and (min-width: 768px) {
    display: none;
  }
}
