@charset "UTF-8";
/* 共通CSS用エントリーポイント */
/* カラーミーショップの「共通CSS」に貼り付けるファイルを生成するために使用 */
/* 既存の共通スタイル */
/* Scss Document */
/* Scss Document */
.flex {
  display: flex;
  flex-wrap: wrap;
}

/* #wrapper a styling moved to modern SCSS */
.mincho {
  font-family: yu-mincho-36p-kana, yu-mincho-pr6n, serif;
}

br.sp {
  display: none;
}

@media (max-width: 480px) {
  br.sp {
    display: block;
  }
}
br.pc {
  display: none;
}

@media (min-width: 1024px) {
  br.pc {
    display: block;
  }
}
/* body, wrapper, header were removed to prevent conflicts with new SCSS */
.name {
  background-color: #cb4447;
  color: #fff;
  display: none;
  text-align: center;
  font-family: yu-mincho-36p-kana, yu-mincho-pr6n, serif;
  padding: 3px 0;
  font-size: 13px;
}

@media (max-width: 768px) {
  .name {
    display: block;
  }
}
#nav {
  position: absolute;
  right: 10px;
  top: 0px;
}

@media (max-width: 768px) {
  #nav {
    display: none;
  }
}
#nav li {
  float: left;
  margin-right: 6px;
  list-style: none;
}

#nav li :last-of-type {
  margin-right: 0;
}

#cart_icn {
  position: fixed;
  left: 10px;
  top: 10px;
  z-index: 1000;
  display: none;
}

@media (max-width: 768px) {
  #cart_icn {
    display: block;
  }
}
.slicknav_collapsed {
  background: url(https://file003.shop-pro.jp/PA01037/470/img/menu-icn.svg) no-repeat top right/40px auto;
  transition: all 0.3s;
  z-index: 100;
}

.slicknav_open {
  background: url(https://file003.shop-pro.jp/PA01037/470/img/menuclose-icn.svg) no-repeat top right/40px auto;
  transition: all 0.3s;
  z-index: 100;
}

.slicknav_btn {
  position: fixed !important;
  right: 10px !important;
  top: 10px;
}

.slicknav_menu {
  display: none;
}

.menu_var_scroll {
  height: 100% !important;
  overflow: scroll !important;
}

@media (max-width: 768px) {
  #togglemenu {
    display: block;
  }
  .slicknav_menu {
    display: block;
  }
  .slicknav_nav {
    background-color: #fff;
    padding: 65px 20px 20px !important;
    width: 100%;
    opacity: 1;
  }
  .slicknav_nav dl {
    display: flex;
    flex-wrap: wrap;
  }
  .slicknav_nav dl dt {
    width: 100%;
    font-size: 15px;
    background-color: #ccc;
  }
  .slicknav_nav dl dd {
    font-size: 15px;
  }
  .slicknav_nav dl dd a {
    color: #be211c;
    text-decoration: none;
  }
}
#contents .topicpath-nav {
  margin: 10px 50px;
  text-align: right;
  z-index: 10;
}

#contents .topicpath-nav li {
  padding: 0;
}

#contents .topicpath-nav a {
  margin-left: 5px;
}

/*
 * temp
 */
/* font */
body .txt_l {
  text-align: left;
}

body .txt_c {
  text-align: center;
}

body .txt_r {
  text-align: right;
}

body .txt_fwn {
  font-weight: normal;
}

body .txt_fwb {
  font-weight: bold;
}

body .txt_10 {
  font-size: 10px;
}

body .txt_12 {
  font-size: 12px;
}

body .txt_14 {
  font-size: 14px;
}

body .txt_16 {
  font-size: 16px;
}

body .txt_18 {
  font-size: 18px;
}

body .txt_20 {
  font-size: 20px;
}

body .txt_24 {
  font-size: 24px;
}

body .txt_28 {
  font-size: 28px;
}

body .txt_c_333 {
  color: #333;
}

/* background */
.bgc_gray {
  background-color: #f1f1f1;
}

/* margin */
body {
  /* padding */
}

body .mar_auto {
  margin: 0 auto;
}

body .mar_0 {
  margin: 0;
}

body .mar_t_0 {
  margin-top: 0;
}

body .mar_r_0 {
  margin-right: 0;
}

body .mar_b_0 {
  margin-bottom: 0;
}

body .mar_l_0 {
  margin-left: 0;
}

body .mar_5 {
  margin: 5px;
}

body .mar_t_5 {
  margin-top: 5px;
}

body .mar_r_5 {
  margin-right: 5px;
}

body .mar_b_5 {
  margin-bottom: 5px;
}

