/*-----------------------
 visual
------------------------*/
.visual-wrap {
  width: 100%;
  position: relative;
}

.slide_visual {
  width: 79%;
  margin-left: auto !important;
  margin-right: 0 !important;
}
.slide_visual .swiper-wrapper {
  height: 52vw;
  max-height: 900px;
  min-height: 230px;
  position: relative;
}
.slide_visual .swiper-wrapper .swiper-slide {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.visual-txt {
  position: absolute;
  left: 7.3vw;
  top: 50%;
  -webkit-transform: translate(0, -50%);
          transform: translate(0, -50%);
  font-size: 3.2vw;
  font-weight: 400;
  z-index: 1;
  letter-spacing: 0.4em;
  color: #333;
  line-height: 2;
}

@media screen and (min-width: 1600px) {
  .visual-txt {
    font-size: 5rem;
  }
}
@media screen and (max-width: 960px) {
  .visual-txt {
    font-size: 3rem;
    left: 5%;
  }
}
@media screen and (max-width: 540px) {
  .slide_visual .swiper-wrapper {
    min-height: auto;
    max-height: auto;
    height: 60vw;
  }
  .visual-txt {
    font-size: 2.4rem;
  }
}



}
/* デフォルト：横並び */
.tabs {
  display: flex;
  gap: 8px;
  border-bottom: 2px solid #eee;
  overflow-x: auto;
  padding-bottom: 8px;
}




/* PCでもスマホでも共通で小さめにする */
.campaign-img {
  display: block;
  max-width: 600px;   /* ←好みの幅に調整 */
  width: 100%;        /* 親幅にフィット */
  height: auto;
  margin: 0 auto;     /* 中央寄せ */
}

/* スマホはさらに小さくしたいなら */
@media (max-width: 767px) {
  .campaign-img {
    max-width: 90%;   /* 画面幅の9割以内 */
  }
}

#sec-flow {
	background: #f5f5f5;
}

/* フッタースマホ非表示 */
@media (max-width: 767.98px){
  .footer-flex {
    display: none !important;
  }
}


/*-----------------------
 intro
------------------------*/
.guide {
  padding-top: 130px;
}
.guide .inner {
  max-width: 600px;
}

@media (max-width: 960px) {
  .guide {
    padding-top: 90px;
  }
}
@media (max-width: 540px) {
  .guide {
    padding-top: 70px;
  }
}
/*-----------------------
 concept
------------------------*/
.concept .inner {
  width: 83%;
  max-width: 1260px;
}

.concept-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.concept-list li {
  position: relative;
  width: 28%;
}
/*-----------------------
.concept-list li:nth-child(2) {
  margin-top: 100px;
}
.concept-list li:nth-child(3) {
  margin-top: 50px;
}
------------------------*/
.concept-list li figure {
  margin-bottom: 20px;
}
.concept-list li figure img {
  width: 100%;
  height: auto;
}
.concept-list li .con-title {
  margin-bottom: 1rem;
  letter-spacing: 0.09rem;
}



/* number */
.concept-list .con-number {
  position: absolute;
  z-index: 1;
  top: -20px;
  left: 5px;
}
.concept-list .con-number span {
  position: relative;
  font-size: 2.8rem;
  font-style: italic;
  font-weight: 400;
}
.concept-list .con-number span:after {
  position: absolute;
  top: 0.5rem;
  right: -1rem;
  height: 5rem;
  content: "";
  border-right: 1px solid #777777;
  -webkit-transform: rotate(46deg);
          transform: rotate(46deg);
}

@media (max-width: 1024px) {
  .concept .inner {
    width: 90%;
  }
}
@media (max-width: 960px) {
  .concept-list .con-number {
    top: -28px;
  }
  .concept-list .con-number span {
    font-size: 2.4rem;
  }
}
@media (max-width: 540px) {
  .concept-list li {
    width: 80%;
    margin: 0 auto 60px;
  }
  .concept-list li:last-child {
    margin-bottom: 0;
  }
  .concept-list li:nth-child(2),
.concept-list li:nth-child(3) {
    margin-top: 0;
  }
}



