@charset "utf-8";
/*
Theme Name: ginza
*/

/* ========================================
   1. RESET & BASE STYLES
   ======================================== */

/* Reset default browser CSS */
html {
  /* font-size: 24px; */
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  scroll-padding-top: 70px;
}
.g_a {
  color: #c9b279;
}

@media (max-width: 576px) {
  html {
    font-size: 16px;
  }
}

/* Base elements */
a {
  word-break: break-all;
}

li {
  text-decoration: none;
  list-style: none;
}

body {
  text-align: left;
  font-size: 16px;
  line-height: 1.7;
  color: #2b2b2b;
  font-family:
    "Noto Serif", serif, "Noto Sans JP", Verdana, "ヒラギノ角ゴ ProN W3",
    "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
}

/* Clearfix utility */
.clearfix:after {
  content: ".";
  display: block;
  height: 0;
  font-size: 0;
  clear: both;
  visibility: hidden;
}

/* Alignment utilities */
.alignleft {
  float: left;
  margin: 0 15px 15px 0;
}

.alignright {
  float: right;
  margin: 0 0 15px 15px;
}

.aligncenter {
  display: block;
  margin: auto;
}

/* Typography */
p {
  font-size: 24px;
  line-height: 1.7;
}

p.s {
  font-size: 20px;
  line-height: 1.7;
}

.kome {
  font-size: 16px;
  line-height: 1.7;
}

span.b {
  font-weight: bold;
}

span.g {
  color: #6e6239;
  font-weight: bold;
}

@media (max-width: 576px) {
  p {
    font-size: 16px;
    line-height: 1.5;
  }

  p.s {
    font-size: 16px;
  }

  .kome {
    font-size: 14px;
  }
}

/* ========================================
   2. LAYOUT & COMPONENTS
   ======================================== */

/* Copyright */
#copyright {
  background-color: #6e6239;
  color: #fff;
  text-align: center;
  padding-bottom: 80px;
  margin-bottom: 0;
  font-size: 14px;
}

/* ========================================
   3. HEADER & NAVIGATION
   ======================================== */

/* Header area */
.h1_area {
  position: relative;
}

.h1_area .menu {
  position: fixed;
  z-index: 999;
  width: 40px;
  height: 40px;
  right: 380px;
  top: 20px;
}
.header-menu ul {
  display: flex;
  flex-wrap: nowrap;
}
header h1 {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  line-height: 1;
}
.mw-90 {
  max-width: 90% !important;
}
@media (max-width: 576px) {
  .h1_area .menu {
    right: 10px;
    top: 5px;
  }
}

/* Menu borders */
.menuborder {
  position: absolute;
  display: block;
  width: 32px;
  height: 3px;
  background-color: #000;
}

.menuborder:nth-of-type(1) {
  top: 0px;
}

.menuborder:nth-of-type(2) {
  top: 10px;
}

.menuborder:nth-of-type(3) {
  top: 20px;
}

.Close .menuborder:nth-of-type(1) {
  top: 16px;
  transform: rotate(45deg);
}

.Close .menuborder:nth-of-type(2) {
  opacity: 0;
}

.Close .menuborder:nth-of-type(3) {
  top: 16px;
  transform: rotate(-45deg);
}

/* Global navigation */
.gnav {
  position: fixed;
  opacity: 0;
  height: 0;
  overflow: hidden;
  z-index: 999999;
  background-color: #fdf7ce;
  width: 100%;
  transition: all 0.5s ease-in-out;
  top: 45px;
  right: 0px;
  padding-top: 1rem;
}

.gnav .border-bottom {
  border-bottom: 1px solid #e8c100 !important;
}

.gnav li {
  text-align: left;
  padding: 0.3em 0;
}

.gnav li a {
  font-size: 1rem;
  color: #141414;
}

.gnav.open {
  opacity: 1;
  line-height: 1.5;
  height: 100%;
}

.gnav h2 {
  font-size: 1.4rem !important;
}

@media (min-width: 992px) {
  .gnav {
    width: 33%;
  }
}

@media (max-width: 567px) {
  .gnav .row {
    transform: translateX(10px);
  }

  .gnav li a {
    font-size: 1rem;
    color: #141414;
  }

  .gnav.open {
    padding-left: 10px;
  }
}

@media screen and (max-width: 767px) {
  body {
    font-family: "Noto Serif JP", serif !important;

  }
}

.h1_area {
  position: relative;
}
@media (max-width: 767px) {
  h4.pl-2 {
    padding-left: 15px !important;
    padding-right: 15px;
  }
}
/* ========================================
   4. LAYOUT & CONTAINERS
   ======================================== */

/* Header area lists */
.h1_area ul {
  position: absolute;
  width: 100%;
  bottom: 0px;
}

.h1_area ul li {
  text-align: center;
}

/* Container utilities */
.container {
  max-width: 750px;
}

.wrap {
  padding-left: 62.5px;
  padding-right: 62.5px;
}

@media (max-width: 579.5px) {
  .wrap {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* ========================================
   5. SERVICE AREAS
   ======================================== */

/* Service links */
a.link {
  color: #8c6239;
  font-weight: bold;
  font-size: 24px;
  text-decoration: underline;
}

/* Top service area */
#topService {
  background: url(images/bg_riten.png) repeat-y top center/100%;
  padding-top: 20px;
  padding-bottom: 0px;
}

@media (max-width: 579.5px) {
  #topService {
    background: url(images/bg_riten.png) repeat-y top center/100%;
    padding-top: 20px;
  }
}

.kiran {
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.kiran::after {
  content: "";
  height: 100%;
  width: 30px;
  position: absolute;
  top: -180px;
  left: 0;
  background-color: #fff;
  opacity: 0;
  transform: rotate(45deg);
  animation: kiran-animation 2s ease-in-out infinite;
}

@keyframes kiran-animation {
  0% {
    transform: scale(0) rotate(45deg);
    opacity: 0;
  }
  80% {
    transform: scale(0) rotate(45deg);
    opacity: 0.5;
  }
  81% {
    transform: scale(4) rotate(45deg);
    opacity: 1;
  }
  100% {
    transform: scale(50) rotate(45deg);
    opacity: 0;
  }
}

/* ホバーキラン */
.image {
  width: auto;
}
.image a {
  display: block;
  transition: all 0.3s ease-in-out;
}
.image img {
  width: 100%;
  vertical-align: middle;
}
.image a:hover {
  opacity: 0.6;
}

.c-bnr.scale:hover {
  box-shadow: 0px 0px 15px 2px rgba(0, 0, 0, 0.2);
  transform: scale(0.9);
}

/* ブライダルシェービングとは */

.bg-shave {
  padding-top: 20px;
/* background: url(images/bg_shaving.png) no-repeat top center/100%; */
  padding-bottom: 15px;
}
.bg-shave02 {
  padding-top: 20px;
/* background: url(images/bg5.png) no-repeat top center/100%; */
  padding-bottom: 15px;
}

#shaving h2,
#shaving02 h2 {
  text-align: center;
  color: #6e6239;
  font-size: 50px;
  font-weight: bold;
  margin-bottom: 0.5em;
}

#shaving h2 span,
#shaving02 h2 span {
  font-size: 0.5em;
  color: #fff;
}

#shaving02 h3 {
  text-align: center;
  color: #010101;
  font-size: 41.8px;
  margin-bottom: 0.5em;
  line-height: 0.7;
}

#shaving .text,
#shaving02 .text {
  border-bottom: 2px solid #fff;
  margin-bottom: 24px;
}

#shaving .text p,
#shaving02 .text p {
  line-height: 1.4;
}

#shaving h3 span,
#shaving02 h3 span {
  position: relative;
  display: block;
}
#shaving h3 span b,
#shaving02 h3 span b {
  position: relative;
  top: 10px;
  display: inline-block;
  font-weight: bold;
  font-size: 1.8em;
  color: #6e6239;
  padding-top: 10px;
}

@media (max-width: 576px) {
  .bg-shave {
    padding-top: 15px;
    background: url(images/bg_shaving_sp.png) no-repeat top center/100%;
  }
  .bg-shave02 {
    padding-top: 15px;
    background: url(images/bg5_sp.png) no-repeat top center/100%;
  }

  #shaving h2,
  #shaving02 h2 {
    font-size: 24px;
    margin-bottom: 10px;
  }
  #shaving .text,
  #shaving02 .text {
    margin-bottom: 16px;
  }
  #shaving .text p,
  #shaving02 .text p {
    line-height: 1.4;
    margin-bottom: 5px;
  }

  #shaving h3,
  #shaving02 h3 {
    font-size: 24px;
    margin-bottom: 48px;
  }
}

.bg-shav2 {
  padding-top: 10px;
  background: url(images/bg_smark.png) repeat-x left bottom/100%;
  padding-bottom: 30px;
}

.check p {
  position: relative;
  padding-bottom: 0 !important;
  padding-top: 0 !important;
  margin-bottom: 16px;
  font-size: 30px;
  padding-left: 40px;
  line-height: 1.5;
  font-weight: bold;
}

.check p:before {
  content: "";
  position: absolute;
  width: 29px;
  height: 29px;
  background: url(images/aic_check.png) no-repeat center/100%;
  left: 0;
  top: 10px;
  line-height: 1.5;
}

