@charset "utf-8";

/* --- Base Layout --- */
.reason {
  box-sizing: border-box;
  font-family: "Noto Sans JP", sans-serif;
  color: #333;
  background-color: #fcfcfc; /* 画像のような薄い背景色 */
}

/* --- Main Title (踏襲スタイル) --- */
.reason h2.main-ttl {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 40px;
  padding-bottom: 10px;
  border-bottom: 2px solid #604123;
  color: #333;
}

/* --- List Styling --- */
.reason-list {
  display: flex;
  flex-direction: column;
}

.reason-item {
  display: flex;
   /* 角丸 */
  padding: 30px;
  align-items: flex-start;
  border-top: 1px solid #D9D9D9;
}
.reason-item:first-child {
    padding-top: 0;
    border-top: 0;
}
.reason-item:last-child {
  border-bottom: 1px solid #D9D9D9;
}

/* アイコンエリア */
.icon-box {
  width: 100px; /* アイコンサイズに合わせて調整 */
  flex-shrink: 0;
  margin-right: 30px;
  text-align: center;
}

.icon-box img {
  width: 100%;
  height: auto;
  display: block;
}

/* テキストエリア */
.txt-box {
  flex-grow: 1;
}

/* アイテムごとの見出し */
.item-ttl {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
  border-bottom: 1px solid #333333; /* 画像にあるグレーの下線 */
  color: #333;
  display: inline-block;
}

.txt-box p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 15px;
}

.txt-box small {
  font-size: 12px;
  color: #666;
}

/* --- Buttons & Links --- */
.btn-brown {
  display: inline-block;
  background-color: #6B3906; /* コーヒーブラウン */
  color: #fff;
  text-decoration: none;
  padding: 12px 30px;
  border-radius: 30px; /* 丸いボタン */
  font-size: 14px;
  font-weight: bold;
  transition: opacity 0.3s;
  margin-top: 10px;
}

.btn-brown:hover {
  opacity: 0.8;
}

/* 矢印アイコンをつける場合 (右矢印) */
.btn-brown::after {
  content: "›";
  margin-left: 10px;
  font-family: serif;
}

.text-link {
  color: #333;
  text-decoration: underline;
}

.text-link:hover {
  text-decoration: none;
  color: #604123;
}

/* --- SP Responsive --- */
@media screen and (max-width: 768px) {
  .reason-item {
    flex-direction: column;
    padding: 20px;
    align-items: center;
    text-align: center;
  }

    .icon-box {
        margin-right: 0;
        margin-bottom: 20px;
        width: 100%;
        padding: 0 35%;
        background: #ffff;
    }

  .item-ttl {
    text-align: left; /* 見出しは左寄せに戻すか、デザイン次第でセンターでも可 */
    width: 100%;
  }

  .txt-box {
    text-align: left;
    width: 100%;
  }
  
  .btn-brown {
    width: 100%; /* スマホではボタンを幅一杯にするなど */
    box-sizing: border-box;
    text-align: center;
  }
}