@charset "utf-8";
/* CSS Document */
#lineup_img {
  margin-right: auto;
  padding: 0;
  margin-left: auto;
  display: block;
  margin-bottom: -2px;
  height: auto;
  max-width: 1300px;
}
@media (max-width:1000px) {
  #lineup_img {
    width: 90%;
  }
}
/*---------------------------------------------------------------------------------*/
/*　製品ラインアップ
/*---------------------------------------------------------------------------------*/
#ichiro_top_waku {
  width: 100%;
  height: auto;
  padding-top: 3rem;
  padding-right: 0;
  padding-left: 0;
  padding-bottom: 5rem;
  background-color: #D8EBDD;
  margin: 0;
}
@media (max-width:566px) {
  #ichiro_top_waku {
    margin-top: 1rem;
    padding-top: 1rem;
  }
}
#top_box {
  max-width: 1300px;
  padding: 0;
  margin-right: auto;
  margin-left: auto;
}
@media (max-width:566px) {
  #top_box {
    width: 94%;
  }
}
.lead {
  color: #333;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-style: normal;
  font-variant: normal;
  font-weight: normal;
  font-size: 0.8rem;
}
/*---------------------------------------------------------------*/
/*　パンくずリスト                                               */
/*---------------------------------------------------------------*/
#top_box #pan_list {
  color: #333;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-style: normal;
  font-variant: normal;
  font-weight: normal;
  font-size: 0.85rem;
  margin-bottom: 4rem;
}
/*-------------------------------------------------------------*/
/*  産廃イチローが選ばれる理由                                 */
/*-------------------------------------------------------------*/
#geo_title {
  position: relative;
  margin-bottom: 0.7rem;
  padding: .7rem 2rem;
  background-color: #39AD59;
  color: #FFFFFF;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
  display: block;
  text-align: center;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-style: normal;
  font-variant: normal;
  font-weight: bold;
  font-size: 2.2rem;
  z-index: 2;
  box-shadow: 0 10px 18px rgba(0, 0, 0, .18), 0 2px 4px rgba(0, 0, 0, .12);
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  margin-top: 0;
}
#geo_title:before, #geo_title:after {
  position: absolute;
  content: '';
  filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .18));
}
#geo_title:before {
  bottom: -10px;
  left: 0;
  width: 0;
  height: 0;
  border-top: 10px solid #2D8B47;
  border-left: 10px solid transparent;
}
#geo_title:after {
  right: 0;
  bottom: -10px;
  width: 0;
  height: 0;
  border-top: 10px solid #2D8B47;
  border-right: 10px solid transparent;
}
@media (max-width:566px) {
  #geo_title {
    font-size: 1.5rem;
    /* フルブリード見出し */
    position: relative;
    width: 100vw;
    max-width: none;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
  }
  @supports (width: 100dvw) {
    #geo_title {
      width: 100dvw;
      margin-left: -50dvw;
      margin-right: -50dvw;
    }
  }
}
@media (max-width:566px) {
  #geo_title::before, #geo_title::after {
    content: none;
  }
}
/* ボックス本体 */
#geo_box {
  padding-top: 2rem;
  padding-right: 2rem;
  padding-left: 2rem;
  padding-bottom: 1.5rem;
  max-width: calc(90% - 20px);
  margin-top: 0;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 0rem; /* ← 下に余白をつける */
  background-color: #FFFFFF;
  position: relative;
  display: flex;
  justify-content: space-between;
  flex-flow: wrap;
  gap: 16px;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  opacity: 0;
  transform: translateY(10px); /* ★ 上方向ではなく、下から出てくる感じに */
  animation: geoBoxEnter .6s cubic-bezier(.2, .6, .2, 1) .1s forwards;
}
@media (max-width:566px) {
  #geo_box {
    position: relative;
    width: 100vw;
    max-width: none;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    gap: 5px;
  }
  @supports (width: 100dvw) {
    #geo_box {
      width: 100dvw;
      margin-left: -50dvw;
      margin-right: -50dvw;
    }
  }
}
@keyframes geoBoxEnter {
  to {
    opacity: 1;
    transform: none;
  }
}
/* 各コラム */
#geo_box > div {
  width: 49%;
  margin: 0;
  padding: 0;
  height: auto;
}
@media (max-width:1000px) {
  #geo_box {
    flex-direction: column;
  }
  #geo_box > div {
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
  }
}
/* 見出し */
#geo_box > div > h2 {
  margin: 0;
  background-color: var(--main_color);
  color: #fff;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-style: normal;
  font-variant: normal;
  font-weight: 700;
  font-size: 1.3rem;
  text-align: center;
  padding-top: 1rem;
  padding-bottom: 1rem;
  box-shadow: 0 10px 18px rgba(0, 0, 0, .18), 0 2px 4px rgba(0, 0, 0, .12);
  border-radius: 4px;
  line-height: 1;
  opacity: 0;
  transform: translateY(10px) scale(.98);
  filter: blur(2px);
  will-change: transform, opacity, filter;
  animation: geoHeadRise .6s cubic-bezier(.2, .6, .2, 1) both;
  animation-delay: var(--stagger, .0s);
}
#geo_box > div:nth-of-type(1) > h2 {
  --stagger: .25s;
}
#geo_box > div:nth-of-type(2) > h2 {
  --stagger: .35s;
}
#geo_box > div:nth-of-type(3) > h2 {
  --stagger: .45s;
}
#geo_box > div:nth-of-type(4) > h2 {
  --stagger: .55s;
}
#geo_box > div:nth-of-type(5) > h2 {
  --stagger: .65s;
}
#geo_box > div:nth-of-type(6) > h2 {
  --stagger: .75s;
}
@keyframes geoHeadRise {
  0% {
    opacity: 0;
    transform: translateY(10px) scale(.98);
    filter: blur(2px);
  }
  60% {
    opacity: 1;
    transform: translateY(0) scale(1.01);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: none;
    filter: blur(0);
  }
}
/* サブラベル付き見出し用（h3内のp） */
#geo_box div h2 p {
  text-align: center;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-style: normal;
  font-variant: normal;
  font-weight: normal;
  font-size: .75rem;
  padding-top: .3rem;
  padding-bottom: .3rem;
  line-height: 1;
  width: 4.5rem;
  margin-top: 0;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 10px;
  background-color: var(--hanako_color);
  border-radius: 50px;
}
@media (max-width:566px) {
  #geo_box > div > h2 {
    font-size: 1rem;
  }
}
/* 本文（展開後のスタイル） */
#geo_box > div > p {
  color: #555555;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-style: normal;
  font-variant: normal;
  font-weight: normal;
  font-size: .9rem;
  line-height: 1.7;
  padding-left: 0.3rem;
  padding-right: 0.3rem;
  padding-top: 0.5rem;
}
#geo_box > div > p > img {
  margin-right: auto;
  margin-left: auto;
  display: block;
  margin-top: 1rem;
}
@media (max-width:1200px) {
  #geo_box > div > p > img {
    width: 90%;
    height: auto;
  }
}
/*-------------------------------------------------------------*/
/* 強調マーカー                                                */
/*-------------------------------------------------------------*/
.highlight {
  background: linear-gradient(transparent 40%, rgba(255, 255, 102, 0.7) 40%);
  font-weight: bold;
}
/* ✨ キラッと光るアニメーション（汎用） ✨ */
#ichro_main_le::before, .cart_btn::before, #ichro_soudan::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-20deg);
  pointer-events: none;
  transition: none;
}
#ichro_main_le:hover::before, .cart_btn:hover::before, #ichro_soudan:hover::before {
  animation: shine 1s ease forwards;
}
@keyframes shine {
  0% {
    left: -75%;
  }
  100% {
    left: 125%;
  }
}
/* レスポンシブ調整 */
@media (max-width: 566px) {
  #main_title {
    font-size: 2rem;
  }
}
/* =========================================================
   他社比較
========================================================= */
#hikaku {
  margin-top: 8rem;
  margin-right: 0;
  margin-left: 0;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: bold;
  font-variant: normal;
  font-style: normal;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: #333;
  text-align: center;
}
#hikaku img {
  margin-right: auto;
  margin-left: auto;
  display: block;
  margin-bottom: 5px;
}
/*---------------------------------------------------------------*/
/*  サブソフトメニュー（カードグリッド）                        */
/*---------------------------------------------------------------*/
#sub_soft_menu {
  max-width: 1300px;
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem 1.2rem;
}
@media (max-width: 980px) {
  #sub_soft_menu {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 566px) {
  #sub_soft_menu {
    grid-template-columns: 1fr;
    gap: 1rem;
	  width: 94%;
  }
}
#sub_soft_menu .card {
  border: 1px solid #CCC;
  border-radius: 6px;
  background: #fff;
  transition: box-shadow .2s ease, transform .1s ease, border-color .2s ease;
}
#sub_soft_menu .card > a {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.5rem;
  text-decoration: none;
  width: 100%;
  height: 100%;
}
#sub_soft_menu .thumb {
  margin: 0;
  width: 50px;
  height: 50px;
  border-radius: 4px;
  overflow: hidden;
  flex: 0 0 50px;
}
#sub_soft_menu .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
#sub_soft_menu .body {
  flex: 1 1 auto;
  min-width: 0;
}
#sub_soft_menu h2 {
  margin: 0;
  color: #333;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-weight: bold;
  font-size: 1rem;
  line-height: 1.2;
}
#sub_soft_menu p {
  margin: 0;
  color: #333;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: .9rem;
  line-height: 1.2;
}
@media (hover:hover) {
  #sub_soft_menu .card:hover {
    border-color: #bbb;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .08);
    transform: translateY(-5px);
  }
}
@media (hover:none) {
  #sub_soft_menu .card:active {
    box-shadow: 0 3px 10px rgba(0, 0, 0, .08);
  }
}
.margin-top6 {
  margin-top: 6rem;
}
/*--------------------------------------------------------------

---------------------------------------------------------------*/
/* 外枠：2カラムレイアウト＋背景 */
#link_box {
  width: 100%;
  max-width: 1300px;
  margin-top: 8rem;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 0;
  padding: 0;
  border-radius: 4px;
}
#link_box p{
    color: #333;
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    font-size: 1rem;
}
@media (max-width: 566px) {
	#link_box p{
		width: 94%;
		margin-right: auto;
		margin-left: auto;
	}
}