.concept-list2 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.concept-list2 li {
  position: relative;
  width: 21.5%;
}
.concept-list2 li:nth-child(2) {
  margin-top: 0px;
}
.concept-list2 li:nth-child(3) {
  margin-top: 0px;
}
.concept-list2 li figure {
  margin-bottom: 20px;
}
.concept-list2 li figure img {
  width: 100%;
  height: auto;
}
.concept-list2 li .con-title {
  margin-bottom: 1rem;
  letter-spacing: 0.09rem;
}




/* number */
.concept-list2 .con-number {
  position: absolute;
  z-index: 1;
  top: -20px;
  left: 5px;
}
.concept-list2 .con-number span {
  position: relative;
  font-size: 2.8rem;
  font-style: italic;
  font-weight: 400;
}
.concept-list2 .con-number span:after {
  position: absolute;
  top: 0.5rem;
  right: -1rem;
  height: 5rem;
  content: "";
  border-right: 1px solid #777777;
  -webkit-transform: rotate(46deg);
          transform: rotate(46deg);
}

@media (max-width: 1024px) {
  .concept .inner {
    width: 90%;
  }
}
@media (max-width: 960px) {
  .concept-list2 .con-number {
    top: -28px;
  }
  .concept-list2 .con-number span {
    font-size: 2.4rem;
  }
}
@media (max-width: 540px) {
  .concept-list2 li {
    width: 80%;
    margin: 0 auto 60px;
  }
  .concept-list2 li:last-child {
    margin-bottom: 0;
  }
  .concept-list2 li:nth-child(2),
.concept-list2 li:nth-child(3) {
    margin-top: 0;
  }
}



/*-----------------------
 menu
------------------------*/
/*----- menu-wrapper -----*/
.menu-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  margin-bottom: 100px;
}
.menu-wrap .menu-img {
  width: 55%;
}
.menu-wrap .menu-img img {
  width: 100%;
  height: 37vw;
}
.menu-wrap .menu-txt {
  width: 53%;
  padding: 0 7.5%;
}

.menu-last {
  margin-bottom: 0;
}

.menu-reverse {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
      -ms-flex-direction: row-reverse;
          flex-direction: row-reverse;
}

@media (max-width: 960px) {
  .menu-wrap .menu-txt {
    padding: 0 6%;
  }
}
@media (max-width: 540px) {
  .menu-wrap {
    display: block;
    margin-bottom: 60px;
  }
  .menu-wrap .menu-img {
    width: 90%;
    margin: 0 auto 30px;
  }
  .menu-wrap .menu-img img {
    height: 58vw;
  }
  .menu-wrap .menu-txt {
    width: 90%;
    margin: 0 auto;
    padding: 0 0;
  }
}
/*----- menu-text -----*/
.menu-wrap .menu-txt .menu-en {
  margin-bottom: 1rem;
  font-style: italic;
}
.menu-wrap .menu-txt .menu-name {
  font-weight: 400;
  display: block;
  margin-bottom: 1.5rem;
  padding-bottom: 0.9rem;
  text-align: left;
  border-bottom: 1px dotted #777777;
}
.menu-wrap .menu-txt .menu-name .min {
  letter-spacing: 0.05rem;
}
.menu-wrap .menu-txt .menu-name em {
  float: right;
  text-align: right;
  font-style: italic;
  padding-left: 20px;
}
.menu-wrap .menu-txt .single-name {
  border-bottom: 1px solid #777777;
}
.menu-wrap .menu-txt .menu-coment {
  margin-bottom: 2rem;
}
.menu-wrap .menu-txt .i_menu span {
  font-size: 12.6px;
  letter-spacing: 0;
  background: #EEEFF1;
  display: inline-block;
  border-radius: 3px;
  padding: 5px 8px 5px 8px;
  margin: 0 10px 7px 0;
  line-height: 1;
}

.single-menu {
  margin-bottom: 40px;
}

.single-menu li {
  margin-bottom: 1.2rem;
  padding-bottom: 1rem;
  text-align: left;
  border-bottom: 1px dotted #777777;
}
.single-menu li em {
  float: right;
  text-align: right;
  font-style: normal;
  padding-left: 2rem;
  white-space: nowrap;
}
.single-menu li > div {
  display: block;
}

.single-menu li::after,
.single-menu li > div:after {
  content: "";
  display: block;
  width: 100%;
  height: 0;
  clear: both;
}