body .mar_l_5 {
  margin-left: 5px;
}

body .mar_t_10 {
  margin-top: 10px;
}

body .mar_r_10 {
  margin-right: 10px;
}

body .mar_b_10 {
  margin-bottom: 10px;
}

body .mar_l_10 {
  margin-left: 10px;
}

body .mar_t_20 {
  margin-top: 20px;
}

body .mar_r_20 {
  margin-right: 20px;
}

body .mar_b_20 {
  margin-bottom: 20px;
}

body .mar_l_20 {
  margin-left: 20px;
}

body .mar_t_30 {
  margin-top: 30px;
}

body .mar_r_30 {
  margin-right: 30px;
}

body .mar_b_30 {
  margin-bottom: 30px;
}

body .mar_l_30 {
  margin-left: 30px;
}

body .mar_t_50 {
  margin-top: 50px;
}

body .mar_r_50 {
  margin-right: 50px;
}

body .mar_b_50 {
  margin-bottom: 50px;
}

body .mar_l_50 {
  margin-left: 50px;
}

body .pad_v_10 {
  padding: 10px 0;
}

body .pad_v_20 {
  padding: 20px 0;
}

body .pad_v_30 {
  padding: 30px 0;
}

body .pad_0 {
  padding: 0;
}

body .pad_t_0 {
  padding-top: 0;
}

body .pad_r_0 {
  padding-right: 0;
}

body .pad_b_0 {
  padding-bottom: 0;
}

body .pad_l_0 {
  padding-left: 0;
}

body .pad_5 {
  padding: 5px;
}

body .pad_t_5 {
  padding-top: 5px;
}

body .pad_r_5 {
  padding-right: 5px;
}

body .pad_b_5 {
  padding-bottom: 5px;
}

body .pad_l_5 {
  padding-left: 5px;
}

body .pad_10 {
  padding: 10px;
}

body .pad_t_10 {
  padding-top: 10px;
}

body .pad_r_10 {
  padding-right: 10px;
}

body .pad_b_10 {
  padding-bottom: 10px;
}

body .pad_l_10 {
  padding-left: 10px;
}

body .pad_20 {
  padding: 20px;
}

body .pad_t_20 {
  padding-top: 20px;
}

body .pad_r_20 {
  padding-right: 20px;
}

body .pad_b_20 {
  padding-bottom: 20px;
}

body .pad_l_20 {
  padding-left: 20px;
}

body .pad_30 {
  padding: 30px;
}

body .pad_t_30 {
  padding-top: 30px;
}

body .pad_r_30 {
  padding-right: 30px;
}

body .pad_b_30 {
  padding-bottom: 30px;
}

body .pad_l_30 {
  padding-left: 30px;
}

/* border */
body .bor_t_1 {
  border-top: 1px solid #eee;
}

body .bor_r_1 {
  border-right: 1px solid #eee;
}

body .bor_b_1 {
  border-bottom: 1px solid #eee;
}

body .bor_l_1 {
  border-left: 1px solid #eee;
}

/* vertical align */
body .va-10 {
  vertical-align: -10%;
}

body .va-20 {
  vertical-align: -20%;
}

body .va-30 {
  vertical-align: -30%;
}

body .va-35 {
  vertical-align: -35%;
}

body .va-40 {
  vertical-align: -40%;
}

/* left, pub, footer were removed to prevent conflicts with new SCSS */
/* --- ページトップに戻る --- */
#topBtn {
  position: fixed;
  right: 20px;
  bottom: 20px;
}

@media (min-width: 1024px) {
  #topBtn img {
    width: 50px;
    height: auto;
  }
}
@media (max-width: 980px) {
  /* ~980px */
  #base_gmoWrapp, #gmo_CMSPbar {
    overflow: hidden;
    min-width: 100% !important;
    width: 100% !important;
  }
}
@media (max-width: 768px) {
  /* ~768px */
  #contents {
    padding-left: 0;
  }
}
/*
 * icons
 */
.icon-user {
  background-position: -208px 0px;
}

.icon-lg-b.icon-user {
  background-position: -312px 0px;
}

.icon-adduser {
  background-position: -240px 0px;
}

.icon-lg-b.icon-adduser {
  background-position: -360px 0px;
}

.icon-login {
  background-position: -48px -80px;
}

.icon-lg-b.icon-login {
  background-position: -72px -120px;
}

.icon-logout {
  background-position: -32px -80px;
}

.icon-lg-b.icon-logout {
  background-position: -48px -120px;
}

.icon-home {
  background-position: -176px -16px;
}

.icon-lg-b.icon-home {
  background-position: -264px -24px;
}

