@charset "utf-8";
/*
 * ======================================
 * 追加クラス一覧（共通SCSS取り込み検討用）
 * ======================================
 *
 * ---- トークン ----
 * :root                  - サイト配色トークン（--mn-*）
 *
 * ---- レイアウト ----
 * .mn-sec                - セクション（clamp可変の上下左右padding）+ --sm/--md/--cta/--pt0/--pb0/--pb-lg/--bg1/--bg-off/--bg-white/--overflow
 * .mn-sec__body          - セクション内側ラッパー（max-width可変）+ .mn-w-*
 * .mn-sec__bg            - セクション背景装飾レイヤー（花柄）+ --hana/--hana-top
 * .mn-side-deco          - セクション左右の背景装飾（マスクでフェード）+ --left/--right/--top
 * .mn-grid               - auto-fitグリッド + 列最小幅・gap・揃えのmodifier群
 *
 * ---- 見出し・テキスト ----
 * .mn-heading            - Cormorant斜体の英字 + 日本語2段見出し + --md/--sm/--left/--white
 * .mn-page-hero          - 下層ページヒーロー（左テキスト / 右写真・左角丸）
 * .mn-rule               - 罫線付き小見出し + --sm
 * .mn-lead / .mn-catch   - リード文 / キャッチコピー
 * .mn-num / .mn-label-en - 01,02,03 のナンバーあしらい / 英字ラベル
 * .mn-fz-* / .mn-lh-* / .mn-ls-* / .mn-mb-* - 共通utilityに無い刻みの値
 *
 * ---- パーツ ----
 * .mn-header / .mn-logo / .mn-nav / .mn-tel  - ヘッダー（sticky・透過白・pill電話）
 * .mn-footer             - フッター（淡ピンク背景・2カラム・地図）
 * .mn-btn                - pillボタン + --solid/--outline/--white + --md/--lg/--xl
 * .mn-sns                - Instagram等の丸アイコンボタン
 * .mn-card               - 事業紹介カード（4:3サムネ + 本文）
 * .mn-box                - 囲みボックス + --r14/--card/--plain/--white/--soft/--stack/--main
 * .mn-dl                 - 定義リスト + --boxed/--lined/--rows
 * .mn-ul                 - ドット付きリスト
 * .mn-book               - 書影 + 書誌情報ボックス
 * .mn-deco               - 花あしらいの絶対配置
 * .mn-mv                 - メインビュー（全画面・グラデ暗幕・センターコピー）
 * .mn-input / .mn-submit / .mn-form - お問い合わせフォーム
 * .mn-reveal             - スクロールフェードイン（common.js）
 *
 * ---- CMS出力の上書き（§16。!important使用箇所はここだけ） ----
 * .submit-btn            - CMSフォームの送信ボタンをサイトのpillボタンに揃える／中央配置
 * span.required::before  - CMSフォームの必須バッジをメインカラーに揃える
 *
 * ======================================
 * 共通SCSSに不足していたもの
 * ======================================
 *
 * [値の粒度不足]
 *  - font-size: 11.5 / 12.5 / 13.5 / 14.5 / 15 / 15.5 / 17 / 19 / 21 / 26 / 30px
 *  - line-height: 1.45 / 1.9 / 1.95 / 2.05 / 2.1 / 2.15 / 2.2
 *  - letter-spacing: 0.03 / 0.04 / 0.06 / 0.08 / 0.09 / 0.12 / 0.14 / 0.16 / 0.18em
 *  - margin-bottom: 4 / 6 / 8 / 12 / 14 / 16 / 18 / 22 / 24 / 26 / 28 / 32 / 36px
 *  - section padding が 120px 固定のみで、clamp() によるビューポート可変の余白が無い
 *
 * [構造不足]
 *  - 下層ヒーローに「左テキスト / 右写真（左角丸・上下中央・高さ固定）」の型が無い
 *    （page-hero--split は写真が天地いっぱいで角丸・高さ差分を持てない）
 *  - grid に auto-fit + minmax(列最小幅) 型が無い（grid-N は列数固定）
 *  - dl（項目名 + 内容）の行組みが dl-timeline（年号用・min-width 80px 固定）しか無い
 *
 * [装飾パターン不足]
 *  - セクション左右に背景画像をマスクでフェードさせる装飾（mn-side-deco）
 *  - ボックス外にはみ出す花あしらいの絶対配置（mn-deco）
 *
 * [状態不足]
 *  - フォーム入力の :focus に border + リング（box-shadow）を併用する状態が無い
 *
 * [CMS出力との競合]
 *  - CMSフォームは mail-form.css をCMS側のHTML内で後から読み込むため、
 *    共通CSS／site.css の通常指定では上書きできない。§16 のみ !important を使用。
 *
 */

