/*
Theme Name: Portal SPA
*/
@charset "utf-8";

/* =Reset
-------------------------------------------------------------- */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
caption,
th,
td {
  font-weight: normal;
  text-align: left;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  clear: both;
}
html {
  overflow-y: scroll;
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}
a:focus {
  outline: thin dotted;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section {
  display: block;
}
audio,
canvas,
video {
  display: inline-block;
}
audio:not([controls]) {
  display: none;
}
del {
  color: #333;
}
ins {
  background: #fff9c0;
  text-decoration: none;
}
hr {
  background-color: #ccc;
  border: 0;
  height: 1px;
  margin: 24px;
  margin-bottom: 1.714285714rem;
}
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sup {
  top: -0.5em;
}
sub {
  bottom: -0.25em;
}
small {
  font-size: smaller;
}
img {
  border: 0;
  -ms-interpolation-mode: bicubic;
}
input {
  outline: none;
}
input,textarea {
  -webkit-appearance: none;
}


.sp {
  display: none;
}



/*--------------------------------------------------------------
   Common Style
--------------------------------------------------------------*/
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
body {
  background-color: #ffffff;
  color: #4D5156;
  font-family: '游ゴシック体', YuGothic, '游ゴシック Medium', 'Yu Gothic Medium', '游ゴシック', 'Yu Gothic', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', Meiryo, メイリオ, 'MS PGothic', 'ＭＳ Ｐゴシック', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow: hidden;
  position: relative;
}

h2 {
  font-size: 20px;
  font-weight: bold;
  margin: 0 auto 30px;
  position: relative;
  padding-bottom: 4px;
}
h2::after {
  content: "";
  width: 40px;
  height: 4px;
  background: #E5CE52;
  position: absolute;
  top: 100%;
  left: 0;
}
a,
a:visited {
  color: #56B5D1;
  outline: none;
  text-decoration: none;
}
/* 中島変更 */
img {
  /*height: auto;
  max-width: 100%;*/
  width: auto;
  max-height: 100%;
}
/* -------- */
button,
input,
select,
textarea {
  border: 1px solid #cccccc;
  border-radius: 0;
  line-height: 1.5;
  margin: 10px 0;
  max-width: 100%;
  vertical-align: baseline;
}
button,
input {
  -webkit-hyphens: none;
  -moz-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
}
button {
  outline: none;
}
input[type="text"],
input[type="email"],
input[type="password"],
textarea {
  padding: 5px;
}

/*--------------------------------------------------------------
   PC
--------------------------------------------------------------*/
#page {
/*  min-width: 960px; */
  width: 100%;
  /*padding-top: 48px;*/
  padding-top: 58px;
}
/**
 * 中島修正：サイドバー（.nav__category-wrap）を全ページで非表示にしたため、
 * 本文エリアの幅を1024px→1200pxに拡張し、画面幅を有効活用する。
 * この変更は全ページ共通（single.php, page.php, category.php, search.php等）
 * に影響する。
 */
.contents__inner {
  margin: 0 auto 60px;
  max-width: 1200px;
  padding: 0px 20px;
  width: 100%;
}

a.button,
input.button {
  border-radius: 2px;
  background: #56B5D1;
  border: 1px solid #56B5D1;
  padding: 16px 40px;
  color: #fff;
  display: inline-block;
  line-height: 1;
  text-align: center;
  overflow: hidden;
  max-width: 240px;
  width: 100%;
  position: relative;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  cursor: pointer;
}
a.button.reset,
input.button.reset {
  background: #fff;
  border: 1px solid #D9D9D9;
  color: #AAAAAA;
  font-weight: normal !important;
}

/* 中島追記 */
a.button.button--blue,
input.button.button--blue {
  margin: 0 8px;
}
a.button.button--white,
input.button.button--white {
  background: #fff;
  border: 1px solid #56B5D1;
  color: #56B5D1;
  margin: 0 8px;
}

/* 中島追記 */
.external__link::after {
  font-family: "Font Awesome 6 Pro";
  content: "\f35d";
  padding-left: 8px;
  color: #fff;
}

/* =header
-------------------------------------------------------------- */
header {
  width: 100%;
  background: #56B5D1;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
}
header .header__inner {
  /* max-width: 1256px; */
  width: 100%;
  margin: auto;
  padding: 0 35px;
}
header .header__inner h1 {
  margin: 14px auto 14px 28px;
  font-size: 20px;
  /*line-height: 1;*/
  float: left;
}
header .header__inner h1 a {
  color: #fff;
}

/* 中島追記 */
header .header__inner ul {
  color: #fff;
  display: inline-block;
  float: right;
}
header .header__inner li {
  display: inline-block;
  list-style: none;
  margin-right: 40px;
  padding: 10px 0;
  color: #fff;
  font-weight: bolder;
}
header .header__inner li a {
  color: #fff;
}

/* 中島追記 */
header .header__list {
  display: inline-block;
  float: right;
  padding: 0;
  list-style: none;
}
header .header__item {
  display: inline-block;
  list-style: none;
  margin-right: 40px;
  padding: 10px 0;
  font-weight: bolder;
}
header .header__link {
  color: #fff;
  position: relative;
  display: flex;
  align-items: center;
}
header .header__link-hover::after {
  content: '▼';
  font-size: 10px;
  padding-left: 0.5rem;
}
header .header__dropDown {
  position: absolute;
  bottom: 0;
  display: none;
  padding: 10px;
  background-color: #56B5D1;
  box-shadow: 0px 3px 8px -2px #777;
  transform: translate(0, 100%);
  /* 中島追記：ドロップダウン自体の重なり優先度を明示的に高くする */
  z-index: 1000;
}
header .header__link:hover > .header__dropDown,
header .header__link:focus-within > .header__dropDown {
  display: block;
}
/**
 * 中島追記：ドロップダウンが隣の<li>（他のメニュー項目の文字）の
 * 下に隠れてしまう不具合の修正。
 * z-indexは兄弟要素同士の比較で決まるため、中身（.header__dropDown）だけに
 * z-indexを設定しても、親である<li class="header__item">自体の重なり優先度が
 * 低いままだと効果がない。ホバー中の<li>自体にも高いz-indexを与える必要がある。
 */
header .header__item {
  position: relative;
}
header .header__item:has(.header__link:hover),
header .header__item:has(.header__link:focus-within) {
  z-index: 1000;
}
header .header__dropDown__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
header .header__dropDown__link {
  color: #fff;
  padding: 10px 20px;
  transition: color .15s;
  white-space: nowrap;
}
header .header__item.is-dropdown-open {
  z-index: 1000;
}

#searchform label {
  display: none;
}

/* = navigation
-------------------------------------------------------------- */
.drawer__wrap {
  height: 100%;
  overflow-x: hidden;
  position: relative;
}
.drawer__wrap:not(.front__page) .contents__inner p {
  margin: 0 0 35px;
}
.drawer__wrap:not(.front__page) .contents__inner p.empty {
  max-width: 815px;
  margin: 55px auto 55px;
}
/**
 * 中島修正：サイドバー絞り込みフォーム（.nav__category-wrap）・
 * その開閉トリガー（.menu-trigger）・背景暗転オーバーレイ（.overlay）は、
 * SPA検索UIへの移行に伴い使われなくなったため削除した。
 * あわせて、サイドバー用に確保していた左padding（80px）・openクラス時の
 * margin-left（250px）も、常時不要になったため .drawer__wrap 本体から削除した。
 */
.drawer__wrap {
  height: 100%;
  /* min-height: 100vh; */
  min-height: calc(100vh - 105px);
  padding: 0;
  transition: all .5s;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}


/* =footer
-------------------------------------------------------------- */
/* 中島追記：チャットボット用 */
#chat_btn {
  position: fixed;
  right: 0;
  top: 80%;
  transform: translateY(-50%);
  z-index: 50;
}
#chat_btn .tab {
  writing-mode: vertical-rl;
  text-orientation: upright;
  border: 1px solid #56B5D1;  /* 縁を追加 */
  border-right: none;  /* 右端の縁を無くす */
  background-color: rgba(255, 255, 255, 0.5);  /* 背景色を50%透明の薄いグレーに設定 */
  width: 3.0rem;
  padding-top: 1em;
}
#chat_btn img {
  width: 100%;  /* 画像の幅を調整 */
  height: auto; /* 高さは自動的に調整 */
  object-fit: cover;
  background-color: rgba(189, 215, 238, 1);
}
/* 中島追記ここまで */

