@charset "utf-8";
/* CSS Document */
/* ----------------------------------------
 * ヒーロー画像
 * -------------------------------------- */
#lineup_img {
  margin-right: auto;
  margin-left: auto;
  display: block;
  padding: 0;
  margin-bottom: -2px;
  height: auto;
  max-width: 1000px;
}
@media (max-width:1000px) {
  #lineup_img {
    width: 90%;
  }
}
/*-------------------------------------------------------------*/
/*  製品ラインアップ　タイトルデザイン                        */
/*-------------------------------------------------------------*/
#geo_title {
  position: relative;
  margin-bottom: 0.7rem;
  padding: .7rem 2rem;
  background-color: #39AD59;
  color: #FFFFFF;
  max-width: 100%;
  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_comment：クリックで開く本文（初期は非表示）            */
/*-------------------------------------------------------------*/
#geo_comment {
  max-width: calc(100% - 10px - 10px);
  margin-right: auto;
  margin-left: auto;
  padding-top: 5px;
  padding-right: 2rem;
  padding-left: 2rem;
  padding-bottom: 1rem;
  background-color: #FFFFFF;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-style: normal;
  font-variant: normal;
  font-weight: normal;
  color: #333;
  font-size: .9rem;
  /* ▼ここからアニメーション用 ▼ */
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-10px);
  transition:
    max-height 0.6s ease, opacity 0.6s ease, transform 0.6s ease;
}
#geo_comment h2 {
  display: block;
  margin-right: auto;
  margin-left: auto;
  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;
  color: #333;
  width: 96%;
  height: auto;
  padding-top: 0;
  padding-right: 0;
  padding-left: 0;
  padding-bottom: 5px;
  border-bottom: 1px dotted #ccc;
}
#geo_comment p {
  width: 96%;
  margin-right: auto;
  margin-left: auto;
  display: block;
  margin-top: 0;
  margin-bottom: 0;
}
/*-------------------------------------------------------------*/
/*  トグル用チェックボックス（非表示）                         */
/*-------------------------------------------------------------*/
.geo-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
/* チェックされたら本文を開く（フェードイン＋下からスライド） */
.geo-toggle:checked ~ #geo_comment {
  max-height: 1000px; /* 中身より少し大きめならOK */
  opacity: 1;
  transform: translateY(0);
}
/*-------------------------------------------------------------*/
/*  開くボタン #open_b                                         */
/*-------------------------------------------------------------*/
#open_b {
  display: block;
  background-color: var(--main_color);
  color: #FFFFFF;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-style: normal;
  font-variant: normal;
  font-weight: bold;
  font-size: 1rem;
  padding-top: 0.8rem;
  padding-right: 1rem;
  padding-left: 1rem;
  padding-bottom: 0.8rem;
  text-align: center;
  text-decoration: none;
  width: 30%;
  margin-right: auto;
  margin-left: auto;
  border-radius: 999px;
  margin-top: 1rem;
  cursor: pointer;
  /* ▼ゆらゆら存在感アニメーション ▼ */
  animation: openButtonWiggle 2.2s ease-in-out infinite;
  line-height: 1;
　filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .18));
}
/* ホバー時：色を king_color にしてバウンド系アニメーションに切替 */
#open_b:hover {
  background-color: var(--king_color);
}
#open_b 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;
    margin-top: 0;
    margin-right: 0;
    margin-left: 0;
    margin-bottom: 5px;
    padding: 0;
    color: #FFFFFF;
    line-height: 1;
}

/* チェックされたらボタンをフェードアウトして消す */
.geo-toggle:checked ~ #open_b {
  animation: none;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition:
    opacity 0.4s ease, transform 0.4s ease;
}
/* ボタンの上下ぷるぷるアニメーション（控えめ） */
@keyframes openButtonWiggle {
  0%, 100% {
    transform: translateY(0);
  }
  20% {
    transform: translateY(-2px);
  }
  40% {
    transform: translateY(2px);
  }
  60% {
    transform: translateY(-2px);
  }
  80% {
    transform: translateY(1px);
  }
}