.icon-mail {
  background-position: -64px 0px;
}

.icon-lg-b.icon-mail, .icon-pencil {
  background-position: -96px 0px;
}

.icon-lg-b.icon-pencil {
  background-position: -144px 0px;
}

.icon-help {
  background-position: -272px -80px;
}

.icon-lg-b.icon-help {
  background-position: -408px -120px;
}

.icon-cart {
  background-position: -176px -64px;
}

.icon-lg-b.icon-cart {
  background-position: -264px -96px;
}

.icon-search {
  background-position: -208px -16px;
}

.icon-lg-b.icon-search {
  background-position: -312px -24px;
}

.icon-chevron_up {
  background-position: 0px -144px;
}

.icon-lg-b.icon-chevron_up {
  background-position: 0px -216px;
}

.icon-chevron_down {
  background-position: -352px -128px;
}

.icon-lg-b.icon-chevron_down {
  background-position: -528px -192px;
}

.icon-b, .icon-w {
  width: 16px;
  height: 16px;
  display: inline-block;
  *display: inline;
  *zoom: 1;
}

.icon-lg-b, .icon-lg-w {
  width: 24px;
  height: 24px;
  display: inline-block;
  *display: inline;
  *zoom: 1;
}

.icon-b {
  background-image: url(http://img.shop-pro.jp/tmpl_img/73/icon16_b.png);
}

.icon-w {
  background-image: url(http://img.shop-pro.jp/tmpl_img/73/icon16_w.png);
}

.icon-lg-b {
  background-image: url(http://img.shop-pro.jp/tmpl_img/73/icon24_b.png);
}

.icon-lg-w {
  background-image: url(http://img.shop-pro.jp/tmpl_img/73/icon24_w.png);
}

@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2/1), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx) {
  .icon-b, .icon-w {
    -webkit-background-size: 368px 320px;
    background-size: 368px 320px;
  }
  .icon-lg-b, .icon-lg-w {
    -webkit-background-size: 552px 480px;
    background-size: 552px 480px;
  }
  .icon-b {
    background-image: url(http://img.shop-pro.jp/tmpl_img/73/icon16_2x_b.png);
  }
  .icon-w {
    background-image: url(http://img.shop-pro.jp/tmpl_img/73/icon16_2x_w.png);
  }
  .icon-lg-b {
    background-image: url(http://img.shop-pro.jp/tmpl_img/73/icon24_2x_b.png);
  }
  .icon-lg-w {
    background-image: url(http://img.shop-pro.jp/tmpl_img/73/icon24_2x_w.png);
  }
}
@media (max-width: 768px) {
  .icon-b {
    background-image: url(http://img.shop-pro.jp/tmpl_img/73/icon24_b.png);
  }
  .icon-w {
    background-image: url(http://img.shop-pro.jp/tmpl_img/73/icon24_w.png);
  }
}
@media only screen and (max-width: 768px) and (-webkit-min-device-pixel-ratio: 2), only screen and (max-width: 768px) and (min--moz-device-pixel-ratio: 2), only screen and (max-width: 768px) and (-o-min-device-pixel-ratio: 2/1), only screen and (max-width: 768px) and (min-device-pixel-ratio: 2), only screen and (max-width: 768px) and (min-resolution: 192dpi), only screen and (max-width: 768px) and (min-resolution: 2dppx) {
  .icon-b {
    background-image: url(http://img.shop-pro.jp/tmpl_img/73/icon24_2x_b.png);
  }
  .icon-w {
    background-image: url(http://img.shop-pro.jp/tmpl_img/73/icon24_2x_w.png);
  }
}
/* アイコン　16px black */
.icon-b.icon-chevron_right {
  background-position: -16px -144px;
}

/*youtube埋め込み*/
.youtube {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
}

.youtube iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/*ウェディングフォトキャンペーンバナー*/
#ph_camp_bnr {
  text-align: center;
  padding: 20px auto;
  background-color: #fff;
}

#ph_camp_bnr p {
  color: #d7161a;
  text-align: left;
}

#ph_camp_bnr a {
  color: #fff;
}

#ph_camp_bnr a:hover {
  color: #fff;
}

#ph_camp_bnr img {
  width: 683px;
  height: auto;
}

@media (max-width: 480px) {
  #ph_camp_bnr img {
    width: 100%;
  }
}
.movie iframe {
  width: 100%;
}

/* デザイントークン・変数 */
/* 
 * Design Tokens (Synced with mizuhiki-houyou.jp)
 */
:root {
  /* Colors */
  --primary-color: #3E1D1D;
  --secondary-color: #F7F6F4;
  --tertiary-color: #9B8F8F;
  --accent-color: #FFF367;
  --white: #FFF;
  --black: #000;
  --red: #d70000;
  --border-color: #D2CCCB;
  --bg-secondary: rgba(247, 246, 244, 0.8);
  /* Typography */
  --headline_font: "kinuta-maruminold-stdn", serif;
  --headline_font_weight: 400;
  --body_font: 'YuGothic', 'Yu Gothic medium', 'Hiragino Sans', 'Meiryo', sans-serif;
  --body_font_size: 1rem;
  --body_font_weight: 400;
  --body_font_weight_bold: 700;
  --label_font: "kinuta-maruminold-stdn", serif;
  --label_font_weight: 400;
  /* Font Size Base (Responsive) */
  --font-size-base: clamp(0.875rem, 0.828rem + 0.202vw, 1rem);
  /* Spacing */
  --spacing-section-y: clamp(5rem, 7.3207vw, 6.25rem);
  --spacing-subsection-y: clamp(3.75rem, 5.8566vw, 5rem);
  --spacing-element-y: 3.125rem;
  /* Transitions */
  --transition-base: all 0.3s ease;
}

/* SCSS Variables for Breakpoints (Keeping for media queries) */
/* デザイントークン・変数 */
/* 
 * Base Styles (Synced with mizuhiki-houyou.jp)
 */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  background: var(--secondary-color);
  font-size: var(--font-size-base);
  font-family: var(--body_font);
  font-style: normal;
  font-weight: var(--body_font_weight);
  color: var(--primary-color);
  line-height: 1; /* Default line-height from official site */
  -webkit-text-size-adjust: 100%;
  margin: 0;
  padding: 0;
}

p {
  margin-top: 1em;
  line-height: 2;
}
p:first-child, p:first-of-type {
  margin-top: 0;
}

a {
  color: var(--primary-color);
  text-decoration: none !important; /* Ensure no underlines globally */
  outline: none;
  transition: color 0.4s ease, opacity 0.4s ease; /* Smooth transition */
}
a:hover {
  color: var(--tertiary-color);
  opacity: 0.7; /* Soft brightness/fading effect */
}

img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

hr {
  border: none;
  display: block;
  width: 100%;
  height: 1px;
  margin: 0 auto;
  outline: none;
}

/* Typography Utilities from official site */
.mincho {
  font-family: var(--headline_font) !important;
  font-weight: var(--headline_font_weight) !important;
}

.text-left {
  text-align: left;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.br {
  display: block;
}

.br-inline {
  display: inline-block;
}

br.sp {
  display: none;
}
@media (max-width: 768px) {
  br.sp {
    display: block;
  }
}

br.pc {
  display: none;
}
@media (min-width: 768px) {
  br.pc {
    display: block;
  }
}

.pc-only {
  display: none;
}
@media (min-width: 768px) {
  .pc-only {
    display: inline;
  }
}

.sp-only {
  display: inline;
}
@media (min-width: 768px) {
  .sp-only {
    display: none;
  }
}

/* レイアウト（ヘッダー・メインエリア・フッター） */
/* デザイントークン・変数 */
/* 
 * Header Styles (Synced with mizuhiki-houyou.jp)
 */
#header {
  width: 100%;
  position: relative;
  z-index: auto; /* スタッキングコンテキストを解除し、子要素のz-indexがドキュメント全体で機能するようにする */
}
#header .box {
  max-width: 1100px; /* Same as container-md on official site */
  width: 90%;
  margin: 0 auto;
  padding: clamp(1.25rem, 4.3924vw, 3.75rem) 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  transition: all 0.3s ease;
  /* 下層ページ（トップ以外）ではヘッダーの高さを小さくする */
}
body:not(.page-top) #header .box {
  padding: 1rem 0;
  gap: 0.5rem;
}
body:not(.page-top) #header .box h1 img {
  width: 90px; /* ロゴも少し小さく */
}
@media (max-width: 768px) {
  body:not(.page-top) #header .box h1 img {
    width: 70px; /* スマホ時はさらに小さく (80px -> 70px) */
  }
}
@media (max-width: 768px) {
  #header .box {
    padding: calc(1.5rem + 56px) 0 1.25rem; /* 上下パディングを微調整 (2rem -> 1.5rem / 1.25rem) */
    gap: 0.75rem; /* スマホ時の隙間を少し縮める (1rem -> 0.75rem) */
  }
  body:not(.page-top) #header .box {
    padding: calc(1.25rem + 56px) 0 0.4rem; /* スマホ下層ページのパディング調整：上を増やし下を減らす */
    gap: 0.4rem;
  }
}
#header {
  /* Nakagawa Masashichi Style Utilities - Positioned at window corner */
}
#header .header-utilities {
  position: fixed; /* 常時表示させるため fixed に変更 */
  top: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  z-index: 1001; /* メニューより手前に表示するため */
  background-color: var(--bg-secondary); /* サイトの背景色と同じで透明度を維持 */
  padding: 10px 15px;
  border-radius: 8px;
  backdrop-filter: blur(5px);
  box-shadow: none; /* ドロップシャドウなし */
}
@media (max-width: 768px) {
  #header .header-utilities {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 56px;
    margin-top: 0;
    padding: 5px 15px; /* Figmaデザインに基づき、左右に少しパディング */
    background-color: #EEEBE7; /* Figmaの指定色 */
    justify-content: space-between; /* 両端と中央に配置 */
    gap: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05); /* うっすらと境界がわかるように */
    border-radius: 0;
    backdrop-filter: none;
  }
}
#header .header-home {
  display: none;
}
@media (max-width: 768px) {
  #header .header-home {
    display: block;
    width: 37px;
    height: 46px;
  }
  #header .header-home img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}