.fix__content {
  bottom: 15px;
  position: fixed;
  z-index: 50;
  right: 15px;
}
.fix__content a {
  background: #E5CE52;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  border-radius: 50%;
  color: #fff;
}
footer {
  background-color: #56B5D1;
  padding: 10px 0;
  position: relative;
  z-index: 30;
  width: 100%;
  padding: 24px 0;
}
footer .contents__inner {
  max-width: 1024px;
  margin: auto;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
}
.footer__title {
  text-align: left;
  margin-top: 5px;
  margin-bottom: 0px;
  width: 75%;
}
.footer__title h3 {
  margin-bottom: 0px;
}
.footer__title h3 a {
  color: #fff;
}
.footer__navigation {
  text-align: left;
  margin-bottom: 0px;
  width: 25%;
}
.footer__navigation a {
  font-size: 14px;
  color: #fff;
}
.footer__navigation a i {
  font-size: 24px;
  vertical-align: sub;
  margin-left: 10px;
  font-weight: 300;
}
.footer__logo {
  text-align: left;
  margin-bottom: 0px;
  width: 5%;
}
.footer__logo img {
  width: 100%;
  max-width: 100%;
  vertical-align: top;
}
.footer__information {
  margin-bottom: 0px;
  padding-left: 10px;
  width: 95%;
}
.footer__information h3 {
  margin-bottom: 0px;
}
.footer__information h3 a {
  color: #fff;
}
.footer__information p.management {
  font-size: 14px;
  margin-bottom: 5px;
}
.footer__information p {
  font-size: 12px;
}
.footer__information p a {
  color: #fff;
  border-bottom: 1px solid #fff;
}
footer .copyright {
  text-align: center;
  width: 100%;
  font-size: 12px;
}

/**
 * 中島修正：ラジオボタン（.cat__dropdown-content）・チェックボックス
 * （.search__narrow-col）の見た目は、いずれもサイドバー絞り込みフォーム
 * （header.php）およびcategory.php/search.phpの詳細検索フォーム専用だった。
 * これらのフォーム自体がSPA検索UIへの移行に伴い使われなくなったため、
 * スタイル定義ごと削除した。
 */


/* =top front__page
-------------------------------------------------------------- */
.front__page .contents__inner {
  margin-bottom: 0;
  padding: 0 20px;
}
.front__page .about {
/*  margin: 0 calc(50% - 50vw);
  width: 100vw; */
  width: 100%;
  background: #f8fcfd;
  padding: 50px 0;
}
.front__page .about .contents__inner div {
  margin-top: 1em;
  text-align: center !important;
}
.front__page .about .contents__inner .button i {
  margin-left: 0.5em;
}
/**
 * 中島修正：#page の padding-top（common.js側でヘッダーの実際の高さに
 * 合わせて動的に設定されている）により、コンテンツは常にヘッダー直下
 * ぴったりから始まる仕組みが既に機能している。
 * そのため、このセクション自体の余白は「ヘッダーが何px か」に関係なく
 * 常に一定でよく、以前の calc(var(--header-height)...) という計算式は
 * ヘッダー高さを二重に加算してしまう誤りだった（ヘッダーが折り返して
 * 高くなるほど、不要な余白が増幅される不具合の原因）。
 * 固定値に戻すことで、ヘッダーの高さに関わらず常に適切な余白になる。
 */
.front__page .slide {
  width: 100%;
  background: #fff !important;
  padding-top: 24px;
  padding-bottom: 45px;
}
.front__page .slide .contents__inner {
  /* 中島追記：画像が中央寄せにならない場合の保険として、テキスト中央寄せを明示 */
  text-align: center;
}
/**
 * 中島修正：width:100%を明示することで、画面幅が750pxより狭い場合に
 * スライダー全体が画面内に収まるよう自動的に縮小されるようにする
 * （以前はmax-widthのみの指定で、プラグインが出力する固定px幅の
 *   子要素により右側が見切れていた）。
 */
.front__page .slide .ms-slider-wrapper,
.front__page .slide .metaslider,
.front__page .slide .flexslider {
  margin: 0 auto !important;
  width: 100%;
  max-width: 750px;
}
.front__page .slide .metaslider img {
  max-width: 100%;
  height: auto;
}
.front__page .slide .ms-slider-wrapper {
  /**
   * 中島追記：レスポンシブ型スライダー特有の「アスペクト比確保用のpadding-bottom
   * （%指定）」が、サイズ変更前の古い比率でキャッシュされたまま残っている場合に
   * 無効化する（キャッシュクリアで解決しない場合の保険）。
   */
  padding-bottom: 0 !important;
  height: auto !important;
}
/**
 * 中島修正：flex-wrapによる自然な折り返しは、画面幅によって
 * 「折り返すタイミング」が不安定になりやすいため、flex-direction の
 * 明示的な切り替え（row→column）に変更し、折り返し後は
 * align-items:center で確実に中央寄せする。
 */
.slide__layout {
  display: flex;
  gap: 24px;
}
.slide__media {
  flex: 1 1 auto;
  max-width: 750px;
  min-width: 0;
  position: relative;
}
.quick-links {
  flex: 0 0 320px;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}
@media screen and (max-width: 1100px) {
  .slide__layout {
    flex-direction: column;
    align-items: center;
  }
  .slide__media {
    width: 100%;
    max-width: 750px;
  }
  .quick-links {
    width: 100%;
    max-width: 750px;
    flex: none;
  }
}

/**
 * 中島修正：影・ホバー時のリフトアップ・アイコン背景色（ブランドカラー）を
 * 加えることで、ボタンとしての存在感・クリック可能性を強調する。
 */
.quick-link {
  flex: 1 1 0;
  width: 100%;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid #D9D9D9;
  border-radius: 10px;
  padding: 18px 22px;
  background: #fff;
  color: #4D5156;
  position: relative;
  box-sizing: border-box;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .06);
  transition: box-shadow .2s, border-color .2s, transform .2s;
}
.quick-link:hover {
  border-color: #56B5D1;
  box-shadow: 0 6px 16px rgba(86, 181, 209, .18);
  transform: translateY(-2px);
}
/**
 * 中島修正：アイコンの背景・色の扱いを、種類別に分ける。
 * - quick-link__icon--logo（SHAREのロゴ画像）：元の色をそのまま見せるため、
 *   背景は薄い色、filterによる白抜き処理は行わない
 *   （SHAREアイコンが見えなくなっていた原因：グラデーション背景＋白抜き
 *     フィルターの組み合わせが、カラーのロゴ画像には不適合だった）
 * - quick-link__icon--fa（Font Awesomeの単色アイコン）：背景を薄い色にし、
 *   アイコン自体をブランドカラーで着色する
 */
.quick-link__icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eaf6fb;
}
.quick-link__icon--fa i {
  color: #2d8aa6;
  font-size: 22px;
}
.quick-link__icon--logo img {
  width: 26px;
  height: 26px;
}

/* 中島修正：文字サイズを少し拡大し、ボタンとしての見栄えを強める */
.quick-link__text {
  flex: 1 1 auto;
  min-width: 0;
}
.quick-link__text strong {
  display: block;
  font-size: 18px;
}
.quick-link__text small {
  font-size: 13px;
}

/**
 * 中島修正：外部リンクアイコンの有無でボタン間のテキスト開始位置が
 * ずれていた問題を解消するため、幅を固定しつつ、不要な場合は
 * visibility:hidden（displayではない）で「見えないが幅は保持する」
 * 状態にする。
 */
.quick-link__ext {
  flex: 0 0 20px;
  font-size: 15px;
  text-align: center;
  color: #CCCCCC;
}
.quick-link__ext--hidden {
  visibility: hidden;
}

/* 画面が狭く、横並びが窮屈な場合は自動的に縦積みに切り替わる */
@media screen and (max-width: 1100px) {
  .slide__media {
    flex-basis: 100%;
    /* 中島追記：縦積みになった際、スライダーを画面中央に配置する */
    text-align: center;
  }
  .quick-links {
    flex-basis: 100%;
    margin-top: 20px;
  }
}
.quick-link:hover {
  border-color: #56B5D1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
}
.quick-link__icon {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f8fcfd;
  display: flex;
  align-items: center;
  justify-content: center;
}
.quick-link__icon img {
  width: 20px;
  height: 20px;
}
.quick-link__icon i {
  font-size: 16px;
  color: #56B5D1;
}
.quick-link__text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.quick-link__text strong {
  font-size: 14px;
}
.quick-link__text small {
  font-size: 11px;
  color: #999999;
}
.quick-link__ext {
  margin-left: auto;
  font-size: 12px;
  color: #CCCCCC;
}