/*-----------------------
 info
------------------------*/
.info-img {
  width: 100%;
  display: block;
  margin-bottom: 90px;
}
.info-img img {
  width: 100%;
  height: 42vw;
}

.info .info-flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.info .info-flex li {
  width: 45.6%;
}

.info-tbl {
  width: 100%;
  margin: 0 auto;
}
.info-tbl th, .info-tbl td {
  border-bottom: 1px dotted #777777;
  font-weight: 400;
  vertical-align: top;
  padding-top: 25px;
  padding-bottom: 25px;
  text-align: left;
  line-height: 1.35 !important;
}
.info-tbl th small, .info-tbl td small {
  font-size: 1.3rem;
  display: block;
}
.info-tbl th p, .info-tbl td p {
  margin-bottom: 0.7rem;
}
.info-tbl th {
  width: 25%;
  text-align: left;
  padding-left: 10px;
}

@media (max-width: 960px) {
  .info .info-flex li {
    width: 100%;
  }
}
@media (max-width: 540px) {
  .info .info-img {
    margin-bottom: 60px;
  }
  .info .info-img img {
    height: 55vw;
  }
}
/*-----------------------
 google map
------------------------*/
.gmap-wrap {
  margin-top: 50px;
  position: relative;
  height: 0;
  padding-bottom: 56.25%;
  overflow: hidden;
}

.gmap-wrap iframe,
.gmap-wrap object,
.gmap-wrap embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@media (max-width: 540px) {
  .gmap-wrap {
    margin-top: 30px;
  }
}




/*-----------------------
　スマホだけ改行
------------------------*/
@media screen and (min-width: 768px){
.br-sp {display: none; }
}

/*----------------------------
 sec-
-----------------------------*/

#sec-concept {
	background: #fff;
}

/*---------------------
#sec-concept2 {
  padding: 400px 0 100px;
  margin: 0 0 60px;
  background: url(../img/family_imghalf.jpg) no-repeat;
  background-size: cover;
  background-position: top;
}

@media (max-width: 540px) {
 #sec-concept2 {
  background: url(../img/family_imghalf.jpg) no-repeat;
  background-size: 110%;
  background-position: top;
  padding: 280px 0 100px;
  }
}
-----------*/


#sec-concept2 {
  padding: 120px 0 0px;
  margin: 0 0 0px;
  background: url(../img/photo_03.jpg) no-repeat;
  background-size: 100%;
  background-position: top;
}



#sec-worries .my{
    margin: 50px 0 50px;
}

#sec-reason {
	background: #f5f5f5;
}

#sec-plan{
	background: #f5f5f5;
}


#sec-suzuya {
	background: #f5f5f5;
}

#sec-voice{
	background: #eeeaec;
}


@media (max-width: 540px) {
#sec-concept {
    background: #fff;
    padding: 80px 0 100px;
	}  
  
}

.voice-box blockquote {
  background: #fff8f2;
  padding: 1.5em;
  border-radius: 12px;
  margin-bottom: 1.5em;
  font-style: italic;
  position: relative;
}
.voice-box blockquote::before {
  content: "“";
  font-size: 2em;
  position: absolute;
  top: 0.3em;
  left: 0.5em;
  color: #e29676;
}
.voice-box cite {
  display: block;
  text-align: right;
  margin-top: 0.8em;
  font-size: 0.9em;
  color: #555;
}

/*----------------------------
今どきの七五三スタイル
-----------------------------*/
/* PCでは矢印出さない */
#sec-worries .m-slide-wrap { position: relative; }
#sec-worries .m-arrow { display: none; }