@media (max-width: 576px) {
  .check {
    margin-bottom: 40px;
  }
  .check p {
    font-size: 16px;
    margin-bottom: 16px;
    padding-left: 20px;
  }
  .check p:before {
    width: 15px;
    height: 15px;
    background: url(images/aic_check.png) no-repeat center/100%;
    left: 0;
    top: 5px;
  }
}

.btn_gg {
  display: inline-block;
  font-size: 32px;
  color: #6e6239;
  font-weight: bold;
  padding: 0.3em 2em;
  border: 2px solid #6e6239;
  background-color: #fff;
}

.btn_gg:hover {
  background-color: #6e6239;
  color: #fff;
}
@media (max-width: 576px) {
  .btn_gg {
    font-size: 16px;
  }
}
.rightt {
  display: flex;
  justify-content: flex-end;
}

.centerr {
  display: flex;
  justify-content: center;
}

/* ヒロ銀座とは */
#about_ginza,
#about_barbar {
  position: relative;
  padding-bottom: 20px;
  background: url(images/bg-1.png) repeat-y;
}

#about_ginza p,
#about_barba p {
  font-size: 24px;
}

#about_ginza .hiro {
  position: absolute;
  right: 1px;
  top: 1px;
  width: 15%;
}

/* 「ヒロ銀座とは」写真＋タイトルの2層オーバーレイ（写真=fade-up / タイトル層=fade-right） */
#about_ginza .about_ginza_stack {
  position: relative;
}
#about_ginza .about_ginza_stack .stack_overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* 汎用：複数画像を重ねてAOSアニメ（同サイズ画像をオーバーレイ） */
.aos-stack {
  position: relative;
}
.aos-stack .stack_overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#about_ginza .wrap {
  padding-right: 156px;
}

.space_box {
  border-bottom: 2px solid #786e46;
  border-left: 2px solid #786e46;
  border-right: 2px solid #786e46;
  margin-bottom: 56px;
  border-radius: 0 0 30px 30px;
  background-color: #fff;
  opacity: 0.8;
}

.space_box h3 {
  background-color: #786e46;
  margin: 0;
  color: #fff;
  padding: 15px 0 0px 15px;
  font-size: 28px;
  margin-bottom: 0px;
}

.space_box .box p {
  font-size: 24px;
  padding: 10px 10px;
}

.space_box .box.line {
  padding: 0px 15px;
}

.space_box .box.line p {
  font-size: 24px;
  padding: 0px 5px;
  border-bottom: 1px solid #786e46;
}

@media (max-width: 576px) {
  .space_box {
    margin-bottom: 48px;
  }
  .space_box h3 {
    font-size: 18px;
  }

  .space_box .box.line p {
    font-size: 16px;
  }

  #about_ginza .wrap {
    padding-right: 3%;
  }

  #about_ginza,
  #about_barbar {
    padding-bottom: 15px;
  }
  #about_ginza p,
  #about_barba p {
    font-size: 16px;
  }
  .space_box .box p {
    font-size: 16px;
  }
  #about_ginza .hiro {
    width: 18%;
    right: 1px;
    top: 1px;
  }
}

/* プレミアムバーバーとは */
#about_barbar .hiro {
  position: absolute;
  left: 1px;
  top: 100px;
}

#about_barbar .wrap {
  padding-left: 156px;
}

@media (max-width: 576px) {
  #about_barbar .hiro {
    width: 18%;
    left: 1px;
    top: 100px;
  }
  #about_barbar .wrap {
    padding-left: 20%;
  }
}
/****************Featuresヒロ銀座が選ばれる6つの特徴**********************/

@media (min-width: 576px) {
  #reasonArea ul li.col-sm-4 {
    -ms-flex: 0 0 370px;
    flex: 0 0 370px;
    padding-right: 0;
    padding-left: 0;
  }
  #reasonArea ul li {
    padding-bottom: 2em;
    margin-bottom: 1rem;
  }
}

#reasonArea {
  background: #fbf8f0;
}

#reasonArea ul li {
  padding-bottom: 2em;
}

/*白余白の調整*/

#reasonArea .readmore {
  text-align: right;
  color: #c9b279;
  background: transparent;
  border: none;
  border-bottom: 1px solid #c9b279;
  outline: none;
  display: inline-block;
  float: right;
  margin-right: 10px;
  margin-top: 20px;
}

#reasonArea .readmore.open {
  position: absolute;
  right: 5px;
  bottom: -10px;
}

#reasonArea a.btnTop {
  padding: 0;
  display: block;
  padding: 2.3px 0;
  text-align: center;
}

/*ボタンの調整*/
#reasonArea a.btnTop {
  width: auto;
}

/****Featuresヒロ銀座が選ばれる6つの特徴**********/

#reasonArea .heading h2 {
  font-family: Playfair Display;
  font-size: 28px;
  letter-spacing: 5.6px;
}
#reasonArea .heading h2 span {
  font-size: 12px;
  line-height: 40px;
  letter-spacing: 2.4px;
}

/*選ばれる理由*/
#reasonArea p.reason {
  font-size: 12px;
  line-height: 40px;
  letter-spacing: 2.4px;
  margin-bottom: 0;
  padding: 0 5px;
}

#reasonArea h3.ttl {
  padding: 0 5px;
  font-family: "Noto Serif JP";
  font-size: 16px;
  line-height: 28px;
  letter-spacing: 1.6px;
  color: #282828;
}

#reasonArea p.fopen {
  padding: 0 5px;
}
#reasonArea ul li:nth-child(3) h3.ttl {
  margin-bottom: 10px;
}

/*スマホ版JS関連もっと見る隠す*/

#reasonArea .readmore {
  font-size: 0.75rem;
  bottom: 1%;
  margin-bottom: 0;
  position: absolute;
  right: 1px;
}

#reasonArea ul li:nth-child(6) .readmore.open {
  margin-top: 10px;
}

#reasonArea ul li.col-6 {
  padding-right: 5px;
  padding-left: 5px;
  position: relative;
}

#reasonArea ul li:nth-child(6) h3.ttl {
  margin-bottom: 61px;
}

#reasonArea .readmore.open {
  position: absolute;
  right: 5px;
  bottom: 15px;
}

/*選ばれる理由*/
#reasonArea p.reason {
  overflow: auto;
  height: auto;
  color: #c9b279;
  font-size: 14px;
  font-weight: bold;
  padding: 0 30px;
  margin-bottom: 0;
}

/*タイトル*/
#reasonArea h3.ttl {
  padding: 0 15px;
  font-family: Noto Serif CJK JP;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: 2.4px;
  color: #282828;
}

/*タイトルのマージン調整*/
#reasonArea ul li:nth-child(3) h3.ttl,
#reasonArea ul li:nth-child(4) h3.ttl,
#reasonArea ul li:nth-child(6) h3.ttl {
  margin-bottom: 40px;
}

/*js閉じるときの開閉　本文*/
#reasonArea .fopen {
  padding: 0 30px;
  display: none;
}

#reasonArea .fopen.open {
  display: block;
  font-size: 1.2rem;
  line-height: 1.8rem;
  letter-spacing: 1.4px;
  font-family: "Noto Serif JP", "Playfair Display";
}

/*js閉じるときの開閉*/

#reasonArea a.btnTop {
  margin: auto;
  width: 360px;
  line-height: 40px;
  padding: 5px 0;
}

/********* ヒロ銀座のブライダルが選ばれる5つの理由 *************/
.riyu {
  font-size: 1.2rem;
  line-height: 1.8;
}

#feature {
  float: left;
  background-image: none;
  background-color: #fafffa;
}

#feature .bg-1 {
  float: left;
  background: url(images/bg_feature1.png) no-repeat center 40px;
  padding-top: 100px;
}
#feature .bg-2 {
  float: left;
  background: url(images/bg_feature2.png) no-repeat center 40px;
}

@media (max-width: 576px) {
  #feature .bg-1 {
    background: url(images/bg_feature1.png) no-repeat center 40px/100%;
    padding-top: 100px;
  }
  #feature .bg-2 {
    background: url(images/bg_feature2.png) no-repeat center 40px/100%;
    padding-top: 100px;
  }
}

/********* ヒロ銀座のコース *************/

h4.common {
  font-size: 32px;
  color: #000;
}
h4.common2 {
  font-size: 32px;
  color: #ffffff;
  background-color: #6e6239;
  padding: 0.5em 0.5em 0.5em 8.3%;
  width: 92.666%;
}

.T_box {
  background-color: rgba(255, 255, 255, 0.7);
  padding: 1em;
  box-shadow: 7px 7px 7px 0px rgba(189, 171, 116, 0.75);
  margin-bottom: 36px;
}
.btn_open {
  display: inline-block;
  font-size: 32px;
  color: #6e6239;
  font-weight: bold;
  padding: 0.5em 4em;
  border: 2px solid #6e6239;
  background-color: #fff;
}

.btn_open:hover {
  background-color: #6e6239;
  color: #fff;
}

@media (max-width: 576px) {
  h4.common {
    font-size: 18px;
  }
  h4.common2 {
    font-size: 16px;
  }
  .btn_open {
    font-size: 16px;
  }
  .btn_top {
    font-size: 16px;
  }
}

.closeArea {
  display: none;
}

.closeArea.open {
  display: block;
  margin-bottom: 24px;
}
table.menucontent {
  border: 2px solid #6e6239;
}