.front__page .news {
  padding: 30px 0px 0px 0px;
}
.front__page .topnews {
  background: #f8fcfd;
}
/**
 * 中島修正：旧3タブ構成時代の横並びレイアウト指定（display:flex）と、
 * 幅1024px固定の指定を削除。現在は新着情報のみの単純な構成であり、
 * 幅は他セクションと同じ共通の .contents__inner（1200px）に統一する。
 * （実際の display:block 指定は .front__page .news.topnews .contents__inner
 *   側で既に行っているため、ここでは何も指定しない）

.front__page .news .contents__inner {
  display: flex;
  justify-content: space-between;
  margin: 0 auto 0px;
  max-width: 1024px;
  padding: 0px 20px 40px;
  width: 100%;
}
*/
.front__page .news .contents__inner .contents__column {
  flex: 1; /* 各カラムが均等に幅を取る */
  margin: 0 10px; /* カラム間のマージン */
}
/*
.front__page .news .contents__inner .contents__title {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.front__page .news .contents__inner .contents__title h2 {
  margin: 0 0 30px 0;
}
*/

/* 中島追記：ここから */
.front__page .news__list {
  justify-content: left;
  margin: 0;
}
.front__page .news__list li {
  width: 100%;
  border-bottom: dashed 1px #DDDDDD;
  padding-top: 0.2rem;
  padding-bottom: 0.2rem;
}
.front__page .news__date {
  margin-right: 10px; /* 日付とカテゴリ名の間に空白を追加 */
}
.front__page .news__category {
  background-color: #f0f0f0; /* タグのような背景色 */
  padding: 2px 8px; /* タグのようなパディング */
  border-radius: 4px; /* タグのような角丸 */
  margin-right: 10px; /* カテゴリ名と件名の間に空白を追加 */
  font-size: 12px; /* フォントサイズを調整 */
  font-weight: bold;
  color: #FFFFFF;
}
.front__page .news__category {
  background-color: #56B5D1; /* タグのような背景色 */
  padding: 2px 8px; /* タグのようなパディング */
  border-radius: 4px; /* タグのような角丸 */
  margin-right: 10px; /* カテゴリ名と件名の間に空白を追加 */
  font-size: 12px; /* フォントサイズを調整 */
  font-weight: bold;
}
.front__page .news__category.category-news {
  background-color: #56B5D1; /* タグ色 */
}
.front__page .news__category.category-pickup {
  background-color: #57DF80; /* タグ色 */
}
.front__page .news__category.category-update {
  background-color: #FFB264; /* タグ色 */
}
.front__page .news__category.category-seminar {
  background-color: #7ECEF4; /* タグ色 */
}
.front__page .news__category.category-tech {
  background-color: #576770; /* タグ色 */
}
.front__page .news__category.category-remote-smart {
  background-color: #0057A3; /* タグ色 */
}
.front__page .news__category.category-movie {
  background-color: #FF7964; /* タグ色 */
}
.front__page .news__title {
  color: #4D5156;
  /*font-weight: bold; */ /* 件名を強調 */
}
.front__page .news__tab__content .news__tab__pane .gotoList{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 23%;
  border-radius: 2px;
  margin: 15px auto 15px;
  position: relative;
  line-height: 48px;
  min-height: 48px;
}
.front__page .news__tab__content .news__tab__pane .gotoList a:after {
  font-family: "Font Awesome 6 Pro";
  content: "\f061";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  right: 8px;
}
.front__page .news__tab__content .news__tab__pane .gotoList a{
  display: flex;
  justify-content: flex-start;
  align-items: center;
  font-size: 14px;
  width: 100%;
  height: 100%;
  color: #4D5156;
  padding: 0 20px 0 10px;
  transition: background .3s;
  border: 1px solid #D9D9D9;
  border-radius: 2px;
}
.front__page .news__tab__content .news__tab__pane .gotoList a:hover {
  color: #FFFFFF;
  background: #56B5D1;
  border-color: #56B5D1;
}
/* 中島追記：ここまで */