/* ===== スマホだけ横スライド化 ===== */
@media (max-width: 767.98px) {
  /* 既存grid等に勝たせる */
  #sec-worries .m-slider{
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;                 /* チラ見せ無し */
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    list-style: none;
    margin: 0;
    padding: 0 !important;             /* 余白は li 側で持つ */
  }
  #sec-worries .m-slider::-webkit-scrollbar{ display: none; }

  /* 1画面=1枚。矢印の“間”で中央に配置 */
  #sec-worries .m-slider > li{
    flex: 0 0 100% !important;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    margin: 0 !important;
    padding: 0 56px !important;        /* ←矢印分の内側余白。必要なら調整 */
    box-sizing: border-box;
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    position: relative !important;     /* 番号配置の基準 */
    overflow: visible !important;
  }

  /* 画像の基本 */
  #sec-worries .m-slider figure{ margin: 0; }
  #sec-worries .m-slider img{
    width: 100%; height: auto; display: block;
  }

  /* 画像と本文の間の余白（お好みで調整） */
  #sec-worries .m-slider .con-txt-wrap{
    margin-top: 20px !important;
  }

  /* 番号：写真に“ちょい被せ”＆最前面 */
  #sec-worries .m-slider .con-number{
    position: absolute !important;
    top: 8px !important;               /* 4〜12pxで微調整 */
    left: 12px !important;             /* 8〜16pxで微調整 */
    z-index: 9 !important;
    transform: none !important;
    opacity: 1 !important;
    pointer-events: none;
  }
  #sec-worries .m-slider figure,
  #sec-worries .m-slider img{
    position: relative; z-index: 1 !important;
  }

  /* 矢印はスマホだけ表示 */
  #sec-worries .m-arrow{
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%; transform: translateY(-50%);
    width: 40px; height: 40px;
    border: 0; border-radius: 50%;
    background: rgba(255,255,255,.95);
    box-shadow: 0 2px 8px rgba(0,0,0,.2);
    font-size: 20px; font-weight: 700; color: #444;
    z-index: 10; cursor: pointer; user-select: none;
  }
  #sec-worries .m-arrow.prev{ left: 8px; }
  #sec-worries .m-arrow.next{ right: 8px; }
}



/*----------------------------
 選ばれる理由
-----------------------------*/
/* PCはそのまま。スマホだけ調整 */
@media (max-width: 767.98px) {

  /* 横スライド：チラ見せ無し・1枚表示・左右パディングで矢印分の“間”を確保 */
  .concept-list2.reasons-slider{
    display:flex !important;
    flex-wrap:nowrap !important;
    gap:0 !important;                /* ←チラ見せ原因の隙間ゼロ */
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;
    list-style:none;
    margin:0;
    padding:0 !important;            /* ←ulの左右パディングはゼロに戻す */
  }
  .concept-list2.reasons-slider::-webkit-scrollbar{display:none;}

  /* 1画面=1枚。矢印のぶんを li 側に内側余白で確保して中央寄せ */
  .concept-list2.reasons-slider > li{
    flex:0 0 100% !important;        /* ←フル幅固定（1枚表示） */
    scroll-snap-align:start;
    scroll-snap-stop:always;
    margin:0 !important;
    padding:0 56px !important;       /* ←左右に56px入れて“矢印の間”に中央表示 */
    box-sizing:border-box;
    position:relative;               /* 番号の基準にする */
    background:transparent !important;
    border-radius:0 !important;      /* 角丸いらん */
    box-shadow:none !important;      /* 影いらん */
    overflow:visible !important;     /* 番号が切れないように */
  }

  /* 画像は幅いっぱいに（内側余白ぶんで実質中央に収まる） */
  .concept-list2.reasons-slider figure{ margin:0; }
  .concept-list2.reasons-slider img{
    width:100%;
    height:auto;
    display:block;
  }

  /* 画像と本文の間の余白を増やす */
  .concept-list2.reasons-slider .con-txt-wrap{
    margin-top:20px !important;      /* ←好みで 16〜28px で調整OK */
  }

  /* 番号（1〜4）が前面に来るように。位置は既存数値を活かしつつ保険を掛ける */
  .concept-list2.reasons-slider .con-number{
    position:absolute;               /* 既存がabsoluteでなくてもOK */
    z-index:30 !important;           /* 画像や矢印より前へ */
    pointer-events:none;             /* クリック透過 */
    /* 位置がズレるなら下の例を解禁して微調整：
    top:-10px; left:8px;
    */
  }

  /* 矢印：スマホだけ表示。“間”の外側に浮かせる */
  .reason-arrow{
    display:flex;
    align-items:center;
    justify-content:center;
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:40px; height:40px;
    border:0; border-radius:50%;
    background:rgba(255,255,255,.95);
    box-shadow:0 2px 8px rgba(0,0,0,.2);
    font-size:20px; font-weight:700; color:#444;
    z-index:20; cursor:pointer; user-select:none;
  }
  .reason-arrow.prev{ left:8px; }
  .reason-arrow.next{ right:8px; }
}