.sms_system{
    margin-right: auto;
    padding: 0;
    margin-left: auto;
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    font-style: normal;
    font-variant: normal;
    font-weight: bold;
    font-size: 2.3rem;
    text-align: center;
    margin-top: 10rem;
    margin-bottom: 0;
	color:var(--king_color);
}
/*--------------------------------------------------------------------
 他社比較テーブルデザイン
--------------------------------------------------------------------*/
.scale-table-wrap {
  width: 100%;
  max-width: 100%; /* ★ コンテナ幅を超えないように */
  overflow-x: auto; /* ★ 横スクロールはこの中だけ */
  -webkit-overflow-scrolling: touch;
  margin-top: 2rem;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 0rem;
  position: relative; /* ★ これを追加：吹き出し配置用 */
}
/* ------------- ベース ------------- */
.scale-table {
  width: 100%;
  min-width: 900px; /* 画面より広くして横スクロールさせる */
  border-collapse: collapse;
  table-layout: fixed;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-style: normal;
  font-variant: normal;
  color: #333;
}
/* 以下、テーブルデザインはそのまま（省略せず貼ってOK） */
.scale-table caption {
  text-align: left;
  font-size: .9rem;
  color: #666;
  margin-bottom: .5rem;
}
/* ------------- カラー変数 ------------- */ :root {
  --axis-bg: #49505a;
  --axis-text: #fff;
  --large-head: #4094d8;
  --large-bg: #e4f2ff;
  --medium-head: #73B786;
  --medium-bg: #D8EBDD;
  --small-head: #ff7f50;
  --small-bg: #ffe1d2;
  --border-color: #fff;
  --check_color: #E7531C; /* おすすめ枠の赤 */
}
/* ------------- ヘッダー行 ------------- */
.scale-table thead th {
  padding: .8rem;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  border-right: 2px solid var(--border-color);
  border-bottom: 2px solid var(--border-color);
}
.scale-table thead .axis {
  background: var(--axis-bg);
  color: var(--axis-text);
  width: 17%;
  border-top-left-radius: 8px;
}
.scale-table thead .scale {
  width: 27.5%;
}
.scale-table thead .scale--large {
  background: var(--large-head);
}
.scale-table thead .scale--medium {
  background: var(--medium-head);
}
/* 右端：エスエムエス列（おすすめ列） */
.scale-table thead .scale--small {
  position: relative;
  background: var(--small-head);
  border-radius: 10px;
  /* 赤い太枠 */
  border-top: 10px solid var(--check_color);
  border-left: 10px solid var(--check_color);
  border-right: 10px solid var(--check_color);
  /* 高さ＆文字を他列よりしっかり大きく */
  padding-top: 2.2rem;
  padding-bottom: 1.6rem;
  font-size: 1.5rem;
  letter-spacing: .08em;
}
/* ヘッダー上部の「おすすめ」バッジ */
.scale-table thead .scale--small::before {
  content: "おすすめ";
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  padding: .5rem 1.5rem;
  background: #fff;
  color: var(--check_color);
  border-radius: 999px;
  border: 6px solid var(--check_color);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}
