@charset "UTF-8";
/* ==========================================================================
   madras-seo.css
   大阪マドラスカレー 公式サイト — SEO改修で追加・変更した部分（2026-11-24 作成）
   設置: <head> 内、style.css → madras-cta.css の「後ろ」に読み込むこと（上書きの都合上）

   ※ style.css は html の font-size を画面幅で変えている（PC 1rem=10px、スマホ 1rem=約7px）。
      新しく足した部分は大きさが読みにくくならないよう、font-size を px で指定している。
   ブランド配色: 背景 #FDD901 / 文字 #5F4532 / 赤 #DA461D
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. 画像の縦横比
   読み込み中のガタつき（CLS）を防ぐため、img に width/height 属性を付けた。
   style.css は幅だけを CSS で決めているので、高さを auto にしないと属性の高さのまま縦に伸びる。
   -------------------------------------------------------------------------- */
img {
  height: auto;
}

/* --------------------------------------------------------------------------
   1. オープニング
   旧版: 全画面の黄色い幕（.loading）でGIFを流し、画像の読み込み完了＋2秒後に
         ヘッダー・背景・ロゴを gsap でフェードインしていた（LCP 21.9秒の主因）。
   新版: 幕をやめ、ヘッダー・背景・ロゴの場所は最初から表示する。
         ロゴの場所では opening.webp（背景透過のアニメーション）を1回再生し、
         site.js が is-done を付けたら静止画のロゴに切り替える。
   -------------------------------------------------------------------------- */
.l_header,
.l_content .mv .mv_inner .mv_parts,
.l_content .mv .mv_inner #logo,
.l_content .mv .mv_inner .scroll_parts,
.l_footer .float_bnr {
  opacity: 1;
}

/* 旧版はオープニング中にスクロールを止めていた。新版は止めない */
.js-opening {
  overflow: visible;
}

.mv_logo picture {
  display: block;
  width: 100%;
}

.mv_logo_anim {
  display: none;
}

.js .mv_logo_anim {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  transition: opacity .4s ease;
}

.js .mv_logo picture {
  opacity: 0;
  transition: opacity .4s ease;
}

.js .mv_logo.is-done picture {
  opacity: 1;
}

.js .mv_logo.is-done .mv_logo_anim {
  opacity: 0;
}

/* 動きを減らす設定の端末では、アニメーションを出さずに静止画のロゴを出す */
@media (prefers-reduced-motion: reduce) {
  .js .mv_logo_anim { display: none; }
  .js .mv_logo picture { opacity: 1; }
}

/* --------------------------------------------------------------------------
   2. ヘッダーのメニュー（4項目 → 5項目。English を追加）
   -------------------------------------------------------------------------- */
@media screen and (min-width: 769px) {
  .l_header ul li {
    width: 20%;
  }
  .l_header ul li a {
    font-size: 14px;
    letter-spacing: 1px;
    white-space: nowrap;
  }
}

/* タブレット横向き・小さめのPC（769〜1199px）: ヘッダーの幅が画面の50%だと、
   5項目では「ONLINE STORE」と「English」の文字が重なる。幅を広げ、文字を小さくする */
@media screen and (min-width: 769px) and (max-width: 1199px) {
  .l_header {
    width: 74%;
  }
  .l_header ul li a {
    font-size: 12px;
    letter-spacing: .5px;
  }
}

/* --------------------------------------------------------------------------
   3. 見出しの日本語の副題（例: SHOP INFO の下の「店舗情報・アクセス」）
   英字の見出しだけでは何の章か伝わらないため、日本語を添えた。
   -------------------------------------------------------------------------- */
.ttl_ja {
  display: block;
  margin-top: 14px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .12em;
  color: #5F4532;
  line-height: 1.5;
}

@media screen and (max-width: 768px) {
  .ttl_ja {
    margin-top: 10px;
    font-size: 14px;
  }
}

/* --------------------------------------------------------------------------
   4. お店の紹介文（CTA の冒頭）と CTA の補足
   -------------------------------------------------------------------------- */