/* ==========================================================================
   0. トークン
   ========================================================================== */
:root {
  --mn-main:      #CF5C74;
  --mn-main-dark: #B84A61;
  --mn-sub:       #FED1CB;
  --mn-pale:      #FFE6E1;
  --mn-txt:       #5B4A42;
  --mn-txt-sub:   #8A7770;
  --mn-txt-light: #A08A82;
  --mn-line:      #F6E3E0;
  --mn-line2:     #F0DCD8;
  --mn-line3:     #E7C9C4;
  --mn-bg1:       #FFF8F6;
  --mn-bg2:       #FFF3F1;
  --mn-bg3:       #fefefe;
  --mn-font-en:   "Cormorant Garamond", serif;
}

/* 元データ（claude-design-output）は body に line-height / letter-spacing を持たず、
   個別指定のない箇所は normal で組まれているため、共通CSSの既定値を元データに合わせる */
body {
  -webkit-font-smoothing: antialiased;
  line-height: normal;
  letter-spacing: normal;
}

a { color: var(--mn-main); }
a:hover { opacity: 1; color: var(--mn-main-dark); }

/* ==========================================================================
   2. セクション
   ========================================================================== */
.mn-sec {
  position: relative;
  padding: clamp(64px, 9vw, 112px) clamp(20px, 4vw, 48px);
}
.mn-sec--sm  { padding: clamp(56px, 8vw, 100px) clamp(20px, 4vw, 48px); }
.mn-sec--md  { padding: clamp(56px, 8vw, 96px) clamp(20px, 4vw, 48px); }
.mn-sec--pt0 { padding-top: 0; }
.mn-sec--pb0 { padding-bottom: 0; }
.mn-sec--pb-lg { padding-bottom: clamp(64px, 9vw, 110px); }
.mn-sec--pb-md { padding-bottom: clamp(48px, 7vw, 80px); }
.mn-sec--pt-md { padding-top: clamp(48px, 7vw, 88px); }
.mn-sec--bg1 { background: var(--mn-bg1); }
.mn-sec--bg2 { background: var(--mn-bg2); }
.mn-sec--bg-off { background: var(--mn-bg3); }
.mn-sec--bg-white { background: #fff; }
.mn-sec--overflow { overflow: hidden; }
.mn-sec--cta {
  padding: clamp(56px, 8vw, 96px) clamp(20px, 4vw, 48px);
  background: var(--mn-bg3);
  border-top: 1px solid var(--mn-line);
  overflow: hidden;
}

.mn-sec__body {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}
.mn-w-1080 { max-width: 1080px; }
.mn-w-1040 { max-width: 1040px; }
.mn-w-960  { max-width: 960px; }
.mn-w-900  { max-width: 900px; }
.mn-w-860  { max-width: 860px; }
.mn-w-760  { max-width: 760px; }

.mn-sec__bg {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-size: cover;
  pointer-events: none;
}
.mn-sec__bg--hana     { background-position: center bottom; opacity: .13; }
.mn-sec__bg--hana-top { background-position: center top; opacity: .1; }

.mn-side-deco {
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(140px, 30vw, 420px);
  background-repeat: no-repeat;
  background-size: cover;
  pointer-events: none;
}
.mn-side-deco--left {
  left: 0;
  background-position: left center;
  -webkit-mask-image: linear-gradient(to right, #000 0%, rgba(0, 0, 0, .55) 45%, transparent 100%);
          mask-image: linear-gradient(to right, #000 0%, rgba(0, 0, 0, .55) 45%, transparent 100%);
}
.mn-side-deco--right {
  right: 0;
  background-position: right center;
  -webkit-mask-image: linear-gradient(to left, #000 0%, rgba(0, 0, 0, .55) 45%, transparent 100%);
          mask-image: linear-gradient(to left, #000 0%, rgba(0, 0, 0, .55) 45%, transparent 100%);
}
.mn-side-deco--top.mn-side-deco--left  { background-position: left top; }
.mn-side-deco--top.mn-side-deco--right { background-position: right top; }

/* ==========================================================================
   3. グリッド
   ========================================================================== */
.mn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(20px, 3vw, 32px);
}
.mn-grid--240 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); align-items: stretch; }
.mn-grid--250 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: clamp(18px, 2.5vw, 26px); }
.mn-grid--280 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.mn-grid--split {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
}
.mn-grid--split-64 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.mn-grid--split-56 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}
.mn-grid--start-56 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}
.mn-grid--start-48 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}
.mn-grid--stretch-48 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(28px, 4vw, 48px);
  align-items: stretch;
}
.mn-grid--end {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(20px, 3vw, 40px);
  align-items: end;
}