/* スマホ時にボタン幅を少し広めにするなど調整したければここに追記 */
@media (max-width: 566px) {
  #geo_comment {
    padding-right: 1rem;
    padding-left: 1rem;
  }
  #open_b {
    width: 70%;
    margin-top: 2.5rem;
  }
}
.sms_system {
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-style: normal;
  font-variant: normal;
  font-weight: bold;
  font-size: 2rem;
  color: var(--king_color);
  padding: 0;
  margin-top: 10rem;
  line-height: 1;
  text-align: center;
  margin-bottom: 10px;
}
/*---------------------------------------------------------------------------------*/
/*　製品ラインアップ　上部エリア
/*---------------------------------------------------------------------------------*/
#ichiro_top_waku {
  width: 100%;
  height: auto;
  padding: 3rem 0 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: 0 auto;
}
@media (max-width:566px) {
  #top_box {
    width: 94%;
  }
}
/*---------------------------------------------------------------*/
/*　パンくずリスト                                               */
/*---------------------------------------------------------------*/
#top_box #pan_list {
  color: #333;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-weight: normal;
  font-size: 0.85rem;
  margin-bottom: 4rem;
}
/*---------------------------------------------------------------------------------*/
/*　製品ラインアップ　大枠
/*---------------------------------------------------------------------------------*/
#lineup_content {
  margin: 0 auto;
  max-width: 1300px;
  width: 100%;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-weight: normal;
  color: #333;
  padding: 0;
}
@media (max-width:566px) {
  #lineup_content {
    width: 94%;
  }
}
/* =========================================================
   基本変数（色・寸法の共通設定）
========================================================= */ :root {
  --gap: 16px; /* カードやグリッドの隙間 */
  --radius: 6px; /* 角丸 */
  --ink: #222; /* 本文色 */
  --accent: #1976CC; /* デフォルトのアクセント色 */
  --card-bd: #ccc; /* デフォルト枠線色 */
  --shadow: 0 2px 10px rgba(0, 0, 0, .06); /* カード影 */
  /* ブランド単位の色（ラッパーや figure で上書き） */
  --brand-accent: var(--accent);
  --brand-border: var(--card-bd);
  --hover-border-color: #000;
}
/* 製品名カラー用ユーティリティ */
.king_color {
  color: var(--king_color);
}
.ichiro_color {
  color: var(--ichiro_color);
}
.shiro_color {
  color: var(--shiro_color);
}
.hanako_color {
  color: var(--hanako_color);
}
.main_color {
  color: var(--main_color);
}
/* =========================================================
   ブランドコンテキスト
========================================================= */
.brand-ichiro {
  --brand-accent: var(--ichiro_color);
  --brand-border: var(--ichiro_color);
}
.brand-king {
  --brand-accent: var(--king_color);
  --brand-border: var(--king_color);
}
/* =========================================================
   共通レイアウトコンテナ
========================================================= */
.feature-wrap {
  max-width: 1300px;
  margin: 0 auto 15px;
  padding: 0;
}
.feature-wrap--fluid {
  padding: 0;
}
/* 画面には出さないがスクリーンリーダーには読む見出し用 */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
}
/* =========================================================
   2カラムグリッド（左：製品ボックス / 右：カード群）
========================================================= */
.feature-grid {
  display: grid;
  grid-template-columns: minmax(260px, 32%) minmax(0, 1fr);
  gap: var(--gap);
  align-items: stretch;
}
@media (max-width: 1000px) {
  .feature-grid {
    grid-template-columns: 1fr 2fr;
  }
}
@media (max-width: 750px) {
  .feature-grid {
    grid-template-columns: 1fr;
    grid-row-gap: var(--gap);
    padding-left: 0;
    padding-right: 0;
  }
}
/* =========================================================
   左カラム：製品ボックス（figure.feature-media）
========================================================= */
.feature-media {
  margin: 0;
  padding: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
  border: 1px solid var(--brand-border, var(--card-bd));
  transition:
    transform .16s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow .16s ease, border-color .16s ease, background-color .12s ease;
  will-change: transform, box-shadow;
}
.feature-link {
  display: block;
  padding: 20px;
  color: inherit;
  text-decoration: none;
  border-radius: inherit;
}
.main_img {
  display: block;
  margin-inline: auto;
  width: auto;
  height: auto;
  max-width: 70px;
}
.product-title {
  margin: 0 0 10px;
  line-height: 1.2;
  text-align: center;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}