.intro {
  max-width: 720px;
  margin: 0 auto 36px;
  color: #5F4532;
}

.intro__lead {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .06em;
  margin-bottom: 10px;
}

.intro__info {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: .04em;
}

.cta__note {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.7;
  color: #5F4532;
  letter-spacing: .02em;
}

@media screen and (max-width: 768px) {
  .intro {
    margin-bottom: 28px;
  }
  .intro__lead {
    font-size: 18px;
  }
  .intro__info {
    font-size: 14px;
  }
  .intro__sep {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   5. NEWS の中のリンク（赤地に白文字）
   -------------------------------------------------------------------------- */
.news__link,
.news__link:active {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --------------------------------------------------------------------------
   6. OWNER（オーナー紹介）
   -------------------------------------------------------------------------- */
.l_content .content_item.owner {
  padding: 6% 16px 12%;
  position: relative;
  z-index: 1;
}

.owner__inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 44px 48px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 6px 18px rgba(95, 69, 50, .18);
  display: flex;
  gap: 40px;
  align-items: flex-start;
  text-align: left;
  color: #5F4532;
}

.owner__photo {
  flex: 0 0 36%;
}

.owner__photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.owner__text {
  flex: 1;
  font-size: 16px;
  line-height: 2;
  letter-spacing: .04em;
}

.owner__text p {
  margin-bottom: 16px;
}

.owner__text strong {
  font-weight: 700;
  color: #DA461D;
}

.owner__subttl {
  margin: 28px 0 10px;
  font-size: 15px;
  font-weight: 700;
  color: #DA461D;
  letter-spacing: .08em;
}

.owner__media li {
  position: relative;
  padding-left: 1.2em;
  font-size: 14px;
  line-height: 1.9;
}

.owner__media li::before {
  content: "";
  position: absolute;
  left: .2em;
  top: .85em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #DA461D;
}

@media screen and (max-width: 768px) {
  .l_content .content_item.owner {
    padding: 4% 16px 16%;
  }
  .owner__inner {
    flex-direction: column;
    gap: 20px;
    padding: 28px 22px;
    border-radius: 18px;
  }
  .owner__photo {
    flex: none;
    width: 70%;
    margin: 0 auto;
  }
  .owner__text {
    font-size: 15px;
    line-height: 1.9;
  }
  .owner__media li {
    font-size: 13px;
  }
}

/* --------------------------------------------------------------------------
   7. MENU（価格確定後に公開。いまは index.html でコメントアウト中）
   -------------------------------------------------------------------------- */
.l_content .content_item.menu {
  padding: 0 16px 12%;
}

.menu__inner {
  max-width: 560px;
  margin: 0 auto;
  padding: 36px 40px;
  background: #fff;
  border-radius: 24px;
  color: #5F4532;
}

.menu__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 17px;
}

.menu__table caption {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.menu__table th,
.menu__table td {
  padding: 12px 4px;
  border-bottom: 2px dotted rgba(95, 69, 50, .3);
}

.menu__table th {
  text-align: left;
  font-weight: 700;
}

.menu__table td {
  text-align: right;
}

.menu__note {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.8;
  text-align: left;
}

/* --------------------------------------------------------------------------
   8. SHOP INFO（3店舗並びの枠 → 1店舗の詳しい表に変更）
   -------------------------------------------------------------------------- */
.l_content .content_item.shopinfo .shopinfo_inner .shopinfo_item {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  flex-direction: row;
  align-items: flex-start;
  gap: 40px;
}

.l_content .content_item.shopinfo .shopinfo_inner .shopinfo_item .img {
  flex: 0 0 38%;
  margin-bottom: 0;
}

.l_content .content_item.shopinfo .shopinfo_inner .shopinfo_item .img img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.shopinfo_item .img picture {
  display: block;
  width: 100%;
}

.shopinfo_detail {
  flex: 1;
  text-align: left;
  color: #5F4532;
}

.shopinfo_name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: .06em;
}

.shopinfo_table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: .03em;
  margin-bottom: 28px;
}

