/* ==============================
  カタログ請求ページ 全体
============================== */
.p-form {
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.catalog-page {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
  color: #222;
  font-family: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", sans-serif;
  text-align: center;
}

.catalog-page img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==============================
  メインビジュアル
============================== */
.catalog-main {
  margin-bottom: 40px;
}

/* ==============================
  導入文
============================== */
.catalog-intro {
  margin-bottom: 40px;
}

.catalog-intro h2,
.catalog-intro p:first-of-type {
  font-weight: 600;
}

/* ==============================
  WEB / 紙カタログ 選択ボックス
============================== */
.catalog-select {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 24px;
  margin: 50px 0;
  flex-wrap: nowrap;
}

.catalog-box {
  width: 48%;
  max-width: 320px;
  padding: 24px 16px 10px;
  border: 3px solid #d9be3f;
  box-sizing: border-box;
  text-align: center;
}

.catalog-icon {
  font-size: 46px;
  color: #333;
  margin-bottom: 16px;
  line-height: 1;
}

.catalog-box h3 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #222;
  margin-bottom: 16px;
}

.catalog-box p {
  font-size: 14px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 8px;
}

.catalog-arrow {
  font-size: 18px;
  color: #d9be3f;
  line-height: 1;
}

/* ==============================
  見出し・下線
============================== */
#web-catalog h2,
#paper-catalog h2 {
  font-size: 28px;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

#web-catalog > p,
#paper-catalog > p {
  font-size: 15px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  position: relative;
}

#web-catalog > p::after,
#paper-catalog > p::after {
  content: "";
  display: block;
  width: 120px;
  height: 2px;
  background: #ccc;
  margin: 20px auto 0;
}

/* ==============================
  LINEボタン
============================== */
.line-btn {
  display: inline-block;
  width: min(90%, 420px);
  padding: 18px 20px;
  margin: 10px auto 35px;
  background: #06c755;
  color: #fff !important;
  border-radius: 999px;
  font-size: 20px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 0 #04a947;
  transition: 0.2s;
}

.line-btn:visited,
.line-btn:hover,
.line-btn:active {
  color: #fff !important;
  text-decoration: none;
}

.line-btn:hover {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #04a947;
  opacity: 0.9;
}

/* ==============================
  WEBカタログ ステップ
============================== */
#web-catalog h3 {
  font-size: 20px;
  line-height: 1.7;
  margin-bottom: 25px;
}

.step-list {
  display: flex;
  justify-content: center;
  gap: 28px;
}

.step-item {
  flex: 1;
}

.step-item p {
  font-size: 14px;
  line-height: 1.7;
  margin-top: 12px;
}

.web-step-list {
  margin-bottom: 70px;
}

.web-step-list .step-item {
  max-width: 280px;
}

/* ==============================
  LINE誘導バナー
============================== */
.line-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f7f7f3;
  padding: 40px;
  gap: 40px;
  margin-bottom: 60px;
}

.line-banner-left {
  flex: 1;
  text-align: left;
}

.line-banner-left h2 {
  font-size: 30px;
  margin-bottom: 30px;
  font-weight: 500;
}

.line-banner-left h2 span {
  color: #00c300;
  font-weight: bold;
}

.line-banner-left p {
  font-size: 16px;
  line-height: 2;
  color: #333;
}

.line-banner-right {
  width: 240px;
  text-align: center;
}

.qr-code {
  width: 180px;
  margin: 0 auto 20px;
}

.friend-btn {
  display: block;
  background: #00c300;
  color: #fff !important;
  text-decoration: none;
  padding: 16px;
  font-size: 22px;
  font-weight: bold;
}

/* ==============================
  紙カタログ
============================== */
#paper-catalog {
  margin-top: 40px;
}

.paper-step-list {
  margin-top: 35px;
  margin-bottom: 40px;
}

.paper-step-list .step-item {
  max-width: 300px;
}