/* ==========================================================================
   4. 見出し
   ========================================================================== */
.mn-heading { text-align: center; }
.mn-heading--left { text-align: left; }

.mn-heading__en {
  display: block;
  font-family: var(--mn-font-en);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(28px, 4vw, 42px);
  color: var(--mn-main);
  letter-spacing: .05em;
  line-height: 1;
  margin: 0 0 4px;
}
.mn-heading__ja {
  display: block;
  margin: 0;
  font-size: clamp(19px, 2.2vw, 24px);
  font-weight: 700;
  letter-spacing: .09em;
  line-height: normal;
  color: var(--mn-txt);
}
.mn-heading--md .mn-heading__en { font-size: clamp(26px, 3.6vw, 38px); }
.mn-heading--md .mn-heading__ja { font-size: clamp(18px, 2.1vw, 22px); }
.mn-heading--sm .mn-heading__en { font-size: clamp(24px, 3.4vw, 34px); }
.mn-heading--sm .mn-heading__ja { font-size: clamp(17px, 2vw, 21px); letter-spacing: .1em; }
.mn-heading--white .mn-heading__en { color: var(--mn-pale); }
.mn-heading--white .mn-heading__ja { color: #fff; }

/* 単体見出し（英字なし） */
.mn-title {
  margin: 0 0 20px;
  font-size: clamp(19px, 2.3vw, 24px);
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.7;
  color: var(--mn-txt);
}
.mn-title--lg { font-size: clamp(20px, 2.6vw, 28px); line-height: 1.6; margin-bottom: 22px; }
.mn-title--md { font-size: clamp(18px, 2.2vw, 22px); line-height: 1.7; letter-spacing: .06em; margin-bottom: 18px; }

/* 罫線付き小見出し */
.mn-rule {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--mn-main);
}
.mn-rule--sm {
  gap: 14px;
  font-size: 15px;
  margin-bottom: clamp(18px, 2.5vw, 24px);
}
.mn-rule__line {
  flex: 1;
  height: 1px;
  background: var(--mn-line);
}

/* ナンバー・英字ラベル */
.mn-num {
  display: block;
  margin: 0 0 12px;
  font-family: var(--mn-font-en);
  font-style: italic;
  font-weight: 500;
  font-size: 26px;
  color: var(--mn-sub);
  line-height: 1;
}
.mn-num--service {
  margin-bottom: 4px;
  font-size: clamp(20px, 2.6vw, 26px);
  letter-spacing: .05em;
}
.mn-label-en {
  display: block;
  margin: 0 0 6px;
  font-family: var(--mn-font-en);
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  color: var(--mn-main);
  line-height: 1;
}

/* リード文・キャッチコピー */
.mn-lead {
  margin: 0;
  font-size: 16px;
  line-height: 2;
  color: var(--mn-txt);
}
.mn-lead--narrow { max-width: 32em; margin-left: auto; margin-right: auto; }
.mn-catch {
  margin: 0;
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: .03em;
  color: var(--mn-main);
}
.mn-catch--sm { font-size: clamp(17px, 2vw, 20px); }
.mn-catch--lg { font-size: clamp(21px, 3.2vw, 32px); line-height: 1.95; letter-spacing: .04em; }
.mn-catch--mono {
  font-size: clamp(14px, 2vw, 24px);
  line-height: 1.8;
  letter-spacing: .03em;
  color: var(--mn-txt);
  white-space: nowrap;
}

/* ==========================================================================
   5. ヘッダー
   ========================================================================== */
.mn-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--mn-line);
  -webkit-backdrop-filter: saturate(1.2) blur(6px);
          backdrop-filter: saturate(1.2) blur(6px);
  box-shadow: none;
}
.mn-header__inner {
  max-width: 1200px;
  height: auto;
  padding: 12px clamp(16px, 3vw, 32px);
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.mn-header__right {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  flex-wrap: wrap;
  justify-content: flex-end;
}

.mn-logo {
  display: flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
}
.mn-logo__en {
  font-family: var(--mn-font-en);
  font-weight: 500;
  font-size: 34px;
  letter-spacing: .02em;
  color: var(--mn-main);
  line-height: 1;
}
.mn-logo__sub {
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--mn-txt-sub);
}
.mn-logo--footer { margin-bottom: 20px; }
.mn-logo--footer .mn-logo__en { font-size: 40px; }
.mn-logo--footer .mn-logo__sub { font-size: 13px; }