#header .menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 1002;
  padding: 0;
}
@media (max-width: 768px) {
  #header .menu-toggle {
    display: block;
    width: 37px;
    height: 46px;
  }
  #header .menu-toggle img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}
#header .header-search {
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(62, 29, 29, 0.6); /* Darker border */
  padding-bottom: 2px;
  margin-right: 0.75rem; /* Slightly more space */
}
#header .header-search input {
  border: none;
  background: transparent;
  font-size: 0.875rem; /* Larger search text */
  padding: 4px;
  width: 120px; /* Slightly wider */
  color: var(--primary-color);
  font-family: var(--body_font);
  letter-spacing: 0.05em;
}
#header .header-search input::placeholder {
  color: rgba(62, 29, 29, 0.7); /* Darker placeholder */
}
#header .header-search input:focus {
  outline: none;
}
#header .header-search button {
  background: transparent;
  border: none;
  color: var(--primary-color);
  cursor: pointer;
  padding: 0 4px;
  display: flex;
  align-items: center;
  opacity: 0.9; /* Slightly darker icon */
}
#header .header-search button svg {
  display: block;
  width: 1.4rem; /* Larger magnifying glass as requested */
  height: auto;
}
#header .header-cart {
  display: flex;
  flex-direction: column; /* Stack icon and text */
  align-items: center;
  gap: 0.15rem;
  color: var(--primary-color);
  font-size: 0.75rem; /* Larger cart text */
  font-weight: var(--body_font_weight_bold);
  transition: var(--transition-base);
  line-height: 1;
}
#header .header-cart svg {
  display: block;
  width: 1.8rem; /* Larger cart icon as requested */
  height: auto;
  margin-bottom: 2px;
}
#header .header-cart:hover {
  color: var(--tertiary-color);
  opacity: 0.7;
}
@media (max-width: 768px) {
  #header .header-cart {
    display: block;
    width: 37px;
    height: 46px;
  }
  #header .header-cart img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}