.news__list {
  display: flex;
  flex-wrap: wrap;
  /*justify-content: space-between;*/
  justify-content:center;
}
.news__list .news__col {
  /*width: 31%;*/
  max-width: 300px;
  margin: 0 10px;
  position: relative;
  margin-bottom: 40px;
}
.news__list .news__col a {
  color: #4D5156;
  display: block;
}
/*.news__list::after {
  display: block;
  content:"";
  width: 31%;
}*/
.news__list .news__col .news__col-category {
  position: absolute;
  top: 12px;
  right: 0;
  background: #fff;
  padding: 5px 15px;
  border-radius: 30px 0 0 30px;
  font-size: 12px;
  z-index: 10;
  margin: auto !important;
}
.news__list .news__col .news__col-ttl {
  font-weight: bold;
  margin: auto auto 15px !important;
}
.news__list .news__col .news__col-ttl span {
  display: inline;
  padding-bottom: 2px;
  background: linear-gradient(transparent, #F8B62D) 0 100%/0 1px no-repeat;
  transition: background .4s;
}

.news__list .news__col a .news__col-ttl:before{
  content: '';
  position: absolute;
  left: 160px;
  bottom: 5px;/*テキストからの距離*/
  width: 0%;/*初期状態では下線非表示*/
  height: 1px;/*下線の高さ*/
  background: #F8B62D;/*下線の色*/
  z-index: -1;
  transition: all 1s;/*アニメーション速度*/
}
.news__list .news__col .news__col-date {
  font-size: 12px;
  padding: 5px 0 12px;
  text-align: right;
  margin: auto !important;
}
.news__list .news__col .news__col-excerpt {
  font-size: 14px;
  margin-bottom: 0 !important;
}

.news__list .news__col .news__col-img {
  overflow: hidden;
  position: relative;
  padding-top: 165.744186046511628px;
  padding-top: 151.744186046511628px;
}
.news__list .news__col .news__col-img img {
  object-fit: cover;
  font-family: 'object-fit: cover;';
  width: 100%;
  height: 100%;
  -webkit-transition: all 0.1s linear 0s;
  -moz-transition: all 0.1s linear 0s;
  -ms-transition: all 0.1s linear 0s;
  -o-transition: all 0.1s linear 0s;
  transition: all 0.1s linear 0s;
  position: absolute;
  top: 50%;
  bottom: auto;
  left: auto;
  right: auto;
  margin: auto;
  transform: translateY(-50%);
}
.news__list.related .news__col .news__col-img {
  margin-bottom: 15px;
}
.news .button__wrap {
  display: inline;
  justify-content: flex-end;
  margin: 0;
}
.news .button__wrap a {
  color: #4D5156;
  border-bottom: 1px solid #E5CE52;
}
.front__page .category {
  padding: 30px 20px;
}
.front__page .category h3 {
  margin: 0 0 30px;
}
/* 中島追記 */
.front__page .category details summary {
  padding: 0 0 10px;
  font-weight: bold;
  position: relative;
  margin-top: 40px;
  margin-bottom: 15px;
  cursor: pointer;
  border-bottom: 2px solid #56B5D1;
  list-style: none;
}
.front__page .category details summary::-webkit-details-marker {
  display: none;
}
.front__page .category details summary::after {
  font-family: 'Font Awesome 6 Pro';
  content: '\f078';
  font-size: 20px;
  position: absolute;
  top: calc(50% - 5px);
  transform: translateY(-50%);
  right: 0;
  font-weight: 300;
}
.front__page .category details[open] summary::after {
  content: '\f077';
}

.front__page .category .contents__title {
  display: flex;
  justify-content: space-between;
  align-items: start;
  flex-wrap: wrap;
}
.front__page .category .contents__title h2 {
  margin: 0 30px 30px 0;
}
.front__page .category .contents__title form {
  margin: 0 0 30px 0;
}
.front__page .category .contents__title .search__input {
  display: flex;
}
.front__page .category .contents__title .search__input .input__keyword {
  position: relative;
  margin: 0;
}
.front__page .category .contents__title .search__input .input__keyword input[type="search"] {
  border: 1px solid #D9D9D9;
  border-radius: 2px;
  padding: 11px 45px 11px 15px;
  font-size: 16px;
}
.front__page .category .contents__title .search__input .input__keyword::after {
  font-family: "Font Awesome 6 Pro";
  content: "\f002";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 15px;
  z-index: 1;
}

.front__page .category .contents__title .search__input .input__button {
  margin: 0 0 0 10px;
}


/* 中島修正：flex＋疑似要素による擬似的な列揃えを廃止し、
   正式な12カラムグリッドに置き換える（span-3=4枚/行） */
.front__page .category .category__list {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 15px;
}
.front__page .category .category__list .category__col {
  grid-column: span 12;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 2px;
  margin: 0;
  position: relative;
  min-height: 48px;
}
@media screen and (min-width: 769px) {
  .front__page .category .category__list .category__col {
    grid-column: span 3;
  }
}
.front__page .category .category__list .category__col a:after {
  font-family: "Font Awesome 6 Pro";
  content: "\f061";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  right: 8px;
}
.front__page .category .category__list .category__col a {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  font-size: 14px;
  width: 100%;
  height: 100%;
  color: #4D5156;
  padding: 0 20px 0 10px;
  transition: background .3s;
  border: 1px solid #D9D9D9;
  border-radius: 2px;
}

/* 中島追記：ここから */
.front__page .news__tab {
  width: 100%;
}
.front__page .news__tab__header {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 20px;
  text-align: left;
}
.front__page .news__tab__header li {
  padding: 10px 40px 10px 0px;
  cursor: pointer;
  color: #4D5156;
  font-weight: bolder;
  /* border-bottom: 1px solid #D9D9D9; */
  /* flex: 1; */ /* タブの幅を均一にする */
  position: relative; /* ::afterを使用するために必要 */
}
.front__page .news__tab__header li.active {
  color: #4D5156;
  font-weight: bolder;
}
.front__page .news__tab__header li.active::after {
  content: "";
  width: 40px; /* 下線の長さを指定 */
  height: 4px;
  background: #E5CE52;
  position: absolute;
  bottom: 0; /* 下に配置 */
  left: 0; /* 左側の余白を調整 */
}
.front__page .news__tab__header li:hover {
  /*color: #56B5D1;*/
  opacity: 0.8;
}
.front__page .news__tab__content .news__tab__pane {
  display: none;
}
.front__page .news__tab__content .news__tab__pane.active {
  border-top: 1px solid #D9D9D9;
  margin-top: 30px;
  display: block;
}
/* 中島追記：ここまで */

.front__page .link {
  padding: 30px 0px;
  background: #f8fcfd;
}
/* 中島修正：category__listと同様に正式な12カラムグリッドへ置き換える */
.front__page .link .link__list {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 15px;
}
.front__page .link .link__list .link__col {
  grid-column: span 12;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 2px;
  margin: 0;
  position: relative;
  min-height: 48px;
}
@media screen and (min-width: 769px) {
  .front__page .link .link__list .link__col {
    grid-column: span 3;
  }
}
.front__page .link .link__list .link__col a:after {
  font-family: "Font Awesome 6 Pro";
  content: "\f35d";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  right: 8px;
}
.front__page .link .link__list .link__col a {
  display: flex;
  flex-flow: column;
  justify-content: center;
  font-size: 14px;
  width: 100%;
  height: 100%;
  color: #4D5156;
  padding: 0 20px 0 10px;
  transition: background 0.3s;
  border: 1px solid #D9D9D9;
  border-radius: 2px;
}
.front__page .link .link__list .link__col .title1,
.front__page .link .link__list .link__col .title2 {
  font-size: 1em;
  padding: 2px 0px;
}


/* =lower page
-------------------------------------------------------------- */
.breadcrumbs {
  margin: 0 auto 40px;
  font-size: 14px;
  color: #4D5156;
  font-weight: bold;
}
.breadcrumbs ul li {
  display: inline-block;
}
.breadcrumbs ul li.breadcrumb_top {
  display: none;
}
.breadcrumbs ul li.breadcrumb_top + li {
  display: none;
}
.breadcrumbs a {
  color: #4D5156;
  font-weight: normal;
}
.breadcrumbs .separator {
  font-weight: normal;
}


/* =single
-------------------------------------------------------------- */
.drawer__wrap:not(.front__page) {
  padding-top: 26px;
  padding-bottom: 26px;
}

/* 中島修正：全ページ共通の .contents__inner（1200px）と同一のため、
   このページ専用の上書きルールは不要になり削除した 
.page__content.devices__content .contents__inner {
  max-width: 1024px;
}
*/
.page__content.devices__content .devices__img--wrap {
  text-align: center;
  margin: 80px auto 50px;
}
/**
 * 中島修正：長辺（縦横のうち長い方）が600pxを超えないようにする。
 * width:auto; height:auto; の両方に max-width と max-height を指定し、
 * object-fit:contain と組み合わせることで、ブラウザが「600×600の枠に
 * 収まるよう縦横比を保ったまま縮小する」計算を行う。
 * これにより、画像が横長でも縦長でも、必ず長い方の辺が600px以下になる。
 * また min(600px, 100%) とすることで、画面幅が600pxより狭いスマホ等でも
 * 画面からあふれないようにしている。
 */
.page__content.devices__content .devices__img--wrap img {
  width: auto;
  max-width: min(600px, 100%);
  height: auto;
  max-height: 600px;
  object-fit: contain;
}
/* -------- */
.page__content.devices__content .devices__apeal-point {
  margin: 50px auto 40px;
}
.page__content.devices__content .devices__apeal-point dt {
  text-align: center;
  font-weight: bold;
  margin-bottom: 20px;
}
.page__content.devices__content .devices__apeal-point dd {
  font-size: 14px;
}

.page__content.devices__content .devices__detail {
  margin: 15px auto 60px;
  border-top: 1px solid #D9D9D9;
  display: flex;
  flex-wrap: wrap;
}
.page__content.devices__content .devices__detail > dt {
  border-bottom: 1px solid #D9D9D9;
  width: 17%;
  font-size: 12px;
  font-weight: bold;
  padding: 13px 6px 12px 6px;
}
.page__content.devices__content .devices__detail > dd {
  border-bottom: 1px solid #D9D9D9;
  width: 83%;
  padding: 10px 16px 10px 0;
}
.page__content.devices__content .devices__detail > dd span:after {
  content: ",";
}
.page__content.devices__content .devices__detail > dd span:last-of-type:after {
  content: "";
}
.page__content.devices__content .devices__detail > dt:nth-of-type(odd),
.page__content.devices__content .devices__detail > dd:nth-of-type(odd) {
  background: #f8fcfd;
}
.page__content.devices__content .devices__detail dd dl {
  margin: 0 auto 0;
  display: flex;
  flex-wrap: wrap;
}
.page__content.devices__content .devices__detail dd dl dt {
  width: 15%;
  font-size: 12px;
  font-weight: bold;
  padding: 3px 6px 3px 15px;
  position: relative;
}
.page__content.devices__content .devices__detail dd dl dt:before {
  content: "○";
  font-weight: normal;
  margin-right: 3px;
  position: absolute;
  left: 0;
}
.page__content.devices__content .devices__detail dd dl dd {
  width: 85%;
  font-size: 14px;
  padding: 2px 6px 2px 0;
}
.page__content.devices__content .devices__detail dd dl dt:first-of-type,
.page__content.devices__content .devices__detail dd dl dd:first-of-type {
  margin-top: 5px;
}
.page__content.devices__content .devices__detail dd dl dt:last-of-type,
.page__content.devices__content .devices__detail dd dl dd:last-of-type {
  padding-bottom: 0;
}
.page__content.devices__content .group__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.page__content.devices__content .group__list:after{
  content: "";
  width: 23%;
  height: 0;
}
.page__content.devices__content .group__list:before{
  content: "";
  width: 23%;
  height: 0;
  order: 1;
}
.page__content.devices__content .group__list .group__col {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 23%;
  border-radius: 2px;
  margin: 0 0 15px;
  position: relative;
  min-height: 48px;
}
.page__content.devices__content .group__list .group__col a:after {
  font-family: "Font Awesome 6 Pro";
  content: "\f061";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  right: 8px;
}
.page__content.devices__content .group__list .group__col a {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  font-size: 14px;
  width: 100%;
  height: 100%;
  color: #4D5156;
  padding: 0 20px 0 10px;
  transition: background .3s;
  border: 1px solid #D9D9D9;
  border-radius: 2px;
}

.page__content.information__content .entry__content {
  max-width: 600px;
  margin: auto;
  font-size: 14px;
}
.page__content.information__content .information__img {
  margin: 60px 0 10px;
  text-align: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* 中島変更 */
.page__content.information__content .information__img img {
  width: auto;
  /*max-width: 80vw;*/
  max-width: 1024px;
  height: auto;
  max-height: 1024px;
  object-fit: contain;
}
/* -------- */
.page__content.information__content .information__info {
  text-align: right;
  margin: 0 0 24px;
}
.drawer__wrap:not(.front__page) .page__content.information__content p.information__category {
  background: #56B5D1;
  color: #fff;
  padding: 4px 15px;
  border-radius: 30px 0 0 30px;
  font-size: 12px;
  display: inline-block;
  margin: 10px auto 5px;
  text-align: center;
}
.drawer__wrap:not(.front__page) .page__content.information__content .information__date {
  font-size: 12px;
  margin: 0;
}


.contents__inner hr {
  border-top: 1px solid #D9D9D9;
  width: 100%;
  margin-right: 0;
  margin-left: 0;
}

.related__wrap {
  margin: 0 calc(50% - 50vw);
  width: 100vw;
  width: 100%;
  margin: 0 auto;
}

.related__wrap .related__inner {
  max-width: 1200px;
  width: 100%;
  margin: auto;
}
.related__wrap .related__inner h3 {
  max-width: 1040px;
  margin: 40px auto 30px;
  font-size: 20px;
  font-weight: normal;
}
.related__wrap .related__inner .news__list {
  max-width: 1040px;
  margin: auto;
}
.news__list.related .news__col {
  width: 23%;
}
.news__list.related:after{
  content: "";
  width: 23%;
  height: 0;
}
.news__list.related:before{
  content: "";
  width: 23%;
  height: 0;
  order: 1;
}
.news__list.related .news__col .news__col-ttl {
  margin: 0 0 16px;
}

.page__content .entry__content.contact {
  max-width: 600px;
  margin: auto;
  font-size: 14px;
}
.drawer__wrap:not(.front__page) .contents__inner .entry__content.contact p {
  margin: 0 0 20px;
}
.page__content .entry__content.contact dl {
  max-width: 520px;
  margin: 0 auto 15px;
}
.page__content .entry__content.contact dl dt {
  color: #56B5D1;
  margin: 0 0 8px;
  font-weight: bold;
}
.page__content .entry__content.contact dl dd {
  margin: 0 0 10px;
  font-weight: bold;
}

.page__content .entry__content.page ul li {
  margin: 0 0 10px;
  position: relative;
  padding-left: 20px;
}
.page__content .entry__content.page ul li::before {
  font-family: "Font Awesome 6 Pro";
  font-weight: 900;
  content: "\f111";
  font-size: 14px;
  color: #56B5D1;
  padding-right: 5px;
  position: absolute;
  left: 0;
  top: 0px;
}

.page__content .entry__content.page .button {
  max-width: 264px;
  margin: auto;
  padding: 11px 0;
  display: block;
  height: 48px;
}

.page__content .entry__content.page .button i {
  font-size: 24px;
  padding-left: 15px;
  vertical-align: sub;
}
.page__content .entry__content.page .button.button--blue {
  margin-bottom: 35px;
}
.page__content .entry__content.page .button.button--white {
  background: #fff;
  border: 1px solid #56B5D1;
  color: #56B5D1;
}
.page__content .entry__content.page .button.button--white i {
  font-size: 24px;
  padding-left: 10px;
}

.contact__link {
  text-align: center;
}
.contact__link a {
  color: #4D5156;
  font-size: 38px;
  font-weight: bold;
}


/**
 * 中島修正：詳細検索フォーム（.search__narrow-*）・検索結果件数表示
 * （.search__result）は、category.php/search.php専用のスタイルだった。
 * 両ファイルがSPA検索UIへの移行に伴い削除されたため、スタイル定義も削除した。
 */


/**
 * 中島修正：検索結果一覧（.item__list）・ページネーション（.pager）は、
 * category.php/search.php専用のスタイルだった。
 * 両ファイルがSPA検索UIへの移行に伴い削除されたため、スタイル定義も削除した
 * （functions.phpのcfc_render_pager()関数についても、呼び出し元が
 *  なくなったため別途削除を検討中。末尾の確認事項を参照）。
 */


/*--------------------------------------------------------------
  Hover
--------------------------------------------------------------*/
@media screen and (min-width: 768px)  {
  input[type="button"]:hover,
  input[type="reset"]:hover,
  input[type="submit"]:hover,
  a:hover {
    -khtml-opacity: 0.8;
    -ms-filter: "alpha(opacity=80)";
    filter: alpha(opacity=80);
    -moz-opacity: 0.8;
    opacity: 0.8;
  }

  .news__list .news__col a:hover {
    -khtml-opacity: 1;
    -ms-filter: "alpha(opacity=100)";
    filter: alpha(opacity=100);
    -moz-opacity: 1;
    opacity: 1;
  }
  .news__list .news__col a:hover .news__col-ttl span {
    background-size: 100% 2px;
    width: calc(100% - 160px);
  }
  .front__page .category .category__list .category__col a:hover {
    color: #FFFFFF;
    background: #56B5D1;
    border-color: #56B5D1;
  }
  .front__page .category .category__list .category__col:hover a {
    color: #FFFFFF;
    position: relative;
  }

  .front__page .link .link__list .link__col a:hover {
    color: #FFFFFF;
    background: #56B5D1;
    border-color: #56B5D1;
  }
  .front__page .link .link__list .link__col:hover a {
    color: #FFFFFF;
    position: relative;
  }

  .page__content.devices__content .group__list .group__col a:hover {
    color: #FFFFFF;
    background: #56B5D1;
    border-color: #56B5D1;
  }
  .page__content.devices__content .group__list .group__col:hover a {
    color: #FFFFFF;
    position: relative;
  }
}
/*--------------------------------------------------------------
  Tablet
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  /* =common style
  ------------------------------------------------------ */
  .pc {
    display: none;
  }
  .sp {
    display: block;
  }
  #page {
    min-width: none;
  }

  /* =header
  ------------------------------------------------------ */
  header {
    padding: 0 24px;
    text-align: center;
  }
  header .header__inner {
    display: block;
    position: relative;
    padding: 0 10px;
  }
  header .header__inner h1 {
    font-size: 16px;
  }

  /* 中島追記 */
  header .header__inner ul {
    color: #fff;
    display: inline-block;
    float: right;
  }
  header .header__inner li {
    display: inline-block;
    list-style: none;
    margin-right: 40px;
    padding: 10px 0;
    color: #fff;
    font-weight: bolder;
  }
  header .header__inner li a {
    color: #fff;
  }

  .drawer__wrap {
    padding: 0;
    min-height: 0;
  }
  .contents__inner {
    margin-bottom: 30px;
    padding-left: 24px;
    padding-right: 24px;
  }

  /* =front__page
  ------------------------------------------------------ */
  .front__page .about {
    padding: 30px 0;
  }
  .front__page .news {
    padding: 30px 0;
  }
  .news__list .news__col {
    /*width: 48%;*/
  }
  .front__page .category {
    padding: 30px 24px;
  }
  /**
   * 中島修正：グリッド化（セクション4-4）に伴い、widthによる
   * 列幅調整は不要になった（grid-column: span 3 が769px以上のみ適用され、
   * 768px以下では自動的にspan 12=1列になる仕様のため）。
   * アイコンの見た目調整のみ残す。
   */
  .front__page .category .category__list .category__col a::after {
    font-size: 16px;
    color: #D9D9D9;
  }

  .front__page .link {
    padding: 30px 0px;
  }
  .front__page .link .link__list .link__col a::after {
    font-size: 16px;
    color: #D9D9D9;
  }

  /* =single
  ------------------------------------------------------ */
  .page__content.information__content .information__img {
    margin-bottom: 0;
  }
  .page__content.information__content .information__info {
    margin-bottom: 20px;
  }
  .related__wrap .related__inner {
    padding-left: 24px;
    padding-right: 24px;
  }
  .news__list.related .news__col {
    width: 48%;
    margin-bottom: 40px;
  }
  .page__content.devices__content .devices__img--wrap {
    margin: 30px auto 0;
  }
  /* 中島修正：デスクトップと同様に長辺上限を設けつつ、
     スマホでは縦の占有を抑えるためmax-heightは400pxのまま維持する */
  .page__content.devices__content .devices__img--wrap img {
    width: auto;
    max-width: min(600px, 100%);
    height: auto;
    max-height: 400px;
    object-fit: contain;
  }
  .page__content.devices__content .devices__apeal-point {
    margin-top: 25px;
  }
  .page__content.devices__content .devices__detail {
    display: block;
  }
  .page__content.devices__content .devices__detail dt {
    width: 100%;
    border-bottom: none;
    padding: 10px 8px 4px;
  }
  .page__content.devices__content .devices__detail dd {
    width: 100%;
    padding: 0 10px 10px;
  }
  .page__content.devices__content .devices__detail dd a {
    word-wrap: anywhere;
  }
  .page__content.devices__content .devices__detail dd dl {
    display: block;
    margin-top: 5px;
  }
  .page__content.devices__content .devices__detail dd dl dt {
    width: 100%;
  }
  .page__content.devices__content .devices__detail dd dl dd {
    width: 100%;
    margin-bottom: 5px;
  }
  .page__content.devices__content .devices__detail dd dl dt:first-of-type,
  .page__content.devices__content .devices__detail dd dl dd:first-of-type {
    margin-top: 0;
    padding-top: 0;
  }
  .page__content.devices__content .devices__detail dd dl dd:last-of-type {
    margin-bottom: 0;
  }


  /* =lower page
  ------------------------------------------------------ */
  .contents__inner hr {
    border-top: 1px solid #D9D9D9;
    margin: 0 calc(50% - 50vw);
    width: 100vw;
  }

}