/* ------------- ボディ ------------- */
.scale-table tbody th, .scale-table tbody td {
  padding: 1rem 1.2rem;
  border-right: 2px solid var(--border-color);
  border-bottom: 2px solid var(--border-color);
  vertical-align: middle;
}
/* 左端（観点）列 */
.scale-table tbody th {
  background: #5a6671;
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
  text-align: center;
  font-variant: normal;
  font-style: normal;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}
/* 各列の縦帯背景色 */
.scale-table tbody td:nth-child(2) {
  background: var(--large-bg);
}
.scale-table tbody td:nth-child(3) {
  background: var(--medium-bg);
}
.scale-table tbody td:nth-child(4) {
  background: var(--small-bg);
  /* おすすめ列の赤枠（左右） */
  border-left: 10px solid var(--check_color);
  border-right: 10px solid var(--check_color);
}
/* 一番下の行だけ、下側にも枠をつけて「枠線を一周」 */
.scale-table tbody tr:last-child td:nth-child(4) {
  border-bottom: 10px solid var(--check_color);
}
/* テキスト基本 */
.scale-table tbody td p, .scale-table tbody td ul, .scale-table tbody td .unit {
  margin: 0;
  padding: 0;
  font-size: .9rem;
  color: #333;
  line-height: 1.45;
}
.scale-table tbody td ul {
  list-style-type: none;
  margin-top: 5px;
}
/* 数値・記号ブロックのレイアウト */
.scale-table .cell-num {
  text-align: center;
}
.scale-table .cell-num .num {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  padding: 0;
  margin-bottom: .5rem;
  line-height: 1;
  color: #666;
}
.scale-table .cell-num .num2 {
  display: block;
  font-size: 3.5rem;
  font-weight: 700;
  padding: 0;
  margin-bottom: .4rem;
  line-height: 1;
  color: #333;
}
.scale-table .cell-num .unit {
  display: inline-block;
  margin-top: .2rem;
}
.scale-table thead .axis {
  width: 23%;
}
.scale-table thead .scale--large {
  width: 23%;
}
.scale-table thead .scale--medium {
  width: 23%;
}
.scale-table thead .scale--small {
  width: 31%;
}
/* ------------- 最終行の角丸調整 ------------- */
.scale-table tbody tr:last-child td:last-child {
  border-bottom-right-radius: 8px;
}
.scale-table tbody tr:last-child th:first-child {
  border-bottom-left-radius: 8px;
}
/* ------------- スマホ向け微調整 ------------- */
@media (max-width: 768px) {
  .scale-table {
    font-size: .85rem;
  }
  .scale-table thead th {
    font-size: 1rem;
    padding: .6rem;
  }
  .scale-table tbody th, .scale-table tbody td {
    padding: .6rem .6rem;
  }
  .scale-table .cell-num .num {
    font-size: 2.4rem;
  }
  .scale-table .cell-num .num2 {
    font-size: 3.2rem;
  }
}
/* スマホで「横スクロールできます」矢印を表示 */
@media (max-width: 900px) {
  body:has(#open_ichiro2: target) .scale-table-wrap::after {
    content: "⇆ 横にスクロールできます";
    position: absolute;
    bottom: 8px;
    right: 8px;
    padding: 4px 10px;
    font-size: .75rem;
    color: #fff;
    background: rgba(0, 0, 0, .45);
    border-radius: 999px;
    pointer-events: none;
    white-space: nowrap;
    /* ★ 追加：ふわっとしたアニメーション */
    animation: scrollHintFloat 1.8s ease-in-out infinite;
  }
}
@keyframes scrollHintFloat {
  0% {
    transform: translateX(0);
    opacity: 0.8;
  }
  50% {
    transform: translateX(-12px);
    opacity: 1;
  }
  100% {
    transform: translateX(0);
    opacity: 0.85;
  }
}
/*---------------------------------------------------------------*/
/*  FAQ                                                          */
/*---------------------------------------------------------------*/
.faq-wrap {
    width: min(100%, 1300px);
    margin: 0 auto;
    padding: 0;
}
.faq-wrap .top_margin_Cancel {
  margin-top: 0;
}
.faq-wrap .question {
  position: relative;
  display: block;
  margin: 2.25rem 0 .5rem;
  color: var(--main_color);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.45;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}