#header h1 {
  margin: 0;
  text-align: center;
}
#header h1 img {
  width: 130px;
  display: block;
}
@media (max-width: 768px) {
  #header h1 img {
    width: 80px; /* スマホ時は小さくする (90px -> 80px) */
  }
}
#header h1 {
  /* スクロール時に画面左上に固定表示（PCのみ） */
}
@media (min-width: 769px) {
  body.is-scrolled #header h1 {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;
    background-color: var(--bg-secondary);
    padding: 10px 15px;
    border-radius: 8px;
    backdrop-filter: blur(5px);
    animation: logoFadeIn 0.3s ease forwards;
  }
  body.is-scrolled #header h1 img {
    width: 90px; /* スクロール時は少し小さく */
  }
}

@keyframes logoFadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.name {
  display: none; /* Hide the generic name text, let the logo speak */
}

#cart_icn {
  display: none !important; /* 古いカートアイコンは完全に非表示 */
}

/* トグルメニューのオーバーレイと状態クラス */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

body.is-open {
  overflow: hidden; /* スクロールロック */
}
body.is-open .menu-overlay {
  opacity: 1;
  visibility: visible;
}

/* デザイントークン・変数 */
/* 
 * Main Layout Scaffolding (Synced with mizuhiki-houyou.jp)
 */