/* PCでは矢印を出さない（保険） */
.reason-arrow{ display:none; }
.reason-slider-wrap{ position:relative; }

/* ====== 番号 強制復活パッチ（スマホだけ） ====== */
@media (max-width: 767.98px) {
  /* li を番号の基準にする（再確認） */
  #sec-reason .concept-list2.reasons-slider > li{
    position: relative !important;
    overflow: visible !important;
  }

  /* 画像スタックより前に番号を出す（勝たせる） */
  #sec-reason .concept-list2.reasons-slider figure,
  #sec-reason .concept-list2.reasons-slider img{
    position: relative;
    z-index: 1 !important;   /* 画像は1層に固定 */
  }

  /* 番号を最前面＆座標固定（ここがキモ） */
  #sec-reason .concept-list2.reasons-slider .con-number{
    position: absolute !important;
    z-index: 9999 !important;   /* 何にでも勝つ */
    opacity: 1 !important;
    pointer-events: none;
    /* 好みで微調整して： */
    top: -12px;   /* 例：画像の左上に少し被せる */
    left: 10px;
  }
  #sec-reason .concept-list2.reasons-slider .con-number .en{
    display: inline-block;
    color: #333 !important;     /* 背景と同化してたらここで色を強制 */
    mix-blend-mode: normal !important;  /* もしdifference等が指定されていたら打ち消す */
  }
}
/* 数字が切れないように安全位置へ（スマホだけ） */
@media (max-width: 767.98px) {
  #sec-reason .concept-list2.reasons-slider .con-number {
    position: absolute !important;
    top: 8px !important;     /* ←ここを調整。今より少し下げて画像内に */
    left: 12px !important;   /* ←画像の左からの距離。好みに合わせて */
    z-index: 5 !important;
    transform: none !important;
    opacity: 1 !important;
    pointer-events: none;
    color: #111 !important;
    text-shadow: 0 1px 3px rgba(255,255,255,.8); /* 画像の上でも読みやすく */
  }
}

        

/*----------------------------
プラン 
-----------------------------*/

/* セクション保険＋見出しとの間隔 */
#plan753{
  overflow: visible;
  margin-top: 40px;
}

/* 横スクロールのレール */
#plan753 .p753-track{
  display: flex;
  gap: 0;
  overflow-x: auto;
  overflow-y: visible;                 
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scroll-padding-left: 16px;
  scroll-padding-right: 16px;
  position: relative;                  
}
/* スクロールバー非表示 */
#plan753 .p753-track::-webkit-scrollbar{ display: none; }
#plan753 .p753-track{ scrollbar-width: none; }

/* カード（1画面=1枚） */
#plan753 .p753-card{
  width: calc(100% - 32px);
  flex: 0 0 auto;
  margin: 0 16px;
  scroll-snap-align: start;
  position: relative;                  
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

/* 画像ラッパー */
#plan753 .p753-fig{
  position: relative;
  margin: 0;
  text-align: center;
  aspect-ratio: auto !important;
  height: auto !important;
  overflow: visible !important;
}
#plan753 .p753-fig img{
  width: 100% !important;
  height: auto !important;
  display: block;
  object-fit: contain !important;
  border-radius: 0 !important;
}

/* 矢印ボタン（共通） */
#plan753 .p753-arrow{
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 999px;
  background: rgba(230,165,177,.95);
  border: 1px solid #eee;
  color: #fff;
  z-index: 5;
  cursor: pointer;
  box-shadow: none;
}

/* ===== PC（1024px以上） ===== */
@media (min-width: 1024px){
  /* 画像は70%で中央 */
  #plan753 .p753-fig img{
    max-width: 70% !important;
    margin: 0 auto;
  }

  /* 矢印が入る“内側余白”を左右に用意 */
  #plan753 .p753-card{ padding: 0 56px; }

  /* 矢印：画像の上1/5あたりに配置（自然に見える位置） */
  #plan753 .p753-arrow{ top: 18% !important; transform: translateY(-50%) !important; }
  #plan753 .p753-prev{ left: 16px; }
  #plan753 .p753-next{ right: 16px; }
}