.mn-nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.8vw, 26px);
  flex-wrap: wrap;
  margin: 0;
}
.mn-nav__item a {
  display: block;
  padding: 6px 0;
  position: relative;
}
.mn-nav__item a::after { display: none; }
.mn-nav__ja {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: .06em;
  color: var(--mn-txt);
  line-height: normal;
  margin: 0;
  transition: color .3s ease;
}
.mn-nav__item a:hover .mn-nav__ja { color: var(--mn-main); }
.mn-nav__item.header__nav-item--current a::before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--mn-main);
}

.mn-header__cta { gap: 0; height: auto; }
.mn-tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--mn-main);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: .04em;
  line-height: normal;
  min-height: 44px;
}
.mn-tel::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f095";
  color: #fff;
  margin: 0;
  font-size: 15px;
}
.mn-tel:hover { background: var(--mn-main-dark); color: #fff; opacity: 1; }
.mn-tel--sp { justify-content: center; }

/* ==========================================================================
   6. フッター
   ========================================================================== */
.mn-footer__body {
  padding: 0;
  background: var(--mn-bg1);
  border-top: 1px solid var(--mn-line);
}
.mn-footer__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(30px, 4vw, 56px);
  align-items: start;
  max-width: 1200px;
  padding: clamp(44px, 6vw, 72px) clamp(20px, 4vw, 48px) 0;
}
.mn-footer__left,
.mn-footer__right { width: 100%; }
.mn-footer__info {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 2;
  color: var(--mn-txt);
}
.mn-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 22px;
  margin-top: 24px;
}
.mn-footer__nav .footer-body__nav-item a {
  font-size: 14px;
  color: var(--mn-txt);
}
.mn-footer__nav .footer-body__nav-item a:hover { color: var(--mn-main); }
.mn-footer__map {
  height: 260px;
  margin-top: 0;
  border-radius: 8px;
}
.mn-footer__bottom {
  padding: 0;
  background: var(--mn-bg1);
}
.mn-footer__copyright {
  margin: 0;
  padding: clamp(32px, 4vw, 48px) 20px 26px;
  font-family: inherit;
  font-size: 12.5px;
  letter-spacing: .08em;
  color: var(--mn-txt-light);
}

/* ==========================================================================
   7. ボタン・SNSアイコン
   ========================================================================== */