.shopinfo_table th,
.shopinfo_table td {
  padding: 10px 4px;
  border-bottom: 2px dotted rgba(95, 69, 50, .3);
  vertical-align: top;
  text-align: left;
}

.shopinfo_table th {
  width: 6.5em;
  font-weight: 700;
  white-space: nowrap;
}

.shopinfo_table a {
  color: #DA461D;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.shopinfo_detail .btn {
  margin: 0;
}

@media screen and (max-width: 768px) {
  .l_content .content_item.shopinfo .shopinfo_inner .shopinfo_item {
    width: 100%;
    flex-direction: column;
    gap: 24px;
    margin: 0 auto 7.5rem;
  }
  .l_content .content_item.shopinfo .shopinfo_inner .shopinfo_item .img {
    flex: none;
    width: 80%;
    margin: 0 auto;
  }
  .shopinfo_detail {
    width: 100%;
    padding: 0 4px;
  }
  .shopinfo_name {
    font-size: 18px;
    text-align: center;
  }
  .shopinfo_table {
    font-size: 14px;
  }
  .shopinfo_table th {
    width: 5.5em;
  }
  .shopinfo_detail .btn {
    margin: 0 auto;
  }
}

/* --------------------------------------------------------------------------
   9. FAQ（よくある質問）
   details/summary を使うので、閉じていても文章は検索エンジンに読まれる。
   -------------------------------------------------------------------------- */
.l_content .content_item.faq {
  padding: 0 16px 12%;
  position: relative;
  z-index: 1;
}

.faq__list {
  max-width: 860px;
  margin: 0 auto;
  text-align: left;
}

.faq__item {
  background: #fff;
  border-radius: 14px;
  margin-bottom: 12px;
  box-shadow: 0 3px 10px rgba(95, 69, 50, .12);
  color: #5F4532;
}

.faq__item summary {
  position: relative;
  padding: 18px 52px 18px 52px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .04em;
  cursor: pointer;
  list-style: none;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

/* 頭の「Q」 */
.faq__item summary::before {
  content: "Q";
  position: absolute;
  left: 20px;
  top: 16px;
  font-family: "Suez One", serif;
  font-size: 20px;
  color: #DA461D;
}

/* 右端の「＋／－」 */
.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 700;
  color: #DA461D;
  line-height: 1;
}

.faq__item[open] summary::after {
  content: "−";
}

.faq__item p {
  padding: 0 24px 20px 52px;
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: .03em;
}

.faq__item p a {
  color: #DA461D;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media screen and (max-width: 768px) {
  .l_content .content_item.faq {
    padding: 0 16px 18%;
  }
  .faq__item summary {
    padding: 16px 44px 16px 44px;
    font-size: 15px;
  }
  .faq__item summary::before {
    left: 16px;
    top: 14px;
  }
  .faq__item summary::after {
    right: 16px;
  }
  .faq__item p {
    padding: 0 18px 18px 44px;
    font-size: 14px;
  }
}

/* --------------------------------------------------------------------------
   10. フッターのリンク（プライバシーポリシー｜English）
   -------------------------------------------------------------------------- */
.l_footer .footer_links {
  margin-top: 10px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  line-height: 1.6;
}

.l_footer .footer_links a {
  color: #fff;
  text-decoration: underline;
  opacity: .85;
}

.l_footer .footer_links span {
  margin: 0 8px;
  opacity: .6;
}

/* --------------------------------------------------------------------------
   11. スマホの固定バー（.fixbar）とフッターの重なり
   madras-cta.css は body に padding-bottom を付けているが、style.css が body を height:100% にしているため、
   その余白はページの末尾に効かない。フッターの「プライバシーポリシー」「English」が固定バーの下に隠れるので、
   フッター自体に固定バーの高さ分の余白を足す。
   -------------------------------------------------------------------------- */
@media screen and (max-width: 768px) {
  .l_footer {
    padding-bottom: calc(2.5rem + 60px + env(safe-area-inset-bottom, 0px));
  }
}