/*--------------------------------------------------------------
  Smartphone
--------------------------------------------------------------*/
@media screen and (max-width: 480px) {
  /* =common style
  ------------------------------------------------------ */
  input[type="text"],
  input[type="email"],
  input[type="password"],
  textarea {
    max-width: 100%;
    width: 100%;
  }

  /* =footer
  ------------------------------------------------------ */
  footer .contents__inner {
    flex-wrap: wrap;
    flex-direction: column-reverse;
  }
  .footer__navigation {
    width: 100%;
  }
  .footer__information {
    width: 100%;
  }
  footer .copyright {
    order: -3;
  }

  /* =page
  ------------------------------------------------------ */
  .news__list.related .news__col {
    width: 100%;
    margin-bottom: 40px;
  }

  /* 中島修正：グリッド化（セクション4-4）により、480px以下でも
     自動的にspan 12（1列）になるため、widthによる個別指定は不要 */
  .news__list .news__col {
    width: 100%;
  }
}

/*--------------------------------------------------------------
  中島追記
--------------------------------------------------------------*/
@media screen and (max-width: 480px) {
  .front__page .category .contents__title form {
    width: 100%;
  }
  .front__page .category .contents__title .search__input {
    display: inline-block;
    width: 100%;
  }
  .front__page .category .contents__title .search__input input {
    width: 100%;
  }
  .front__page .category .contents__title .search__input .input__button {
    margin: 0 0 10px 0;
  }
  .front__page .category .contents__title .search__input .input__button input {
    width: 100%;
    max-width: none;
  }
  
}

