/* =========================================================
   /websys 業種別ページ 共通CSS（industry_system.php）
   ========================================================= */

/* =========================================================
   共通ラッパー
   ========================================================= */
.indpkg-wrap {
  max-width: 1200px;
  margin: 0 auto 60px;
  font-size: 15px;
}

/* 既存の点線リスト等をこのページ内では打ち消す */
.indpkg-wrap li {
  border-bottom: none;
  padding-bottom: 0;
}

/* /websys 業種別Webシステム共通MV */
.websys-mv {
  max-width: 1200px;
  margin: 0 auto 40px;
  text-align: center;
}
.websys-mv img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 4px;
}

/* =========================================================
   導入ボックス
   ========================================================= */
.indpkg-intro {
  background: #f5f7fb;
  border-radius: 10px;
  border: 1px solid #dde3ee;
  padding: 20px;
  margin: 0 0 25px;
}
.indpkg-intro h2 {
  font-size: 22px;
  margin-bottom: 8px;
}
.indpkg-intro p {
  margin-bottom: 6px;
}
.indpkg-intro-list{
  display:flex;
  flex-wrap:wrap;
  gap:12px;           /* 余白が不要なら削除OK */
}
.indpkg-intro-item{
  box-sizing:border-box;
  flex: 0 0 calc(50% - 6px);   /* gap:12px の半分を引く */
  max-width: calc(50% - 6px);
  min-width: 0;
  background:#fff;
  border-radius:6px;
  padding:8px 10px;
  border:1px solid #d5e1f5;
}
.indpkg-intro-item strong {
  display: block;
  font-size: 17px;
  margin-bottom: 3px;
}

/* =========================================================
   ページ内ナビ
   ========================================================= */
.indpkg-nav {
  margin: 0 0 25px;
}
.indpkg-nav ul {
  list-style: none;
  padding: 0;
  margin: 0 -5px;
  display: flex;
  flex-wrap: wrap;
}
.indpkg-nav li {
  margin: 4px 5px;
}
.indpkg-nav a {
  display: block;
  padding: 6px 12px;
  border-radius: 16px;
  border: 1px solid #d0d7e8;
  background: #fff;
  font-size: 15px;
  text-decoration: none;
  color: #1c5298;
}
.indpkg-nav a:hover {
  background: #1c5298;
  color: #fff;
}

/* =========================================================
   業種カード（親ページの各業種セクション）
   ========================================================= */
.indpkg-block {
  background: #fff;
  border-radius: 10px;
  border: 1px solid #dde3ee;
  margin-bottom: 24px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

/* カードヘッダー：ダークグレー */
.indpkg-block-head {
  background: #3f4855;
  color: #fff;
  padding: 30px;
}
.indpkg-tag {
  display: block;
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 3px;
}
.indpkg-target {
  font-size: 12px;
  opacity: 0.9;
  margin-bottom: 0 !important;
  color:#fff;
}

/* カード本文 */
.indpkg-block-body {
  padding: 12px 16px 16px;
}
.indpkg-lead {
  margin: 5px;
  padding: 0;
}

/* =========================================================
   セクション内の小見出し＆リスト
   ========================================================= */
.indpkg-sub {
  margin-top: 10px;
}

/* 小見出しをタグっぽいカード見出しに */
.indpkg-subttl {
  display: inline-block;
  font-size: 15px;
  margin: 0 0 5px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff7e6;
  border: 1px solid #f3c26b;
  color: #b67618;
  font-weight: bold;
}
.indpkg-sub ul {
  margin: 4px 0 4px 1.4em;
  padding: 0;
}
.indpkg-sub li {
  margin-bottom: 4px;
  line-height: 1.6;
  list-style-type: circle;
}

/* 「制作可能なシステムパッケージ例」の h4 のすぐ次の ul にだけ適用 */
.indpkg-sub h4.indpkg-subttl + ul li {
  position: relative;
  padding-left: 1.4em;
  margin-bottom: 6px;
  line-height: 1.6;
  list-style: none;
}

/* アイコン（●） */
.indpkg-sub h4.indpkg-subttl + ul li::before {
  content: "●";
  position: absolute;
  left: 0;
  top: 0.3em;
  font-size: 0.65em;
  color: #3f4855;
}

/* =========================================================
   詳細ページへのボタン
   ========================================================= */
.indpkg-more {
  margin-top: 10px;
  text-align: right;
}
.indpkg-more a {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 16px;
  border: 1px solid #3f4855;
  background: #fff;
  font-size: 15px;
  text-decoration: none;
  color: #3f4855;
  margin-bottom: 15px;
}
.indpkg-more a:hover {
  background: #3f4855;
  color: #fff;
}

/* =========================================================
   FAQ（業種別システム開発・Web活用に関するよくあるご質問）
   ========================================================= */
.indpkg-faq {
  margin: 40px auto 60px;
  padding: 28px 30px;
  max-width: 1200px;
  background: #ffffff;
  border: 1px solid #dde3ee;
  border-radius: 10px;
}

/* 見出し＋検索窓の横並び */
.indpkg-faq-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.indpkg-faq h2 {
  font-size: 22px;
  margin: 0 0 28px;
  padding-left: 8px;
  border-left: 4px solid #3f4855;
  line-height: 1.6;
}

/* 検索ボックス */
.indpkg-faq-search {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 12px;
}
.faq-search-label {
  margin-bottom: 3px;
  color: #666;
}
#faq-search {
  width: 260px;
  max-width: 100%;
  padding: 6px 10px;
  border-radius: 16px;
  border: 1px solid #c5ccdd;
  font-size: 15px;
  box-sizing: border-box;
}

