/* =========================================================
  Top：ヒーロー直下用 導線ブロック（v1）
  ファイル：/css/top_commitment_v1.css
  画像パス前提：/images/ 配下（このCSSが /css/ にある想定）
========================================================= */

.nowrap { white-space: nowrap; }

.topCommit{
  border-top: 3px solid #b89a53;
  border-bottom: 3px solid #b89a53;
}

/* 共通（幅） */
.topCommit__container{
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 0 20px;
}

/* Head（白背景） */
.topCommit__head{
  background: #fff;
  padding: 56px 0 0;
  text-align: center;
}

.topCommit__title{
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.5;
  font-size: clamp(18px, 3.2vw, 32px);
  color: #3d3d3d;
  font-family: "Hiragino Mincho ProN","Yu Mincho","Noto Serif JP","MS PMincho",serif;
}

.topCommit__lead{
  margin: 18px 0 0 !important;
  font-size: clamp(15px, 1.4vw, 18px) !important;
  line-height: 2;
  letter-spacing: 0.02em;
  color: #111;
}

/* Top専用ゴールド（commitment.css の gold_grad とは別） */
.top_gold_grad{
  display: inline-block;
  background: linear-gradient(
    180deg,
    #6a4c14 0%,
    #bb9d4b 50%,
    #9f7320 100%
  );
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-size: clamp(23px, 3.2vw, 52px);
  letter-spacing: -0.05em !important;
}

/* Body（背景画像） */
.topCommit__body{
  padding: 44px 0 54px;
  background: url(../images/commit_bg04_hand.webp) center / cover no-repeat;
}

.topCommit__grid{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}

/* 左：テキスト */
.topCommit__content{
  flex: 1 1 700px;
  min-width: 0;
}

.topCommit__item + .topCommit__item{
  margin-top: 22px;
}

.topCommit__label{
  display: inline-block;
  padding: 10px 18px;
  background: #9b664d;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: clamp(16px, 1.8vw, 22px);
}

/* チェックリスト（Top専用） */
.topCommit__checklist{
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}

.topCommit__checklist li{
  position: relative;
  padding-left: 44px;
  font-size: clamp(14px, 1.4vw, 16px);
  line-height: 1.9;
  color: #111;
  font-weight: 600;
}

.topCommit__checklist li::before{
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 26px;
  height: 26px;
  border: 2px solid #111;
  border-radius: 4px;
  display: grid;
  place-items: center;
  font-size: 18px;
  line-height: 1;
  color: #e26f1a;
  background: transparent;
}

.topCommit__checklist strong{
  font-weight: 800;
}

/* 右：イラスト */
.topCommit__visual{
  flex: 0 0 min(300px, 30%);
  display: flex;
  justify-content: flex-end;
}

.topCommit__visual img{
  width: 100%;
  height: auto;
  max-width: 360px;
}

/* CTA */
.topCommit__cta{
  margin-top: 36px;
  display: flex;
  justify-content: center;
}

/* ボタン（波背景） */
.topCommit__btn{
  display: block;
  width: min(400px, 90%);
  padding: 22px 18px;
  text-align: center;
  text-decoration: none;
  font-weight: 400;
  font-size: clamp(14px, 1.8vw, 18px);
  letter-spacing: 0.04em;
  color: #fff !important;
  border-radius: 10px;
  background: url(../images/commit_bg02_read.webp) center / cover no-repeat;
  box-shadow: 0 8px 18px rgba(0,0,0,0.18);
  transition: transform 0.15s ease, filter 0.15s ease;
}

.topCommit__btn:hover{
    filter: brightness(2.5);
}

.topCommit__btn:focus-visible{
  outline: 3px solid rgba(184,154,83,0.65);
  outline-offset: 4px;
}

/* ===== 右端の「◯の中に→」：安定版（文字で表示） ===== */

.topCommit__btn{
  position: relative;     /* 追加 */
  padding-right: 70px;    /* 追加：右端アイコン分の余白 */
}

.topCommit__btn::after{
  content: "→";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);

  width: 32px;            /* ◯の大きさ（見本寄せ） */
  height: 32px;
  border: 2px solid rgba(255,255,255,.9);
  border-radius: 9999px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 20px;        /* 矢印の大きさ */
  line-height: 1;
  color: rgba(255,255,255,.95);

  pointer-events: none;
}

@media (max-width: 767px){
  .topCommit__btn{
    padding: 16px 18px;   /* 少し詰める（必要最小限） */
    padding-right: 50px;  /* 右の◯分も少し詰める */
  }
  .topCommit__btn::after{
    font-size: 14px;
    width: 22px;            /* ◯の大きさ（見本寄せ） */
    height: 22px;
  }
}


/* Responsive */
@media (max-width: 900px){
  .topCommit__head{
    padding: 42px 0 0;
  }

  .topCommit__body{
    padding: 34px 0 44px;
  }

  .topCommit__grid{
    flex-direction: column;
    align-items: flex-start;
  }

  .topCommit__visual{
    width: 100%;
    justify-content: center;
    margin-top: 8px;
  }

  .topCommit__visual img{
    max-width: 320px;
  }

  .topCommit__cta{
    margin-top: 28px;
  }
  .topCommit__content{
    flex: none;
    min-width: 0;
  }
}

/* 英字装飾（MARKETING × DESIGN） */
.topCommit__enBand{
  margin-top: 0;
  background-color: #fff;
}

.topCommit__enText{
  width: 90%;
  margin: 0 auto;
  padding: 40px 0 0;

  text-align: center;
  text-transform: uppercase;
  font-weight: 600;
  line-height: 0.75;

  /* うっすら大きく */
  color: rgba(0, 0, 0, 0.12);
  font-size: clamp(18px, 3.6vw, 65px);

  /* 文字を横に広げる */
  letter-spacing: 0.9em;
  white-space: nowrap;
}

/* SPは詰める（はみ出し防止） */
@media (max-width: 900px){
  .topCommit__enText{
    letter-spacing: 0.22em;
    font-size: clamp(18px, 6.2vw, 28px);
    padding: 20px 0 0;
  }
}