/*--------------------------------------------------------------
  Smartphone S
--------------------------------------------------------------*/
@media screen and (max-width: 320px) {
  header {
    padding: 0 20px;
  }
}

/* よくある質問対応 */
#page .eckb-kb-template #epkb-content-container,
#page .eckb-kb-template #eckb-article-body {
  margin: 0 auto 0;
  max-width: 1024px !important;
  width: 100%;
}
#page .eckb-kb-template #eckb-article-left-sidebar:empty + #eckb-article-content #eckb-article-content-header-row-5,
#page .eckb-kb-template #eckb-article-left-sidebar:empty + #eckb-article-content #eckb-article-content-body,
#page .eckb-kb-template #eckb-article-left-sidebar:empty + #eckb-article-content #eckb-article-content-body + #eckb-article-content-footer {
  width: 100%;
  max-width: 600px;
  margin: auto !important;
}

#page .eckb-kb-template #eckb-article-left-sidebar+ #eckb-article-content #eckb-article-content-header-row-5 {
  margin-bottom: 20px !important;
}
#page .eckb-kb-template #epkb-main-page-container.epkb-basic-template .epkb-doc-search-container .epkb-search .epkb-search-box .epkb-search-box_button-wrap button,
#page .eckb-kb-template #eckb-article-page-container-v2 .epkb-doc-search-container .epkb-search .epkb-search-box .epkb-search-box_button-wrap button {
  text-shadow: none;
  font-size: 14px;
  padding: 0 !important;
  min-width: 65px;
  border-radius: 0 2px 2px 0;
}
#eckb-article-page-container-v2 #eckb-article-body #eckb-article-content #eckb-article-content-header-v2 #eckb-article-content-title-container .eckb-article-title {
  padding-bottom: 4px !important;
  margin: 0 auto 30px !important;
  position: relative;
}
#eckb-article-page-container-v2 #eckb-article-body #eckb-article-content #eckb-article-content-header-v2 #eckb-article-content-title-container .eckb-article-title::after {
  content: "";
  width: 40px;
  height: 4px;
  background: #E5CE52;
  position: absolute;
  top: 100%;
  left: 0;
}
#page .eckb-kb-template #epkb-main-page-container.epkb-basic-template .epkb-doc-search-container .epkb-search .epkb-search-box input[type="text"],
#page .eckb-kb-template #eckb-article-page-container-v2 .epkb-doc-search-container .epkb-search .epkb-search-box input[type="text"] {
  padding-left: 15px !important;
  border-radius: 2px 0 0 2px !important;
}
#page .eckb-kb-template #eckb-article-page-container-v2 .epkb-doc-search-container #epkb_search_results .epkb-search-results-message,
#page .eckb-kb-template .epkb-basic-template .epkb-doc-search-container #epkb_search_results .epkb-search-results-message {
  font-size: 16px;
}
#page .eckb-kb-template #eckb-article-page-container-v2 .epkb-doc-search-container #epkb_search_results ul li a .epkb_search_results__article-title .epkb_search_results__article-title__text,
#page .eckb-kb-template .epkb-basic-template .epkb-doc-search-container #epkb_search_results .epkb_search_results__article-title {
  font-size: 14px;
  line-height: 1.3em !important;
}
.eckb-kb-template .eckb-articles-ordering li {
  line-height: 1.3em;
}
#page .eckb-kb-template #epkb-main-page-container.epkb-basic-template .epkb-articles-coming-soon {
  font-style: normal;
}
#page .eckb-kb-template #epkb-sidebar-container-v2 .epkb-sidebar__cat__top-cat:last-child .epkb-sidebar__cat__top-cat__heading-container {
  border-radius: 0;
}
/* パンくず非表示 */
.eckb-kb-template .eckb-breadcrumb-nav li {
  display: none !important;
}
.eckb-kb-template .eckb-breadcrumb-nav li:first-child,
.eckb-kb-template .eckb-breadcrumb-nav li:last-child {
  display: inline !important;
}
.eckb-kb-template .eckb-tag-container {
  font-size: 14px;
  margin-bottom: 30px;
}
.eckb-kb-template #eckb-article-content-breadcrumb-container {
  padding-left: 0 !important;
  width: 100%;
  margin: 0;
}
#eckb-article-page-container-v2 #eckb-article-body #eckb-article-content #eckb-article-content-header-v2 .eckb-navigation-back .eckb-navigation-button {
  margin-bottom: 20px;
}
#page .eckb-kb-template .eckb-breadcrumb {
  padding-left: 0 !important;
  margin-bottom: 40px !important;
}
#page .eckb-kb-template #eckb-article-page-container-v2 #eckb-article-body #eckb-article-content #eckb-article-content-header-v2 .eckb-article-content-header-row-left-group {
  margin-right: 0 !important;
}
.eckb-kb-template #eckb-article-content-breadcrumb-container .eckb-breadcrumb-nav {
  line-height: 1.4 !important;
}
#page .eckb-kb-template #eckb-article-page-container-v2 #eckb-article-body #eckb-article-content #eckb-article-content-header-v2 #eckb-article-content-breadcrumb-container .eckb-breadcrumb-nav li {
  padding-right: 2px;
}
#page .eckb-kb-template #eckb-article-page-container-v2 #eckb-article-body #eckb-article-content #eckb-article-content-header-v2 #eckb-article-content-breadcrumb-container .eckb-breadcrumb-nav li .eckb-breadcrumb-link-icon.ep_font_icon_none {
  display: none;
}
.eckb-kb-template .eckb-breadcrumb-nav li a span {
  color: #4D5156 !important;
}
.eckb-kb-template .eckb-breadcrumb-nav li:after {
  content: "/";
}
.eckb-kb-template .eckb-breadcrumb-nav li:last-of-type {
  font-weight: bold !important;
}
.eckb-kb-template .eckb-breadcrumb-nav li:last-of-type:after {
  content: none;
}
.eckb-kb-template .eckb-breadcrumb-nav li:not(:first-child),
.eckb-kb-template .eckb-breadcrumb-nav li:not(:first-child) a,
.eckb-kb-template .eckb-breadcrumb-nav li:not(:first-child) a span,
.eckb-kb-template .eckb-breadcrumb-nav li:not(:first-child) span {
  color: #4D5156 !important;
  cursor: default;
  pointer-events: none;
}
.eckb-kb-template .eckb-tag-list a {
  color: #4D5156 !important;
  cursor: default;
  pointer-events: none;
}
.eckb-kb-template .epkb-show-all-articles .epkb-show-text,
.eckb-kb-template .epkb-show-all-articles .epkb-hide-text {
  color: #56B5D1;
}
.eckb-kb-template #eckb-article-content-header-row-5 .eckb-article-content-header-row-left-group {
  margin-left: auto;
  margin-right: 0 !important;
}
.eckb-kb-template #eckb-article-content-body {
  margin-top: 10px;
}
.eckb-kb-template #eckb-article-content-footer .epkb-article-navigation-container {
  margin-top: 50px;
}
.eckb-kb-template #eckb-article-content-footer .epkb-article-navigation__previous {
  margin-top: 20px;
}
.eckb-kb-template #eckb-article-content-footer .epkb-article-navigation__next {
  margin-top: 20px;
}
.eckb-kb-template #eckb-article-content-body h2 {
  margin: 0 0 25px;
  padding: 0;
  font-size: 18px;
}
.eckb-kb-template h2:after {
  content: none;
}
.eckb-kb-template #eckb-article-content-body h3 {
  margin: 10px 0 20px;
  padding: 0;
  font-size: 17px;
}
.eckb-kb-template #eckb-article-content-body h4 {
  margin: 10px 0 20px;
  padding: 0;
  font-size: 16px;
}
.eckb-kb-template #eckb-article-content-body h5 {
  margin: 10px 0 20px;
  padding: 0;
  font-size: 15px;
}
.eckb-kb-template #eckb-article-content-body h6 {
  margin: 10px 0 20px;
  padding: 0;
  font-size: 14px;
}
.eckb-kb-template #eckb-article-content-body {
  font-size: 14px;
}
.eckb-kb-template #eckb-article-content-body p {
  margin: 0 0 35px;
}
.eckb-kb-template #eckb-article-content-body ul {
  padding-left: 20px;
  margin: 0 0 35px;
}
.eckb-kb-template #eckb-article-content-body ul li {
  list-style: circle;
}
.eckb-kb-template #eckb-article-content-body ol {
  padding-left: 20px;
  margin: 0 0 35px;
}
.eckb-kb-template #eckb-article-content-body ol li {
  list-style: decimal;
}
#eckb-article-page-container-v2 #eckb-article-body #eckb-article-content #eckb-article-content-body {
  margin-bottom: 50px !important;
}