#wrapper {
  width: 90%;
  max-width: 1100px; /* Same as container-md */
  margin: 0 auto;
  padding: clamp(0.5rem, 2vw, 1.25rem) 0 2rem; /* 上部パディングを削減してコンテンツをヘッダーに近づける */
  display: flex;
  flex-direction: row-reverse; /* Keep main content on the left, sidebar on the right */
  gap: clamp(2rem, 5vw, 4rem);
}
@media (max-width: 768px) {
  #wrapper {
    flex-direction: column;
    padding: 1rem 0 2.5rem; /* スマホ時の上部パディングを3remから1remへ削減 */
  }
}
#wrapper::after {
  display: none;
}

/* Main Content Area */
#main_content {
  flex-grow: 1;
  width: calc(100% - 250px - clamp(2rem, 5vw, 4rem));
}
@media (max-width: 768px) {
  #main_content {
    width: 100%;
  }
}

/* Sidebar Area */
#left {
  width: 250px;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  #left {
    position: fixed;
    top: 0;
    left: 0;
    transform: translateY(-100%);
    visibility: hidden;
    width: 100%;
    height: 100vh;
    background-color: #EEEBE7; /* ナビバーと同じ背景色 */
    z-index: 1000;
    padding: 76px 2rem 150px; /* ナビバーの高さ56px + 20px, bottomに150pxの余白を追加 */
    margin: 0;
    overflow-y: auto;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), visibility 0.4s;
    box-sizing: border-box;
    /* JSで移動してくる検索バーのSPスタイル */
  }
  #left .header-search {
    width: 100%;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid rgba(62, 29, 29, 0.6);
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  #left .header-search input {
    width: 100%;
    font-size: 1rem;
    padding: 0.5rem 0;
    background: transparent;
    border: none;
    color: var(--primary-color);
    font-family: var(--body_font);
  }
  #left .header-search input::placeholder {
    color: rgba(62, 29, 29, 0.7);
  }
  #left .header-search input:focus {
    outline: none;
  }
  #left .header-search button {
    background: transparent;
    border: none;
    color: var(--primary-color);
    padding: 0 0 0 10px;
  }
  #left .header-search button svg {
    width: 1.4rem;
    height: auto;
  }
  #left {
    /* トグルメニュー（スマホ）内のスタイルを見やすく調整 */
  }
  #left #side dl {
    margin-bottom: 2.5rem;
  }
  #left #side dl dt {
    font-size: 1.125rem;
    font-family: var(--headline_font);
    font-weight: var(--headline_font_weight);
    letter-spacing: 0.08em;
    padding: 0.7rem 1rem;
    margin-bottom: 1.25rem;
    background-color: rgb(155, 143, 143);
    color: #fff;
    border-radius: 2px;
  }
  #left #side dl dt a {
    color: #fff !important;
  }
  #left #side dl dd {
    font-size: 0.875rem;
    font-family: var(--body_font);
    line-height: 1;
    margin: 0 0 0 0.75rem;
    padding: 0.65rem 0 0.65rem 0.75rem;
    border-left: 2px solid rgba(62, 29, 29, 0.15);
    border-bottom: 1px solid rgba(62, 29, 29, 0.06);
  }
  #left .side-nav li {
    margin-bottom: 1.5rem;
  }
  #left .side-nav li a {
    font-size: 1rem;
  }
}
#left #side dl {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
}
#left #side dl dt {
  font-family: var(--headline_font);
  font-weight: var(--headline_font_weight);
  font-size: 1.125rem;
  letter-spacing: 0.08em;
  padding: 0.6rem 1rem;
  margin-bottom: 1rem;
  background-color: rgb(155, 143, 143);
  color: #fff;
  border-radius: 2px;
}
#left #side dl dt a {
  color: #fff !important;
}
#left #side dl dd {
  margin: 0 0 0 0.5rem;
  padding: 0.5rem 0 0.5rem 0.75rem;
  font-size: clamp(0.875rem, 0.851rem + 0.101vw, 0.938rem);
  line-height: 1;
  border-left: 2px solid rgba(62, 29, 29, 0.15);
  border-bottom: 1px solid rgba(62, 29, 29, 0.06);
}
#left #side dl dd a {
  color: var(--primary-color);
}
#left #side dl dd a:hover {
  color: var(--tertiary-color);
}
#left .side-nav {
  margin: 3rem 0 0;
  padding: 2rem 0 0 0;
  border-top: 1px solid rgba(62, 29, 29, 0.6); /* Matched with search border */
  list-style: none;
}
#left .side-nav li {
  list-style: none;
  margin-bottom: 1.25rem; /* 行間をあける */
}
#left .side-nav li:last-child {
  margin-bottom: 0;
}
#left .side-nav li a {
  font-family: var(--body_font);
  font-size: 0.875rem;
  color: var(--primary-color);
  font-weight: var(--body_font_weight_bold);
  text-decoration: none;
}
#left .side-nav li a:hover {
  color: var(--tertiary-color);
}