.faq-wrap .question::before {
  content: "Q";
  display: inline-flex;
  width: 28px;
  height: 28px;
  margin-right: 12px;
  border-radius: 6px;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .95rem;
  background: #1976CC;
  color: #fff;
}
.faq-wrap .answer {
    position: relative;
    display: block;
    width: 100%;
    padding: 1.5rem 2rem;
    background: #F8FBFF;
    border: 1px solid #DFEAF6;
    border-radius: 4px;
    color: #333;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
    font-size: 1rem;
    overflow-wrap: break-word;
    word-break: normal;
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
    margin-bottom: 3.5rem;
}
.faq-wrap .answer:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
  background-color: #ECF4FF;
  color: #000;
}
.faq-wrap .faq-more {
  margin-top: 2rem;
  color: #666;
  text-align: left;
}
@media (max-width: 560px) {
  .faq-wrap {
    padding: 0;
	  width: 94%;
  }
  .faq-wrap .answer {
    padding: .9rem 1rem;
    margin: 0;
  }
  .faq-wrap .question {
    margin-top: 5rem;
  }
}

/*----------------------------------------------------------------

-----------------------------------------------------------------*/
#cta {
  width: 100%;
  max-width: 1300px;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  padding: 2rem;
  margin-top: 0rem;
  border-radius: 4px;
  margin-bottom: 8rem;
  border-radius: 4px;
  border: 1px solid #CCCCCC;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}
