@charset "UTF-8";
/* ディスタイルCSS */
/*! destyle.css v4.0.0 | MIT License | https://github.com/nicolas-cusan/destyle.css */
/* Reset box-model and set borders */
/* ============================================ */
*,
::before,
::after {
  box-sizing: border-box;
  border-style: solid;
  border-width: 0;
}

/* Document */
/* ============================================ */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 * 3. Remove gray overlay on links for iOS.
 */
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  -webkit-tap-highlight-color: transparent; /* 3*/
}

/* Sections */
/* ============================================ */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/* Vertical rhythm */
/* ============================================ */
p,
table,
blockquote,
address,
pre,
iframe,
form,
figure,
dl {
  margin: 0;
}

/* Headings */
/* ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
  margin: 0;
}

/* Lists (enumeration) */
/* ============================================ */
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Lists (definition) */
/* ============================================ */
dt {
  font-weight: bold;
}

dd {
  margin-left: 0;
}

/* Grouping content */
/* ============================================ */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
  border-top-width: 1px;
  margin: 0;
  clear: both;
  color: inherit;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace; /* 1 */
  font-size: inherit; /* 2 */
}

address {
  font-style: inherit;
}

/* Text-level semantics */
/* ============================================ */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
  text-decoration: none;
  color: inherit;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: inherit; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Replaced content */
/* ============================================ */
/**
 * Prevent vertical alignment issues.
 */
svg,
img,
embed,
object,
iframe {
  vertical-align: bottom;
}

/* Forms */
/* ============================================ */
/**
 * Reset form fields to make them styleable.
 * 1. Make form elements stylable across systems iOS especially.
 * 2. Inherit text-transform from parent.
 */
button,
input,
optgroup,
select,
textarea {
  -webkit-appearance: none; /* 1 */
  appearance: none;
  vertical-align: middle;
  color: inherit;
  font: inherit;
  background: transparent;
  padding: 0;
  margin: 0;
  border-radius: 0;
  text-align: inherit;
  text-transform: inherit; /* 2 */
}

/**
 * Correct cursors for clickable elements.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  cursor: pointer;
}

button:disabled,
[type=button]:disabled,
[type=reset]:disabled,
[type=submit]:disabled {
  cursor: default;
}

/**
 * Improve outlines for Firefox and unify style with input elements & buttons.
 */
:-moz-focusring {
  outline: auto;
}

select:disabled {
  opacity: inherit;
}

/**
 * Remove padding
 */
option {
  padding: 0;
}

/**
 * Reset to invisible
 */
fieldset {
  margin: 0;
  padding: 0;
  min-width: 0;
}