.product-name {
  margin: 0;
  font-size: 2.1rem;
  font-weight: bold;
  text-align: center;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.product-subtitle {
  display: block;
  margin-top: 4px;
  font-size: .8rem;
  line-height: 1;
  color: #555;
  font-weight: normal;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}
.feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
  color: #333;
  text-align: center;
}
.feature-list li {
  font-size: .8rem;
}
/* =========================================================
   右カラム：カード群（デフォルト3カラム）
========================================================= */
.card-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
/* 567px 以上のときだけ「2列＋右1列空き」レイアウト */
@media (min-width: 567px) {
  .card-list--lock2-of3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .card-list--lock2-of3 > li:nth-child(odd) {
    grid-column: 1;
  }
  .card-list--lock2-of3 > li:nth-child(even) {
    grid-column: 2;
  }
}
/* ブレイクポイント時の列数変更 */
@media (max-width: 1000px) {
  .card-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .card-list--lock2-of3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .card-list--lock2-of3 > li {
    grid-column: auto;
  }
}
@media (max-width: 750px) {
  .card-list, .card-list--lock2-of3 {
    grid-template-columns: 1fr;
  }
}
/* =========================================================
   Card base（画像左 / タイトル＋説明文）
========================================================= */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  background: #fff;
  border-radius: var(--radius);
  padding: 12px 14px;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  border: 1px solid var(--brand-border, var(--card-bd));
  transition:
    transform .16s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow .16s ease, border-color .16s ease, background-color .12s ease;
  will-change: transform, box-shadow;
}
/* サムネイル分のスペース確保 */
.card:has(.card-thumb) {
  --thumb: 56px;
  --gapX: 12px;
  --padX: 14px;
  --padY: 12px;
  padding-left: calc(var(--padX) + var(--thumb) + var(--gapX));
  min-height: calc(var(--padY) * 2 + var(--thumb));
}
.card .card-thumb {
  position: absolute;
  left: var(--padX);
  top: var(--padY);
  width: var(--thumb);
  height: var(--thumb);
  object-fit: contain;
  object-position: center;
  margin: 0;
  display: block;
}
/* :has() 非対応ブラウザ向けフォールバック（任意で使用可） */
.card--media {
  --thumb: 56px;
  --gapX: 12px;
  --padX: 14px;
  --padY: 12px;
  padding-left: calc(var(--padX) + var(--thumb) + var(--gapX));
  min-height: calc(var(--padY) * 2 + var(--thumb));
}
.card--media .card-thumb {
  position: absolute;
  left: var(--padX);
  top: var(--padY);
  width: var(--thumb);
  height: var(--thumb);
  object-fit: contain;
  object-position: center;
}
.card .card-title {
  margin: 0;
  line-height: 1.2;
  font-weight: bold;
  font-size: 1.1rem;
  font-feature-settings: "palt";
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}
.card p {
  margin: 0;
  padding: 0;
  color: #333;
  font-size: .75rem;
  line-height: 1.4;
  font-feature-settings: "palt";
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}
/* =========================================================
   共通インタラクション（hover / focus）
========================================================= */
.feature-wrap .card, .feature-media {
  /* 最初は少し下＋透明な状態からスタート */
  opacity: 0;
  transform: translateY(12px);
  transform-origin: center;
  /* フェードイン＋位置の変化を transition で行う */
  transition:
    transform .22s cubic-bezier(0.22, 0.61, 0.36, 1), opacity .24s ease-out, box-shadow .18s ease, border-color .18s ease, background-color .12s ease;
}
/* フォーカスリング（キーボード操作用） */
.card:focus-visible, .feature-link:focus-visible {
  outline: 3px solid var(--brand-accent);
  outline-offset: 2px;
}
/* クリック中の押し込み感 */
.card:active {
  transform: translateY(-1px);
}
/* IntersectionObserver から is-visible が付いたときにだけ「ふわっ」と表示 */
.feature-media.is-visible, .feature-wrap .card.is-visible {
  opacity: 1;
  transform: translateY(0); /* 元の位置に戻る */
}
/* アニメ苦手な利用者向け */
@media (prefers-reduced-motion: reduce) {
  .card, .feature-media {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
}
/* 順番ごとのディレイ（ポコポコ感） */
.reveal-1.is-visible {
  animation-delay: 0.00s;
}
.reveal-2.is-visible {
  animation-delay: 0.05s;
}
.reveal-3.is-visible {
  animation-delay: 0.10s;
}
.reveal-4.is-visible {
  animation-delay: 0.15s;
}
.reveal-5.is-visible {
  animation-delay: 0.20s;
}
.reveal-6.is-visible {
  animation-delay: 0.25s;
}
.reveal-7.is-visible {
  animation-delay: 0.30s;
}
.reveal-8.is-visible {
  animation-delay: 0.35s;
}
.reveal-9.is-visible {
  animation-delay: 0.40s;
}
.reveal-10.is-visible {
  animation-delay: 0.45s;
}
.reveal-11.is-visible {
  animation-delay: 0.50s;
}
.reveal-12.is-visible {
  animation-delay: 0.55s;
}
.reveal-13.is-visible {
  animation-delay: 0.60s;
}
.reveal-14.is-visible {
  animation-delay: 0.65s;
}
.reveal-15.is-visible {
  animation-delay: 0.70s;
}
.reveal-16.is-visible {
  animation-delay: 0.75s;
}
.reveal-17.is-visible {
  animation-delay: 0.80s;
}
.reveal-18.is-visible {
  animation-delay: 0.85s;
}
.reveal-19.is-visible {
  animation-delay: 0.90s;
}
.reveal-20.is-visible {
  animation-delay: 0.95s;
}
.feature-media.is-visible:not([class*="reveal-"]), .card.is-visible:not([class*="reveal-"]) {
  animation-delay: 0s;
}
/* サムネイルのポンポン跳ねるアニメーション */
@keyframes thumb-pop-bounce {
  0% {
    transform: translateY(0);
  }
  20% {
    transform: translateY(-5px);
  }
  40% {
    transform: translateY(0);
  }
  60% {
    transform: translateY(-3px);
  }
  80% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(0);
  }
}
/* ホバー中の動き
   - 拡大はせず、少しだけ上に持ち上げる
   - 発動をキビキビさせる（transition は短め）
*/
@media (hover: hover) {
  .card.is-visible:hover, .feature-media.is-visible:hover {
    transform: translateY(-5px); /* ふわっと浮き上がる */
    box-shadow: 0 14px 28px rgba(0, 0, 0, .16);
    /*border-color: var(--hover-border-color);*/
  }
  .card.is-visible:hover .card-thumb, .feature-media.is-visible:hover .main_img {
    animation: thumb-pop-bounce .5s ease-out infinite;
    transform-origin: center bottom;
  }
}
/* =========================================================
   均等2カラム（feature-grid--media2）
========================================================= */
.feature-grid--media2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
  align-items: stretch;
  --media2-img: clamp(72px, 14vw, 120px);
}
.feature-grid--media2 > * {
  min-width: 0;
}
@media (max-width: 750px) {
  .feature-grid--media2 {
    grid-template-columns: 1fr;
  }
}
.feature-grid--media2 .feature-link {
  display: grid;
  grid-template-columns: var(--media2-img) 1fr;
  column-gap: 12px;
  align-items: center;
  min-width: 0;
}
.feature-grid--media2 .product-subtitle, .feature-grid--media2 .product-title, .feature-grid--media2 .product-name {
  text-align: left;
  line-height: normal;
}