@media (max-width: 950px) {
  #cta {
    flex-direction: column;
  }
}
@media (max-width: 566px) {
  #cta {
    position: relative;
    width: 100vw;
    max-width: none;
    left: 50%;
    margin-left: -50vw;
    box-sizing: border-box;
  }
}
/* ★ 1カラムにしたい説明文だけ、横幅100%で1行占有 */
#cta > p {
  flex: 0 0 100%; /* ここで1カラム化 */
  margin: 0 0 1rem; /* 下だけ余白 */
}
#cta div {
  width: calc(100% / 2 - 2rem);
}
@media (max-width: 950px) {
  #cta div {
    width: 100%;
  }
}
/* CTAボタン */
#cta div a {
    width: 100%;
    height: auto;
    background-color: var(--ichiro_color);
    color: #FFFFFF;
    display: block;
    text-decoration: none;
    padding: 1rem;
    border-radius: 4px;
    text-align: center;
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    font-size: 1.5rem;
    transition: background-color .3s ease;
    /* キラッ演出用 */
    position: relative;
    overflow: hidden;
    margin: 0;
    line-height: 1;
}
#cta div a p{
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    font-size: 0.8rem;
    padding-bottom: 8px;
    margin-top: 0;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 8px;
    line-height: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    width: 55%;
}
@media (max-width: 566px) {
  #cta div a {
    margin-bottom: 0rem;
  }
}
/* ホバー時の色だけ先に */
#cta div a:hover {
  background-color: var(--hanako_color);
}
/* ✨ キラッと光るアニメーション（CTAにも適用） ✨ */
#cta div a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-20deg);
  pointer-events: none;
}
#cta div a:hover::before {
  animation: shine 1s ease forwards;
}
/* まだ無ければ keyframes も追記（既にあれば重複は削ってOK） */
@keyframes shine {
  0% {
    left: -75%;
  }
  100% {
    left: 125%;
  }
}
/* =========================================
   導入フロー（横並びタイムライン）
========================================= */
#step_flow {
  width: 100%;
  max-width: 1300px;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 4rem;
  padding: 2.5rem 2rem;
  background-color: #F8FBFF;
  border-radius: 4px;
  border: 1px solid #C4DAFF;
  box-sizing: border-box;
}
#step_flow .step_flow-title {
  margin: 0 0 1.5rem;
  text-align: center;
  font-size: 2rem;
  color: var(--main_color);
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}
/* 横方向のフローライン */
.step_flow-list {
  /* ★ 円サイズ＋上余白を CSS変数で管理 */
  --badge-size: 3.1rem; /* .step_flow-step の直径 */
  --list-pad-top: 1.5rem; /* リスト上部の余白 */
  list-style: none;
  margin: 0;
  padding: var(--list-pad-top) 0 0;
  display: flex;
  gap: 1.5rem;
  counter-reset: step;
  position: relative;
}
/* 真ん中に通るベースライン（円の中心を通るように） */
.step_flow-list::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  /* 上端から「余白＋円の半分」の高さに配置 */
  top: calc(var(--list-pad-top) + var(--badge-size) / 1.5);
  height: 2px;
  background: linear-gradient(to right, rgba(25, 118, 204, .15), rgba(25, 118, 204, .6), rgba(25, 118, 204, .15));
  z-index: 0;
}
/* 各ステップ */
.step_flow-item {
  flex: 1 1 0;
  min-width: 0;
  position: relative;
  z-index: 1;
}
/* 頭部分（STEPバッジ＋タイトル） */
.step_flow-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  margin-bottom: .75rem;
}
/* 丸いSTEPバッジ */
.step_flow-step {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: var(--badge-size);
  height: var(--badge-size);
  border-radius: 50%;
  background: var(--main_color);
  color: #fff;
  font-size: .7rem;
  font-weight: bold;
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: 0 0 0 3px #fff, 0 4px 8px rgba(0, 0, 0, .15);
  position: relative;
  overflow: hidden;
}
/* 共通キラッ演出クラス */
.kira {
  position: relative;
  overflow: hidden; /* 光がはみ出さないように */
}
/* キラッと光るアニメーション本体 */
.kira::before {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .7) 45%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-25deg);
  pointer-events: none;
}
/* ホバーしたときだけキラッと流れる */
.kira:hover::before {
  animation: shine 0.9s ease forwards;
}
/* アニメーション定義（名前は共通でOK） */
@keyframes shine {
  0% {
    left: -80%;
  }
  100% {
    left: 120%;
  }
}
/* ステップタイトル */
.step_flow-head h3 {
  margin: 0;
  font-size: 1rem;
  text-align: center;
  color: #222;
  font-weight: bold;
}
/* 説明文 */
.step_flow-body {
  margin: 0;
  font-size: .8rem;
  line-height: 1.6;
  color: #444;
  text-align: left;
  padding: .5rem .4rem 0;
}
/* ホバー時：カードっぽく少し持ち上げる */
.step_flow-item {
  border-radius: 8px;
  padding: .75rem .75rem 1rem;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.step_flow-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
  background-color: #FFFFFF;
}
/* =========================================
   レスポンシブ
========================================= */
/* 900px以下：少し余白をタイトに */
@media (max-width: 900px) {
  #step_flow {
    padding: 2rem 1.5rem;
  }
  .step_flow-list {
    gap: 1rem;
  }
  .step_flow-body {
    font-size: .78rem;
  }
}
/* 750px以下：縦フローに切り替え */
@media (max-width: 750px) {
  #step_flow {
    padding: 2rem 1.25rem;
  }
  .step_flow-list {
    flex-direction: column;
  }
  .step_flow-list::before {
    /* 横ラインは消して、縦フローっぽく見せる */
    display: none;
  }
  .step_flow-item {
    padding: 1rem .75rem 1.25rem;
    border: 1px solid #E0E6F0;
    background-color: #fff;
  }
  .step_flow-head {
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: .75rem;
  }
  .step_flow-head h3 {
    text-align: left;
    font-size: 1rem;
  }
  .step_flow-body {
    padding: .5rem 0 0;
  }
}
/* 566px以下：左右フル幅に */
@media (max-width: 566px) {
  #step_flow {
    width: 100vw;
    max-width: none;
    margin-left: 50%;
    transform: translateX(-50%);
    border-radius: 0;
    border-left: none;
    border-right: none;
  }
}