/* bodyに.is-openが付与されたらメニューをスライドイン */
@media (max-width: 768px) {
  body.is-open #left {
    transform: translateY(0);
    visibility: visible;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); /* スライドイン時の影を下部に */
  }
}

/* Common Section Titles (matching official site .main-section-title) */
.section-title {
  font-family: var(--headline_font);
  font-size: clamp(1.25rem, 1.013rem + 1.009vw, 1.875rem);
  font-weight: var(--headline_font_weight);
  text-align: center;
  line-height: 1.8;
  margin-top: 6.25rem;
  margin-bottom: clamp(2.25rem, 3.9532vw, 3.375rem);
}
.section-title:first-child, .section-title:first-of-type {
  margin-top: 0;
}

/* Slider container */
#slide_in {
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
}
#slide_in #slide {
  margin: 0 auto;
}

/* デザイントークン・変数 */
/* 
 * Footer Styles (Synced with mizuhiki-houyou.jp)
 */
#footer {
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(4rem, 8vw, 6rem);
  text-align: center;
  background: transparent;
  border-top: 1px solid var(--border-color);
}
#footer .footer-nav {
  padding: 0;
  margin: 0 auto 2.5rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  max-width: 900px;
}
@media (max-width: 768px) {
  #footer .footer-nav {
    gap: 0.875rem 1.25rem;
    padding: 0 1rem;
  }
}
#footer .footer-nav li {
  list-style: none;
}
#footer .footer-nav li a {
  color: var(--primary-color);
  font-family: var(--body_font);
  font-weight: var(--body_font_weight);
  font-size: 0.8125rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  line-height: 1.8;
  transition: var(--transition-base);
}
#footer .footer-nav li a:hover {
  color: var(--tertiary-color);
}
#footer .footer-sns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3.5rem;
  margin: 2.5rem auto;
  padding: 0;
}
@media (max-width: 768px) {
  #footer .footer-sns {
    gap: 2.5rem;
    margin: 2rem auto;
  }
}
#footer .footer-sns li {
  list-style: none;
}
#footer .footer-sns li a {
  display: inline-block;
}
#footer .footer-sns li a img {
  width: 1.75rem; /* 28px */
  height: auto;
  opacity: 0.8;
  transition: var(--transition-base);
}
#footer .footer-sns li a:hover img {
  opacity: 1;
}
#footer address {
  font-style: normal;
  font-size: clamp(0.75rem, 0.72rem + 0.1vw, 0.8125rem);
  color: var(--tertiary-color);
  font-family: var(--body_font);
  line-height: 1.25;
  margin-top: 1rem;
}