table.menucontent th {
  display: block;
  border-top: 2px solid #6e6239;
  font-size: 24px;
  text-align: center;
  color: #6e6239;
}

table.menucontent td {
  display: block;
  border-top: 2px solid #6e6239;
  padding: 0.5em 1em;
}

table.menucontent td p {
  font-size: 24px;
  position: relative;
  padding-left: 1em;
}

table.menucontent td p.kome {
  font-size: 16px;
  position: relative;
  padding-left: 1em;
}
table.menucontent td p.kome:before {
  content: none;
}

table.menucontent td p:before {
  content: "・";
  font-size: 24px;
  position: absolute;
  left: 0;
}
@media (max-width: 576px) {
  table.menucontent td p {
    font-size: 16px;
    line-height: 1.5;
  }
  table.menucontent td p:before {
    font-size: 16px;
    line-height: 1.5;
  }
}

/********* ヒロ銀座のオプションコース *************/
.corse01 {
  width: 100%;
/**  background: url(images/bg_corse.png) repeat-y top center/100%;*/
}
/* コース背景あり・なし */
.corse03,
.corse04 {
  width: 100%;
  margin: 0;
  padding: 0;
}

.corse03 {
  background-color: #f9f3ef;
}

.corse04 {
  background-color: #fff;
}

/* rowについている余白をリセット */
.row.corse03,
.row.corse04 {
  margin-left: 0;
  margin-right: 0;
}

/* 中のcol余白をリセット */
.row.corse03 > .col-12,
.row.corse04 > .col-12 {
  padding-left: 0;
  padding-right: 0;
}

/* 画像まわり */
.corse03 .ttl,
.corse04 .ttl {
  margin: 0;
  padding: 0;
}

.corse03 .ttl img,
.corse04 .ttl img {
  display: block;
  width: 100%;
  max-width: 100%;
}

/* テキストとボタンだけ余白 */
.corse03 h4,
.corse04 h4,
.corse03 .centerr,
.corse04 .centerr {
  padding-left: 15px;
  padding-right: 15px;
  text-align: center;
}
/********* ヒロ銀座のオプションコース *************/

#option {
  background: url(images/bg_op.png) repeat-y top center/100%;
  width: 100%;
}

#option h3.shaving,
#option02 h3.shaving {
  font-size: 30px;
  text-align: center;
}

#option .space_box h3 {
  text-align: left;
}

#option .space_box p {
  padding: 0px 15px 10px;
}

@media (max-width: 576px) {
  #option h3.shaving,
  #option h3.shaving02 {
    font-size: 18px;
    text-align: center;
  }

  #option .img1 {
    padding-right: 20%;
  }
}

/*********予約の流れ *************/

#flow .box {
  margin-bottom: 40px;
  /***background: url(images/bg_flow_1.png) repeat-y left top;****/
  padding: 20px 0 40px;
}
#flow .box.left {
  background-color:#f9f3ef;
}

  /***
#flow .box.left {
  background: url(images/bg_flow_2.png) repeat-y left top;
}
***/
#flow .text_box {
  padding: 15px 24px 20px;
  background-color: rgba(255, 255, 255, 0.4);
  position: relative;
  width: 66.6%;
  margin-left: 16.6%;
  margin-top: -8%;
  box-shadow: 7px 7px 5px 0px rgba(110, 98, 57, 0.75);
}

#flow .text_box.left {
  margin-left: 8.333%;
}

@media (max-width: 576px) {
  #flow .box {
    margin-bottom: 16px;
    padding: 16px 0 20px;
  }

  #flow .text_box p {
    font-size: 16px;
  }
}

/*********インスタ *************/
#voice_area {
  background: url(images/bg_inst.png) repeat-y top center/100%;
}

a.instabttom:before {
  content: "";
  background: url(images/insta_aic.png) no-repeat center;
  display: inline-block;
  width: 54px;
  height: 55px;
  position: absolute;
  background-size: 45%;
  top: -15px;
  left: -40px;
}

/*********よくある質問 *************/

#faq {
  background-color: rgb(226, 224, 215);
  padding-bottom: 24px;
}

#faq dl {
  margin-bottom: 20px;
}
#faq dl dt {
  position: relative;
  font-size: 24px;
  padding: 15px 15px 15px;
  background-color: #6e6239;
  color: #fff;
  margin: 0;
  font-weight: bold;
}

#faq dl dd span,
#faq dl dt span {
  font-size: 1.2em;
}

#faq dl dd {
  font-size: 24px;
  padding: 15px 15px 15px;
  background: rgba(255, 255, 255, 0.2);
  color: #000;
  border-radius: 0 0 20px 20px;
  display: none;
}

#faq dl dd p span {
  /*
 border-bottom:2px solid #6E6239;
*/
}

#faq dl dd.show {
  display: block;
}

.f13 {
  font-size: 18px;
}
.footnavi .f14 {
  font-size: 16px;
}

@media (max-width: 576px) {
  .f13 {
    font-size: 12px;
  }
  .f14 {
    font-size: 12px !important;
  }

  #faq dl {
    margin-bottom: 16px;
  }
  #faq dl dt {
    font-size: 16px;
  }
  #faq dl dd {
    font-size: 16px;
  }
}

/* #faq dl dt:before { content: "";
    font-size: 18px;
    color: #fff;
    background: #ffffff;
    width: 2px;
    height: 15px;
    position: absolute;
    right: 5%;
    top: 40%;
    text-align: center;
    display: inline-block;
    line-height: 1.3;
    transition: all .6s ease-in-out;
  } */

/*
  #faq dl dt.show:before {
    transform: rotate(90deg);
  }
  
  
    #faq dl dt:after { content: "";
      font-size: 18px;
      color: #fff;
      background: #ffffff;
      width: 2px;
      height: 15px;
      position: absolute;
      right: 5%;
      top: 40%;
      text-align: center;
      display: inline-block;
      line-height: 1.3;
    transform: rotate(90deg);
    } */

/* * * * * * * 禁忌事項* * * * *  */

#ban {
  background-color: #eeeeee;
  padding-bottom: 100px;
}

#ban h2 {
  color: #6e6239;
  font-size: 40px;
  font-weight: bold;
}

#ban .text-box {
  position: relative;
  background-color: #fff;
  padding: 24px;
  box-shadow: 15px 15px 0px -5px #6e6239;
}
hr.custom-line {
  border: none;
  height: 2px;
  background-color: #6e6239;
}

@media (max-width: 576px) {
  #ban h2 {
    font-size: 24px;
  }
  #ban .text-box {
    padding: 16px;
  }
}

/* フッターボタン */
.fixed-bottom {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1030;
}

.fixed-bottom a {
  display: block;
}

.fixed-bottom .col-5 {
  display: flex;
  align-items: flex-end;
}
#bottomBtn {
  display: none;
}

footer {
  padding-top: 1rem;
  background-color: #6e6239;
  padding-bottom: 3rem;
}

footer ul li {
  display: inline-block;
  display: flex;
}

footer ul li a {
  color: #fff;
  padding: 0 10px;
}
footer ul li a:hover {
  color: #000000;
  text-decoration: none;
}

.footnavi {
  padding-top: 1rem;
}

.footnavi li {
  position: relative;
}

.footnavi li:before {
  content: "";
  position: absolute;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 5px solid #6e6239;
  border-right: 5px solid transparent;
  top: 30%;
}

.footnavi li a {
  /* font-size: 14px; */
  padding-left: 1em;
  color: #000;
}

p.ex {
  font-size: 28px;
  color: #fff;
  background-color: #6e6239;
  padding-left: 15px;
}

/*
まずは２つの手順でコースをチェック */
#timing {
  background: url(images/bg_timing.png) repeat-y center top/90%;
}

.bg-tejyun {
  background: url(images/bg_tejyun2.png) no-repeat right center/100%;
}

ul.courseTab li {
  background: url(images/btn_course01_w.png) no-repeat center;
  width: auto;
  height: 100px;
  padding: 1rem;
}
ul.courseTab li.link {
  background: url(images/btn_course01.png) no-repeat center;
}

ul.courseTab li:nth-child(2) {
  background: url(images/btn_course02_w.png) no-repeat center;
}

ul.courseTab li:nth-child(3) {
  background: url(images/btn_course03_w.png) no-repeat center;
}
ul.courseTab li:nth-child(4) {
  background: url(images/btn_course04_w.png) no-repeat center;
}
ul.courseTab li:nth-child(5) {
  background: url(images/btn_course05_w.png) no-repeat center;
}
ul.courseTab li:nth-child(6) {
  background: url(images/btn_course06_w.png) no-repeat center;
}

ul.courseTab li.link:nth-child(2) {
  background: url(images/btn_course02.png) no-repeat center;
}

ul.courseTab li.link:nth-child(3) {
  background: url(images/btn_course03.png) no-repeat center;
}
ul.courseTab li.link:nth-child(4) {
  background: url(images/btn_course04.png) no-repeat center;
}
ul.courseTab li.link:nth-child(5) {
  background: url(images/btn_course05.png) no-repeat center;
}
ul.courseTab li.link:nth-child(6) {
  background: url(images/btn_course06.png) no-repeat center;
}