/*----------------------------------------------------------------
  必要なものだけ選ぶ
-----------------------------------------------------------------*/
#pattern{
    margin-right: auto;
    margin-left: auto;
    padding: 2rem;
    border-radius: 4px;
    border: 1px solid #ccc;
    background-color: #FFFFFF;
    margin-bottom: 10rem;
    max-width: 1300px;
    height: auto;
}

/* ▼ 親ボックス：5カラム固定レイアウトに変更 */
/* ▼ 親ボックス：5カラム固定レイアウトに変更 */
#pattern_box {
    margin-right: auto;
    margin-left: auto;
    margin-top: 2rem;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 2fr 0.7fr 2fr 0.7fr 2fr; /* 5カラム */
    gap: 0.5rem;
    margin-bottom: 2rem;
}

/* 各マス：中身を横並び＆縦中央（デフォルトは普通に表示） */
#pattern_box > .pattern_item {
    box-sizing: border-box;
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
    text-align: center;
    border: 1px solid var(--ichiro_color);
    background-color: #EDFBF2;
    font-size: 0.9rem;
    border-radius: 4px;
    word-break: break-word;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* パターン内だけ、画像の margin:auto を無効化して素直に横並びに */
#pattern_box .main_img,
#pattern_box .card-thumb {
  margin: 0;
}