/* =========================================================
   3カラムグリッド　顧客管理が登場するまで
========================================================= */
.feature-grid--media3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
  align-items: stretch;
  grid-auto-rows: 1fr;
}
/* 566px 以下：1カラム */
@media (max-width: 566px) {
  .feature-grid--media3 {
    grid-template-columns: 1fr;
  }
}
/* =========================================================
   4カラムグリッド（feature-grid--media4）
========================================================= */
.feature-grid--media4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap);
  align-items: stretch;
  grid-auto-rows: 1fr;
}
.feature-grid--media4 > * {
  min-width: 0;
}
.feature-grid--media4 .feature-media {
  height: 100%;
}
.feature-grid--media4 .feature-link {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.feature-grid--media4 img {
  margin-bottom: 10px;
}
/* 1100px 以下：3カラム */
@media (max-width: 1100px) {
  .feature-grid--media4 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
/* 900px 以下：2カラム */
@media (max-width: 900px) {
  .feature-grid--media4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* 566px 以下：1カラム */
@media (max-width: 566px) {
  .feature-grid--media4 {
    grid-template-columns: 1fr;
  }
}
/*-------------------------------------------------------------*/
/* 750px以下でも、イチロー＆キング配下は 2カラムのまま */
/*-------------------------------------------------------------*/
@media (max-width: 750px) {
  .feature-wrap.brand-ichiro .card-list, .feature-wrap.brand-ichiro .card-list.card-list--lock2-of3, .feature-wrap.brand-king .card-list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
/*-------------------------------------------------------------*/
/* 566px以下では、イチロー＆キング配下も 1カラムにする */
/*-------------------------------------------------------------*/
@media (max-width: 566px) {
  .feature-wrap.brand-ichiro .card-list, .feature-wrap.brand-ichiro .card-list.card-list--lock2-of3, .feature-wrap.brand-king .card-list {
    grid-template-columns: 1fr !important;
  }
}
/*-------------------------------------------------------------*/
/*   絞り込み用 UI の見た目                                   */
/*-------------------------------------------------------------*/
#lineup_filter {
  max-width: 1300px;
  margin: 5rem auto 3rem;
  padding: 0;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  text-align: center;
}
#lineup_filter img {
  margin: 0 auto -5px;
  padding: 0;
}
.filter-title {
  margin: 0 0 .5rem;
  font-size: 1.5rem;
  font-weight: bold;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: #333;
  text-align: center;
}
.filter-controls {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  font-size: .9rem;
  justify-content: center;
  background-color: #E7E7E7;
  padding: 1rem 0;
  margin: 0 auto;
  border-radius: 50px;
  width: 100%;
}
.filter-controls label {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  cursor: pointer;
}
@media (max-width: 900px) {
  .filter-controls {
    width: 100%;
  }
}
@media (max-width: 566px) {
  .filter-controls {
    flex-direction: column;
    align-items: center;
    width: 100%;
    border-radius: 0;
  }
  .filter-controls label {
    justify-content: center;
  }
}
.filter-controls input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
}
.filter-note {
  margin: .4rem 0 0;
  font-size: .75rem;
  color: #666;
}
/* =========================================================
   CSSだけでフィルタリングするロジック
========================================================= */
/* 初期状態：すべて表示 */
#lineup_content .filter-item {
  display: block;
}
/* 何かチェックされたら一旦全部非表示 */
#lineup_filter:has(#filter-haishutsu:checked, #filter-shushu:checked, #filter-chukan:checked, #filter-saishu:checked) ~ #lineup_content .filter-item {
  display: none;
}
/* 排出事業者 */
#lineup_filter:has(#filter-haishutsu:checked) ~ #lineup_content .role-haishutsu {
  display: block;
}
/* 収集運搬業者 */
#lineup_filter:has(#filter-shushu:checked) ~ #lineup_content .role-shushu {
  display: block;
}
/* 中間処理業者 */
#lineup_filter:has(#filter-chukan:checked) ~ #lineup_content .role-chukan {
  display: block;
}
/* 最終処理業者 */
#lineup_filter:has(#filter-saishu:checked) ~ #lineup_content .role-saishu {
  display: block;
}
/*----------------------------------------------------------------
   CTA エリア
-----------------------------------------------------------------*/
#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);
}
/*----------------------------------------------------------------
   .kira 共通キラッ演出（CTA + pickup_b 両方で使う）
-----------------------------------------------------------------*/
.kira {
  position: relative;
  overflow: hidden;
}
/* ✨ キラッと光るアニメーション ✨ */
@keyframes shine {
  0% {
    left: -75%;
  }
  100% {
    left: 125%;
  }
}
.kira::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;
}
.kira:hover::before {
  animation: shine 1s ease forwards;
}
/*----------------------------------------------------------------
   ピックアップ（おすすめ構成）
-----------------------------------------------------------------*/
#pickup {
  width: 100%;
  max-width: 1300px;
  margin-top: 0;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 5rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  border: 1px solid #ccc;
  background-color: #FFFFFF;
  border-radius: 4px;
  padding-left: 2rem;
  padding-right: 2rem;
}
#pickup div {
  width: calc(100% / 3 - 1rem);
  background-color: #FFFFFF;
  padding-top: 0;
  padding-right: 2rem;
  padding-left: 1rem;
  padding-bottom: 0;
  margin: 0;
  border-right: 1px solid rgba(204, 204, 204, 0.3); /* 30% の濃さ */
  box-sizing: border-box;
}
#pickup div:last-child {
  border-right: 0px;
  padding-right: 0rem;
}
@media (max-width: 950px) {
  #pickup {
    flex-direction: column;
    padding-bottom: 0rem;
  }
  #pickup div {
    width: 100%;
    margin-bottom: 3rem;
    padding-top: 0;
    padding-right: 0;
    padding-left: 0;
    padding-bottom: 3rem;
    border-left: 0px solid #ccc;
    border-right: 0px solid #ccc;
    border-bottom: 1px solid #ccc;
    border-top: 0px solid #ccc;
  }
  #pickup div:last-child {
    padding: 0;
    margin-bottom: 3rem;
    border-bottom: 0px solid #ccc;
  }
}
@media (max-width: 566px) {
  #pickup div {
    margin-bottom: 2rem !important;
    padding-bottom: 0rem !important;
  }
}
#pickup div h3 {
    text-align: center;
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    font-weight: bold;
    font-size: 1.4rem;
    color: #333;
    width: 100%;
    padding-top: 0;
    padding-right: 0;
    padding-left: 0;
    padding-bottom: 0.1rem;
    margin-top: 0;
    margin-right: 0;
    margin-left: 0;
    margin-bottom: 0.5rem;
    border-bottom: 1px dotted #CCCCCC;
}
#pickup div img {
  max-width: 166px;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 1rem;
  margin-bottom: 1rem;
}
#pickup div p {
  font-size: .9rem;
  line-height: 1.6;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-weight: normal;
  font-variant: normal;
  font-style: normal;
  color: #333;
  /*border-top: 1px dashed #CCCCCC;*/
  padding-top: 0;
  margin-top: 5px;
  margin-right: 0;
  margin-left: 0;
  margin-bottom: 5px;
  padding-bottom: 1rem;
}
.pickup_b {
  display: block;
  width: 70%;
  padding: .8rem 0;
  text-align: center;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 1rem;
  border-radius: 4px;
  background-color: var(--ichiro_color);
  color: #FFFFFF;
  text-decoration: none;
  margin: 0 auto;
  transition: background-color .3s ease;
}
.pickup_b:hover {
  background-color: var(--hanako_color);
}
@media (max-width: 768px) {
  .pickup_b {
    margin-bottom: 3rem;
  }
}
/*---------------------------------------------------------------*/
/*  サブソフトメニュー（カードグリッド）                        */
/*---------------------------------------------------------------*/
#sub_soft_menu {
  max-width: 1300px;
  width: 100%;
  margin-top: 5rem;
  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;
  }
}
#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;*/
  transition: transform 0.3s 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);
  }
}
/* ホバー時の画像のバウンド処理 */
@media (hover: hover) {
  #sub_soft_menu .card:hover img {
    animation: thumb-pop-bounce .5s ease-out infinite;
    transform-origin: center bottom;
  }
}
/*--------------------------------------------
　見積診断と選ばれる理由のバナーリンク設定
---------------------------------------------*/
#banner_box {
  max-width: 1300px;
  margin-right: auto;
  padding: 0;
  margin-left: auto;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