.mn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 13px 30px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 400;
  line-height: normal;
  letter-spacing: .06em;
  text-decoration: none;
  transition: all .3s ease;
}
.mn-btn--md { padding: 13px 34px; }
.mn-btn--lg { padding: 14px 34px; }
.mn-btn--xl { padding: 14px 36px; }
.mn-btn--outline {
  border-color: var(--mn-main);
  color: var(--mn-main);
  background: transparent;
}
.mn-btn--outline:hover { background: var(--mn-main); color: #fff; opacity: 1; }
.mn-btn--solid {
  background: var(--mn-main);
  border-color: var(--mn-main);
  color: #fff;
}
.mn-btn--solid:hover { background: var(--mn-main-dark); border-color: var(--mn-main-dark); color: #fff; opacity: 1; }
.mn-btn--white {
  background: #fff;
  border-color: var(--mn-main);
  color: var(--mn-main);
}
.mn-btn--white:hover { background: var(--mn-main); color: #fff; opacity: 1; }
.mn-btn__arrow { font-family: var(--mn-font-en); transition: transform .3s ease; }
.mn-btn:hover .mn-btn__arrow { transform: translateX(4px); }
.mn-btn--stick { margin-top: auto; align-self: flex-start; }

.mn-btns {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.mn-btns--center { justify-content: center; }
.mn-btns--end    { justify-content: flex-end; }

.mn-sns {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid var(--mn-line3);
  color: var(--mn-main);
  transition: all .3s ease;
}
.mn-sns:hover { background: var(--mn-bg2); color: var(--mn-main-dark); opacity: 1; }

/* ==========================================================================
   8. カード・ボックス
   ========================================================================== */
.mn-card {
  background: #fff;
  border: 1px solid var(--mn-line2);
  border-radius: 10px;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.mn-card:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 30px rgba(207, 92, 116, .12);
}
.mn-card__thumb {
  aspect-ratio: 4 / 3;
  background: var(--mn-bg2);
  overflow: hidden;
}
.mn-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.mn-card__body { padding: 26px 24px 30px; }
.mn-card__title {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: normal;
}
.mn-card__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.95;
}

.mn-box {
  position: relative;
  background: var(--mn-bg1);
  border: 1px solid var(--mn-line2);
  border-radius: 12px;
  padding: clamp(32px, 5vw, 56px);
}
.mn-box--r14     { border-radius: 14px; padding: clamp(30px, 5vw, 60px); }
.mn-box--card    { background: #fff; border-radius: 10px; padding: clamp(24px, 3vw, 34px); }
.mn-box--plain   { background: transparent; border-color: var(--mn-line); border-radius: 10px; padding: clamp(24px, 3vw, 34px); }
.mn-box--white   { background: #fff; border-radius: 10px; padding: clamp(24px, 3vw, 32px); }
.mn-box--soft    { background: var(--mn-bg1); border: 0; border-radius: 10px; padding: clamp(22px, 3vw, 30px); }
.mn-box--stack   { display: flex; flex-direction: column; border-radius: 12px; padding: clamp(28px, 4vw, 44px); }
.mn-box--main    { background: var(--mn-main); border: 0; border-radius: 14px; padding: clamp(34px, 5vw, 60px); color: #fff; }
.mn-box--overflow { overflow: hidden; }

.mn-deco { position: absolute; pointer-events: none; }
.mn-deco--bl    { left: -18px; bottom: -24px; width: clamp(90px, 14vw, 140px); }
.mn-deco--bl-sm { left: -22px; bottom: -28px; width: clamp(80px, 11vw, 130px); }
.mn-deco--tr    { right: -20px; top: -30px; width: clamp(76px, 10vw, 120px); }

/* 書影ボックス */
.mn-book {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 28px);
  flex-wrap: wrap;
  background: var(--mn-bg1);
  border: 1px solid var(--mn-line2);
  border-radius: 10px;
  padding: clamp(20px, 3vw, 28px);
}
.mn-book__img {
  width: 132px;
  border-radius: 4px;
  box-shadow: 0 6px 20px rgba(91, 74, 66, .16);
}
.mn-book__body { flex: 1 1 180px; }
/* 写真カード（書影ボックスと同じ体裁で、写真を横幅いっぱいに置く） */
.mn-book--photo { flex-direction: column; align-items: stretch; flex-wrap: nowrap; gap: 14px; }
.mn-book--photo .mn-book__img {
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  object-fit: cover;
  border-radius: 6px;
}
.mn-book--photo .mn-book__body { flex: 0 0 auto; text-align: center; }
/* 縦積みの書影ボックス（書影を大きめに置き、その下に書誌情報） */
.mn-book--stack {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 20px;
}
.mn-book--stack .mn-book__zoom { flex: 0 0 auto; }
.mn-book--stack .mn-book__img { width: 220px; flex: 0 0 auto; }
.mn-book--stack .mn-book__body { flex: 0 0 auto; text-align: center; }

/* 書影の拡大表示（ライトボックス） */
.mn-book__zoom {
  display: block;
  cursor: zoom-in;
  line-height: 0;
}
.mn-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 5vw, 60px);
  background: rgba(52, 40, 35, .82);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
  cursor: zoom-out;
}
.mn-lightbox.is-open { opacity: 1; visibility: visible; }
.mn-lightbox__img {
  max-width: 100%;
  max-height: 88vh;
  width: auto;
  border-radius: 6px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .4);
}
.mn-lightbox__close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: background .3s ease;
}
.mn-lightbox__close:hover { background: rgba(255, 255, 255, .3); }

/* ==========================================================================
   9. 定義リスト・箇条書き
   ========================================================================== */
.mn-dl { margin: 0; }
.mn-dl__row {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--mn-line);
}
.mn-dl__dt {
  width: 7em;
  flex-shrink: 0;
  font-size: 14px;
  color: var(--mn-txt-light);
  letter-spacing: .06em;
}
.mn-dl__dd {
  margin: 0;
  font-size: 15px;
}
/* 枠付き（TOP 会社概要） */
.mn-dl--boxed {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2px 32px;
  background: #fff;
  border: 1px solid var(--mn-line2);
  border-radius: 10px;
  padding: clamp(20px, 3vw, 34px);
}
/* 罫線のみ（会社概要ページ 事業所概要） */
.mn-dl--lined { border-top: 1px solid var(--mn-line); }
.mn-dl--lined .mn-dl__row {
  gap: clamp(12px, 3vw, 32px);
  padding: 18px 6px;
  flex-wrap: wrap;
}
.mn-dl--lined .mn-dl__dt { width: 9em; letter-spacing: .08em; padding-top: 2px; }
.mn-dl--lined .mn-dl__dd { font-size: 16px; line-height: 1.9; flex: 1 1 0; min-width: 0; }
/* 行のみ（事業紹介 グループホーム概要） */
.mn-dl--rows { display: flex; flex-direction: column; gap: 1px; }
.mn-dl--rows .mn-dl__row {
  gap: 20px;
  padding: 13px 0;
  border-bottom-color: var(--mn-line2);
}
.mn-dl--rows .mn-dl__dd { font-size: 16px; }

