/* =========================
   ベース
========================= */

.item_spec_wrap {
    width: 100%;
    max-width: 940px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

    .item_spec_tit_box {
      display: flex;
      width: 100%;
    }

    .item_spec_tit_l {
      width: 50%;
    }

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

    .item_spec_tit_r {
      width: 50%;
      background-color: #663333;
      color: #fff;
      display: flex;
      justify-content: center;
      align-items: center;
      font-family: "Google Sans Flex", sans-serif;
      font-size: 28px;
      font-weight: 400;
      letter-spacing: 2px;
      text-align: center;
    }

    .item_spec_fe1_tit_box,
    .item_spec_fe2_tit_box,
    .item_spec_fe3_tit_box,
    .item_spec_fe4_tit_box {
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 40px 0 30px;
    }
    .item_spec_fe4_tit_box {
      margin-bottom: 70px;
    }
    .item_spec_fe1_tit_box::before,
    .item_spec_fe1_tit_box::after,
    .item_spec_fe2_tit_box::before,
    .item_spec_fe2_tit_box::after,
    .item_spec_fe3_tit_box::before,
    .item_spec_fe3_tit_box::after,
    .item_spec_fe4_tit_box::before,
    .item_spec_fe4_tit_box::after {
      content: "";
      flex: 1;
      min-width: 40px;
      flex-shrink: 0;
      height: 1px;
      background-color: #663333;
    }

    .item_spec_fe1_tit_box::before,
    .item_spec_fe2_tit_box::before,
    .item_spec_fe3_tit_box::before,
    .item_spec_fe4_tit_box::before {
      margin-right: 40px;
    }

    .item_spec_fe1_tit_box::after,
    .item_spec_fe2_tit_box::after,
    .item_spec_fe3_tit_box::after,
    .item_spec_fe4_tit_box::after {
      margin-left: 40px;
    }
    .fe1_tit,
    .fe2_tit,
    .fe3_tit,
    .fe4_tit,
    .fe5_tit {
      font-size: 22px;
      line-height: 1.8;
      font-weight: 700;
      margin: 0;
      text-align: center;
      color: #663333;
    }
    .fe1_tit span,
    .fe2_tit span,
    .fe3_tit span,
    .fe4_tit span {
      white-space: nowrap;
    }

/* =========================
   タブボタン
========================= */

.item_spec_btn_box {
  width: 100%;
  max-width: 740px;
  margin: 0 auto;
  display: flex;
  gap: 10px;
}

.spec_btn1,
.spec_btn2,
.spec_btn3 {
  flex: 1;
  border: solid 1px #ccc;
  box-sizing: border-box;
}

.spec_btn1 a,
.spec_btn2 a,
.spec_btn3 a {
  display: block;
  height: 100%;
  width: 100%;
}

.spec_btn1 p,
.spec_btn2 p,
.spec_btn3 p {
  font-size: 20px;
  color: #666;
  text-align: center;
  margin: 0;
  padding: 12px 0;
}

/* =========================
   メインタイトル（左右の線付き）
========================= */

.spec_fe_tit {
  display: block;
  margin: 0 auto;
}

/* =========================
   共通：写真枠 & 写真のスタイル
========================= */

.item_spec_fe1_ph1,
.item_spec_fe1_ph2,
.item_spec_fe2_ph1,
.item_spec_fe3_ph1,
.item_spec_fe4_ph1 {
  border: solid 1px #ccc;
  box-sizing: border-box;
}

.item_spec_fe1_ph1 img,
.item_spec_fe1_ph2 img,
.item_spec_fe2_ph1 img,
.item_spec_fe3_ph1 img,
.item_spec_fe4_ph1 img {
  display: block;
  width: 100%;
  height: auto;
}

/* =========================
   共通：黄色いテキストボックス
========================= */

.item_spec_fe1_tex,
.item_spec_fe2_tex,
.item_spec_fe3_tex,
.item_spec_fe4_tex {
  background: rgba(255, 255, 220, 0.9);
  padding: 20px;
  box-sizing: border-box;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.item_spec_fe1_tex p,
.item_spec_fe2_tex p,
.item_spec_fe3_tex p,
.item_spec_fe4_tex p {
  margin: 0;
  line-height: 1.8;
  font-size: 14px;
  color: #333;
}

/* =========================
   1. フロント・マグネット
========================= */

.item_spec_fe1_1 {
  position: relative;
  margin: 30px auto 60px;
  width: 90%;
  max-width: 800px;
}

.item_spec_fe1_ph1 {
  max-width: 570px;
}

.item_spec_fe1_tex {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 35%;
  max-width: 324px;
}

/* =========================
   2. ネックホルダー
========================= */

.item_spec_fe2_1 {
  position: relative;
  margin: 30px auto 60px;
  width: 90%;
  max-width: 800px;
}

.item_spec_fe2_ph1 {
  max-width: 570px;
  margin-left: auto;
}

.item_spec_fe2_tex {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 35%;
  max-width: 324px;
}

/* =========================
   3. 快適アジャスター
========================= */

.item_spec_fe3_1 {
  position: relative;
  margin: 30px auto 60px;
  width: 90%;
  max-width: 650px;
}

.item_spec_fe3_ph1 {
  max-width: 360px;
  margin-left: auto; /* 右寄せ */
}

.item_spec_fe3_tex {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 55%;
  max-width: 330px;
}

/* =========================
   4. ファッションアイテム
========================= */

.item_spec_fe4_ph2 {
  border: solid 1px #ccc;
  box-sizing: border-box;
}

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

.item_spec_fe4_1 {
  position: relative;
  margin: 30px auto 5%;
  width: 90%;
  max-width: 820px;
  min-height: 430px;
}

.item_spec_fe4_ph1 {
  position: relative;
  width: 52%;
  max-width: 460px;
  z-index: 2;
}

.item_spec_fe4_ph2 {
  position: absolute;
  top: -40px;
  right: 0;
  width: 52%;
  max-width: 460px;
  z-index: 1;
}

.item_spec_fe4_tex {
  position: absolute;
  left: 50%;
  bottom: 4%;
  transform: translateX(-50%);
  width: 64%;
  max-width: 500px;
  z-index: 3;
}
@media only screen and (max-width: 1100px) {
  .item_spec_fe4_tex {
    bottom: 16%;
  }
}

/* =========================
   フレームサイズ
========================= */
  .item_spec_fe5_tit_box {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px 0 30px;
  }
  .item_spec_fe5_tit_box::before,
  .item_spec_fe5_tit_box::after {
    content: "";
    flex: 1;
    height: 1px;
    background-color: #a42d00;
  }

  .item_spec_fe5_tit_box::before { margin-right: 40px; }
  .item_spec_fe5_tit_box::after { margin-left: 40px; }

  .fe5_tit {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
    text-align: center;
  }

  .item_spec_fe5_1_box{
    width: calc(( 650 / 940 )*100%);
    margin-left: auto;
    margin-right: auto;
  }

  .item_spec_fe5_1{
    width: 100%;
    display: block;
  }

/* =========================
   フレーム仕様セクション
========================= */

/* 注意書き */
.frame_spec_note {
  margin: 0 0 4px;
  font-size: 13px;
  text-align: left;
}
.frame_spec_note.red {
  color: #c93008;
  font-weight: 700;
}

/* =========================
   お客様の声セクション
========================= */

.voice_section {
  margin: 80px 0 40px;
}

/* タイトル＋左右ライン（フレーム仕様と同テイスト） */
.voice_tit_box {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}

.voice_tit_box::before,
.voice_tit_box::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: #6f789c;
}

.voice_tit_box::before {
  margin-right: 40px;
}
.voice_tit_box::after {
  margin-left: 40px;
}

.voice_tit {
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  text-align: center;
}

/* リスト全体 */
.voice_list {
  width: 90%;
  max-width: 640px;
  margin: 0 auto;
}

/* 各声（グレーのカード） */
.voice_item {
  background: #f3f3f3;
  padding: 18px 24px;
  margin-bottom: 18px;
}

/* 1行目：都道府県＋年代＋性別 */
.voice_head {
  margin: 0 0 8px;
  font-weight: 700;
  color: #c93008;  /* 見本の赤っぽい色 */
  font-size: 14px;
}

/* 本文 */
.voice_body {
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
  color: #333;
}

/* =====================================================
   SP（767px以下）
===================================================== */
@media only screen and (max-width: 767px) {

    .spec_btn1 p,
    .spec_btn2 p,
    .spec_btn3 p {
    font-size: 14px;
    padding: 6px 0;
    }

    .item_spec_tit_box {
        background-color: #c93008;
    }
    .item_spec_tit_box div{
        width: 90%;
        max-width: 454px;
        margin-left: auto;
        margin-right: auto;
    }
    .item_spec_tit_r {
      font-size: 16px;
    }
    .item_spec_tit_box img{
        width: 100%;
    }

    /* 「1〜4」の小タイトル画像 */
    .spec_fe_tit {
    width: 100%;
    max-width: 549px;
    }
    .item_spec_fe4_tit_box{
      margin-bottom: 40px;
    }
    .item_spec_fe1_tit_box::before,
    .item_spec_fe2_tit_box::before,
    .item_spec_fe3_tit_box::before,
    .item_spec_fe4_tit_box::before {
      margin-right: 10px;
    }

    .item_spec_fe1_tit_box::after,
    .item_spec_fe2_tit_box::after,
    .item_spec_fe3_tit_box::after,
    .item_spec_fe4_tit_box::after {
      margin-left: 10px;
    }

    .fe1_tit,
    .fe2_tit,
    .fe3_tit,
    .fe4_tit,
    .fe5_tit {
      font-size: 16px;
    }

  .item_spec_fe1_1 {
    width: 100%;
    position: static;
    display: block; 
    margin: 20px auto 40px;
  }
  .item_spec_fe1_ph1 {
    max-width: 80%;
    width: 80%;
    margin: 0 auto 15px;
  }

  /* 黄色いボックスは画像の下に1列で配置 */
  .item_spec_fe1_tex {
    position: static;
    left: auto;
    bottom: auto;
    transform: none;

    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    margin: 10px auto 0;
  }

  /* ===========================
      2. ネックホルダー
     =========================== */

  .item_spec_fe2_1 {
    width: 100%;
    position: static;
    display: block; 
    margin: 20px auto 40px;
  }

  .item_spec_fe2_ph1 {
    max-width: 80%;
    width: 80%;
    margin: 0 auto 15px;
  }

  .item_spec_fe2_tex {
    position: static;
    top: auto;
    right: auto;
    transform: none;

    width: 100%;
    max-width: 100%;
    margin: 10px auto 0;
  }

 /* ===========================
      3. 快適アジャスター
     =========================== */
  .item_spec_fe3_1 {
    position: static;
    width: 100%;
    max-width: 100%;
    margin: 20px auto 40px;
  }

  .item_spec_fe3_ph1 {
    max-width: 80%;
    width: 80%;
    margin: 0 auto 15px;
  }

  .item_spec_fe3_tex {
    position: static;
    top: auto;
    left: auto;
    transform: none;

    width: 100%;
    max-width: 100%;
    margin: 10px auto 0;
  }

  /* ===========================
      4. ファッションアイテム
     =========================== */

.item_spec_fe4_1 {
  position: static;
  max-width: 100%;
  width: 100%;
  margin: 20px auto 40px;
  min-height: auto;
}

.item_spec_fe4_ph1,
.item_spec_fe4_ph2 {
  position: static;
  max-width: 80%;
  width: 80%;
  margin: 0 auto 15px;
}

.item_spec_fe4_tex {
  position: static;
  left: auto;
  bottom: auto;
  transform: none;
  width: 100%;
  max-width: 100%;
  margin: 10px auto 0;
}

/* =========================
   フレームサイズ
========================= */

    .item_spec_fe5_1_box{
      width: 90%;
    }

/* =========================
   お客様の声セクション
========================= */

    .voice_tit{
        font-size: 18px;
    }
}

/* ───── タイトルまわり ───── */

.frame_spec{
  margin-top: 40px;
}
.frame_spec_tit_box {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.frame_spec_tit{
  font-size: 18px;
}
.frame_spec_tit_box::before,
.frame_spec_tit_box::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: #6f789c;
}

.frame_spec_tit_box::before { margin-right: 40px; }
.frame_spec_tit_box::after  { margin-left: 40px; }

.frame_spec_tit {
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  text-align: center;
}

/* ───── 本文：項目／内容の2カラム ───── */

.frame_spec_body {
  max-width: 640px;
  margin: 0 auto;
  font-size: 14px;
  line-height: 1.8;
  color: #333;
  text-align: center;
}

.frame_spec_inner {
  display: inline-block;
  text-align: left;
}

.frame_spec_block {
  margin-bottom: 24px;
}

.frame_spec_body h3{
  margin: 20px 0 10px;
  font-size: 16px;
  font-weight: 700;
}

.frame_spec_dl {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 16px;
  row-gap: 8px;
  margin: 0;
}

.frame_spec_dl dt {
  font-weight: 700;
  white-space: nowrap;
}

.frame_spec_dl dd {
  margin: 0;
}

@media (max-width: 768px) {
  .frame_spec_body {
    max-width: none;
    font-size: 12px;
    line-height: 1.6;
  }
.frame_spec_tit{
  font-size: 18px;
}

}