/* 質問リスト（dl） */
.indpkg-faq dl {
  margin: 0;
  padding: 0;
}
.indpkg-faq dt {
  font-weight: bold;
  font-size: 15px;
  margin: 22px 0 6px;
  padding: 10px 14px;
  background: #f2f4fa;
  border-radius: 6px;
  line-height: 1.7;
}
.indpkg-faq dd {
  margin: 6px 0 16px 0;
  padding: 0 4px 0 14px;
  font-size: 15px;
  line-height: 1.8;
}

/* Q と A の文字を疑似要素で補強（視認性UP） */
.indpkg-faq dt::before {
  content: "Q.";
  font-weight: bold;
  color: #3f4855;
}
.indpkg-faq dd::before {
  content: "A. ";
  font-weight: bold;
  color: #3f4855;
}

/* =========================================================
   フルオーダー相談（吹き出し）
   ========================================================= */
.indpkg-freeorder {
  max-width: 1200px;
  margin: 0 auto 40px;
}
.indpkg-freeorder-inner {
  background: #fff7e6;
  border: 1px solid #f3c26b;
  border-radius: 10px;
  padding: 14px 18px 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}
.indpkg-freeorder-title {
  font-size: 16px;
  font-weight: bold;
  margin: 0 0 6px;
}
.indpkg-freeorder-note {
  font-size: 12px;
  margin: 0 0 10px;
  color: #7b5a1a;
}

/* 吹き出し本体：liごとに1つずつ */
.indpkg-freeorder-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.indpkg-freeorder-list li {
  position: relative;
    float: left;
    width: 48%;
    margin: 1% 1% 6px;
}
.indpkg-freeorder-item {
  display: block;
  width: 100%;
  padding: 10px 14px;
  background: #ffffff;
  border: 1px solid #d5e1f5;
  border-radius: 10px;
  line-height: 1.6;
    font-size: 15px;
    min-height: 5em;
}

/* 吹き出し口（三角）をliに付与して左右交互に */
.indpkg-freeorder-list li:nth-child(odd)::before,
.indpkg-freeorder-list li:nth-child(odd)::after,
.indpkg-freeorder-list li:nth-child(even)::before,
.indpkg-freeorder-list li:nth-child(even)::after {
  content: "";
  position: absolute;
  bottom: -10px;
  width: 0;
  height: 0;
  border-style: solid;
}

/* 奇数行：左側 */
.indpkg-freeorder-list li:nth-child(odd)::before {
  left: 40px;
  border-width: 10px 8px 0 8px;
  border-color: #d5e1f5 transparent transparent transparent;
}
.indpkg-freeorder-list li:nth-child(odd)::after {
  left: 41px;
  bottom: -9px;
  border-width: 9px 7px 0 7px;
  border-color: #ffffff transparent transparent transparent;
}