.mn-ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.mn-ul__item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 16px;
  line-height: 1.9;
}
.mn-ul--195 .mn-ul__item { line-height: 1.95; }
/* 横幅いっぱいに置くリスト（2カラムで並べる） */
.mn-ul--2col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 14px clamp(24px, 4vw, 48px);
}
.mn-ul__dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--mn-main);
  margin-top: 11px;
  flex-shrink: 0;
}
/* ・付きリスト（対応テーマ例） */
.mn-ul--dot-text { gap: 10px; }
.mn-ul--dot-text .mn-ul__item {
  font-size: 15.5px;
  line-height: 1.8;
  gap: 10px;
}
.mn-ul__mark { color: var(--mn-main); }

/* ==========================================================================
   10. メインビュー
   ========================================================================== */
.mn-mv {
  position: relative;
  height: 100vh;
  min-height: 420px;
  overflow: hidden;
  background: var(--mn-line);
}
/* スマホ・タブレット縦向け対策
   本サイトは viewport を width=1200 固定で運用しているため、縦長の端末では
   レイアウト上の高さが約2600pxまで伸び、100vh のMVが画面全体を占めてしまう。
   （@media の幅指定は 1200px 基準になるため発火せず、縦横比で判定する）
   PCと同じ見え方（幅1200pxに対して高さ800px＝3:2）になるよう高さを固定する。 */
@media (max-aspect-ratio: 1 / 1) {
  .mn-mv {
    height: 800px;
  }
}
/* CMSスライダーの外枠。
   CMSスライダーは高さ100%で外枠に追従する仕様のため、ここで高さを確定させる。
   z-index:0 で重なりの土台を作り、CMS側が .main_slider__outer に付ける z-index:1 が
   オーバーレイ・キャッチコピーより前面に出ないようにする */
.mn-mv__slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
  height: 100%;
  min-height: 420px;
}
/* CMSスライダー出力の高さチェーン（CMS側のstyleが未適用でも崩れないよう保険で指定） */
.mn-mv__slideshow > div,
.mn-mv__slideshow .slider_wrapper,
.mn-mv__slideshow .main_slider__outer,
.mn-mv__slideshow .main_slider,
.mn-mv__slideshow .swiper-wrapper,
.mn-mv__slideshow .main_slider__inner {
  height: 100%;
}
.mn-mv__slideshow .main_slider__inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* 静止画フォールバック（CMSを使わない場合） */
.mn-mv__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.mn-mv__img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: 50% 40%;
  background-repeat: no-repeat;
}
.mn-mv__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, rgba(91, 74, 66, .62) 0%, rgba(91, 74, 66, .42) 45%, rgba(207, 92, 116, .28) 100%);
}
.mn-mv__content {
  position: relative;
  z-index: 2;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 20px;
}
.mn-mv__title {
  margin: 0;
  font-size: clamp(26px, 4.4vw, 54px);
  line-height: 1.45;
  color: #fff;
  font-weight: 700;
  letter-spacing: .04em;
  text-shadow: 0 2px 18px rgba(91, 74, 66, .35);
  white-space: nowrap;
}
.mn-mv__text {
  margin: 0;
  max-width: 38em;
  font-size: clamp(14px, 1.5vw, 17px);
  line-height: 2;
  color: #fff;
  text-shadow: 0 2px 14px rgba(91, 74, 66, .5);
}
.mn-mv__dots {
  position: absolute;
  z-index: 2;
  bottom: 22px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.mn-mv__dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #fff;
  opacity: .4;
  transition: opacity .4s;
}
.mn-mv__dot.is-active { opacity: 1; }

/* ==========================================================================
   11. 下層ページヒーロー
   ========================================================================== */
.mn-page-hero {
  position: relative;
  background: var(--mn-bg2);
  height: 350px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: center;
}
.mn-page-hero__text {
  padding: 0 clamp(20px, 4vw, 56px);
  text-align: center;
}
.mn-page-hero__en {
  display: block;
  margin: 0 0 8px;
  font-family: var(--mn-font-en);
  font-weight: 500;
  font-size: clamp(28px, 4vw, 42px);
  color: var(--mn-main);
  letter-spacing: .1em;
  line-height: 1.1;
}
.mn-page-hero__en--long { font-size: clamp(26px, 3.6vw, 40px); }
.mn-page-hero__ja {
  margin: 0;
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 500;
  letter-spacing: .16em;
  line-height: normal;
  color: var(--mn-txt);
}
.mn-page-hero__img {
  position: relative;
  align-self: center;
  height: 300px;
  border-radius: 12px 0 0 12px;
  overflow: hidden;
}
.mn-page-hero__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   12. 画像まわり
   ========================================================================== */