ul.courseTab li:nth-child(2) {
  background: url(images/btn_course02_w.png) no-repeat center;
}
ul.courseTab li:nth-child(3) {
  background: url(images/btn_course03_w.png) no-repeat center;
}
ul.courseTab li:nth-child(4) {
  background: url(images/btn_course04_w.png) no-repeat center;
}
ul.courseTab li:nth-child(5) {
  background: url(images/btn_course05_w.png) no-repeat center;
}
ul.courseTab li:nth-child(6) {
  background: url(images/btn_course06_w.png) no-repeat center;
}

ul.courseTab li.link:nth-child(2) {
  background: url(images/btn_course02.png) no-repeat center;
}

ul.courseTab li.link:nth-child(3) {
  background: url(images/btn_course03.png) no-repeat center;
}
ul.courseTab li.link:nth-child(4) {
  background: url(images/btn_course04.png) no-repeat center;
}

ul.courseTab li.link:nth-child(5) {
  background: url(images/btn_course05.png) no-repeat center;
}
ul.courseTab li.link:nth-child(6) {
  background: url(images/btn_course06.png) no-repeat center;
}

@media (max-width: 576px) {
  ul.courseTab li {
    background: url(images/btn_course01_w.png) no-repeat center / 100%;
    width: auto;
    height: 60px;
    padding: 1rem;
    flex: 0 0 31%;
    max-width: 31%;
  }

  ul.courseTab li.link {
    background: url(images/btn_course01.png) no-repeat center/100%;
  }

  ul.courseTab li:nth-child(2) {
    background: url(images/btn_course02_w.png) no-repeat center/100%;
  }

  ul.courseTab li:nth-child(3) {
    background: url(images/btn_course03_w.png) no-repeat center/100%;
  }
  ul.courseTab li:nth-child(4) {
    background: url(images/btn_course04_w.png) no-repeat center/100%;
  }
  ul.courseTab li:nth-child(5) {
    background: url(images/btn_course05_w.png) no-repeat center/100%;
  }
  ul.courseTab li:nth-child(6) {
    background: url(images/btn_course06_w.png) no-repeat center/100%;
  }

  ul.courseTab li.link:nth-child(2) {
    background: url(images/btn_course02.png) no-repeat center/100%;
  }
  ul.courseTab li.link:nth-child(3) {
    background: url(images/btn_course03.png) no-repeat center/100%;
  }
  ul.courseTab li.link:nth-child(4) {
    background: url(images/btn_course04.png) no-repeat center/100%;
  }
  ul.courseTab li.link:nth-child(5) {
    background: url(images/btn_course05.png) no-repeat center/100%;
  }
  ul.courseTab li.link:nth-child(6) {
    background: url(images/btn_course06.png) no-repeat center/100%;
  }
}

.content div,
.content2 div {
  display: none;
}

/* タイミングをチェック */

ul.timeTab li {
  background: url(images/btn_time01_w.png) no-repeat center;
  width: auto;
  height: 100px;
  padding: 1rem;
}

ul.timeTab li.link {
  background: url(images/btn_time01.png) no-repeat center;
}

ul.timeTab li:nth-child(2) {
  background: url(images/btn_time02_w.png) no-repeat center;
}

ul.timeTab li:nth-child(3) {
  background: url(images/btn_time03_w.png) no-repeat center;
}

ul.timeTab li.link:nth-child(2) {
  background: url(images/btn_time02.png) no-repeat center;
}

ul.timeTab li.link:nth-child(3) {
  background: url(images/btn_time03.png) no-repeat center;
}

@media (max-width: 576px) {
  p.ex {
    font-size: 20px;
  }

  ul.timeTab li {
    background: url(images/btn_time01_w.png) no-repeat center / 100%;
    width: auto;
    height: 100px;
    padding: 1rem;
    flex: 0 0 31%;
    max-width: 31%;
  }

  ul.timeTab li.link {
    background: url(images/btn_time01.png) no-repeat center/100%;
  }

  ul.timeTab li:nth-child(2) {
    background: url(images/btn_time02_w.png) no-repeat center/100%;
  }

  ul.timeTab li:nth-child(3) {
    background: url(images/btn_time03_w.png) no-repeat center/100%;
  }

  ul.timeTab li.link:nth-child(2) {
    background: url(images/btn_time02.png) no-repeat center/100%;
  }

  ul.timeTab li.link:nth-child(3) {
    background: url(images/btn_time03.png) no-repeat center/100%;
  }
}

.title01 {
  text-align: center;
  font-size: 32px;
  color: #6e6239;
  margin-bottom: 1.5rem;
}

.title01 span {
  position: relative;
  display: inline-block;
}

.title01 span:before {
  content: "";
  background: url(images/aic_title01_left.png) no-repeat center/100%;
  width: 71px;
  height: 34px;
  position: absolute;
  left: -80px;
}

.title01 span:after {
  content: "";
  background: url(images/aic_title01_right.png) no-repeat center/100%;
  width: 71px;
  height: 34px;
  position: absolute;
  right: -80px;
}

@media (max-width: 576px) {
  .title01 {
    font-size: 20px;
  }

  .title01 span:before {
    content: "";
    background: url(images/aic_title01_left.png) no-repeat center/100%;
    width: 35px;
    height: 17px;
    position: absolute;
    left: -40px;
  }

  .title01 span:after {
    content: "";
    background: url(images/aic_title01_right.png) no-repeat center/100%;
    width: 35px;
    height: 17px;
    position: absolute;
    right: -40px;
  }
}

#stage {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  background: #ddd;
}
.pic {
  position: absolute;
}
.pic img {
  width: 100%;
  height: auto;
  opacity: 0;
  -moz-animation: imgTrans 40s infinite;
  -webkit-animation: imgTrans 40s ease-in infinite;
  animation: imgTrans 40s infinite;
}
#photo1 img {
  -moz-animation-delay: 0s;
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
}
#photo2 img {
  -moz-animation-delay: 8s;
  -webkit-animation-delay: 8s;
  animation-delay: 8s;
}
#photo3 img {
  -moz-animation-delay: 16s;
  -webkit-animation-delay: 16s;
  animation-delay: 16s;
}
#photo4 img {
  -moz-animation-delay: 24s;
  -webkit-animation-delay: 24s;
  animation-delay: 24s;
}
#photo5 img {
  -moz-animation-delay: 32s;
  -webkit-animation-delay: 32s;
  animation-delay: 32s;
}
#photo6 img {
  -moz-animation-delay: 32s;
  -webkit-animation-delay: 32s;
  animation-delay: 32s;
}
#photo7 img {
  -moz-animation-delay: 32s;
  -webkit-animation-delay: 32s;
  animation-delay: 32s;
}
#photo8 img {
  -moz-animation-delay: 32s;
  -webkit-animation-delay: 32s;
  animation-delay: 32s;
}

@-webkit-keyframes imgTrans {
  0% {
    opacity: 0;
  }
  7% {
    opacity: 1;
  }
  18% {
    opacity: 1;
  }
  25% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
@-moz-keyframes imgTrans {
  0% {
    opacity: 0;
  }
  7% {
    opacity: 1;
  }
  18% {
    opacity: 1;
  }
  25% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
@keyframes imgTrans {
  0% {
    opacity: 0;
  }
  7% {
    opacity: 1;
  }
  18% {
    opacity: 1;
  }
  25% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/***********店舗一覧*******************/

#shoplink ul,
#shoplink2 ul,
.shop-link ul {
  padding-left: 100px;
  padding-right: 100px;
}

#shoplink ul li,
#shoplink2 ul li,
.shop-link ul li {
  padding: 5px 10px;
  margin-bottom: 10px;
  display: inline-block;
  font-size: 16px;
  border-radius: 20px;
  border: 1px solid #c9b279;
  color: #282828;
  position: relative;
  box-sizing: border-box;
  letter-spacing: 1.4px;
  text-align: center;
  width: 130px;
  margin-right: 5px;
}

#shoplink ul li:hover,
#shoplink2 ul li:hover,
.shop-link ul li:hover {
  background: #c9b279;
  text-decoration: none;
  color: #fff;
}
.accordion__summary {
  padding-left: 85px;
  padding-right: 85px;
  cursor: pointer;
}
/* 標準マーカーを非表示 */
.accordion__summary {
  list-style: none;
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 12px 0;
}

.accordion__summary::marker,
.accordion__summary::-webkit-details-marker {
  display: none;
}

/* カスタム三角マーカー */
.accordion__summary::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 8px solid #fff;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  margin-right: 12px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

/* 開いている状態 */
details[open] .accordion__summary::before {
  transform: rotate(90deg);
}

/* h4要素の最終調整 */
.accordion__summary h4 {
  margin: 0;
  line-height: 1.2;
  font-size: 18px;
  display: flex;
  align-items: center;
  width: 100%;
}

/* アイコンコンテナ */
.accordion-icon {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* モバイル対応 */
@media (max-width: 768px) {
  .accordion__summary {
    padding: 10px 0;
  }

  .accordion__summary h4 {
    font-size: 16px;
  }

  .accordion__summary::before {
    border-left-width: 6px;
    border-top-width: 5px;
    border-bottom-width: 5px;
    margin-right: 10px;
  }
}
@media (max-width: 767px) {
  #shoplink ul li:nth-child(3n),
  #shoplink2 ul li:nth-child(3n) {
    margin-right: 0px;
  }
  #shoplink ul,
  #shoplink2 ul,
  .shop-link ul {
    padding-left: 0px;
    padding-right: 0px;
  }
  #shoplink ul li,
  #shoplink2 ul li,
  .shop-link ul li {
    font-size: 14px;
    width: 29vw;
  }
  .accordion__summary {
    padding-left: 0px;
    padding-right: 0px;
  }
}

#shopArea div.shopBox {
  display: none;
}

/*  #shopArea div.shopBox .d-inline-block{
     padding:50px 40px;
    background: url(images/shop_right.png)no-repeat right top,url(images/shop_left.png)no-repeat left bottom;
  margin:15px 0;
  }

*/

/*********** ボタン汎用 *******************/

a.btnTop {
  display: block;
  font-size: 14px;
  border-radius: 25px;
  border: 1px solid #c9b279;
  width: 240px;
  color: #282828;
  position: relative;
  box-sizing: border-box;
  line-height: 40px;
  letter-spacing: 1.4px;
  text-align: center;
}

a.btnTop:after {
  display: inline-block;
  content: "";
  width: 8px;
  height: 8px;
  border-right: 1px solid #282828;
  border-bottom: 1px solid #282828;
  transform: rotate(-45deg);
  top: 40%;
  right: 20%;
  margin-left: 2px;
  margin-bottom: 1px;
}

a.btnTop:hover {
  background: #c9b279;
  text-decoration: none;
  color: #fff;
}

a.btnTop:hover:after {
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
}
/**************googlmap************************/
.map {
  position: relative;

  overflow: hidden;
}

.map iframe,
.map object,
.mapp embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 92%;
  height: 100%;
  max-width: 100%;
}

#navi {
  background-color: rgba(255, 255, 255, 0.9);
}
#navi .container-fluid {
  max-width: 1200px;
  margin: 0 auto;
}
#navi .navbar-light .navbar-nav .nav-link {
  color: #000;
}
#navi .navbar-light .navbar-nav .nav-link:hover {
  color: #c9b279;
}