/*--------------------------------------------------------------
  PC small
--------------------------------------------------------------*/
@media screen and (max-width: 900px) and (min-width: 769px) {
  #epkb-main-page-container.epkb-basic-template .epkb-doc-search-container .epkb-search {
    width: 80% !important;
  }
}
/*--------------------------------------------------------------
  Tablet
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  #page .eckb-kb-template #epkb-main-page-container.epkb-basic-template .epkb-doc-search-container .epkb-search .epkb-search-box .epkb-search-box_button-wrap button,
  #page .eckb-kb-template #eckb-article-page-container-v2 .epkb-doc-search-container .epkb-search .epkb-search-box .epkb-search-box_button-wrap button {
    font-size: 20px;
  }
  #page .eckb-kb-template .epkb-basic-template .epkb-doc-search-container {
    margin-bottom: 20px !important;
  }
  #eckb-article-page-container-v2 #eckb-article-body #eckb-article-content #eckb-article-content-body {
    margin-bottom: 30px !important;
  }
  .eckb-kb-template .eckb-tag-container {
    margin-bottom: 20px;
  }
}
/* / よくある質問対応 */


/* 桑野追記 GTranslateの表示バーを消す */
div.skiptranslate {
	display: none;
}

/**
 * 中島修正：サイドバー（.nav__category-wrap）・開閉トリガー（.menu-trigger）は、
 * header.php・style.css本体から完全に削除したため、display:none による
 * 非表示上書きルール自体も不要になり削除した（今回対応の課題を解消）。
 */

/* 中島追記：トップページの背景帯（白／薄青を交互に配置するための共通の仕組み） */
.fp-band {
  /* 中島修正：上下非対称だったpaddingを対称にする */
  padding: 45px 0;
}
.fp-band .contents__inner {
  /* 中島追記：.contents__inner標準の margin-bottom:60px が、
     帯のpaddingと二重に効いて下側だけ余白が増減していたため、
     帯の中では無効化し、帯のpaddingのみで上下対称の余白を作る */
  margin-bottom: 0;
}
.fp-band--white {
  background: #ffffff;
}
.fp-band--blue {
  background: #f8fcfd;
}
.fp-band > * {
  /* 帯の中に入る要素（.topnews, .category, .link 等）が個別に持つ
     背景色指定を打ち消し、必ず帯側の色が優先されるようにする */
  background: transparent !important;
  /**
   * 中島追記：各セクション側が個別に持っていた上下padding
   * （.news { padding-top:30px }、.category { padding:30px 20px }、
   *   .link { padding:30px 0 } 等）が、帯自身のpadding(45px)に
   *   加算されてセクションごとに余白がバラバラになっていた問題を解消する。
   * 以後、上下の余白は帯側のpaddingのみで統一する（左右は個別のままでよい）。
   */
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/**
 * 中島追記：新着情報セクション（news-topnews.php）を「新着情報のみ」に
 * 簡略化した結果、既存の .front__page .news .contents__inner（display:flex）
 * が、タイトル(h2)・一覧(ul)・一覧ボタン(div)を横並びのカラムとして扱ってしまい、
 * h2が極端に狭い列に押し込まれて縦書き状態になる不具合が発生した。
 * 本セクション専用に display:block で上書きする
 * （".news.topnews" という2クラスの組み合わせにすることで、
 *   元のルールよりセレクタの詳細度を上げ、上書きを確実にしている）。
 */
.front__page .news.topnews .contents__inner {
  display: block;
}

/**
 * 中島追記：WordPressの管理バー（ログイン時にのみ表示される黒い帯）により、
 * 本文全体が32px下に押し下げられる一方、position:fixedのヘッダーは
 * その影響を受けないため、常に32pxのズレが発生していた。
 * 管理バー表示時（<body>にadmin-barクラスが付く）のみ、ヘッダー自体の
 * 開始位置を32px下げることで解消する（ログアウト時・本番一般公開時は
 * 影響を受けない）。
 */
body.admin-bar #header {
  top: 32px;
}
@media screen and (max-width: 782px) {
  /* WordPress標準仕様：モバイル幅では管理バーの高さが46pxになる */
  body.admin-bar #header {
    top: 46px;
  }
}

/* 中島追記：新着情報セクションの見出し行（タイトル＋一覧ボタンを横並びに） */
.front__page .news.topnews .news__heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}
.front__page .news.topnews .news__heading h2 {
  margin: 0;
}
.front__page .news.topnews .news__heading-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #56B5D1;
  color: #56B5D1;
  font-size: 13px;
  font-weight: bold;
  padding: 8px 18px;
  border-radius: 30px;
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.front__page .news.topnews .news__heading-link:hover {
  background: #56B5D1;
  color: #fff;
}

@media screen and (max-width: 480px) {
  .front__page .news.topnews .news__heading {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* 中島追記：設備詳細ページの再デザイン（バッジ＋グループ表示） */
.page__content.devices__content .devices__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px auto 10px;
  max-width: 600px;
}
.page__content.devices__content .devices__badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: bold;
  padding: 5px 14px;
  border-radius: 30px;
  background: #f0f0f0;
  color: #4D5156;
}
.page__content.devices__content .devices__badge--id {
  background: #4D5156;
  color: #fff;
}
.page__content.devices__content .devices__badge--category {
  background: #56B5D1;
  color: #fff;
}
.page__content.devices__content .devices__badge--category-sub {
  background: #e4f4f8;
  color: #2d8aa6;
}
.page__content.devices__content .devices__badge--location {
  background: #fff6df;
  color: #a67c00;
}

.page__content.devices__content .devices__group {
  max-width: 600px;
  margin: 0 auto 30px;
}
.page__content.devices__content .devices__group h3 {
  font-size: 15px;
  font-weight: bold;
  border-left: 4px solid #56B5D1;
  padding-left: 10px;
  margin-bottom: 12px;
}
.page__content.devices__content .devices__group .devices__detail {
  margin: 0;
}
.page__content.devices__content .devices__group .devices__detail dt small {
  display: block;
  font-weight: normal;
  font-size: 10px;
  color: #999999;
  margin-top: 4px;
}
.page__content.devices__content .devices__group iframe {
  max-width: 100%;
}
.page__content.devices__content .devices__detail dd .button--small {
  display: inline-flex;
  padding: 8px 20px;
  max-width: none;
  font-size: 13px;
}