.mn-img-r8  { border-radius: 8px; }
.mn-img-r10 { border-radius: 10px; }
.mn-img-43 {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}
.mn-img-34 {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 8px;
}
.mn-img-11 {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
}
.mn-img-logo {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  border-radius: 10px;
}
.mn-img-illust {
  display: block;
  width: 100%;
  max-width: 860px;
  margin: 0 auto -1px;
  object-fit: contain;
}

/* ==========================================================================
   13. フォーム
   ========================================================================== */
.mn-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.mn-form__label {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.mn-form__name {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14.5px;
  letter-spacing: .06em;
}
.mn-form__req {
  font-size: 11.5px;
  color: #fff;
  background: var(--mn-main);
  padding: 3px 8px;
  border-radius: 3px;
  letter-spacing: .06em;
  line-height: normal;
}
.mn-input {
  width: 100%;
  border: 1px solid var(--mn-line3);
  border-radius: 6px;
  padding: 14px 16px;
  font-size: 16px;
  color: var(--mn-txt);
  background: #fff;
  min-height: 50px;
  outline: none;
}
.mn-input:focus {
  border: 1px solid var(--mn-main);
  box-shadow: 0 0 0 3px rgba(207, 92, 116, .12);
}
textarea.mn-input {
  resize: vertical;
  line-height: 1.9;
}
.mn-submit {
  border: none;
  cursor: pointer;
  background: var(--mn-main);
  color: #fff;
  padding: 16px 64px;
  border-radius: 999px;
  font-size: 16px;
  letter-spacing: .1em;
  min-height: 52px;
  max-width: none;
  width: auto;
  transition: background .3s ease;
}
.mn-submit:hover { background: var(--mn-main-dark); }
.mn-form__done {
  margin: 0;
  text-align: center;
  font-size: 15px;
  color: var(--mn-main);
  background: var(--mn-bg2);
  border-radius: 8px;
  padding: 16px;
}

/* ==========================================================================
   14. スクロールフェードイン（インタラクションレベル：中）
   ========================================================================== */
.mn-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s ease, transform .8s ease;
}
.mn-reveal.is-shown {
  opacity: 1;
  transform: none;
}

/* 経営理念など、英字やや小さめ＋日本語の字間広め */
.mn-heading--xs .mn-heading__en { font-size: clamp(24px, 3.4vw, 34px); }
.mn-heading--xs .mn-heading__ja { font-size: clamp(17px, 2vw, 20px); letter-spacing: .12em; }

/* ==========================================================================
   15. 値の粒度を補うutility（※ 共通CSSと同じく utility は最後に読み込む）
   ========================================================================== */
.mn-fz-115 { font-size: 11.5px; }
.mn-fz-125 { font-size: 12.5px; }
.mn-fz-13  { font-size: 13px; }
.mn-fz-135 { font-size: 13.5px; }
.mn-fz-14  { font-size: 14px; }
.mn-fz-145 { font-size: 14.5px; }
.mn-fz-15  { font-size: 15px; }
.mn-fz-155 { font-size: 15.5px; }
.mn-fz-16  { font-size: 16px; }
.mn-fz-17  { font-size: 17px; }
.mn-fz-18  { font-size: 18px; }
.mn-fz-19  { font-size: 19px; }
.mn-fz-21  { font-size: 21px; }
.mn-fz-22  { font-size: 22px; }
.mn-fz-26  { font-size: 26px; }
.mn-fz-30  { font-size: 30px; }

.mn-lh-1    { line-height: 1; }
.mn-lh-11   { line-height: 1.1; }
.mn-lh-14   { line-height: 1.4; }
.mn-lh-145  { line-height: 1.45; }
.mn-lh-16   { line-height: 1.6; }
.mn-lh-17   { line-height: 1.7; }
.mn-lh-18   { line-height: 1.8; }
.mn-lh-19   { line-height: 1.9; }
.mn-lh-195  { line-height: 1.95; }
.mn-lh-2    { line-height: 2; }
.mn-lh-205  { line-height: 2.05; }
.mn-lh-21   { line-height: 2.1; }
.mn-lh-215  { line-height: 2.15; }
.mn-lh-22   { line-height: 2.2; }

.mn-ls-02 { letter-spacing: .02em; }
.mn-ls-03 { letter-spacing: .03em; }
.mn-ls-04 { letter-spacing: .04em; }
.mn-ls-05 { letter-spacing: .05em; }
.mn-ls-06 { letter-spacing: .06em; }
.mn-ls-08 { letter-spacing: .08em; }
.mn-ls-09 { letter-spacing: .09em; }
.mn-ls-10 { letter-spacing: .1em; }
.mn-ls-12 { letter-spacing: .12em; }
.mn-ls-14 { letter-spacing: .14em; }
.mn-ls-16 { letter-spacing: .16em; }
.mn-ls-18 { letter-spacing: .18em; }