.fixed-top {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030;
}
.navbar-light .navbar-brand {
  color: rgba(0, 0, 0, 0.9);
}
.navbar-brand {
  display: inline-block;
  padding-top: 0.3125rem;
  padding-bottom: 0.3125rem;
  margin-right: 1.25rem;
  font-size: 1rem;
  line-height: inherit;
  white-space: nowrap;
}
#navmenu1 ul li a {
  font-size: 12px;
  color: #202020;
  font-family: "Noto Serif JP", serif;
}
#navmenu1 ul li a:hover {
  color: #c9b279;
}
button:focus {
  outline: #c9b279;
}

.headerBg h1 {
  font-size: 36px;
}

.headerBg h1 span {
  display: block;
  font-size: 16px;
  margin-top: 12px;
}

#reasonArea .fopen.open {
  display: block;
}

/*sumaho*/
@media screen and (max-width: 767px) {
  #navmenu1 ul li a {
    font-size: 13px;
  }

  p {
    font-size: 13px;
    line-height: 18.75px;
    letter-spacing: 1.3px;
    color: #282828;
    color: rgb(40, 40, 40);
  }
  .db {
    display: block;
  }

  /*汎用ボタンの調整*/
  a.btnTop {
    width: auto;
    padding: 5px 0;
    font-size: 13px;
    line-height: 40px;
    letter-spacing: 1.3px;
  }
  a.btnTop.fk,
  a.btnTop,
  #reasonArea a.btnTop {
    padding: 0;
    display: block;
    padding: 2.3px 0;
    text-align: center;
  }

  .swiper-wrapper .s1 {
    background-image: url(images/slide-1_s.png);
  }

  .swiper-wrapper .s2 {
    background-image: url(images/slide-2_s.png);
  }

  .swiper-wrapper .s3 {
    background-image: url(images/slide-3_s.png);
  }
}

#shopArea div.shopBox h3 {
  margin-bottom: 0;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

#shopArea.container {
  padding-right: 100px;
  padding-left: 100px;
}

.shopBox .heading,
.shop-title {
  background-color: #e4d9bc;
  padding: 5px 0;
  margin-bottom: 1rem;
}

#blog_category img,
#Blog img {
  max-width: 100%;
  height: auto;
}

h3.strong {
  font-size: 1.2rem;
  font-weight: bold;
}
#shopArea.container {
  padding-right: 15px;
  padding-left: 15px;
}

#shoplink ul {
  padding-right: 15px;
  padding-left: 15px;
}

#shoplink ul li {
  width: 100px;
  margin-bottom: 5px;
  padding: 2px 0;
}

/*店舗一覧*/
#aboutArea.shoplist p {
  margin-bottom: 0;
}

#aboutArea.shoplist .heading h2 {
  font-family: "Noto Serif JP";
}
/* 店舗リストのレスポンシブレイアウト */
.accordion__detail {
  padding: 20px 0;
}

#shops {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

/* PC表示：4列レイアウト */
#shops li {
  flex: 0 0 calc(33% - 8px); /* 4列（25%）からgap分を引く */
  background-color: #fff;
  border: 1px solid #6e6239; /* ゴールド系のボーダー */
  border-radius: 25px;
  padding: 12px 20px;
  text-align: center;
  font-size: 14px;
  color: #333;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ホバーエフェクト */
#shops li:hover {
  background-color: #9e853f;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

/* タブレット表示：3列レイアウト */
@media (max-width: 1024px) and (min-width: 769px) {
  #shops li {
    flex: 0 0 calc(33.333% - 8px); /* 3列 */
  }
}

/* スマホ表示：2列レイアウト */
@media (max-width: 768px) {
  .accordion__detail {
    padding: 15px 0;
  }

  #shops {
    gap: 10px;
  }

  #shops li {
    flex: 0 0 calc(50% - 5px); /* 2列（50%）からgap分を引く */
    padding: 10px 16px;
    font-size: 13px;
    min-height: 44px;
    border-radius: 22px;
  }
}

/* より小さなスマホ画面対応 */
@media (max-width: 480px) {
  #shops {
    gap: 8px;
  }

  #shops li {
    flex: 0 0 calc(50% - 10px);
    padding: 8px 12px;
    font-size: 12px;
    min-height: 40px;
    border-radius: 20px;
  }
}

/* コンテナの調整 */
.accordion__detail .container {
  padding-left: 15px;
  padding-right: 15px;
}

/* 特定の店舗に特別なスタイルが必要な場合
#shops li.ginzahonten {
    font-weight: bold;
}
 */
/* アクティブ状態のスタイル（選択された店舗用） */
#shops li.active {
  background-color: #d4af37;
  color: #fff;
}

/* フォーカス状態（アクセシビリティ対応） */
#shops li:focus {
  outline: 2px solid #d4af37;
  outline-offset: 2px;
}
/* グラデーションボーダー版 */
/* #shops li {
    background: linear-gradient(white, white) padding-box,
                linear-gradient(45deg, #d4af37, #f4e4bc) border-box;
    border: 2px solid transparent;
} */

/* シャドウ強調版 */
#shops li {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#shops li:hover {
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.4);
}
.container-fluid-front {
  max-width: 1200px;
}
.footer-sp-order-1 {
  order: 1;
}
.footer-sp-order-2 {
  order: 2;
}
.footer-sp-order-3 {
  order: 3;
}
.footer-sp-order-4 {
  order: 4;
}
.w-10. {
  width: 100%;
}

/* ========================================
   ブランドスライド（整理版）
   ======================================== */
#brand-slider {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin: 30px 0;
}

#brand-track {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  width: max-content;
  animation: brandScroll 18s linear infinite;
}

#brand-track img {
  width: 450px;
  height: 205px;
  object-fit: cover;
  flex: 0 0 auto;
  margin-right: 20px;
  border-radius: 10px;
}

#brand-slider:hover #brand-track {
  animation-play-state: paused;
}

@keyframes brandScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

#brand-slider-top,
#brand-slider-bottom {
  width: 100%;
  overflow: hidden;
  margin: 15px 0;
}

.brand-track-left,
.brand-track-right {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center;
  width: max-content;
}

.brand-track-left {
  animation: slideLeft 30s linear infinite;
}

.brand-track-right {
  animation: slideRight 30s linear infinite;
}

.brand-track-left a,
.brand-track-right a {
  display: block;
  flex: 0 0 auto;
  margin-right: 12px;
}

.brand-track-left img,
.brand-track-right img {
  display: block;
  width: 210px;
  max-width: 210px;
  height: auto;
  border-radius: 10px;
  object-fit: contain;
}

@keyframes slideLeft {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes slideRight {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

@media (max-width: 768px) {
  #brand-track img {
    width: 280px;
    height: 128px;
  }
}

@media (max-width: 767px) {
  .brand-track-left a,
  .brand-track-right a {
    margin-right: 8px;
  }

  .brand-track-left img,
  .brand-track-right img {
    width: 150px;
    max-width: 150px;
  }
}

/* ==========================================================
   お客様の声 スライダー
========================================================== */

#voice-slider {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 20px 0;
}

.voice-track {
  display: flex;
  align-items: flex-start;
  width: max-content;
  animation: voiceSlideLeft 35s linear infinite;
}

.voice-track img {
  display: block;
  width: auto;
  max-width: none;
  height: auto;
  flex-shrink: 0;
  margin: 0 20px;
}

@keyframes voiceSlideLeft {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* PC */
@media (min-width: 768px) {
  #voice-slider {
    padding: 30px 0;
  }

  .voice-track img {
    margin: 0 25px;
  }
}