#banner_box div {
  width: calc((100% - 1rem)/2);
  border-radius: 4px;
  padding-right: 2rem;
  padding-left: 2rem;
  border: 1px solid #CCCCCC;
  transition: transform 0.3s ease;
}
#banner_box div:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .08);
  border: 1px solid var(--main_color);
}
#banner_box div:hover .type_b {
  color: var(--main_color);
}
#banner_box div img {
  max-width: 200px;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  display: block;
  transition: transform 0.3s ease;
}
#banner_box div a {
  display: flex;
  align-items: center; /* 画像と文字の縦位置を中央揃え */
  gap: 0rem; /* 画像とh2の間の余白 */
  text-decoration: none;
  color: inherit;
}
/* 画像：横並び用に固定幅＋縮まない */
#banner_box div img {
  max-width: 200px;
  height: auto;
  display: block;
  padding: 0;
  margin: 0;
  flex-shrink: 0;
}
/* 見出し側 */
#banner_box div h2 {
  margin: 0;
  text-align: left;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-style: normal;
  font-variant: normal;
  padding: 0;
  line-height: 1.2;
}
/* サブタイトル・メインタイトル */
.type_a {
  color: #333;
  display: block;
  font-size: 2rem;
  margin-bottom: .2rem;
  text-align: center;
}
.type_b {
  color: var(--king_color);
  display: block;
  font-size: 3rem;
}
@media (max-width: 1300px) {
  .type_a {
    font-size: 1.5rem;
  }
  .type_b {
    font-size: 2.5rem;
  }
  #banner_box div img {
    max-width: 140px;
  }
}
@media (max-width: 950px) {
  #banner_box {
    flex-direction: column;
  }
  #banner_box div {
    width: 100%;
    padding-bottom: 2rem;
    margin-bottom: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  #banner_box div a {
    flex-direction: column;
  }
  #banner_box div img {
    max-width: 120px;
  }
}
/* スマホで縦並びにしたい場合（任意） */
@media (max-width: 768px) {
  #banner_box {
    flex-direction: column;
  }
  #banner_box div {
    width: 100%;
  }
}
/* ホバー時の画像のバウンド処理 */
@media (hover: hover) {
  #banner_box div:hover img {
    animation: thumb-pop-bounce .5s ease-out infinite;
    transform-origin: center bottom;
  }
}