/* フリーページ：祝儀袋へのお金の入れ方 */
/* デザイントークン・変数 */
.howto-page {
  max-width: 850px;
  margin: 0 auto;
  padding: 1rem 0 3rem;
}
.howto-page .howto-header {
  text-align: center;
  margin-bottom: 4rem;
}
@media (max-width: 768px) {
  .howto-page .howto-header {
    margin-bottom: 2.5rem;
  }
}
.howto-page .howto-header .howto-subtitle {
  font-size: 0.8125rem;
  letter-spacing: 0.18em;
  color: var(--tertiary-color);
  display: block;
  margin-bottom: 0.75rem;
  font-family: var(--body_font);
  text-transform: uppercase;
}
.howto-page .howto-header h2 {
  font-family: var(--headline_font);
  font-size: clamp(1.375rem, 2.2vw + 0.8rem, 2rem);
  color: var(--primary-color);
  font-weight: var(--headline_font_weight);
  margin: 0 0 1.5rem 0;
  line-height: 1.5;
}
.howto-page .howto-header .howto-intro {
  font-size: 0.875rem;
  line-height: 1.8;
  color: #555;
  max-width: 650px;
  margin: 0 auto;
  text-align: left;
}
.howto-page .howto-steps {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}
@media (max-width: 768px) {
  .howto-page .howto-steps {
    gap: 2.5rem;
  }
}
.howto-page .step-card {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px dashed var(--border-color);
}
.howto-page .step-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
@media (max-width: 768px) {
  .howto-page .step-card {
    flex-direction: column;
    gap: 1.25rem;
    padding-bottom: 2.5rem;
    align-items: flex-start;
  }
}
.howto-page .step-card:nth-child(even) {
  flex-direction: row-reverse;
}
@media (max-width: 768px) {
  .howto-page .step-card:nth-child(even) {
    flex-direction: column;
  }
}
.howto-page .step-card .step-image {
  flex: 1.1;
  width: 100%;
}
.howto-page .step-card .step-image img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 0.625rem;
}
.howto-page .step-card .step-content {
  flex: 0.9;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.howto-page .step-card .step-content .step-number {
  font-family: var(--headline_font);
  font-size: 2.5rem;
  color: rgba(62, 29, 29, 0.2);
  line-height: 1;
  margin-bottom: 0.25rem;
  font-weight: 300;
  letter-spacing: 0.05em;
}
.howto-page .step-card .step-content h3 {
  font-family: var(--headline_font);
  font-size: 1.25rem;
  color: var(--primary-color);
  margin: 0 0 0.875rem 0;
  font-weight: var(--headline_font_weight);
  line-height: 1.4;
}
@media (max-width: 768px) {
  .howto-page .step-card .step-content h3 {
    font-size: 1.125rem;
  }
}
.howto-page .step-card .step-content p {
  font-size: 0.875rem;
  line-height: 1.8;
  color: #555;
  margin: 0;
}
.howto-page .howto-footer-notes {
  margin-top: 5rem;
  padding: 2.5rem;
  background-color: var(--secondary-color);
  border-radius: 0.625rem;
}
@media (max-width: 768px) {
  .howto-page .howto-footer-notes {
    margin-top: 3.5rem;
    padding: 1.5rem;
  }
}
.howto-page .howto-footer-notes h4 {
  font-family: var(--headline_font);
  font-size: 1.0625rem;
  color: var(--primary-color);
  margin: 0 0 1rem 0;
  font-weight: var(--body_font_weight_bold);
}
.howto-page .howto-footer-notes ul {
  margin: 0;
  padding-left: 1.2rem;
}
.howto-page .howto-footer-notes ul li {
  font-size: 0.8125rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 0.75rem;
}
.howto-page .howto-footer-notes ul li:last-child {
  margin-bottom: 0;
}

/* 送料無料アプリ */
/* --- 「あと○円で送料無料」アプリのカスタマイズ --- */
/*
 * position: fixed の要素はビューポートを基準に配置されるため、
 * 親要素（アプリのVueラッパー）のwidthに関係なく画面幅いっぱいに広げられる。
 * アプリがインラインで style="width:370px" を設定しているが、
 * JavaScriptで強制的に上書きする（index.html参照）。
 */
html body .freeShippingPopupOuter,
html body .freeShippingPopupOuter.popupOuter {
  position: fixed !important;
  bottom: 0 !important;
  top: auto !important;
  left: 0 !important;
  right: 0 !important;
  width: 100vw !important;
  max-width: 100vw !important;
  margin: 0 !important;
  border-radius: 0 !important;
  background-color: rgb(238, 235, 231) !important;
  box-shadow: none !important;
  height: auto !important; /* アプリの height: 80px を無効化 */
  border: none !important;
  z-index: 2147483647 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 6px 48px 6px 24px !important; /* 上下の余白を縮め、右側は×ボタンのスペースを確保 */
  -webkit-transform: none !important; /* アプリの translateX(-50%) を無効化 */
  transform: none !important;
  box-sizing: border-box !important;
}

/* トラックのアイコンはスッキリさせるために非表示 */
.freeShippingPopupOuter .iconArea {
  display: none !important;
}

/* アプリが設定する padding-left: 80px を除去 */
.freeShippingPopupOuter .freeShippingDetails {
  padding-left: 0 !important;
  padding-right: 0 !important;
  flex: none !important;
}

/* テキストの色を本文（var(--primary-color)）と同じに統一 */
.freeShippingPopupOuter .remainingPriceArea,
.freeShippingPopupOuter .remainingPrice,
.freeShippingPopupOuter .freeShippingText {
  color: var(--primary-color, #3E1D1D) !important;
  font-weight: normal !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
}

.freeShippingPopupOuter .remainingPrice {
  font-weight: bold !important;
  margin: 0 4px !important;
}

/* 閉じるボタンをウィンドウ右端15px・バー垂直中央に固定 */
.freeShippingPopupOuter .closeIcon {
  color: var(--primary-color, #3E1D1D) !important;
  position: fixed !important;
  right: 15px !important;
  bottom: 10px !important;
  top: auto !important;
  -webkit-transform: none !important;
  transform: none !important;
  font-size: 16px !important;
  opacity: 0.5 !important;
  line-height: 1 !important;
}

/* 最下部の要素が送料無料バーと重なって隠れないようにボディに余白を追加 */
body {
  padding-bottom: 50px !important;
}