/* スマホ */
@media (max-width: 767px) {
  #voice-slider {
    padding: 20px 0;
  }

  .voice-track img {
    margin: 0 12px;
  }
}

/* =========================
   ピックアップ店舗
========================= */

#brand-slider-shop{
    width:100%;
    overflow:hidden;
    padding:0px 0 10px;   /* 下余白を小さく */
    margin:0;
}

#brand-slider-shop .brand-track-shop{
    display:flex;
    flex-wrap:nowrap;
    width:max-content;
    animation:brandScrollShopOnly 28s linear infinite;
}

#brand-slider-shop .brand-set-shop{
    display:flex;
    flex-wrap:nowrap;
    gap:24px;
    flex:0 0 auto;
    padding-right:24px;
}

#brand-slider-shop .brand-set-shop a {
    display: block;
    flex: 0 0 180px;
    width: 180px;
    text-decoration: none;
}

#brand-slider-shop .brand-set-shop img {
    display: block;
    width: 180px;
    height: 180px;
    object-fit: contain;
    background: #fff;
}
#brand-slider-shop .brand-set-shop img{
    display:block;
    width:180px;
    height:180px;
    object-fit:cover;      /* contain → cover の方が自然 */
    margin-bottom:4px;     /* ←ここで画像と文字の隙間を調整 */
}

/* 無限ループ */
@keyframes brandScrollShopOnly{
    from{
        transform:translateX(0);
    }
    to{
        transform:translateX(-50%);
    }
}

/* ホバーで一時停止 */
#brand-slider-shop:hover .brand-track-shop{
    animation-play-state:paused;
}

/* =========================
   ピックアップ店舗タイトル
========================= */

.bsTitle{
    margin-bottom:20px;
}

/* =========================
   ピックアップ店舗セクション
========================= */

.pickup-shop{
    margin-bottom:40px;
    padding-bottom:0;
}
/* ========================================
   フロントページ：ヒーロー画像固定＋スクロールで下のセクションがかぶさる
   ======================================== */

/* ヒーロー（#h1l）を背面に固定。ナビ(#navi z-index:1030)より下に置く */
.front-hero .h1_area {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1;
}

.front-hero .h1_area #h1l img {
  width: 100%;
}

/* コンテンツをヒーローより前面に出し、初期位置をヒーロー高さ分だけ下げる。
   margin-top はスマホ画像(750x1140)の比率で確保し、JSで実寸に同期する */
.front-hero .container.wrapper {
  position: relative;
  z-index: 2;
  background: #fff;
  margin-top: calc(100vw * 1140 / 750);
}

/* コンテンツ(750px中央寄せ)の左右にも画面幅いっぱいの白を敷き、
   スクロール時にヒーロー画像を完全に隠す。コンテンツと一体で上に動く */
.front-hero .container.wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  height: 100%;
  transform: translateX(-50%);
  background: #fff;
  z-index: -1;
}

/* 100vw による横スクロール抑止（フロントのみ） */
.front-hero {
  overflow-x: hidden;
}

/* === 背面固定ヒーロー(.h1_area z-index:1)対策（フロント） ===
   .container.wrapper が空でセクションが <body> 直下にあるため固定ヒーローが透ける。
   全セクションを前面化し白の下地で背面を隠す（id無しセクションも確実に覆うため !important）。
   独自背景色の #reasonArea/#faq は色を復元。#voice_area はインスタ背景を白に。 */
.front-hero > section {
  position: relative;
  z-index: 2;
  background-color: #fff !important;
}
/* body直下に押し出されたセクションをコンテンツ幅(750px)・中央寄せにして
   wrapper内セクションと幅を揃える。左右の余白は100vwの白で覆い背面ヒーローを隠す */
.front-hero > section {
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}
.front-hero > section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  height: 100%;
  transform: translateX(-50%);
  background: #fff;
  z-index: -1;
}
/* セクション間の隙間が子要素のmargin貫通(margin-collapse)で透明になり背面が透けるため、
   flow-root でマージンをセクション内に閉じ込め、白背景で隙間を埋める */
.front-hero > section,
.front-hero main > section {
  display: flow-root;
}
/* スマホ：ブランドスライダーの帯(brand-track-left 幅5700px)等の横はみ出しで
   左右に隙間/横スクロールが出るため overflow-x:hidden で抑える */
@media (max-width: 768px) {
  .front-hero > section,
  .front-hero main > section {
    overflow-x: hidden;
  }
}
.front-hero #reasonArea {
  background-color: #fbf8f0 !important;
}
.front-hero #faq {
  background-color: rgb(226, 224, 215) !important;
}
.front-hero #voice_area {
  background-image: none;
}
/* フッターも固定ヒーローより前面へ */
.front-hero #footer {
  position: relative;
  z-index: 2;
}

/* PC（lg以上）はPC画像(1920x1000)の比率で確保 */
@media (min-width: 992px) {
  .front-hero .container.wrapper {
    margin-top: calc(100vw * 1000 / 1920);
  }
}

/* ========================================
   下層ページ：ヒーロー(.page-title-area)固定＋スクロールで下のセクションがかぶさる
   ※固定ページは header 由来と page.php 内側で .container.wrapper が2重になるため、
     body 直下（外側）だけを対象にする
   ======================================== */
.sub-hero .h1_area {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1;
}

.sub-hero > .container.wrapper {
  position: relative;
  z-index: 2;
  background: #fff;
  margin-top: 160px; /* 初期フォールバック。JSでヒーロー実寸に同期 */
}

.sub-hero > .container.wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  height: 100%;
  transform: translateX(-50%);
  background: #fff;
  z-index: -1;
}

.sub-hero {
  overflow-x: hidden;
}

@media (min-width: 768px) {
  .sub-hero > .container.wrapper {
    margin-top: 260px;
  }
}





.about_ginza_stack{
    position: relative;
    display: inline-block;
}

.about_ginza_stack img:first-child{
    display: block;
}

.about_ginza_stack .stack_overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2;
}
/* 高級感のある1文字アニメーション */
.luxury-text span{
    display:inline-block;
    opacity:0;
    transform:translateY(20px);
}

.luxury-text.start span{
    animation:luxuryFade .7s cubic-bezier(.25,.46,.45,.94) forwards;
}

@keyframes luxuryFade{

    0%{
        opacity:0;
        transform:translateY(20px);
    }

    60%{
        opacity:1;
    }

    100%{
        opacity:1;
        transform:translateY(0);
    }

}
h4.pl-2{
    font-family: "Noto Serif JP", serif !important;
}

/* shaving内のコースだけ左右の隙間を消す */
#shaving > .container {
  padding-left: 0;
  padding-right: 0;
}

/* タイトル部分だけ通常の余白を戻す */
#shaving > .container > .row:first-child {
  padding-left: 15px;
  padding-right: 15px;
}
/* ページ読み込み直後の横はみ出し対策 */
html,
body {
  overflow-x: hidden;
}

/* ブライダルシェービングページ内の横はみ出し対策 */
#shaving,
#timing,
#flow,
#option,
#voice_area {
  overflow-x: hidden;
}

/* ① shavingページのタイトル画像 */
#shaving .about_ginza_stack {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

#shaving .about_ginza_stack img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

/* タイトル重ね画像の左右すき間を強制的に消す */
#shaving .about_ginza_stack {
  display: block !important;
  margin-right: calc(50% - 50vw) !important;
  padding: 0 !important;
  overflow: hidden;
}

#about_ginza .about_ginza_stack {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding: 0 !important;
  overflow: hidden;
}
/* PCではタイトル画像をcontainer内に収める */
@media (min-width: 769px) {
  #shaving .about_ginza_stack {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  #shaving .about_ginza_stack img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }
}

/* スマホだけ左右の隙間を消す */
@media (max-width: 768px) {
  #shaving > .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}
#shaving .about_ginza_stack img,
#about_ginza .about_ginza_stack img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
}

/* 重ね画像の位置 */
#shaving .about_ginza_stack .stack_overlay,
#about_ginza .about_ginza_stack .stack_overlay {
  position: absolute;
  top: 0;
  left: 0;
}

/* AOSの横はみ出し対策 */
html,
body {
  overflow-x: hidden;
}

#reasonArea .readmore{
    font-size: 20px;
    font-weight: 700;
    color: #c9b279;
    text-align: right;
    padding: 10px 15px 15px;
    cursor: pointer;
    transition: .3s;
}

#reasonArea .readmore::after{
    content: " ＞";
    transition: .3s;
}

#reasonArea .readmore:hover{
    color: #9d8453;
}

#reasonArea .readmore:hover::after{
    margin-left: 6px;
}

/* スマホだけ：ブライダルシェービングコースタイトルを左右いっぱい */
@media (max-width: 768px) {
  #shaving > .container > .row:first-child {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  #shaving > .container > .row:first-child > .col-12 {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  #shaving > .container > .row:first-child .about_ginza_stack {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  #shaving > .container > .row:first-child img {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
  }
}

/* トップ動画 */
.bridal-hero-movie {
  width: 100%;
  overflow: hidden;
}

.bridal-hero-inner {
  position: relative;
  width: 100%;
  height: 720px;
  overflow: hidden;
}

.bridal-hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bridal-hero-video-pc {
  display: block;
  object-position: 60% center;
}

.bridal-hero-video-sp {
  display: none;
}