legend {
  padding: 0;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * Correct the outline style in Safari.
 */
[type=search] {
  outline-offset: -2px; /* 1 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Fix font inheritance.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/**
 * Fix appearance for Firefox
 */
[type=number] {
  -moz-appearance: textfield;
}

/**
 * Clickable labels
 */
label[for] {
  cursor: pointer;
}

/* Interactive */
/* ============================================ */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/*
 * Remove outline for editable content.
 */
[contenteditable]:focus {
  outline: auto;
}

/* Tables */
/* ============================================ */
/**
1. Correct table border color inheritance in all Chrome and Safari.
*/
table {
  border-color: inherit; /* 1 */
  border-collapse: collapse;
}

caption {
  text-align: left;
}

td,
th {
  vertical-align: top;
  padding: 0;
}

th {
  text-align: left;
  font-weight: bold;
}

/* 変数 */
/* メインコンテンツ幅（ヘッダー・main・フッターで共通使用）
   〜1080px: 750px（サイドメニュー非表示・従来どおり）
   1081〜1440px: 600px
   1440〜1600px: 線形補間で 600px → 750px（93.75vw - 750px）
   1600px〜: 750px */
:root {
  --column-w: 750px;
}

@media (min-width: 1081px) {
  :root {
    --column-w: clamp(600px, 93.75vw - 750px, 750px);
  }
}
/* 全体 */
html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}
html body {
  overflow-x: hidden;
  background-image: image-set(url("../img/bg_main.png") 1x, url("../img/bg_main@2x.png") 2x);
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  /* 追従フッター(footer_menu 750x113)の高さぶんの余白。
     最下部までスクロールした際にコンテンツがフッターと重ならないようにする */
  padding-bottom: calc(min(100vw, var(--column-w)) * 0.1507);
}
html header {
  width: 100%;
  max-width: var(--column-w);
  margin-inline: auto;
}
html main {
  width: 100%;
  max-width: var(--column-w);
  margin-inline: auto;
}
html main img {
  display: block;
  width: 100%;
  max-width: var(--column-w);
  height: auto;
  margin-inline: auto;
}
html a {
  transition: opacity 0.3s;
}
@media (hover: hover) {
  html a:hover {
    opacity: 0.85;
  }
}

/* .header */
.header {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 100;
  width: 100%;
  max-width: 750px;
  height: min(13.33vw, 100px);
  background-color: #fff;
  transform: translateX(-50%);
}
.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 100%;
  padding-inline: min(2.67vw, 20px) min(4.27vw, 32px);
}
.header__logo-nissan {
  display: flex;
  align-items: center;
  height: 100%;
}
.header__logo-nissan h1 {
  width: min(15.07vw, 113px);
}
.header__logo-nissan h1 a {
  width: 100%;
}
.header__logo-nissan h1 a img {
  width: 100%;
  height: auto;
  vertical-align: top;
}
.header__logo-nara-nissan {
  display: flex;
  align-items: center;
  height: 100%;
  padding-top: min(1.73vw, 13px);
}
.header__logo-nara-nissan h1 {
  width: min(18.53vw, 139px);
}
.header__logo-nara-nissan h1 a {
  width: 100%;
}
.header__logo-nara-nissan h1 a img {
  width: 100%;
  height: auto;
  vertical-align: top;
}

.main {
  margin-top: unset;
}

/* .site-header (ロゴヘッダー: 白帯背景 + ロゴ画像リンク) */
/* ロゴ座標は main.png ヘッダー部(749x100)の実測px を % 換算した値 */
.site-header {
  position: relative;
}
.site-header > img {
  display: block;
  width: 100%;
  height: auto;
}
.site-header .logo {
  position: absolute;
  display: block;
}
.site-header .logo img {
  display: block;
  width: 100%;
  height: auto;
}
.site-header .logo--nissan {
  top: 10%;
  left: 3.74%;
  width: 12.28%;
}
.site-header .logo--nara {
  top: 24%;
  left: 72.5%;
  width: 23.9%;
}

/* .sec (セクション共通) */
/* padding・ボタン幅の%値は main.png(749px幅) の実測px比。根拠は docs/design.md 参照 */
.sec {
  position: relative;
}

/* FV部（2026-07-14 再デザイン: main.png 自動スライス構成）
   fv_hero(100-735) + fv_copy(736-972) + row_reserve(973-1047) + padding62px。
   キャッチコピーは写真と重ならなくなったためオーバーレイ分離は廃止 */
.sec-first-view {
  overflow: hidden; /* ヒーローのスライドインをカラム内にクリップ */
  background-color: #080808;
  padding-bottom: 8.27%;
}

.sec-package {
  /* 画像スライス間のサブピクセル継ぎ目対策（写真境界行の平均色） */
  background-color: #d5d6d8;
}

.sec-feature {
  background-color: #080808;
  padding-bottom: 16.02%;
}

.sec-variation {
  background-color: #080808;
}

.sec-cta {
  background-color: #080808;
  padding-block: 4.81% 12.55%;
}

.sec-campaign {
  background-color: #fff;
}

/* ボタン行（全幅ストリップ画像を <a><img> で配置）
   ボタンだけを CSS ボックスで重ねる方式は、画像リサンプリングとボックス丸めが
   独立に行われるため縮小表示/HiDPI で周囲と±1px ズレる。
   行ごと画像化（row_reserve / row_detail / row_apply）することで
   他のスライスと同一の描画経路になり、あらゆる幅・DPRでズレが出ない */