/* ==============================
  スマホ対応
============================== */
@media screen and (max-width: 768px) {
  .catalog-page {
    padding: 25px 15px;
  }

  .catalog-main {
    margin-bottom: 30px;
  }

  .catalog-intro h2 {
    font-size: 18px;
  }

  .catalog-intro p {
    font-size: 14px;
  }

  .catalog-select {
    gap: 10px;
    margin: 35px 0 50px;
  }

  .catalog-box {
    width: calc(50% - 5px);
    padding: 18px 8px 8px;
  }

  .catalog-icon {
    font-size: 32px;
    margin-bottom: 12px;
  }

  .catalog-box h3 {
    font-size: 17px;
    margin-bottom: 12px;
  }

  .catalog-box p {
    font-size: 11px;
    line-height: 1.6;
  }

  .catalog-arrow {
    font-size: 16px;
  }

  #web-catalog h2,
  #paper-catalog h2 {
    font-size: 22px;
  }

  #web-catalog > p,
  #paper-catalog > p {
    font-size: 14px;
    line-height: 1.7;
  }

  .line-btn {
    font-size: 17px;
    padding: 15px 18px;
  }

  #web-catalog h3 {
    font-size: 17px;
  }

  .step-list {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .step-item {
    width: 100%;
    max-width: 330px;
  }

  .step-item p {
    font-size: 13px;
  }

  .line-banner {
    flex-direction: column;
    padding: 28px 20px;
    gap: 24px;
  }

  .line-banner-left {
    text-align: center;
  }

  .line-banner-left h2 {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .line-banner-left p {
    font-size: 14px;
    line-height: 1.8;
    text-align: left;
  }

  .line-banner-right {
    width: 100%;
  }

  .qr-code {
    width: 160px;
  }

  .friend-btn {
    max-width: 260px;
    margin: 0 auto;
    font-size: 18px;
  }
}
@media screen and (max-width: 768px) {
  .web-step-list {
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 45px;
  }

  .web-step-list .step-item {
    width: calc((100% - 16px) / 3);
    max-width: none;
    flex: 0 0 calc((100% - 16px) / 3);
  }

  .web-step-list .step-item img {
    width: 100%;
    height: auto;
    display: block;
  }

  .web-step-list .step-item p {
    font-size: 11px;
    line-height: 1.6;
    margin-top: 10px;
    letter-spacing: 0.05em;
  }
}
@media screen and (max-width: 768px) {
  .paper-step-list {
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 8px;
    margin-top: 25px;
    margin-bottom: 35px;
  }

  .paper-step-list .step-item {
    width: calc((100% - 16px) / 3);
    max-width: none;
    flex: 0 0 calc((100% - 16px) / 3);
  }

  .paper-step-list .step-item img {
    width: 100%;
    height: auto;
    display: block;
  }
}

/* =========================================================
   07: FORM / お問い合わせフォーム
========================================================= */

.form .container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 16px;
}

/* フォーム本体 */
.wpcf7 {
  width: 100%;
}

/* form */
.wpcf7 form {
  width: 100%;
  margin: 0 auto;
  text-align: left;
}

/* table全体を中央 */
.wpcf7 table {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  border-collapse: collapse;
  table-layout: fixed;
}

/* 質問側（左） */
.wpcf7 th {
  width: 28%;
  min-width: 220px;
  padding: 20px;
  background: #d9d9d9;
  vertical-align: middle;
  text-align: left;
  font-weight: bold;
}

/* 回答側（右） */
.wpcf7 td {
  width: 72%;
  padding: 20px;
  vertical-align: middle;
  text-align: left;
}

/* 入力欄 */
.wpcf7 input,
.wpcf7 textarea,
.wpcf7 select {
  max-width: 100%;
  box-sizing: border-box;
}

/* スマホ */
@media (max-width: 768px) {
  .form {
    padding: 40px 0;
  }

  .wpcf7 th,
  .wpcf7 td {
    display: block;
    width: 100%;
    min-width: auto;
    padding: 14px;
  }
}
/* =========================================================
   2回目の資料請求
========================================================= */
.set-bana {
  max-width: 1000px;
  margin: 30px auto 60px;
  padding: 0 16px;
  text-align: center;
}

.set-bana__link {
  display: inline-block;
}

.set-bana__image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

@media screen and (max-width: 768px) {
  .set-bana {
    margin: 24px auto 40px;
    padding: 0 15px;
  }

  .set-bana__link {
    width: 100%;
  }

  .set-bana__image {
    width: 100%;
  }
}

/* ページ内リンクをスムーズに移動 */
html {
  scroll-behavior: smooth;
}

/* catalog-box内のaタグを箱全体に広げる */
.catalog-box a {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

/* クリック済み・ホバー時も色を変えない */
.catalog-box a:visited,
.catalog-box a:hover,
.catalog-box a:active {
  color: inherit;
  text-decoration: none;
}

/* 箱に動きをつける */
.catalog-box {
  cursor: pointer;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background-color 0.3s ease;
}

/* PC：ホバーでふわっと浮く */
.catalog-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  background-color: #fffdf5;
}

/* アイコンも少しだけ動かす */
.catalog-icon {
  transition: transform 0.3s ease;
}

.catalog-box:hover .catalog-icon {
  transform: scale(1.08);
}

/* 矢印をぴょんぴょん */
.catalog-arrow {
  animation: arrow-bounce 1.4s infinite;
}

@keyframes arrow-bounce {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(5px);
  }
}

/* スマホ：タップした時だけ少し押し込む */
@media screen and (max-width: 768px) {
  .catalog-box:active {
    transform: scale(0.97);
    background-color: #fff9e8;
  }
}