/*-- メイン版のCard--*/
#pattern_box > .pattern_item:nth-child(1){
	background-color: #fff;
	border: 1px solid var(--ichiro_color);
}

/* 「＋」列（2列目・4列目） */
#pattern_box > .pattern_item:nth-child(5n + 2),
#pattern_box > .pattern_item:nth-child(5n + 4) {
  border: 0;
  background-color: #fff;
  color: #333333;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-weight: bold;
  font-size: 2rem;
  padding: 0.3rem 0;
}

#pattern_box > .pattern_item:nth-child(3),
#pattern_box > .pattern_item:nth-child(5){
    border: 1px dashed var(--ichiro_color);
}

/* 2行目の空セルも枠＆背景なしにする */
#pattern_box > .pattern_item:nth-child(6),
#pattern_box > .pattern_item:nth-child(8),
#pattern_box > .pattern_item:nth-child(10) {
    border: 0;
    margin: 0;
    padding: 0;
    background-color: #fff;
}

/* タイトルの余白をリセット */
#pattern_box > .pattern_item > h3 {
  margin: 0;
  padding: 0;
}

/* タイトルだけ左揃え */
#pattern_box .pattern-title {
  text-align: left;
  display: inline-block;
}
.pattern-main{
    color: var(--ichiro_color);
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    font-weight: bold;
    font-size: 1.4rem;
    padding: 0;
    margin: 0;
    line-height: 1;
}
.pattern-sub{
    color: #333;
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    font-weight: normal;
    font-size: 0.8rem;
    padding: 0;
    margin: 0;
    line-height: 1;
}


/* ▼ レスポンシブ：950px 以下は縦並び＋順番カスタム */
@media (max-width: 950px) {
  #pattern_box {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  #pattern_box > .pattern_item {
    width: 100%;
  }

  /* 並び順：1 → 6 → 2 → 3 → 8 → 4 → 5 → 10 */
  #pattern_box > .pattern_item:nth-child(1)  { order: 1; }
  #pattern_box > .pattern_item:nth-child(6)  { order: 2; }
  #pattern_box > .pattern_item:nth-child(2)  { order: 3; }
  #pattern_box > .pattern_item:nth-child(3)  { order: 4; }
  #pattern_box > .pattern_item:nth-child(8)  { order: 5; }
  #pattern_box > .pattern_item:nth-child(4)  { order: 6; }
  #pattern_box > .pattern_item:nth-child(5)  { order: 7; }
  #pattern_box > .pattern_item:nth-child(10) { order: 8; }

  /* 7 と 9 は非表示 */
  #pattern_box > .pattern_item:nth-child(7),
  #pattern_box > .pattern_item:nth-child(9) {
    display: none;
  }
}

/* ▼★ フェードイン対象「だけ」初期状態を非表示にする ★ */
#pattern_box > .pattern_item:nth-child(2),
#pattern_box > .pattern_item:nth-child(3),
#pattern_box > .pattern_item:nth-child(4),
#pattern_box > .pattern_item:nth-child(5) {
  opacity: 0;
  transform: translateY(20px) scale(0.96);
}

/* is-visible が付いたらアニメで表示 */
#pattern_box > .pattern_item:nth-child(2).is-visible,
#pattern_box > .pattern_item:nth-child(3).is-visible,
#pattern_box > .pattern_item:nth-child(4).is-visible,
#pattern_box > .pattern_item:nth-child(5).is-visible {
	 opacity: 1;              /* ← これを追加 */
  transform: none;         /* ← これも追加 */
  animation: popFadeUp .1s cubic-bezier(0.16, 0.68, 0.4, 1) forwards;
}