.mn-mb-0  { margin-bottom: 0; }
.mn-mb-4  { margin-bottom: 4px; }
.mn-mb-6  { margin-bottom: 6px; }
.mn-mb-8  { margin-bottom: 8px; }
.mn-mb-10 { margin-bottom: 10px; }
.mn-mb-12 { margin-bottom: 12px; }
.mn-mb-14 { margin-bottom: 14px; }
.mn-mb-16 { margin-bottom: 16px; }
.mn-mb-18 { margin-bottom: 18px; }
.mn-mb-20 { margin-bottom: 20px; }
.mn-mb-22 { margin-bottom: 22px; }
.mn-mb-24 { margin-bottom: 24px; }
.mn-mb-26 { margin-bottom: 26px; }
.mn-mb-28 { margin-bottom: 28px; }
.mn-mb-30 { margin-bottom: 30px; }
.mn-mb-32 { margin-bottom: 32px; }
.mn-mb-36 { margin-bottom: 36px; }
.mn-mb-40 { margin-bottom: clamp(28px, 4vw, 40px); }
.mn-mb-44 { margin-bottom: clamp(30px, 4vw, 44px); }
.mn-mb-48 { margin-bottom: clamp(32px, 4vw, 48px); }
.mn-mb-52 { margin-bottom: clamp(36px, 5vw, 52px); }
.mn-mb-56 { margin-bottom: clamp(36px, 5vw, 56px); }
.mn-mb-64 { margin-bottom: clamp(40px, 6vw, 64px); }

.mn-mt-8   { margin-top: 8px; }
.mn-mt-36  { margin-top: clamp(26px, 3vw, 36px); }
.mn-mt-48  { margin-top: clamp(32px, 4vw, 48px); }
.mn-mt-100 { margin-top: clamp(56px, 8vw, 100px); }
.mn-pb-sec { padding-bottom: clamp(64px, 9vw, 112px); }
.mn-fz-17c { font-size: clamp(15px, 1.7vw, 17px); }
.mn-fz-30c { font-size: clamp(24px, 3vw, 30px); }
.mn-txt-base { color: var(--mn-txt); }
.mn-main-deco { position: relative; overflow: hidden; }
.mn-map { height: 400px; border-radius: 8px; }

.mn-fw-500 { font-weight: 500; }
.mn-fw-700 { font-weight: 700; }
.mn-txt-sub   { color: var(--mn-txt-sub); }
.mn-txt-light { color: var(--mn-txt-light); }
.mn-txt-main  { color: var(--mn-main); }
.mn-txt-white { color: #fff; }
.mn-nowrap    { white-space: nowrap; }
.mn-obj-20 { object-position: 50% 20%; }
.mn-obj-30 { object-position: 50% 30%; }
.mn-obj-40 { object-position: 50% 40%; }
.mn-obj-45 { object-position: 50% 45%; }
.mn-obj-50 { object-position: 50% 50%; }

/* ==========================================================================
   16. CMSフォーム（mail-form.css）の上書き
   CMS側の https://cdn.rs-sys.jp/css/cms/mail-form.css が後から読み込まれるため、
   ここだけは !important で上書きする（サイト配色・ボタンデザインに合わせるため）
   ========================================================================== */

/* 送信ボタン：サイト共通のpillボタン（.mn-btn--solid）と同じ見た目・中央配置 */
.form-contents .submit-btn,
.form-pattern-1 .submit-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  width: -webkit-fit-content !important;
  width: fit-content !important;
  min-width: 260px !important;
  max-width: 100% !important;
  margin: clamp(24px, 3vw, 32px) auto 0 !important;
  padding: 16px 64px !important;
  border: none !important;
  border-radius: 999px !important;
  background: var(--mn-main) !important;
  color: #fff !important;
  font-family: inherit !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: normal !important;
  letter-spacing: .1em !important;
  min-height: 52px !important;
  cursor: pointer !important;
  transition: background .3s ease !important;
}
.form-contents .submit-btn:hover,
.form-pattern-1 .submit-btn:hover {
  background: var(--mn-main-dark) !important;
  opacity: 1 !important;
}
/* ボタン内のメールアイコン（CMS標準）を白に */
.form-pattern-1 .submit-btn::before {
  background-color: #fff !important;
  margin-right: 10px !important;
}

/* 必須バッジ：サイトのメインカラーに変更 */
.form-pattern-1 dl dt:not(.pattern-exclusion) span.required::before {
  color: #fff !important;
  background: var(--mn-main) !important;
  padding: 3px 8px !important;
  border-radius: 3px !important;
  font-size: 11.5px !important;
  letter-spacing: .06em !important;
}