/* 偶数行：右側 */
.indpkg-freeorder-list li:nth-child(even)::before {
  right: 40px;
  border-width: 10px 8px 0 8px;
  border-color: #d5e1f5 transparent transparent transparent;
}
.indpkg-freeorder-list li:nth-child(even)::after {
  right: 41px;
  bottom: -9px;
  border-width: 9px 7px 0 7px;
  border-color: #ffffff transparent transparent transparent;
}

/* =========================================================
   /websys/共通：お問い合わせボックス色
   ========================================================= */
.movo_form {
  background: #3f4855 !important;
}

/* 画像リンクがクリックを取りこぼさないようにする */
.indpkg-illus{
  position: relative;
  z-index: 2;
}
.indpkg-illus a.indpkg-illus-link{
  display: block;
  position: relative;
  z-index: 2;
  cursor: pointer;
}
.indpkg-illus img{
  display: block;
}

/* もし .indpkg-illus 側に擬似要素があってもクリックを邪魔しない */
.indpkg-illus::before,
.indpkg-illus::after{
  pointer-events: none;
}
/* 右下の「活用アイデアを見る」をボタン化して目立たせる */
.indpkg-more{
  margin-top: 18px;
  text-align: right;
}

.indpkg-more a{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 999px;

  background: #26a69a;
  color: #fff;
  font-weight: 700;
  text-decoration: none;

  box-shadow: 0 10px 22px rgba(0,0,0,.18);
  transform: translateY(0);
  transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
}

.indpkg-more a::after{
  content: "›";
  font-size: 22px;
  line-height: 1;
  transform: translateY(-1px);
  opacity: .95;
}

.indpkg-more a:hover{
  filter: brightness(1.04);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0,0,0,.22);
}

.indpkg-more a:active{
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(0,0,0,.18);
}

.indpkg-more a:focus-visible{
  outline: 3px solid rgba(38,166,154,.35);
  outline-offset: 3px;
}

/* 小さめ画面で押しやすく */
@media (max-width: 520px){
  .indpkg-more a{
    padding: 14px 16px;
    font-size: 15px;
  }
}


/* =========================================================
   スマホ対応
   ========================================================= */
@media screen and (max-width: 768px) {
  .indpkg-wrap {
    padding: 0 auto 40px;
  }
  
  /* ===== 続きを見る（.indpkg-intro 専用）===== */
.indpkg-intro[data-fold="on"]{
  max-height: var(--indpkg-fold-maxh, 9999px);
  overflow: hidden;
  position: relative;
}

.indpkg-intro[data-fold="on"]::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:0;
  height: 5.2em;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
  pointer-events:none;
}

/* ★ボタン位置：右寄せ＋少し上へ */
.indpkg-intro-toggle-wrap{
  text-align: right;
  margin-top: -12px; /* 上に上げる量（好みで -4〜-12 くらい） */
}

.indpkg-intro-toggle{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;              /* wrap側で位置調整するので0に */
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #195297;
  background: #fff;
  color: #195297;
  cursor: pointer;
  font-weight: 700;
  line-height: 1;
}

.indpkg-intro-toggle::after{
  content:"▼";
  font-size: 12px;
  transform: translateY(-1px);
  transition: transform .15s ease;
}

.indpkg-intro-toggle[aria-expanded="true"]::after{
  transform: rotate(180deg);
}

