@charset "UTF-8";
/* ============================================================
   北海寿し（Iima00146 / template105）custom override
   テンプレ本体(style.css)は触らず、ここで上書き
   ============================================================ */

/* --- 全テンプレ共通：ダークモードで本文が沈む対策（105はhtmlだけに敷く） --- */
:root { color-scheme: light; }
html { background-color: #fff; }

/* --- 下層ページMV（.heading1_wrap）：CSS背景をページ用に差し替え＋暗幕 --- */
.heading1_wrap {
    background-image: url(../img/page-mv.jpg);
    background-size: cover;
    background-position: center;
    position: relative;
}
.heading1_wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    z-index: 0;
}
.heading1_wrap > * { position: relative; z-index: 1; }

/* --- TOPコースセクション背景（.top_access）：セクション内写真と別ファイルに分離 --- */
.top_access { background-image: url(../img/top-course-bg.jpg); }
@media screen and (max-width: 767px) {
    .top_access { background: url(../img/top-course-bg.jpg) no-repeat center; background-size: cover; }
}

/* --- TOPループスライダー：各画像を中央基準でトリミング（見切れ防止） --- */
#loopslider ul li img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* --- TOP Instagram：PCで下余白0のため、直後のコンセプトが詰まる（お知らせ非表示に伴う調整） --- */
@media screen and (min-width: 768px) {
    .top_insta { padding-bottom: 80px; }
}

/* --- ギャラリー：長方形グリッド型なので比率を3:2で統一（歪めない） --- */
.gallery_content_sec_item img {
    aspect-ratio: 3 / 2;
    height: auto;
    object-fit: cover;
    object-position: center;
}

/* --- ヘッダーロゴ：imgがinlineだと下寄りになる（105の癖）--- */
.header_inner > a { display: flex; align-items: center; }
.header-logo-sub.pc { display: block; }

/* ============================================================
   グロナビ：予約ボタン＋Instagramアイコン（最右）
   ============================================================ */
:root { --insta-icon: 30px; }

/* PC グロナビのInstagramアイコン */
.gnav_insta { display: flex; align-items: center; line-height: 1; }
.gnav_insta a { display: flex; align-items: center; line-height: 1; padding: 0 0 0 16px; }
.gnav_insta a img { width: var(--insta-icon); height: var(--insta-icon); object-fit: contain; display: block; }
.gnav_wrap { align-items: center; }

/* SPドロワーのInstagramアイコン（前の項目に詰まらないようli側にpadding） */
.gnav_insta_sp { padding-top: 12px; }
.gnav_insta_sp a img { width: 34px; height: 34px; object-fit: contain; display: inline-block; }

/* グロナビ右端と追従予約ボタン(#op_btn)の重なり回避（768〜1100px） */
@media (min-width: 768px) and (max-width: 1100px) {
    .gnav { margin-right: 96px; }
}
/* 項目が増えたぶんの横詰まり対策 */
@media (min-width: 768px) and (max-width: 900px) {
    .header-logo-sub.pc { max-width: 120px; }
    .gnav { margin-right: 64px; }
}

/* ============================================================
   フッター：予約チップ（白抜き）＋Instagramアイコン
   ============================================================ */
.footer_link_list { align-items: center; }
.footer_resv_btn {
    display: inline-block;
    padding: 6px 20px;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 3px;
    color: #fff;
    background: transparent;
}
.footer_insta a { display: inline-flex; align-items: center; }
.footer_insta a img { width: 28px; height: 28px; object-fit: contain; display: block; }

/* 追従予約ボタンのtel下線など不要装飾の打ち消し（保険） */
#op_btn a { text-decoration: none; }

/* --- フッター コピーライト：黒背景×白文字（濃色フッターに馴染ませる） --- */
.copyRight_wrap { background: #1b1b1b; }
.copyRight_wrap .copyRight { color: #fff; }

/* --- SP：MV下に出るPCヘッダーのロゴを非表示（SPは上部ハンバーガー＋ドロワーで導線確保） --- */
@media screen and (max-width: 767px) {
    .primary_header .header_inner { display: none; }
}

/* --- 背景は全ページ白で統一（bg_blurのグレー地紋を無効化） --- */
.page-plain-bg { background: #fff; }
.bg_blur {
    background-image: none;
    background-color: #fff;
}

/* Q&A: keyboard-accessible native accordion */
.shop-faq details { border-bottom: 1px solid #ccc; }
.shop-faq summary { display: flex; align-items: baseline; gap: 1rem; padding: 1.4rem 0; cursor: pointer; list-style: none; }
.shop-faq summary::-webkit-details-marker { display: none; }
.shop-faq summary::after { content: "+"; margin-left: auto; padding-left: 1rem; }
.shop-faq details[open] summary::after { content: "−"; }
.shop-faq summary:focus-visible { outline: 2px solid currentColor; outline-offset: .2rem; }
.shop-faq .qa-letter { font-size: 1.5em; flex-shrink: 0; line-height: 1.2; }
.shop-faq .qa-answer { display: flex; gap: 1rem; padding: 0 0 1.4rem; }
.shop-faq .qa-answer p { margin: 0; }
.required-mark { display: inline-block; margin-left: .75em; padding: .1em .5em; background: #a72222; color: #fff; font-size: .75em; border-radius: .2em; vertical-align: middle; }
.menu-preparing { text-align: center; padding: 3rem 1rem; }
@media screen and (min-width: 768px) { a.table_tel_link, a.table_tel_link:hover { text-decoration: none; border-bottom: 0; } }
@media screen and (max-width: 767px) { a.table_tel_link { text-decoration: underline; text-underline-offset: .15em; } }

/* ============================================================
   コースページ Safari/iPhone SP 崩れ修正
   ============================================================ */
@media screen and (max-width: 767px) {
  /* 横はみ出し防止 */
  .CMS-COURSE-MENU,
  .second-nrw-course,
  .course-list,
  .course-list__items {
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
  }

  /* コース1件ブロック：display:table → block でSafari横溢れ解消 */
  .rstdtl-course-list {
    display: block !important;
    max-width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  /* コース情報セル：block化 */
  .rstdtl-course-list__data,
  .rstdtl-course-list__option {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 価格・コースルール・注記：白紙折り返し強制 */
  .rstdtl-course-list__price-wrap,
  .rstdtl-course-list__course-rule,
  .rstdtl-course-list__reserve-notice {
    white-space: normal !important;
    word-break: break-word !important;
  }

  /* コース見出し行 */
  .rstdtl-course-list__data-header {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* コースタイトルセル */
  .rstdtl-course-list__course-title {
    display: block !important;
    width: 100% !important;
    word-break: break-word !important;
  }
}
