@charset "UTF-8";
/* =========================================
   基本リセット & 共通設定
   ========================================= */
* { box-sizing: border-box; }
body {
  margin: 0; padding: 0;
  font-family: "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
  color: #444; line-height: 2.0; letter-spacing: 0.08em;
  -webkit-font-smoothing: antialiased; background-color: #fff;
}
img { max-width: 100%; height: auto; vertical-align: bottom; }
p { margin: 0 0 1.8em; }
ul { padding: 0; margin: 0; list-style: none; }
a { text-decoration: none; color: inherit; transition: opacity 0.3s; }
a:hover { opacity: 0.7; }
.bold { font-weight: 700; }
.sp { display: none !important; }
.pc { display: block !important; }
@media (max-width: 768px) {
  .sp { display: block !important; }
  .pc { display: none !important; }
}

/* レイアウト */
.wrapper { width: 100%; overflow-x: hidden; font-size: 15px; }
.inner { margin-left: auto; margin-right: auto; width: 90%; max-width: 1000px; }

/* 見出し共通 */
.page_ttl {
  font-size: 26px; font-weight: 700; text-align: center;
  line-height: 1.6; margin-bottom: 50px; color: #333;
}
.page_ttl span {
  font-family: "Outfit", sans-serif; font-weight: 700; font-size: 14px;
  letter-spacing: 0.15em; color: #AF964B; display: block; margin-top: 10px;
}
@media (max-width: 768px) { .page_ttl { font-size: 20px; margin-bottom: 30px; } }