.indpkg-intro-toggle:focus-visible{
  outline: 2px solid rgba(25,82,151,.35);
  outline-offset: 2px;
}



  .indpkg-intro h2 {
    font-size: 18px;
  }

  .indpkg-block-head {
    padding: 8px 12px 9px;
  }

  .indpkg-block-body {
    padding: 10px 12px 14px;
  }

  .indpkg-freeorder-inner {
    padding: 12px 12px 10px;
  }

  /* /websys/用 ヘッダーまわり調整＋ナビ非表示 */
  #navi,
  #navif {
    display: none !important;
  }

  #wrapper #header {
    border-top: 4px solid #368ed1 !important;
    -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.8);
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
  }

  #header {
    height: 70px !important;
  }

  .logo {
    text-align: center;
    padding: 0;
    left: 10px !important;
    top: 1px !important;
  }

  .logo img {
    max-width: 160px !important;
    height: auto !important;
  }

  .fdw-btn {
    left: 10px;
    right: auto !important;
  }

  #breadcrumbs {
    margin-top: 8px;
  }

  /* FAQブロックの余白・サイズ */
  .indpkg-faq {
    padding: 22px 18px;
    margin: 30px 10px 50px;
  }

  .indpkg-faq h2 {
    font-size: 20px;
  }

  .indpkg-faq dt {
    font-size: 15px;
  }

  .indpkg-faq dd {
    font-size: 15px;
  }

  /* スマホ時は縦積み＆全幅 */
  .indpkg-faq-head {
    flex-direction: column;
    align-items: stretch;
  }

  .indpkg-faq-search {
    align-items: stretch;
  }

  #faq-search {
    width: 100%;
  }
  .indpkg-more a {
    text-align: left;
    line-height: normal;
    }
  .indpkg-freeorder-list li {
  float: none;
  width: auto;
  margin: 0 auto 16px;
  }
  .indpkg-sub ul {
  margin: 4px 0 4px 0.4em;
  }
}

/* ===== ふわっと表示（全ページ共通：読み込み時のみ） ===== */
@media (prefers-reduced-motion: no-preference) {
  html.js body {
    opacity: 0;
    transition: opacity 220ms ease;
  }
  html.js body.page-ready {
    opacity: 1;
  }
}


@media (min-width: 900px){
  .websys-mv img,
  .indpkg-img img{
    aspect-ratio: 1200 / 520;
    object-fit: cover;
  }
}

.indpkg-illus-float{
  float: right;
  width: 500px;
  max-width: 42%;
  margin: 0 0 5px 28px;
  border-radius: 14px;
  background: #fff;
}
.indpkg-illus-float img{
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}
.indpkg-block-body::after{
  content: "";
  display: block;
  clear: both;
}
@media (max-width: 920px){
  .indpkg-illus-float{
    float: none;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
  }
}

.indpkg-childblock{
  margin-top: 18px;
}
.indpkg-childlead{
  margin: 6px 0 12px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #445;
}

.indpkg-childlist{
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 14px;
  margin: 0 !important;
}
.indpkg-childlist > li{
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (max-width: 760px){
  .indpkg-childlist{
    grid-template-columns: 1fr;
  }
.indpkg-intro-item {
    flex: auto;
    max-width: 100%;
    }
}

.indpkg-childlink{
  display: block;
  padding: 14px;
  border: 1px solid rgba(20, 40, 80, 0.10);
  background: rgba(224, 231, 248, 0.70);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: border-color .12s ease, box-shadow .12s ease, background-color .12s ease;
  height: 100%;
  background: url(/img/websys/websystem_dashboards_icon.png) no-repeat 95% top, rgba(224, 231, 248, 0.70);
  background-size: 17%;
}
.indpkg-childlink:hover{
  background: rgba(245, 249, 255, 0.70);
  border-color: rgba(20, 40, 80, 0.18);
  box-shadow: 0 10px 24px rgba(10, 30, 60, 0.06);
  background: url(/img/websys/websystem_dashboards_icon.png) no-repeat 95% top, rgba(245, 249, 255, 0.70);
  background-size: 17%;
}
.indpkg-childlink:focus-visible{
  outline: 3px solid rgba(40, 100, 220, 0.28);
  outline-offset: 2px;
}

.indpkg-childtag{
  display: inline-block;
  font-size: 12px;
  line-height: 1;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(30, 80, 160, 0.08);
  border: 1px solid rgba(30, 80, 160, 0.14);
  color: #234a7a;
  margin: 0 10px 0 0;
  vertical-align: middle;
}
.indpkg-childlabel{
  display: block;
  margin: 10px 0 0;
  font-weight: 700;
  line-height: 1.55;
  color: #173a66;
}
.indpkg-childdesc{
  display: block;
  margin-top: 8px;
  font-size: 0.92rem;
  line-height: 1.7;
  color: #556;
}