.btn-row a {
  display: block;
}
.btn-row a img {
  display: block;
  width: 100%;
  height: auto;
}

/* 全幅画像リンク行（写真背景上の下線リンク） */
.link-row {
  display: block;
}
.link-row img {
  display: block;
  width: 100%;
  height: auto;
}

/* リンクホバー時の表現（元の表現＝画像は減光させず、
   リンク領域に薄いオーバーレイを重ねてハイライトする） */
/* ::after の基準となる position。
   .site-header .logo は absolute 配置済みのためここに含めないこと
   （relative を当てるとヘッダーのロゴ配置が崩れる） */
.btn-row a,
.link-row,
.menu-btn,
.banner-btn-row a {
  position: relative;
}

@media (hover: hover) {
  .btn-row a:hover,
  .link-row:hover,
  .menu-btn:hover,
  .banner-btn-row a:hover,
  .site-header .logo:hover {
    opacity: 1; /* html a:hover の全体減光は適用しない */
  }
}
.btn-row a::after,
.link-row::after,
.menu-btn::after,
.banner-btn-row a::after,
.site-header .logo::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: transparent;
  transition: background-color 0.3s;
  pointer-events: none;
}

/* 暗い背景上のボタン: 白のオーバーレイ */
.btn-row--reserve a:hover::after, .btn-row--reserve a:focus-visible::after,
.btn-row--detail a:hover::after,
.btn-row--detail a:focus-visible::after,
.menu-btn:hover::after,
.menu-btn:focus-visible::after {
  background-color: rgba(255, 255, 255, 0.22);
}

/* 明るい背景上のボタン・リンク・ロゴ: 黒のオーバーレイ */
.btn-row--apply a:hover::after, .btn-row--apply a:focus-visible::after,
.banner-btn-row a:hover::after,
.banner-btn-row a:focus-visible::after,
.site-header .logo:hover::after,
.site-header .logo:focus-visible::after,
.link-row:hover::after,
.link-row:focus-visible::after {
  background-color: rgba(0, 0, 0, 0.08);
}

/* ストリップ内のボタン範囲のみハイライト（%値は各ストリップ画像内の実測px比） */
.btn-row--reserve a::after,
.btn-row--apply a::after {
  inset: 0 auto 0 23.1%;
  width: 53.67%;
}

.btn-row--detail a::after {
  inset: 0 auto 0 28.57%;
  width: 43.66%;
}

.side-menu--right .banner-btn-row a::after {
  inset: 0 auto 0 23.04%;
  width: 53.48%;
}

/* パッケージのリンク行はテキスト＋下線＋矢印の範囲のみハイライト
   （%値は各リンク行画像内の実測px比。基準: 幅749 / 高さ 92・92・59）
   ※ 画像差し替えでテキスト位置が変わったら必ず再計測すること（docs/design.md §8）
   ※ クラス名は旧デザイン由来: exterior=ベーシック パック /
      interior=エンターテインメント パック / entertainment=ラグジュアリー パック */
.link-row--exterior::after {
  inset: 13.04% auto auto 24.17%;
  width: 52.07%;
  height: 61.96%;
}

.link-row--interior::after {
  inset: 6.52% auto auto 11.21%;
  width: 78.1%;
  height: 63.04%;
}

.link-row--entertainment::after {
  inset: 6.78% auto auto 19.36%;
  width: 61.68%;
  height: 93.22%;
}

/* FVヒーロー 右から左へのスライドイン（移動距離100px・ゆったり）
   FV部の全画像ロード＋描画完了後に common.js が .is-visible を付与して発火 */