@media (max-width: 767.98px){

  /* カードに余白を残しつつ広め表示 */
  #plan753 .p753-card{
    width: 100% !important;
    margin: 0 !important;
    padding: 0 28px;   /* ←余白を少し小さめに（40px→28px） */
    box-sizing: border-box;
  }

  /* 画像は中央寄せ */
  #plan753 .p753-fig{
    margin: 0 auto !important;
  }
  #plan753 .p753-fig img{
    width: 100% !important;
    height: auto;
    display: block;
  }

  /* 矢印：小さめで、画像にほんのり重なる */
  #plan753 .p753-arrow{
    width: 32px; height: 32px;
    top: 22% !important;           /* ←高さは好みで調整（20〜26%くらい） */
    transform: translateY(-50%);
    opacity: 0.9;                   /* ←半透明で重なっても邪魔しない */
  }
  #plan753 .p753-prev{ left: 4px; }
  #plan753 .p753-next{ right: 4px; }
}



#plan753 {
  padding-top: 24px;
  padding-bottom: 24px;
}

  /* 矢印：小さめ、画像の上1/6あたりに配置 */
  #plan753 .p753-arrow{
    width: 38px; height: 38px;
    top: 22% !important; transform: translateY(-50%) !important;
  }
  #plan753 .p753-prev{ left: 8px; }
  #plan753 .p753-next{ right: 8px; }
}

/*----------------------------
 特典部分 
-----------------------------*/
/* 特典早見表：共通 */
.tokuten-img {
  display: block;        
  margin: 0 auto;        /* 中央寄せ */
  max-width: 100%;       
  height: auto;
}

/* スマホ表示：横切れ対策＋少し大きめに */
@media (max-width: 767.98px){
  #tokuten .inner,
  #tokuten .title-wrap {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;                /* 左右余白なしで全幅表示 */
    box-sizing: border-box !important;
    overflow: visible !important;
  }

  #tokuten .tokuten-img {
    width: 95vw !important;              /* ←95％表示 */
    max-width: none !important;
    height: auto !important;
    margin-left: calc(50% - 55vw) !important; /* ←中央補正 */
    margin-right: calc(50% - 55vw) !important;
  }
}

/* PC表示で特典早見表セクションをワイドに */
@media (min-width: 1024px){
  #tokuten .inner {
    max-width: 1200px;   /* ←お好みで1280px / 1400pxも可 */
    margin: 0 auto;
  }
  #tokuten .tokuten-img {
    max-width: 100%;
  }
}




/*-----------------------
Q＆A
------------------------*/
#sec-faq {
  color: #4c4948; }
  .bg {
  background-color: #faf1f0; } 
  #sec-faq .box {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    font-family: serif; }
    #sec-faq .box .l {
      font-size: 28px;
      margin-right: 0.6em; }
    #sec-faq .box dt {
      padding: 20px;
      display: -webkit-flex;
      display: -moz-flex;
      display: -ms-flex;
      display: -o-flex;
      display: flex;
      line-height: 1.4;
      align-items: center; }
      #sec-faq .box dt strong {
        font-size: 122%;
        font-weight: bold; }
    #sec-faq .box dd {
      display: -webkit-flex;
      display: -moz-flex;
      display: -ms-flex;
      display: -o-flex;
      display: flex;
      padding: 10px 20px 20px;
      border-bottom: 1px dashed #4c4948; }
      #sec-faq .box dd:last-child {
        border-bottom-width: 0; }
      #sec-faq .box dd .l {
        position: relative;
        top: -0.35em; }
      #sec-faq .box dd p {
        font-size: 122%; }


        
        
/*----------------------------
 gallery 
-----------------------------*/
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5em;
  padding: 2em;
  max-width: 1000px; /* 例：4枚ぶん＋余白 */
  margin: 0 auto;     /* 中央寄せ */
}

.photo-gallery img {
  width: 100%;
  aspect-ratio: 3 / 4; /* 縦長に見せたい場合：3:4 ／ 横長なら 4:3、共通なら 1:1 */
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.photo-gallery img:hover {
  transform: scale(1.03);
}

/* スマホのときは2列に切り替え */
@media (max-width: 767px) {
  .photo-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