.bridal-hero-overlay {
  position: absolute;
  inset: 0;
  max-width: 750px;
  width: 100%;
  margin: 0 auto;
  z-index: 2;
}

.bridal-hero-text {
  position: absolute;
  top: 65%;
  left: 7%;
  transform: translateY(-50%);
  text-align: left;
  color: #ffffff;
}

/* 固定ページ用（本番移行時に削除） */
@media (min-width: 768px) {

  .bridal-hero-text {
    left: 9%;
  }

}
.hero-main-copy {
  margin: 0;
  padding: 0;
  text-align: left;
}

.text-line {
  display: block;
  width: fit-content;
  margin: 0 0 0.15em;
  padding: 0;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.06em;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
  white-space: nowrap;
  overflow: hidden;
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  transform: translateX(-24px);
  animation: bridalTextReveal 1.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.text-line-first {
  animation-delay: 0.3s;
}

.js-soft-text:nth-of-type(2) {
  animation-delay: 1.2s;
}

.js-soft-text:nth-of-type(3) {
  animation-delay: 2.3s;
}

.hero-sub-copy {
  margin-top: 1.4em;
  display: inline-block;
  padding: 14px 22px;
  background: rgba(255,255,255,.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 0;
  box-shadow: 0 8px 25px rgba(0,0,0,.08);
  opacity: 0;
  transform: translateY(15px);
  animation: heroSubFade 1.2s ease forwards;
  animation-delay: 4s;
}
.hero-sub-copy p {
    position: relative;
    display: block;
    width: fit-content;
    margin: 0 0 0.15em;
    padding: 0 0 4px;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.06em;
    color: #333;
    text-shadow: none;
}
.hero-sub-copy p::after {
  content: "";
  position: absolute;
  left: -3px;
  right: -3px;
  bottom: 3px;
  height: 8px;
  background: rgba(201,178,121,.45);
  transform: scaleX(0);
  transform-origin: left;
  z-index: -1;
}@keyframes heroLine {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
.hero-sub-copy p:nth-child(1)::after {
  animation: heroLine 1.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 4.8s;
}

.hero-sub-copy p:nth-child(2)::after {
  animation: heroLine 1.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 5.25s;
}

.hero-sub-copy p:nth-child(3)::after {
  animation: heroLine 1.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 5.7s;
}
@keyframes bridalTextReveal {
  0% {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
    transform: translateX(-24px);
    filter: blur(5px);
  }

  100% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: translateX(0);
    filter: blur(0);
  }
}
@keyframes heroSubFade {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* スマートフォン */
@media screen and (max-width: 767px) {
  .bridal-hero-inner {
    height: 620px;
  }

  .bridal-hero-video-pc {
    display: none;
  }

  .bridal-hero-video-sp {
    display: block;
    object-position: center center;
  }

  .bridal-hero-text {
    top: 63%;
    left: 7%;
    right: 7%;
    transform: translateY(-50%);
  }

  .text-line {
    font-size: 26px;
    line-height: 1.45;
    letter-spacing: 0.04em;
  }

  .hero-sub-copy {
    margin-top: 1.4em;
  }

  .hero-sub-copy p {
    font-size: 17px;
    line-height: 1.5;
  }
}

/* ========================================
   h2 画像重ね 共通安定版
   ※ コンテンツ順変更で崩れないよう、重ね画像用クラスだけに限定
   ======================================== */
h2.about_ginza_stack,
h2.aos-stack,
.about_ginza_stack,
.aos-stack {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 !important;
  overflow: hidden !important;
}

h2.about_ginza_stack img,
h2.aos-stack img,
.about_ginza_stack img,
.aos-stack img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
}

h2.about_ginza_stack .stack_overlay,
h2.aos-stack .stack_overlay,
.about_ginza_stack .stack_overlay,
.aos-stack .stack_overlay {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  z-index: 2 !important;
}

/* #shaving のタイトル画像だけスマホで画面いっぱいにする */
@media (max-width: 768px) {
  #shaving > .container > .row:first-child {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  #shaving > .container > .row:first-child > .col-12 {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}


/* 下層ページ：一番上のH2上の隙間をなくす */
.sub-hero > .container.wrapper {
  padding-top: 0 !important;
}

.sub-hero > .container.wrapper > section:first-of-type {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.sub-hero > .container.wrapper > section:first-of-type .container,
.sub-hero > .container.wrapper > section:first-of-type .row {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.sub-hero > .container.wrapper > section:first-of-type h2,
.sub-hero > .container.wrapper > section:first-of-type h2.aos-stack,
.sub-hero > .container.wrapper > section:first-of-type h2.about_ginza_stack {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* 固定ページ用（本番でindex.phpへ移行したら削除） */
.bridal-hero-movie {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    overflow: hidden;
}
/* 固定ページ用：PCのみ文字位置を少し右へ */
@media screen and (min-width: 768px) {
  .bridal-hero-movie .bridal-hero-text {
    left: 9% !important;
  }
}

/* ==========================================================
   下層ページ：フッター・スマホヘッダー最終調整
   ========================================================== */

/* 下層ページのフッターを固定ヒーローより前面へ */
.sub-hero footer,
.sub-hero #footer{
  position: relative !important;
  z-index: 10 !important;
  background: #6e6239 !important;
  margin-bottom: 0 !important;
}

.sub-hero footer a,
.sub-hero #footer a{
  color: #fff !important;
}

/* 以前の余白対策で入った疑似要素を完全に無効化 */
.sub-hero::after,
.sub-hero footer::after,
.sub-hero #footer::after{
  content: none !important;
  display: none !important;
  height: 0 !important;
}

/* 下層ページ全体の下余白をリセット */
.sub-hero{
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* スマホ：下層ページのタイトル背景を安定表示 */
@media (max-width: 767px){

  /* 固定ナビと重ならないようタイトル背景全体を下げる */
  .sub-hero .h1_area{
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    z-index: 1 !important;
    margin-top: 68px !important;
  }

  /* 背景画像の表示範囲を確保。背景画像URLはheader.php側で指定 */
  .sub-hero .h1_area .page-title-area.headerBg{
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;
    height: 220px !important;
    min-height: 220px !important;
    padding: 0 !important;
    margin: 0 !important;

    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
  }

  /* タイトルは背景内に表示し、下に1行分ほど余白を残す */
  .sub-hero .h1_area .page-title-area.headerBg h1{
    position: static !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;

    margin: 0 0 24px !important;
    padding: 0 !important;
    z-index: 2 !important;
    line-height: 1.2 !important;
  }

  .sub-hero .h1_area .page-title-area.headerBg h1 span{
    display: block !important;
    margin-top: 8px !important;
  }

  /* 下層本文はタイトル直下から開始 */
  .sub-hero > .container.wrapper{
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
}

/* エリアから探す：スクロールバーを消して画像部分で横スクロール */
.bsTabsNav{
    overflow-x:auto;
    overflow-y:hidden;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
    -ms-overflow-style:none;
    cursor:grab;
}

.bsTabsNav::-webkit-scrollbar{
    display:none;
}

.bsTabs{
    display:flex;
    flex-wrap:nowrap;
}
.bsTabsNav{
    overflow-x:auto;
    overflow-y:hidden;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
    -ms-overflow-style:none;
    cursor:grab;
}

.bsTabsNav::-webkit-scrollbar{
    display:none;
}

.bsTabs{
    display:flex;
    flex-wrap:nowrap;
}
/* エリアから探す：スクロールバー非表示＋画像部分で横スクロール */
.bsTabsNav{
    width:100%;
    overflow:hidden !important;
}

.bsTabs{
    display:flex !important;
    flex-wrap:nowrap !important;
    overflow-x:auto !important;
    overflow-y:hidden !important;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none !important;
    -ms-overflow-style:none !important;
    cursor:grab;
}

.bsTabs::-webkit-scrollbar{
    display:none !important;
}

.bsTabs li{
    flex:0 0 auto !important;
}

.bsTabs.dragging{
    cursor:grabbing;
    user-select:none;
}

/* レビュー見出しとスライダーの隙間調整 */
.about_ginza_stack {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

#voice-slider {
  margin-top: -20px;
  padding-top: 0;
}


/* ==========================================================
   ttl_feature03.png 専用：右から左へスライド表示
   ※ opacity / transform に !important を付けないことでアニメーションを確実に動かす
========================================================== */
#reasonArea h2.about_ginza_stack .feature_slide03 {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  z-index: 99 !important;
  pointer-events: none !important;

  opacity: 0;
  transform: translate3d(120px, 0, 0);
  animation: featureSlide03In 1.2s cubic-bezier(0.22, 1, 0.36, 1) 1.5s forwards;
  will-change: transform, opacity;
}

@keyframes featureSlide03In {
  0% {
    opacity: 0;
    transform: translate3d(120px, 0, 0);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* ==================================================
   TOP-2 bridal-slide-final slider
   - top2-auto-slider.js controls slide switching with .is-active.
   - CSS handles layout, fade, PC/SP display, and image zoom only.
   - Keep every selector scoped to .bridal-slide-final to avoid other pages.
================================================== */
.bridal-slide-final {
  --bridal-slide-zoom-start: 1.001;
  --bridal-slide-zoom-end: 1.08;
  position: relative !important;
  display: block !important;
  width: 100vw !important;
  max-width: none !important;
  margin-right: calc(50% - 50vw) !important;
  margin-left: calc(50% - 50vw) !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: #eee;
}

.bridal-slide-final,
.bridal-slide-final * {
  box-sizing: border-box;
}

/* Slide visibility is class-based. Do not add timeline/keyframe slide switching here. */
.bridal-slide-final__item {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  visibility: hidden;
  opacity: 0;
  transition: opacity 1s ease-in-out, visibility 0s linear 1s;
}

.bridal-slide-final__item.is-active {
  z-index: 3;
  visibility: visible;
  opacity: 1;
  transition: opacity 1s ease-in-out, visibility 0s linear 0s;
}

.bridal-slide-final__item.is-leaving {
  z-index: 2;
  visibility: visible;
  opacity: 0;
  transition: opacity 1s ease-in-out, visibility 0s linear 1s;
}

/* Image base. The zoom animation is restarted by top2-auto-slider.js. */
.bridal-slide-final__item img,
.bridal-slide-final__pc,
.bridal-slide-final__sp {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  object-fit: cover !important;
  transform: translate3d(0, 0, 0) scale(var(--bridal-slide-zoom-start));
  transform-origin: center top;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
}

/* Active image zoom. Keep this on the image only so JS can handle slide switching. */
.bridal-slide-final__item.is-active > img,
.bridal-slide-final__item.is-active picture img,
.bridal-slide-final__item.is-active img,
.bridal-slide-final__item.is-active .bridal-slide-final__pc,
.bridal-slide-final__item.is-active .bridal-slide-final__sp {
  animation: bridalSlideFinalZoom 6s linear forwards;
}

.bridal-slide-final__item.is-leaving > img,
.bridal-slide-final__item.is-leaving picture img,
.bridal-slide-final__item.is-leaving img,
.bridal-slide-final__item.is-leaving .bridal-slide-final__pc,
.bridal-slide-final__item.is-leaving .bridal-slide-final__sp {
  animation: none !important;
  transform: translate3d(0, 0, 0) scale(var(--bridal-slide-zoom-end)) !important;
}

/* Single shared zoom keyframe. Slide switching itself is handled by JS. */
@keyframes bridalSlideFinalZoom {
  from {
    transform: translate3d(0, 0, 0) scale(var(--bridal-slide-zoom-start));
  }

  to {
    transform: translate3d(0, 0, 0) scale(var(--bridal-slide-zoom-end));
  }
}

/* Text overlay */
.bridal-slide-final__copy {
  position: absolute !important;
  top: 50% !important;
  left: 6% !important;
  z-index: 10 !important;
  display: block !important;
  width: 88% !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #fff !important;
  text-align: left !important;
  transform: translateY(-50%) !important;
  pointer-events: none;
  font-family: "Noto Serif JP", "Yu Mincho", "Yu Mincho Medium", serif !important;
}

.bridal-slide-final__catch {
  display: block !important;
  margin: 0 0 24px !important;
  padding: 0 !important;
}

.bridal-slide-final__catch p {
  display: block !important;
  margin: 0 0 18px !important;
  padding: 0 !important;
  color: #fff !important;
  font-size: clamp(27px, 2.5vw, 46px) !important;
  font-weight: 400 !important;
  line-height: 2 !important;
  letter-spacing: 0.06em !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.65), 0 3px 14px rgba(0, 0, 0, 0.35) !important;
}

.bridal-slide-final__catch .marker {
  display: inline-block;
  padding: 0.05em 0.28em;
  color: #fff;
  line-height: 1.3;
  background-color: rgba(215, 197, 154, 0.72);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.bridal-slide-final__features {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}

.bridal-slide-final__features p {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.25 !important;
  letter-spacing: 0.02em !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.65), 0 2px 10px rgba(0, 0, 0, 0.35) !important;
}

/* PC layout. Source images are 1920x1000, so this ratio avoids vertical cropping. */
@media screen and (min-width: 768px) {
  .bridal-slide-final {
    --bridal-slide-zoom-start: 1.001;
    --bridal-slide-zoom-end: 1.08;
    aspect-ratio: 1920 / 1000;
    height: auto !important;
  }

  .bridal-slide-final .bridal-slide-final__item--pc {
    display: block !important;
  }

  .bridal-slide-final .bridal-slide-final__item--sp,
  .bridal-slide-final .bridal-slide-final__item--sp.is-active {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
  }

  .bridal-slide-final .bridal-slide-final__pc {
    display: block !important;
    object-position: center top !important;
    transform-origin: center top !important;
  }

  .bridal-slide-final .bridal-slide-final__sp {
    display: none !important;
  }

  /* PC03: keep the image from lifting upward during zoom. */
  .bridal-slide-final__item--03 .bridal-slide-final__pc,
  .bridal-slide-final__item--pc:nth-of-type(3) .bridal-slide-final__pc,
  .bridal-slide-final__item--pc img[src*="pc03"] {
    object-position: center top !important;
    transform-origin: center top !important;
  }
}

/* SP layout. JS only activates .bridal-slide-final__item--sp below 768px. */
@media screen and (max-width: 767px) {
  .bridal-slide-final {
    --bridal-slide-zoom-start: 1;
    --bridal-slide-zoom-end: 1.06;
    aspect-ratio: 750 / 1140;
    height: auto !important;
  }

  .bridal-slide-final .bridal-slide-final__item--pc,
  .bridal-slide-final .bridal-slide-final__item--pc.is-active {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
  }

  .bridal-slide-final .bridal-slide-final__item--sp {
    display: block !important;
  }

  .bridal-slide-final .bridal-slide-final__pc {
    display: none !important;
  }

  .bridal-slide-final .bridal-slide-final__sp {
    display: block !important;
    object-position: center top !important;
    transform-origin: center top !important;
  }

  .bridal-slide-final__copy {
    top: 65% !important;
    left: 6% !important;
    width: 88% !important;
    transform: translateY(-50%) !important;
  }

  .bridal-slide-final__catch {
    margin-bottom: 16px !important;
  }

  .bridal-slide-final__catch p {
    margin-bottom: 14px !important;
    font-size: clamp(18px, 5.2vw, 24px) !important;
    line-height: 2.15 !important;
    letter-spacing: 0.01em !important;
    white-space: nowrap !important;
  }

  .bridal-slide-final__catch .marker {
    padding: 0.04em 0.22em;
    background-color: rgba(215, 197, 154, 0.7);
  }

  .bridal-slide-final__features p {
    font-size: 12px !important;
    line-height: 1.25 !important;
    letter-spacing: 0.01em !important;
  }
}


/* ==========================================================
   トップページ移行後の bridal-slide-final 最終調整
   - トップページでもスライダー領域を画面幅いっぱいに維持
   - キャッチコピーの意図しない途中改行を防止
   - スマホでは画面幅に合わせて文字サイズを自動調整
========================================================== */

/* トップページ内でも親要素の幅や余白の影響を受けないようにする */
.home .bridal-slide-final,
.front-hero .bridal-slide-final {
  position: relative !important;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding: 0 !important;
  overflow: hidden !important;
}

/* 各文章を1行単位で固定し、単語途中の改行を防ぐ */
.bridal-slide-final__catch p {
  width: max-content !important;
  max-width: 100% !important;
  white-space: nowrap !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
}

.bridal-slide-final__catch .marker {
  display: inline-block !important;
  white-space: nowrap !important;
  word-break: keep-all !important;
}

/* PC */
@media screen and (min-width: 768px) {
  .bridal-slide-final__copy {
    left: 6% !important;
    width: 90% !important;
  }

  .bridal-slide-final__catch p {
    font-size: clamp(24px, 2.35vw, 45px) !important;
    line-height: 1.75 !important;
    letter-spacing: 0.04em !important;
  }
}

/* スマートフォン */
@media screen and (max-width: 767px) {
  .bridal-slide-final__copy {
    top: 65% !important;
    left: 4% !important;
    width: 92% !important;
  }

  .bridal-slide-final__catch p {
    width: max-content !important;
    max-width: 100% !important;
    margin-bottom: 12px !important;
    font-size: clamp(15px, 4.45vw, 21px) !important;
    line-height: 1.9 !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
    word-break: keep-all !important;
  }

  .bridal-slide-final__catch .marker {
    padding: 0.04em 0.16em !important;
  }

  .bridal-slide-final__features p {
    font-size: clamp(10px, 3.1vw, 13px) !important;
    line-height: 1.35 !important;
    white-space: nowrap !important;
    word-break: keep-all !important;
  }
}


/* ==========================================================
   トップ／TOP-2 共通：キャッチコピー改行位置の固定
   1行目「年間3万人の花嫁様がご来店！」
   2行目「最高のつや肌で最高の門出を」
========================================================== */
.bridal-slide-final__catch .bridal-main-copy {
  display: block !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 0 18px !important;
  white-space: normal !important;
}

.bridal-slide-final__catch .bridal-main-copy__line {
  display: block !important;
  width: max-content !important;
  max-width: 100% !important;
  white-space: nowrap !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
}

@media screen and (min-width: 768px) {
  .bridal-slide-final__catch .bridal-main-copy__line {
    font-size: inherit !important;
    line-height: 1.75 !important;
  }
}

@media screen and (max-width: 767px) {
  .bridal-slide-final__catch .bridal-main-copy {
    margin-bottom: 12px !important;
  }

  .bridal-slide-final__catch .bridal-main-copy__line {
    font-size: inherit !important;
    line-height: 1.9 !important;
  }
}