.fade-right {
  opacity: 0;
  transform: translateX(100px);
  transition: opacity 1.8s ease, transform 1.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
.fade-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

@media (prefers-reduced-motion: reduce) {
  .fade-right {
    transition: none;
    transform: none;
    opacity: 1;
  }
}
/* .popup（パッケージ／魅力の詳細画像を表示）
   画像は1枚もの・縦長のため、ビューポート高に収まらない場合は
   .popup__body 内で縦スクロールする。幅は各ポップアップの
   style="--popup-w: XXXpx"（画像の1x幅）で指定 */
.popup {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
}
.popup.is-active {
  display: block;
}
.popup__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.75);
  cursor: pointer;
}
.popup__container {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(92vw, var(--popup-w, 750px));
  transform: translate(-50%, -50%);
}
.popup__body {
  overflow-y: auto;
  max-height: min(84vh, 84svh);
  -webkit-overflow-scrolling: touch;
}
.popup__body img {
  display: block;
  width: 100%;
  height: auto;
}
.popup__close {
  position: absolute;
  top: -44px;
  right: 0;
  width: 36px;
  height: 36px;
  border: 2px solid #fff;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.4);
  transition: opacity 0.3s;
  /* ×印 */
}
.popup__close::before, .popup__close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 2px;
  background-color: #fff;
}
.popup__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
.popup__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}
@media (hover: hover) {
  .popup__close:hover {
    opacity: 0.7;
  }
}

/* .side-menu (left_menu / right_menu を main の左右に固定配置) */
/* 設計: bg 1920x1110・中央コンテンツ 750px 基準
   left_menu  右端 = 中央 - 389px / 上端 125px / 実寸 556x696
   right_menu 左端 = 中央 + 437px / 上端 177px / 実寸 460x428
   ガター幅が実寸に満たない場合は縮小して収める（main には重ねない） */
.side-menu {
  position: fixed;
  z-index: 90;
  display: block;
  height: auto;
  pointer-events: none; /* 画像部分はクリック不可（リンクのみ有効） */
}
.side-menu img {
  display: block;
  width: 100%;
  height: auto;
}
.side-menu a {
  display: block;
  pointer-events: auto;
}

/* サイドメニューの配置はカラム端からの固定マージンで決まる（bg_main 1920px設計の実測）:
   左メニュー: カラム左端から 14px / ビューポート左端から 15px
   右メニュー: カラム右端から 62px / ビューポート右端から 15px
   --column-w に連動させることで、カラム幅が変わってもマージンは常に一定
   （750px幅時の旧値: right=50%+389px, width=min(556px,50%-404px) 等と同値） */
.side-menu--left {
  top: 125px;
  right: calc(50% + var(--column-w) / 2 + 14px);
  width: min(556px, 50% - var(--column-w) / 2 - 29px);
  /* ボタン4つ: left_menu.png(556px幅) の実測px比 */
}
.side-menu--left .menu-btn {
  width: 66.91%;
  margin-left: 17.09%;
  margin-top: 4.68%;
}
.side-menu--left {
  /* 先頭ボタンは上部画像(left_menu_top)に隙間なく続く */
}
.side-menu--left img + .menu-btn {
  margin-top: 0;
}

.side-menu--right {
  top: 177px;
  left: calc(50% + var(--column-w) / 2 + 62px);
  width: min(460px, 50% - var(--column-w) / 2 - 77px);
  /* 「今すぐ応募する」ボタン行: 全幅ストリップ画像(right_menu_btn)を使用。
     背景・配置はストリップに焼き込み済みのため追加スタイル不要 */
}

@media (max-width: 1080px) {
  .side-menu {
    display: none;
  }
}
.footer-menu {
  position: fixed;
  bottom: 0;
  left: 50%;
  z-index: 100;
  width: 100%;
  max-width: var(--column-w);
  margin-inline: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%);
  transition: opacity 0.3s, visibility 0.3s;
  pointer-events: none;
}
.footer-menu.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.footer-menu a {
  display: block;
}
.footer-menu img {
  display: block;
  width: 100%;
  max-width: var(--column-w);
  height: auto;
  margin-inline: auto;
}

/*# sourceMappingURL=style.css.map */