/* ヘッダー */
.sv_header { padding: 60px 0; }
.sv_header .inner { max-width: 800px; }
.sv_header h2 { margin: 40px 0 50px; font-size: 26px; font-weight: 700; text-align: center; }
.sv_header h2 span { font-family: "Outfit", sans-serif; font-size: 14px; color: #AF964B; display: block; margin-top: 10px; }
@media (max-width: 768px) { .sv_header h2 { font-size: 20px; } }

.cta_box { text-align: center; padding: 30px 0 80px; }
.cta_box img { max-width: 460px; width: 100%; }
@media (max-width: 768px) { .cta_box img { width: 70% !important; max-width: 280px !important; margin: 0 auto; display: block; } }

/* 悩み・コンセプト */
.concern { background-color: #F5F3EF; text-align: center; }
.concern .inner { padding: 80px 0; max-width: 800px; }
@media (max-width: 768px) { .concern .inner { padding: 0; width: 100%; } }

.concept_mission_fusion { padding: 100px 0; background: #fff; text-align: center; }
.fusion_header { margin-bottom: 40px; }
.fusion_sub { font-family: "Outfit", sans-serif; color: #AF964B; font-weight: 700; letter-spacing: 0.1em; margin-bottom: 10px; font-size: 14px; }
.fusion_ttl { font-size: 24px; font-weight: 700; line-height: 1.8; color: #333; }
.gold_marker { background: linear-gradient(transparent 60%, #faebc6 60%); padding: 0 5px; }
.fusion_body { max-width: 720px; margin: 0 auto; }
.fusion_lead { font-size: 18px; font-weight: 700; margin-bottom: 40px; }
.fusion_txt p { text-align: left; font-size: 15px; }
@media (max-width: 768px) { 
  .fusion_ttl { font-size: 20px; }
  .fusion_lead { font-size: 16px; text-align: left; }
}

/* ▼▼▼ 追加デザイン：未来リスト ▼▼▼ */
.future_area {
  margin-top: 60px;
  background-color: #f9f9f9;
  border: 2px solid #AF964B;
  border-radius: 16px;
  padding: 40px;
  text-align: left;
}
.future_ttl {
  text-align: center; color: #AF964B; font-weight: 700; font-size: 20px;
  margin-bottom: 30px; border-bottom: 1px dashed #AF964B; padding-bottom: 15px; display: block;
}
.future_list li {
  margin-bottom: 20px; display: flex; align-items: flex-start;
}
.future_list li:last-child { margin-bottom: 0; }
.future_chk {
  color: #fff; background: #AF964B; border-radius: 50%; width: 24px; height: 24px;
  text-align: center; line-height: 24px; margin-right: 15px; flex-shrink: 0; font-size: 14px; margin-top: 3px;
}
.future_txt { font-weight: 700; display: block; margin-bottom: 5px; font-size: 16px; }
.future_sub { font-size: 14px; color: #666; display: block; }
@media (max-width: 768px) {
  .future_area { padding: 30px 20px; }
  .future_ttl { font-size: 18px; line-height: 1.5; }
}
/* ▲▲▲ 追加デザインここまで ▲▲▲ */

/* サービス内容 */
.service_contents { background-color: #F5F3EF; padding: 80px 0; }
.service_intro { text-align: center; max-width: 800px; margin: 0 auto 40px; }
.service_contents_itemWrap { display: flex; flex-wrap: wrap; gap: 30px; max-width: 1000px; margin: 50px auto 0; }
.service_contents_item {
  background-color: #fff; border-radius: 24px; box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.05);
  width: calc(50% - 15px); margin-bottom: 0; overflow: hidden; display: flex; flex-direction: column;
}
.service_contents_item__bottom { padding: 30px; flex-grow: 1; }
.service_contents_item h3 { font-weight: 700; font-size: 18px; border-bottom: 1px solid #ddd; padding-bottom: 10px; margin: 0 0 15px; }
.service_contents_item li { font-size: 14px; padding-left: 1.2em; text-indent: -1.2em; margin-bottom: 0.5em; }
.service_contents_item li::before { content: "●"; color: #AF964B; margin-right: 5px; font-size: 0.8em; }
@media (max-width: 768px) { 
  .service_contents_itemWrap { display: block; }
  .service_contents_item { width: 100%; margin-bottom: 20px; }
}

/* 選ばれる理由 */
.reason { background-color: #fff; padding: 100px 0; }
.reason_item { margin-bottom: 80px; position: relative; }
.reason_item:last-child { margin-bottom: 0; }
.reason_item__inner {
  display: flex; align-items: center; background-color: #fff; border-radius: 24px;
  padding: 50px 40px; box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.05); max-width: 980px; margin: 0 auto;
}
.reason_item__num {
  font-family: "Outfit", sans-serif; font-weight: 700; font-size: 26px; color: #AF964B;
  position: absolute; top: -30px; left: 50%; transform: translateX(-50%); background: #fff;
  width: 60px; height: 60px; border-radius: 50%; display: flex; justify-content: center; align-items: center;
  box-shadow: 0px 4px 10px rgba(0,0,0,0.1); z-index: 2;
}
.reason_item__img { width: 40%; flex-shrink: 0; margin-right: 40px; }
.reason_item__img img { border-radius: 12px; width: 100%; }
.reason_item__dsp { width: 60%; }
.reason_item__dsp h3 { font-size: 22px; color: #AF964B; font-weight: 700; margin-top: 0; margin-bottom: 20px; line-height: 1.5; }
.reason_item__dsp p { font-size: 15px; margin-bottom: 0; line-height: 2.2; }
@media (max-width: 768px) {
  .reason_item__inner { display: block; padding: 60px 24px 40px; }
  .reason_item__img { width: 100%; margin-right: 0; margin-bottom: 30px; }
  .reason_item__dsp { width: 100%; }
  .reason_item__dsp h3 { font-size: 19px; }
}

/* お客様の声 */
.voice { background-color: #EEE8DB; padding: 100px 0; }
.voice .swiper { width: 100%; padding-bottom: 60px; padding-top: 20px; }
.voice .swiper-button-next, .voice .swiper-button-prev { width: 50px; height: 50px; background-color: #fff; border-radius: 50%; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.voice .swiper-button-next::after, .voice .swiper-button-prev::after { font-size: 20px; color: #AF964B; font-weight: bold; }
.voice .swiper-pagination-bullet { width: 10px; height: 10px; background: #ccc; opacity: 1; }
.voice .swiper-pagination-bullet-active { background: #AF964B; }
.voice_item {
  background: #fff; border-radius: 24px; padding: 50px 40px; width: 100%; max-width: 900px;
  margin: 0 auto; box-sizing: border-box; box-shadow: 0px 5px 15px rgba(0,0,0,0.05);
}
.voice_item__row { display: flex; align-items: flex-start; margin: 30px 0; }
.voice_item__img { width: 120px; flex-shrink: 0; margin-right: 40px; }
.voice_item__img img { border-radius: 50%; width: 100%; }
.voice_item__txt { flex-grow: 1; }
.voice_item h3 { font-size: 20px; border-left: 5px solid #AF964B; padding-left: 15px; line-height: 1.5; margin-top: 0; }
.voice_item h3 span { display: block; font-size: 13px; font-weight: normal; margin-top: 8px; }
.voice_item__q {
  color: #AF964B; font-weight: 700; font-size: 16px; border-bottom: 1px solid #AF964B;
  padding-bottom: 5px; margin-bottom: 10px; margin-top: 25px;
}
.voice_item__q::before { content: "Q."; font-family: "Outfit", sans-serif; margin-right: 10px; font-size: 1.2em; }
.voice_item__a { font-size: 15px; }

/* SP Voice Buttons & Accordion */
.voice_list_sp .voice_item { margin-bottom: 20px; }
.voice_item__spBtn { display: none; }
.voice_item__content { display: none; }
.voice_item.on .voice_item__content { display: block; animation: fadeIn 0.5s ease; }

@media (max-width: 768px) {
  .voice_item { padding: 30px 20px; }
  .voice_item__row { display: block; }
  .voice_item__img { width: 80px; margin: 0 auto 20px; }
  .voice_item__spBtn {
    display: flex; align-items: center; justify-content: center; margin: 0 auto;
    font-weight: 700; color: #fff; background: #004F3C; width: 100%; height: 50px;
    border-radius: 10px; font-size: 14px; cursor: pointer; position: relative;
  }
  .voice_item__spBtn::after {
    content: ""; display: block; width: 8px; height: 8px; border-bottom: 2px solid #fff;
    border-right: 2px solid #fff; transform: rotate(45deg); margin-left: 10px; margin-top: -4px; transition: transform 0.3s;
  }
  .voice_item__spBtn::before { content: "詳しく見る"; }
  .voice_item.on .voice_item__spBtn { background: #666; font-size: 0; }
  .voice_item.on .voice_item__spBtn::before { content: "閉じる"; font-size: 14px; display: block; }
  .voice_item.on .voice_item__spBtn::after { transform: rotate(225deg); margin-top: 4px; }
}

/* 事例 (Case) PC Tab & Anime */
.case__pc { padding: 80px 0 0; }
.care_tab_wrap { display: flex; justify-content: center; align-items: flex-end; gap: 20px; margin-bottom: 40px; }
.care_tab { display: block; position: relative; width: 280px; height: 70px; cursor: pointer; }
.care_tab img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity 0.3s; }
.care_tab img:first-child { opacity: 0; }
.care_tab img:last-child { opacity: 1; }
.care_tab.on img:first-child { opacity: 1; }
.care_tab.on img:last-child { opacity: 0; }
.case_content { background-color: #F5F3EF; padding: 60px 0; width: 100%; display: none; }
.case_content.on { display: block; }
.case_content h3 { text-align: center; font-size: 20px; margin-top: 40px; margin-bottom: 20px; font-weight: 700; }
/* Anime */
.case_cooking__anime_wrap { overflow: hidden; margin-top: 40px; width: 100%; }
.case_cooking__anime { display: flex; flex-wrap: nowrap; width: max-content; animation: infiniteScroll 40s linear infinite; }
.case_cooking__anime ul { display: flex; padding: 0; margin: 0; }
.case_cooking__anime li { width: 250px; margin-right: 20px; border-radius: 12px; overflow: hidden; flex-shrink: 0; }
.case_cooking__anime li img { display: block; width: 100%; }
@keyframes infiniteScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
/* Before/After */
.case_cleaning__ba { display: flex; justify-content: center; gap: 60px; margin-bottom: 50px; position: relative; }
.case_cleaning__ba > div span { display: block; position: relative; border-radius: 12px; overflow: hidden; width: 280px; }
.case_cleaning__ba > div span::after {
  display: block; text-align: center; color: #fff; padding: 8px 0; position: absolute; bottom: 0; width: 100%;
  font-size: 13px; letter-spacing: 0.1em; z-index: 2;
}
.case_cleaning__baBefore span::after { content: "Before"; background: #333; }
.case_cleaning__baAfter span::after { content: "After"; background: #AF964B; }
.case_cleaning__ba::after { content: "▶"; font-size: 30px; color: #AF964B; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 2; }

/* SP Case */
.case__sp { display: none; }
.case_spBtn { display: none; }
.case_accordion { display: none; }
@media (max-width: 768px) {
  .case__sp { display: block; padding-top: 50px; }
  .case__sp .case_content { background-color: #F5F3EF; padding: 40px 20px; margin-bottom: 40px;  display: block;}
  .case__sp .case_content__ttl { display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 20px; color: #AF964B; margin-bottom: 20px; line-height: 1.4; }
  .case__sp .case_content__ttl img { width: 24px; height: auto; margin-right: 10px; vertical-align: middle; margin-bottom: 4px; }
  .case__sp .case_content p { font-size: 14px; margin-bottom: 30px; }
  .case_item_single { background: #fff; border-radius: 12px; padding: 15px; margin-bottom: 20px; }
  .case_item_single h3 { font-size: 16px; font-weight: 700; margin-top: 0; margin-bottom: 10px; color: #333; text-align: left; }
  .case_item_single img { width: 100%; border-radius: 8px; display: block; }
  .case_caption { font-size: 12px; color: #666; margin-top: 8px; margin-bottom: 0; text-align: right; }
  .mt-30 { margin-top: 30px; }
  .case_content.on .case_accordion { display: block; margin-top: 30px; border-top: 1px solid #ccc; padding-top: 30px; }
  .case_spBtn {
     display: flex; align-items: center; justify-content: center; margin: 20px auto 0; font-weight: 700;
     color: #fff; background: #004F3C; width: 100%; height: 50px; border-radius: 10px; font-size: 14px; cursor: pointer; position: relative;
  }
  .case_spBtn::after { content: ""; display: block; width: 8px; height: 8px; border-bottom: 2px solid #fff; border-right: 2px solid #fff; transform: rotate(45deg); margin-left: 10px; margin-top: -4px; transition: transform 0.3s; }
  .case_spBtn::before { content: "詳しく見る"; }
  .case_content.on .case_spBtn::before { content: "閉じる"; font-size: 14px; display: block; }
  .case_content.on .case_spBtn::after { transform: rotate(225deg); margin-top: 4px; }
  .case_content.on .case_spBtn { background: #666; font-size: 0; }
  
  .case_cleaning__ba { gap: 10px; align-items: center; }
  .case_cleaning__ba > div { width: 48%; }
  .case_cleaning__ba > div span { width: 100% !important; height: auto; }
  .case_cleaning__ba::after { font-size: 16px; }
}

/* 料金 */
.price { padding: 100px 0; background: #fff; }
.price h3 {
  font-size: 20px; text-align: center; margin-top: 60px; margin-bottom: 30px; position: relative;
  display: inline-block; left: 50%; transform: translateX(-50%); border-bottom: 3px solid #AF964B; padding-bottom: 5px;
}
.price_head { display: flex; gap: 30px; margin-top: 50px; }
.price_headBOx { flex: 1; padding: 30px; color: #fff; border-radius: 16px; }
.price_headBOx--free { background-color: #AF964B; }
.price_headBOx--subsc { background-color: #004F3C; }
.price_headBOx__ttl { font-size: 18px; font-weight: 700; text-align: center; border-bottom: 1px solid rgba(255,255,255,0.5); padding-bottom: 15px; margin-bottom: 15px; }
.price_headBOx__txt { font-size: 15px; }
@media (max-width: 768px) { .price_head { display: block; } .price_headBOx--subsc { margin-top: 20px; } }

.price_tbl__wrap { margin-top: 40px; border: 1px solid #AF964B; border-radius: 16px; overflow: hidden; }
.price_tbl { width: 100%; border-collapse: collapse; table-layout: fixed; /* 修正 */ }
.price_tbl th, .price_tbl td { padding: 15px; border-bottom: 1px solid #ddd; border-right: 1px solid #ddd; text-align: center; font-size: 15px; }
.price_tbl th { background: #AF964B; color: #fff; border-right-color: #fff; }
.price_tbl tr:last-child td { border-bottom: none; }
.price_tbl tr:nth-child(even) { background-color: #f9f9f9; }

/* Option Table Width Adjustments */
.price_tbl_option th:nth-child(1) { width: 20%; }
.price_tbl_option th:nth-child(2) { width: 30%; }
.price_tbl_option th:nth-child(3) { width: 50%; }

/* SP Price */
.price_spBtn { display: none; }
.price_hidden_rows { display: none; }
.on .price_hidden_rows, .price_tbl__wrap.on .price_hidden_rows { display: table-row-group; animation: fadeIn 0.3s ease; }

@media (max-width: 768px) {
  .price_tbl__wrap--plan { border-radius: 0; border: none; margin: 30px -5vw 0; width: 100vw; }
  .price_tbl__wrap--plan .price_hidden_rows tr { display: none; }
  .price_tbl__wrap--plan.on .price_hidden_rows tr { display: block; }
  
  .price_tbl__wrap--plan .price_tbl th, .price_tbl__wrap--plan .price_tbl td { display: block; width: 100%; text-align: left; border-right: none; border: 1px solid #ccc; }
  .price_tbl__wrap--plan .price_tbl th { text-align: center; }
  .price_tbl td ul { padding-left: 1.5em; margin: 0; }
  .price_tbl td li { font-size: 13px; margin-bottom: 0.5em; list-style-type: disc; }

  .price_spBtn {
     display: flex; align-items: center; justify-content: center; margin: 20px auto 0; width: 87%;
     font-weight: 700; color: #fff; background: #004F3C; height: 44px; border-radius: 10px; font-size: 14px;
  }
  .price_spBtn::before { content: "詳しく見る"; }
  .on .price_spBtn::before { content: "閉じる"; }
  
  /* SP Options (Fixed Layout) */
  .price_option_area { margin-top: 30px; }
  .price_tbl_gap { margin-bottom: 30px !important; border: 1px solid #ccc; }
  .price_tbl_option th, .price_tbl_option td {
    border: 1px solid #ccc; padding: 15px 10px; text-align: left; vertical-align: middle;
    font-size: 14px; display: table-cell !important; width: auto;
  }
  .price_tbl_option tr:first-child th { background-color: #AF964B; color: #fff; text-align: center; font-weight: bold; border: 1px solid #AF964B; }
  .price_tbl_option tr:nth-child(2) th { background-color: #d1c0a5; color: #fff; text-align: center; font-weight: normal; width: 50%; }
  .price_tbl_option ul { margin: 0; padding-left: 1em; }
  .price_tbl_option li { list-style-type: disc; margin-bottom: 5px; }

  /* Spot (Fixed Layout) */
  .price_tbl_spot th, .price_tbl_spot td {
    display: table-cell !important; width: auto !important; border: 1px solid #ddd;
    text-align: center; vertical-align: middle; padding: 10px 5px; font-size: 13px;
  }
  .price_tbl_spot th { background: #AF964B; color: #fff; }
}

/* フロー */
.flow { background-color: #F5F3EF; padding: 100px 0; }
.flow_box {
  background: #fff; border-radius: 20px; padding: 40px 50px; display: flex; align-items: center; justify-content: space-between;
  box-shadow: 0px 5px 15px rgba(0,0,0,0.05); margin-bottom: 60px; position: relative; max-width: 900px; margin-left: auto; margin-right: auto;
}
.flow_box:last-of-type { margin-bottom: 0; }
.flow_box::after {
  content: "▼"; color: #AF964B; font-size: 20px; position: absolute; bottom: -40px; left: 50%; transform: translateX(-50%);
}
.flow_box:last-of-type::after { content: none; }
.flow_box__img { width: 25%; text-align: center; }
.flow_box__img img { width: 100%; max-width: 140px; }
.flow_box__dsp { width: 70%; }
.flow_box__dsp h3 { font-size: 18px; color: #AF964B; margin-top: 0; margin-bottom: 10px; font-weight: 700; }
.flow_box__dsp p { font-size: 14px; margin-bottom: 0; }
@media (max-width: 768px) {
   .flow_box { display: block; padding: 30px; margin-bottom: 50px; }
   .flow_box::after { bottom: -35px; }
   .flow_box__img { width: 100%; margin-bottom: 15px; }
   .flow_box__dsp { width: 100%; }
   .flow_box__dsp h3 { text-align: center; }
   .flow_btn img { width: 70% !important; max-width: 280px !important; }
}
.flow_btn { display: block; text-align: center; margin-top: 60px; }
.flow_btn img { max-width: 400px; width: 100%; transition: transform 0.3s; }
.flow_btn img:hover { transform: scale(1.05); }

/* エリア */
.area { padding: 100px 0; }
.area_box { background: #F5F3EF; border-radius: 16px; padding: 40px; margin-bottom: 30px; }
.area_box h3 { font-size: 16px; color: #AF964B; border-bottom: 1px solid #AF964B; padding-bottom: 5px; margin-top: 0; margin-bottom: 15px; font-weight: 700; }
.area_list { font-size: 15px; line-height: 2.0; margin: 0; }

/* ▼▼▼ 追加デザイン：最後のメッセージ ▼▼▼ */
.last_msg { text-align: center; margin-bottom: 60px; }
.last_msg h2 { font-size: 24px; font-weight: 700; color: #AF964B; margin-bottom: 30px; line-height: 1.6; }
.last_msg p { max-width: 700px; margin: 0 auto 30px; text-align: left; }
@media (max-width: 768px) { .last_msg h2 { font-size: 20px; } }
/* ▲▲▲ 追加デザインここまで ▲▲▲ */

/* ウィジェット (PC) */
.sp-widget-container {
   position: fixed; bottom: 30px; right: 30px; z-index: 9999; width: 240px; /* 修正済み */
   background-color: #0F172A; color: #ffffff; border-radius: 4px; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
   opacity: 0; transform: translateY(20px); visibility: hidden; transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
   cursor: pointer; font-family: "Shippori Mincho", "Yu Mincho", "YuMincho", serif;
}
.sp-widget-container.is-visible { opacity: 1; transform: translateY(0); visibility: visible; }
.sp-widget-close { position: absolute; top: -10px; right: -10px; width: 20px; height: 20px; background: #555; color: #fff; border: none; border-radius: 50%; font-size: 12px; line-height: 20px; cursor: pointer; opacity: 0.7; transition: opacity 0.3s, background 0.3s; }
.sp-widget-close:hover { opacity: 1; background: #333; }
.sp-widget-content { padding: 16px 14px; text-align: center; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 4px; }
.sp-widget-catch { font-size: 16px; line-height: 1.5; margin: 0 0 10px 0; letter-spacing: 0.05em; font-weight: 500; }
.sp-highlight { color: #D4AF37; font-weight: 600; border-bottom: 1px solid rgba(212, 175, 55, 0.3); padding-bottom: 2px; }
.sp-widget-sub { font-size: 11px; color: #cbd5e1; margin: 0 0 16px 0; font-family: "Helvetica Neue", Arial, sans-serif; letter-spacing: 0.03em; line-height: 1.4; }
.sp-widget-btn {
    display: flex; justify-content: center; align-items: center; width: 100%; padding: 10px 0;
    background: linear-gradient(135deg, #D4AF37 0%, #C5A028 100%); color: #fff; font-size: 12px; font-weight: bold;
    text-decoration: none; border-radius: 2px; font-family: "Helvetica Neue", Arial, sans-serif; letter-spacing: 0.05em; transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.sp-widget-btn .arrow { display: inline-block; margin-left: 6px; font-family: serif; transition: transform 0.3s; }
.sp-widget-container:hover .sp-widget-btn { box-shadow: 0 4px 12px rgba(212, 175, 55, 0.5); transform: translateY(-1px); }
.sp-widget-container:hover .arrow { transform: translateX(4px); }
@media screen and (max-width: 768px) { .sp-widget-container { display: none !important; } }

/* フッター (SP) */
.sticky-footer-main { position: fixed; bottom: 0; left: 0; width: 100%; z-index: 9999; box-shadow: 0 -5px 25px rgba(0,0,0,0.15); font-family: "Yu Gothic", "YuGothic", sans-serif; background: transparent; }
.footer-primary-btn {
    display: block; background: linear-gradient(135deg, #F69D3C 0%, #E07A00 100%); color: #ffffff;
    text-decoration: none; padding: 14px 10px 16px; text-align: center; border-top-left-radius: 12px; border-top-right-radius: 12px; position: relative; z-index: 2;
}
.primary-content { display: flex; justify-content: center; align-items: center; gap: 12px; }
.primary-icon { display: flex; align-items: center; }
.primary-text { text-align: left; }
.primary-title { font-size: 16px; font-weight: bold; margin: 0; line-height: 1.2; letter-spacing: 0.05em; text-shadow: 0 1px 2px rgba(0,0,0,0.1); }
.primary-sub { font-size: 11px; margin: 2px 0 0 0; opacity: 0.95; font-weight: normal; }
.arrow-icon { font-size: 1em; margin-left: 2px; font-weight: normal; }
.footer-secondary-area { display: flex; width: 100%; background-color: #f4f4f4; border-top: 1px solid #ddd; margin: 0; padding: 0; }
.footer-tel-btn, .footer-inquiry-btn { width: 50%; display: flex; justify-content: center; align-items: center; text-decoration: none; padding: 10px 0; box-sizing: border-box; font-size: 13px; line-height: 1.3; color: #333 !important; }
.footer-tel-btn { background-color: #ffffff; border-right: 1px solid #e0e0e0; }
.footer-inquiry-btn { background-color: #f0f0f0; }
.tel-icon { font-size: 20px; margin-right: 8px; line-height: 1; display: inline-block; }
.tel-text-group { display: flex; flex-direction: column; text-align: left; }
.tel-label { font-weight: bold; font-size: 12px; display: block; }
.tel-time { font-size: 10px; color: #666; background: #eee; padding: 1px 5px; border-radius: 4px; margin-top: 2px; display: inline-block; text-align: center; }
.mail-icon { font-size: 18px; margin-right: 6px; line-height: 1; display: inline-block; }
.inquiry-text { font-size: 12px; font-weight: bold; }
@media screen and (min-width: 768px) { .sticky-footer-main { display: none; } }

/* アニメーション用 */
@keyframes fadeIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
.btn_arrow { transition: transform 0.3s; }
.on .btn_arrow { transform: rotate(180deg); }

/* ========================================
   ヘッダー専用スタイル
   ======================================== */

#header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    margin-bottom: 0 !important;
}

#topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

#logo {
    flex-shrink: 0;
}

#logo .site-logo {
    margin: 0;
    padding: 0;
}

#logo a {
    display: block;
}

#logo img {
    height: 60px;
    width: auto;
    display: block;
}

/* ナビゲーション */
#gnav {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

#gnav ul.gnav {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
    align-items: center;
}

#gnav .menu-item {
    margin: 0;
    padding: 0;
}

#gnav .menu-item a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s;
    display: block;
    padding: 5px 0;
}

#gnav .menu-item a:hover {
    color: #AF964B;
    opacity: 1;
}

/* 右側のボタン */
#topbar-tel-btn,
#topbar-menu-btn,
#topbar-search-btn {
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    margin-left: 15px;
}

#topbar-tel-btn button {
    background: #AF964B;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.3s;
    display: flex;
    align-items: center;
}

#topbar-tel-btn button:hover {
    background: #8b7a3b;
}

.icon-phone::before {
    content: "📞";
    font-size: 18px;
}

/* SVGアイコンのスタイル */
#topbar-menu-btn svg,
#topbar-search-btn svg {
    fill: #333;
    transition: fill 0.3s;
}

#topbar-menu-btn:hover svg,
#topbar-search-btn:hover svg {
    fill: #AF964B;
}

/* 検索・メニューボタン（PCでは非表示） */
#topbar-menu-btn,
#topbar-search-btn {
    display: none;
}

/* オーバーレイ検索 */
#overlay-search {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

#overlay-search.active {
    display: flex;
}

#overlay-search-close-btn-wrap {
    position: absolute;
    top: 20px;
    right: 20px;
}

#overlay-search-close-btn {
    cursor: pointer;
}

#overlay-search-close-btn svg {
    fill: #fff;
}

.search-form {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 5px;
    padding: 10px 20px;
    max-width: 500px;
    width: 90%;
}

.search-field {
    border: none;
    outline: none;
    flex-grow: 1;
    font-size: 16px;
    padding: 5px;
}

.search-submit {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.search-submit svg {
    fill: #AF964B;
}

/* オーバーレイメニュー閉じるボタン */
#overlay-menu-close-btn {
    display: none;
}

/* SP対応 */
@media (max-width: 768px) {
    #gnav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.95);
        z-index: 9998;
        justify-content: center;
        align-items: center;
    }
    
    #gnav.active {
        display: flex;
    }
    
    #gnav ul.gnav {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    #gnav .menu-item a {
        color: #fff;
        font-size: 18px;
    }
    
    #overlay-menu-close-btn {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        cursor: pointer;
    }
    
    #overlay-menu-close-btn svg {
        fill: #fff;
    }
    
    #topbar {
        padding: 10px 20px;
    }
    
    #logo img {
        height: 50px;
    }
    
    #topbar-menu-btn,
    #topbar-search-btn {
        display: flex;
    }
    
    #topbar-tel-btn button {
        padding: 8px 15px;
        font-size: 13px;
    }
}

/* ヘッダーとメインコンテンツの余白調整 */
.wrapper {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.sv_header {
    margin-top: 0 !important;
    padding-top: 60px !important;
}

/* ========================================
   ファーストビュー画像を上に移動（強制上書き）
   ======================================== */

/* ヘッダーの直下に配置 */
.sv_header {
    padding: 0 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* 画像の上下余白も削除 */
.sv_header picture {
    display: block;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0;
}

.sv_header img {
    display: block;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

/* テキストエリアに余白を戻す */
.sv_header .inner {
    padding-top: 60px;
    padding-bottom: 60px;
}

/* wrapper全体の余白も削除 */
.wrapper {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* ヘッダー自体の余白も削除 */
#header {
    margin-bottom: 0 !important;
}

/* ========================================
   ヘッダー専用スタイル（ここから下をCSSの最後にコピペしてください）
   ======================================== */

#header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    margin-bottom: 0 !important;
}

#topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

#logo { flex-shrink: 0; }
#logo .site-logo { margin: 0; padding: 0; }
#logo a { display: block; }
#logo img { height: 60px; width: auto; display: block; }

/* ナビゲーション */
#gnav { flex-grow: 1; display: flex; justify-content: center; }
#gnav ul.gnav { display: flex; list-style: none; gap: 30px; margin: 0; padding: 0; align-items: center; }
#gnav .menu-item { margin: 0; padding: 0; }
#gnav .menu-item a { text-decoration: none; color: #333; font-weight: 500; font-size: 15px; transition: color 0.3s; display: block; padding: 5px 0; }
#gnav .menu-item a:hover { color: #AF964B; opacity: 1; }

/* 右側のボタン */
#topbar-tel-btn, #topbar-menu-btn, #topbar-search-btn { cursor: pointer; padding: 5px; display: flex; align-items: center; margin-left: 15px; }
#topbar-tel-btn button { background: #AF964B; border: none; padding: 10px 20px; border-radius: 5px; color: #fff; cursor: pointer; font-size: 14px; font-weight: 600; transition: background 0.3s; display: flex; align-items: center; }
#topbar-tel-btn button:hover { background: #8b7a3b; }
.icon-phone::before { content: "📞"; font-size: 18px; }

/* SVGアイコン */
#topbar-menu-btn svg, #topbar-search-btn svg { fill: #333; transition: fill 0.3s; }
#topbar-menu-btn:hover svg, #topbar-search-btn:hover svg { fill: #AF964B; }

/* 検索・メニューボタン（PCでは非表示） */
#topbar-menu-btn, #topbar-search-btn { display: none; }

/* オーバーレイ検索 */
#overlay-search { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); z-index: 9999; justify-content: center; align-items: center; }
#overlay-search.active { display: flex; }
#overlay-search-close-btn-wrap { position: absolute; top: 20px; right: 20px; }
#overlay-search-close-btn { cursor: pointer; }
#overlay-search-close-btn svg { fill: #fff; }
.search-form { display: flex; align-items: center; background: #fff; border-radius: 5px; padding: 10px 20px; max-width: 500px; width: 90%; }
.search-field { border: none; outline: none; flex-grow: 1; font-size: 16px; padding: 5px; }
.search-submit { background: none; border: none; cursor: pointer; padding: 5px; }
.search-submit svg { fill: #AF964B; }

/* オーバーレイメニュー閉じるボタン */
#overlay-menu-close-btn { display: none; }

/* SP対応 */
@media (max-width: 768px) {
    #gnav { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.95); z-index: 9998; justify-content: center; align-items: center; }
    #gnav.active { display: flex; }
    #gnav ul.gnav { flex-direction: column; gap: 20px; text-align: center; }
    #gnav .menu-item a { color: #fff; font-size: 18px; }
    #overlay-menu-close-btn { display: block; position: absolute; top: 20px; right: 20px; cursor: pointer; }
    #overlay-menu-close-btn svg { fill: #fff; }
    #topbar { padding: 10px 20px; }
    #logo img { height: 50px; }
    #topbar-menu-btn, #topbar-search-btn { display: flex; }
    #topbar-tel-btn button { padding: 8px 15px; font-size: 13px; }
}

/* ヘッダーとメインコンテンツの余白調整（強制リセット） */
.wrapper { padding-top: 0 !important; margin-top: 0 !important; }
.sv_header { padding: 0 !important; margin-top: 0 !important; padding-top: 0 !important; padding-bottom: 0 !important; }
.sv_header picture { display: block; margin: 0 !important; padding: 0 !important; line-height: 0; }
.sv_header img { display: block; width: 100%; margin: 0 !important; padding: 0 !important; }
.sv_header .inner { padding-top: 60px; padding-bottom: 60px; }
#header { margin-bottom: 0 !important; }


/* --- スマホでの横揺れを防ぐ「お守り」 --- */
html, body {
    overflow-x: hidden; /* 横にはみ出した部分を強制的に隠す */
    width: 100%;
}

/* --- 背景画像のズレ・揺れを防ぐ --- */
/* スマホの時だけ、背景固定を解除する */
@media screen and (max-width: 767px) {
    body, div, section {
        background-attachment: scroll !important;
    }
}