/* =========================
   共通
   ========================= */
img {
  width: auto;
  height: auto;
  display: block;
}

body {
  margin: 0;
  padding: 0;
}

/* PC・SP切替の基本 */
.pc-item {
  display: block;
}

.sp-item {
  display: none;
}

@media screen and (max-width: 768px) {
  .pc-item {
    display: none;
  }

  .sp-item {
    display: block;

  }

  .section_inr {
    width: 100%;
  }
}

/* =========================
   ヘッダー全体
   ========================= */
.header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #ddd;
}

.header_inr {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header_logo img {
  height: 50px;
  width: auto;
  display: block;
}

.header_offre {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header_offre a img {
  height: 45px;
  width: auto;
  display: block;
  transition: transform 0.2s ease;
}

.header_offre a img:hover {
  transform: scale(1.05);
}

@media screen and (max-width: 768px) {

  .header_inr {
    flex-direction: row;
    /* 縦並びをやめる */
    justify-content: space-between;
    /* 左右に配置 */
    align-items: center;
    margin: 5px 0;
    gap: 12px;
    padding: 0 10px;
    box-sizing: border-box;
    /* padding込みで幅を計算 */
  }

  .header_logo img {
    height: 40px;
  }

  /* スマホでは電話番号を非表示 */
  .header_offre a[href^="tel"] {
    display: none;
  }

  /* SNSアイコンは小さめに */
  .header_offre {
    justify-content: center;
    gap: 12px;
  }

  .header_offre a img {
    height: 35px;
  }
}


/* =========================
   各セクション
   ========================= */
.fv {
  background: url(../images/fv-bg-pc.jpg) no-repeat center top;
  background-size: cover;
  max-width: 1400px;
  margin: 0 auto;
}

.fv_in {
  /* PC版のスタイルをデフォルトとして設定 */
  width: 80%;
  max-width: 1000px;
  margin: 0 auto;
}

.fv_in img {
  width: 100%;
  height: auto;
}

@media screen and (max-width: 768px) {
  .fv_in {
    width: 100%;
    max-width: none;
    margin: 0 auto;
  }
}

.cta-title .pc-item {
  width: 80%;
  max-width: 750px;
  margin: 50px auto 10px;
  /* 上 右 下 左 */
  padding: 0 20px;
  display: block;
}

@media screen and (max-width: 768px) {
  .cta-title .sp-item {
    width: 80%;
    max-width: none;
    margin: 30px auto 10px;
    display: block;
  }

  .cta-title .pc-item {
    display: none;
    /* スマホでは非表示 */
  }

  .cta .buttons {
    margin-bottom: 0px;
  }
}

.section_01 {
  background: url("../images/sec01-bg-pc.png") no-repeat center top;
  background-size: cover;
  max-width: 1400px;
  margin: 0 auto;
  padding-bottom: 50px;
}

.section_inr .pc-item {
  width: 100%;
  max-width: 750px;
  margin: 0px auto;
}

@media screen and (max-width: 768px) {
  .section_inr .sp-item {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    display: block;
  }

  .section_inr .pc-item {
    display: none;
  }

  .section_01 {
    padding-bottom: 0px;
  }
}

.section_02 {
  background: url("../images/sec02-bg-pc.png") no-repeat center top;
  background-size: cover;
  max-width: 1400px;
  margin: 0px auto;
  padding-bottom: 30px;
}

.section_03 {
  background: url("../images/sec03-bg-pc.png") no-repeat center top;
  background-size: cover;
  max-width: 1400px;
  margin: 0 auto;
  padding-bottom: 30px;
}

.section_03 .section_inr {
  margin-top: 20px;
}

@media screen and (max-width: 768px) {
  .section_03 {
    padding-bottom: 0;
  }
}

.section_04 {
  background-color: #04ad70;
  background-size: cover;
  height: auto;
  max-width: 1400px;
  margin: 0 auto;
  padding: 30px;
}

@media screen and (max-width: 768px) {
  .section_04 {
    padding: 20px;
  }

  .section_04 figure {
    margin: 0;
  }

  .section_04 figure img {
    width: 90%;
    height: auto;
    display: block;
    /* 下にできるスキマをなくす */
  }

}

.section_05 img {
  padding: 50px 0 0;
}

@media screen and (max-width: 768px) {
  .section_05 {
    padding: 30px 20px;
  }

  .section_05 img {
    width: 100%;
    height: auto;
    padding: 0;
    display: block;
    margin: 0 auto;
  }

  .section_05 img:last-child {
    margin-top: 40px;
    /* 下の画像だけ上に余白 */
  }
}

/* --------------------
// section_06 と section_inr の共通スタイル
// -------------------- */
.section_06 {
  position: relative;
  /* 子要素の配置基準となる */
  padding-bottom: 40px;
  /* 必要であれば下部の余白 */
}

.section_06 .section_inr {
  position: relative;
  z-index: 2;
  /* 白い背景がタイトル画像の下になるように */
  max-width: 750px;
  margin: 0 auto;
  background-color: #fff;
}

/* --------------------
// PC (画面幅が768px以上)
// -------------------- */
@media screen and (min-width: 769px) {
  .section_06 {
    position: relative;
  }

  /* 背景を下げる（擬似要素でずらす） */
  .section_06::before {
    content: "";
    position: absolute;
    top: 120px;
    /* ← 背景を下にずらす値 */
    left: 0;
    right: 0;
    bottom: 0;
    background: url("../images/sec06-bg-pc.jpg") no-repeat center top;
    background-size: cover;
    max-width: 1400px;
    margin: 0 auto;
    z-index: 1;
  }

  /* 白背景を下げる */
  .section_06 .section_inr {
    position: relative;
    z-index: 2;
    max-width: 750px;
    margin: 0 auto;
    background-color: #fff;
    padding-top: 120px;
    /* ← 白背景の開始位置を下げる */
  }

  .section_06 .tit {
    position: relative;
    z-index: 2;
    /* 背景より前に出す */
    margin-top: -40px;
    /* ← ここで上にずらす値を調整 */
    text-align: center;
    /* 中央揃え */
  }

  .section_06 .tit img {
    display: inline-block;
    max-width: 100%;
    height: auto;
  }
}


@media screen and (max-width: 768px) {
  .section_06 {
    background: none;
    padding-bottom: 0;
  }

  .section_06 .section_inr {
    max-width: 100%;
    /* ← これが一番大事 */
    padding: 0;
    background: transparent;
  }

  .shop_info,
  .shop_info figure {
    max-width: 100%;
    margin: 0;
    padding: 0;
  }

  .shop_info img {
    display: block;
    width: 100%;
    height: auto;
  }

  .section_06 .tit img {
    display: none;
  }
}

.section07 {
  background-color: rgba(252, 244, 180, 0.15);
  background-size: cover;
  max-width: 1400px;
  margin: 0 auto;
  height: auto;
  padding: 30px 0 10px;
}

@media screen and (max-width: 768px) {
  .section07 {
    padding: 20px 20px 30px;
  }
}

/* CTA・ボタン共通 */
.buttons,
.buttons-sns {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}

.buttons a,
.buttons-sns a {
  display: inline-block;
  text-decoration: none;
}

.button-img,
.icon-sns {
  width: 100%;
  max-width: 260px;
  transition: transform 0.2s ease;
}

/* ホバー時アニメーション */
.button-img:hover,
.icon-sns:hover {
  transform: scale(1.05);
}

/* PCはボタン横並び、SPは縦並び */
@media screen and (max-width:768px) {

  .buttons {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .buttons-sns {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 0;
    padding: 0;
  }

  .icon-sns {
    width: auto;
    max-width: 165px;
    display: block;
    margin-top: 10px;
  }

  .button-img {
    max-width: 270px;
  }
}

/* SPでは背景非表示 */
@media screen and (max-width:768px) {

  .fv,
  .section_01,
  .section_02,
  .section_03,
  .section_06 {
    background: none;
  }

  .sp-item {
    width: 100%;
    max-width: 100%;
    display: block;
    margin: 0 auto;
  }
}

.footer {
  background-color: #005a3f;
  margin-top: 60px;
}

.footer img {
  width: 13%;
  /* PC用 */
  margin: 0px auto;
  height: auto;
  padding: 10px;
}

@media screen and (max-width: 768px) {

  .footer {
    margin-top: 40px;
  }

  .footer img {
    width: 33%;
  }
}