/* ------------------------------------------------------------
   中島追記：設備詳細ページの再デザイン（12カラムグリッド・バッジ・注意ボックス）
------------------------------------------------------------ */

/**
 * 中島修正：以前は幅600pxに制限していたが、12カラムグリッドを
 * 有効に活用するため、本文エリアの全幅（最大1200px）まで使うようにする。
 */

/* 設備名称（英語） */
.page__content.devices__content .devices__name-en {
  margin: -10px 0 15px;
  font-size: 13px;
  color: #999999;
  text-align: center;
}

/* 留意事項・お知らせの強調ボックス */
.page__content.devices__content .devices__alert {
  margin: 0 0 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.6;
}
.page__content.devices__content .devices__alert i {
  margin-top: 2px;
  flex: 0 0 auto;
}
.page__content.devices__content .devices__alert--info {
  background: #eaf6fb;
  color: #2d7aa0;
  border: 1px solid #bfe3f0;
}
.page__content.devices__content .devices__alert--warning {
  background: #fff8e6;
  color: #a67c00;
  border: 1px solid #f3dd9c;
}

/* バッジ */
.page__content.devices__content .devices__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 20px 0 10px;
}
.page__content.devices__content .devices__badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: bold;
  padding: 5px 14px;
  border-radius: 30px;
  background: #f0f0f0;
  color: #4D5156;
}
.page__content.devices__content .devices__badge--id {
  background: #4D5156;
  color: #fff;
}
.page__content.devices__content .devices__badge--status {
  background: #57DF80;
  color: #fff;
}
.page__content.devices__content .devices__badge--category {
  background: #56B5D1;
  color: #fff;
}
.page__content.devices__content .devices__badge--category-sub {
  background: #e4f4f8;
  color: #2d8aa6;
}
.page__content.devices__content .devices__badge--location {
  background: #fff6df;
  color: #a67c00;
}

/* グループ見出し */
.page__content.devices__content .devices__group {
  margin: 0 0 30px;
}
.page__content.devices__content .devices__group h3 {
  font-size: 15px;
  font-weight: bold;
  border-left: 4px solid #56B5D1;
  padding-left: 10px;
  margin-bottom: 12px;
}
.page__content.devices__content .devices__group iframe {
  max-width: 100%;
}

/* 12カラムグリッド（デフォルトは各セル全幅＝縦積み。768px以上でspan指定が有効になる） */
.page__content.devices__content .devices__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px 20px;
  margin: 0;
}
.page__content.devices__content .devices__cell {
  grid-column: span 12;
}
@media screen and (min-width: 769px) {
  .page__content.devices__content .devices__cell.span-3  { grid-column: span 3; }
  .page__content.devices__content .devices__cell.span-4  { grid-column: span 4; }
  .page__content.devices__content .devices__cell.span-6  { grid-column: span 6; }
  .page__content.devices__content .devices__cell.span-12 { grid-column: span 12; }
}
.page__content.devices__content .devices__cell dt {
  font-size: 12px;
  font-weight: bold;
  color: #56B5D1;
  margin-bottom: 4px;
}
.page__content.devices__content .devices__cell dt small {
  display: block;
  font-weight: normal;
  font-size: 10px;
  color: #999999;
  margin-top: 2px;
}
.page__content.devices__content .devices__cell dd {
  font-size: 14px;
  margin: 0;
}
.page__content.devices__content .devices__cell dd .button--small {
  display: inline-flex;
  padding: 8px 20px;
  max-width: none;
  font-size: 13px;
}
.page__content.devices__content .devices__map-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  margin-left: 6px;
  color: #56B5D1;
  white-space: nowrap;
}

/* 情報更新日 */
.page__content.devices__content .devices__update-date {
  margin: 0 0 10px;
  font-size: 11px;
  color: #BBBBBB;
  text-align: right;
}

/* ------------------------------------------------------------
   中島追記：全ページ共通の12カラムグリッドシステム
   （サイドバー廃止により画面幅を有効活用するため導入。
   タブレット以下では自動的に全幅・縦積みに切り替わる）
------------------------------------------------------------ */
.cfc-grid12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}
.cfc-grid12 > * {
  grid-column: span 12;
}
@media screen and (min-width: 769px) {
  .cfc-grid12 > .col-2  { grid-column: span 2; }
  .cfc-grid12 > .col-3  { grid-column: span 3; }
  .cfc-grid12 > .col-4  { grid-column: span 4; }
  .cfc-grid12 > .col-6  { grid-column: span 6; }
  .cfc-grid12 > .col-12 { grid-column: span 12; }
}

/* ------------------------------------------------------------
   中島追記：設備詳細ページの幅に関する「最終上書き」ルール。
   過去の編集でファイル内に古い max-width:600px 等の指定が
   残ってしまっている可能性があるため、ファイル末尾（カスケードで
   最も優先される位置）に確実に上書きするルールを置く。
------------------------------------------------------------ */
.page__content.devices__content .devices__name-en,
.page__content.devices__content .devices__alert,
.page__content.devices__content .devices__badges,
.page__content.devices__content .devices__group,
.page__content.devices__content .devices__heading {
  max-width: none !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box;
}
.page__content.devices__content .devices__grid {
  width: 100% !important;
}

/* 中島追記：設備詳細ページのタイトル行（左にタイトル、右に情報更新日） */
.page__content.devices__content .devices__heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
}
/**
 * 中島修正：flexコンテナ内で margin:auto を指定すると、
 * 余った横幅をこの要素の左右マージンが吸収してしまい、
 * 結果的に見出しが中央寄りに表示される不具合があった。
 * auto を使わず明示的に 0 を指定し、確実に左詰めにする。
 */
.page__content.devices__content .devices__heading h2 {
  margin: 0 0 30px;
}
.page__content.devices__content .devices__update-date-top {
  font-size: 11px;
  color: #BBBBBB;
  white-space: nowrap;
  margin: 0 0 30px;
}

@media screen and (max-width: 480px) {
  .page__content.devices__content .devices__heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
}

/* ------------------------------------------------------------
   中島追記：設備詳細ページの各グループを「スペックテーブル」形式に統一。
   項目数（3つ・4つ等）が変わってもグループ間で常に列幅が揃う
   （Apple仕様ページ・Amazon商品仕様表等で使われる、label:value行の
     積み重ね方式。詳細スペック表示における現在の標準的なパターン）。
------------------------------------------------------------ */
.page__content.devices__content .devices__spec-list {
  margin: 0;
  border-top: 1px solid #D9D9D9;
}
.page__content.devices__content .devices__spec-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0 24px;
  padding: 14px 0;
  border-bottom: 1px solid #D9D9D9;
  align-items: start;
}
.page__content.devices__content .devices__spec-row dt {
  font-size: 13px;
  font-weight: bold;
  color: #56B5D1;
  margin: 0;
}
.page__content.devices__content .devices__spec-row dt small {
  display: block;
  font-weight: normal;
  font-size: 10px;
  color: #999999;
  margin-top: 4px;
}
.page__content.devices__content .devices__spec-row dd {
  font-size: 14px;
  margin: 0;
}
.page__content.devices__content .devices__spec-row dd .button--small {
  display: inline-flex;
  padding: 8px 20px;
  max-width: none;
  font-size: 13px;
}

@media screen and (max-width: 768px) {
  .page__content.devices__content .devices__spec-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 12px 0;
  }
}

/**
 * 中島追記：白背景のテキストリンクに付ける外部リンクアイコン。
 * 既存の .external__link は色付きボタン前提（アイコンが白文字）のため、
 * 白背景に使うと見えなくなってしまう。本クラスは地の文字色に揃えた
 * アイコンを表示する、インライン用の軽量版。
 */
.inline-external-link {
  color: #56B5D1;
  word-break: break-all;
}
.inline-external-link::after {
  font-family: "Font Awesome 6 Pro";
  content: "\f35d";
  padding-left: 6px;
  color: #56B5D1;
}

/* 中島追記：外部サイトへのリンクであることを示すアイコン */
.header__link--external {
  gap: 6px;
}
.header__link--external::after {
  font-family: "Font Awesome 6 Pro";
  content: "\f35d";
  font-size: 12px;
}

/* 中島追記：設備詳細ページの単体建物ミニ地図 */
.page__content.devices__content .devices__map-embed {
  height: 300px;
  width: 100%;
  max-width: 500px;
  border: 1px solid #D9D9D9;
  border-radius: 4px;
}