/* 技術情報ページ専用CSS
   Ctrl+Fで「01 メイン画像」「04 記事一覧」等を検索。
   ヘッダー・フッターと本文の字体はcommon.cssを再利用。 */

/* #region 00 共通・本文幅・字体 */
.ti-page { color: #102235; background: #fff; }
.ti-container { width: min(1500px, calc(100% - 80px)); margin: 0 auto; }
.ti-page button,.ti-page input { font: inherit; }
.ti-page button { cursor: pointer; }
.ti-page :focus-visible { outline: 3px solid #00abbc; outline-offset: 4px; }
.ti-skip { position: absolute; top: -100px; left: 20px; z-index: 200; background: #fff; padding: 12px; }
.ti-skip:focus { top: 10px; }
.ti-visually-hidden { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
.ti-heading { border-left: 3px solid #009bc4; padding-left: 18px; margin-bottom: 22px; }
.ti-heading h2 { font: 500 clamp(22px, 2.1vw, 32px)/1.5 "Yu Mincho", "YuMincho", serif; }
.ti-heading > p { color: #829abc; font: 600 10px/1.8 Georgia, serif; letter-spacing: .13em; }
.ti-inline { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 18px; }
/* #endregion */

/* #region 01 メイン画像・タイトル・上下の高さ */
.ti-hero { color: #fff; background: linear-gradient(90deg,#001a2ee8,#001a2e66 55%,transparent),url("../images/Technical information/青い光に輝く回路基板のクローズアップ.png.webp") center / cover no-repeat; }
.ti-hero-inner { min-height: 350px; position: relative; padding: 27px 0 40px; }
.ti-breadcrumb { display: flex; flex-wrap: wrap; gap: 12px; font-size: 11px; letter-spacing: .08em; margin-bottom: 22px; }
.ti-hero h1 { font: 500 clamp(42px,5vw,72px)/1.35 "Yu Mincho","YuMincho",serif; letter-spacing: .07em; }
.ti-english { font: 14px/1.8 Georgia,serif; letter-spacing: .2em; margin: 5px 0 25px; }
.ti-hero-copy { font-size: 16px; line-height: 1.9; letter-spacing: .04em; }
.ti-side { position: absolute; right: 0; bottom: 30px; font: 600 12px/1.6 Georgia,serif; letter-spacing: .15em; }
/* #endregion */

/* #region 02 こんな方におすすめ・書籍背景 */
.ti-audience { background: linear-gradient(90deg,#f5f9fdef 0%,#f5f9fdf5 65%,#f5f9fd00),url("../images/Technical information/青い専門書と観葉植物のミニマルなデスク.png.webp") right center / auto 100% no-repeat; }
.ti-audience-inner { display: grid; grid-template-columns: 290px 1fr; gap: 24px; align-items: center; padding: 42px 0; }
.ti-audience .ti-heading { margin: 0; }
.ti-audience ul { list-style: none; display: grid; grid-auto-flow: column; grid-template-rows: repeat(3,auto); gap: 14px 24px; font-size: 13px; font-weight: 600; }
.ti-audience li { position: relative; padding-left: 31px; }
.ti-audience li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; background: #00538d; color: #00ded1; border-radius: 50%; text-align: center; }
/* #endregion */

/* #region 03 カテゴリから探す・5列カード */
.ti-categories { padding: 38px 0 45px; }
.ti-category-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 20px; }
.ti-category { border: 1px solid #e4edf5; padding: 0; background: #fff; color: inherit; text-align: left; box-shadow: 0 3px 10px #163a5310; transition: transform .2s; }
.ti-category:hover { transform: translateY(-3px); }
.ti-category[aria-pressed="true"] { outline: 2px solid #009bc4; }
.ti-category > img { display: block; width: 100%; aspect-ratio: 1.65; object-fit: cover; }
.ti-category-body { display: flex; align-items: start; gap: 10px; padding: 20px 13px; }
.ti-category-num { font: 20px/1.4 Georgia,serif; color: #00538d; }
.ti-category strong { display: block; font-size: 15px; line-height: 1.5; }
.ti-category small { display: block; font-size: 12px; line-height: 1.8; margin-top: 9px; }
/* #endregion */

/* #region 04 記事一覧・検索・ランキング */
.ti-columns { display: grid; grid-template-columns: minmax(0,2.25fr) minmax(280px,1fr); gap: 42px; padding-bottom: 45px; }
.ti-reset { margin-left: auto; border: 0; background: none; color: #163a53; font-size: 12px !important; }
.ti-preview-note { font-size: 12px; color: #65788c; line-height: 1.7; margin-bottom: 10px; }
.ti-results { font-size: 12px; color: #006b96; margin: 5px 0; }
.ti-post { display: grid; grid-template-columns: 190px minmax(0,1fr); gap: 24px; padding: 20px 0; border-bottom: 1px solid #e4edf5; }
.ti-post > img { width: 100%; aspect-ratio: 1.6; object-fit: cover; }
.ti-post-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin-bottom: 8px; font-size: 11px; color: #6d8297; }
.ti-tag { background: #def0ff; color: #00619a; padding: 2px 8px; border-radius: 3px; font-weight: 600; }
.ti-post h3 { font: 600 20px/1.6 "Yu Mincho","YuMincho",serif; margin-bottom: 5px; }
.ti-post p { font-size: 13px; line-height: 1.8; }
.ti-post details { font-size: 12px; margin-top: 10px; color: #456278; }
.ti-post summary { cursor: pointer; }
.ti-post details p { margin-top: 8px; padding: 12px; background: #f2f7fb; }
.ti-post[hidden],.ti-empty[hidden] { display: none; }
.ti-empty { padding: 30px 0; font-size: 14px; }
.ti-sidebar > section { margin-top: 30px; }
.ti-sidebar .ti-heading { padding-left: 12px; margin-bottom: 16px; }
.ti-sidebar .ti-heading h2 { font-size: 21px; }
.ti-search { display: flex; border: 1px solid #c4d4e5; }
.ti-search input { width: 100%; min-width: 0; padding: 14px; border: 0; background: #fff; font-size: 14px; }
.ti-search > button { border: 0; background: #001b2e; color: #fff; font-size: 27px; width: 52px; flex-shrink: 0; }
.ti-ranking { list-style: none; }
.ti-ranking li { border-bottom: 1px solid #e4edf5; }
.ti-ranking button { display: grid; grid-template-columns: 26px 68px minmax(0,1fr) 12px; gap: 10px; align-items: center; width: 100%; border: 0; background: #fff; padding: 12px 0; color: inherit; text-align: left; font-size: 12px; font-weight: 600; line-height: 1.65; }
.ti-ranking img { width: 68px; height: 52px; object-fit: cover; }
.ti-rank { background: #247fae; color: #fff; border-radius: 50%; width: 24px; height: 24px; text-align: center; line-height: 24px; }
.ti-ranking li:first-child .ti-rank { background: #001b2e; box-shadow: 0 0 0 2px #c4a959; }
.ti-keywords { display: flex; flex-wrap: wrap; gap: 10px; }
.ti-keywords button { background: #f8fbfe; border: 1px solid #cbdcec; border-radius: 4px; color: #24445f; padding: 6px 11px; font-size: 12px; }
/* #endregion */

/* #region 05 おすすめコンテンツ */
.ti-recommended { padding-bottom: 38px; }
.ti-recommended-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.ti-recommended-grid > * { position: relative; display: block; min-height: 200px; padding: 0; overflow: hidden; border: 0; background: #00243d; text-align: left; color: #fff; }
.ti-recommended-grid img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.ti-recommended-grid > * > span { display: block; position: relative; padding: 70px 24px 24px; background: linear-gradient(transparent,#001b2ed9); }
.ti-recommended strong { display: block; font: 500 23px/1.6 "Yu Mincho","YuMincho",serif; }
.ti-recommended small { display: block; font-size: 13px; line-height: 1.8; margin-top: 8px; }
.ti-recommended b { display: block; text-align: right; font-weight: 400; }
/* #endregion */

/* #region 06 CONTACT・相談バナー */
.ti-contact { background: linear-gradient(90deg,#001b2eb3,#001b2e44),url("../images/about/philosophy.png.webp") center / cover no-repeat; color: #fff; }
.ti-contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 240px; padding: 45px 0; }
.ti-contact h2 { font: 500 clamp(25px,2.7vw,38px)/1.6 "Yu Mincho","YuMincho",serif; margin-bottom: 10px; }
.ti-contact p { font-size: 14px; line-height: 1.8; }
.ti-contact a { flex-shrink: 0; background: #fff; color: #102235; border: 1px solid #d1deea; padding: 18px 27px; font-size: 14px; font-weight: 600; }
.ti-contact a span { margin-left: 20px; }
/* #endregion */

/* #region 07 タブレット・スマートフォン */
@media(max-width:1100px) {
    .ti-audience-inner { grid-template-columns: 1fr; }
    .ti-category-grid { gap: 12px; }
    .ti-category-body { display: block; }
    .ti-columns { gap: 25px; grid-template-columns: minmax(0,1.8fr) minmax(260px,1fr); }
    .ti-post { grid-template-columns: 135px minmax(0,1fr); gap: 16px; }
    .ti-post h3 { font-size: 18px; }
    .ti-contact-inner { flex-wrap: wrap; }
}
@media(max-width:767px) {
    .ti-container { width: calc(100% - 40px); }
    .ti-pc,.ti-side { display: none; }
    .ti-hero-inner { min-height: 350px; padding: 24px 0 35px; }
    .ti-hero { background-position: 60% center; }
    .ti-hero-copy { font-size: 14px; }
    .ti-audience-inner { padding: 30px 0; }
    .ti-audience ul { display: grid; grid-auto-flow: row; grid-template-rows: none; grid-template-columns: 1fr; }
    .ti-category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .ti-category strong { font-size: 14px; }
    .ti-category-body { padding: 15px 12px; }
    .ti-columns { grid-template-columns: 1fr; }
    .ti-post { grid-template-columns: 95px minmax(0,1fr); gap: 12px; }
    .ti-post h3 { font-size: 17px; }
    .ti-post p { font-size: 12px; }
    .ti-heading { padding-left: 12px; }
    .ti-sidebar { border-top: 1px solid #d7e4ef; padding-top: 24px; }
    .ti-recommended-grid { grid-template-columns: 1fr; }
    .ti-recommended-grid > * { min-height: 170px; }
    .ti-recommended-grid > * > span { padding-top: 40px; }
    .ti-contact-inner { padding: 35px 0; }
    .ti-contact a { width: 100%; text-align: center; }
}
@media(prefers-reduced-motion:reduce) { .ti-category { transition: none; } }
/* #endregion */

/* WordPress記事リンク：既存の配色とカード寸法を継承 */
.ti-read-more { display: inline-block; margin-top: 10px; color: #00619a; font-size: 12px; }
.ti-post h3 a:hover { text-decoration: underline; }
[data-retry][hidden] { display: none; }

/* 技術情報本体だけ：技術・サービスのメイン画像560px／共通CONTACTの実表示（約460px）に統一 */
.ti-information-page .ti-hero-inner { min-height:560px; padding:35px 0 55px; }
.ti-information-page .ti-breadcrumb { margin-bottom:60px; }
.ti-information-page .ti-contact { min-height:460px; padding:65px 0; display:flex; align-items:center; background-image:linear-gradient(90deg,rgba(0,17,34,.72),rgba(0,25,46,.30) 55%,rgba(0,17,34,.18)),url("../images/about/philosophy.png.webp"); }
.ti-information-page .ti-contact-inner { min-height:270px; max-width:1440px; padding:0; gap:50px; }
.ti-information-page .ti-contact-inner>div { flex:1; max-width:780px; }
.ti-information-page .ti-contact h2 { font-size:clamp(26px,2.6vw,38px); line-height:1.55; margin-bottom:22px; }
.ti-information-page .ti-contact p { font-size:15px; line-height:1.9; }
@media(max-width:767px) {
 .ti-information-page .ti-hero-inner { padding:25px 0 45px; }
 .ti-information-page .ti-contact { min-height:0; padding:65px 0; background-position:62% center; }
 .ti-information-page .ti-contact-inner { min-height:0; flex-direction:column; align-items:stretch; gap:28px; }
 .ti-information-page .ti-contact h2 { font-size:27px; }
 .ti-information-page .ti-contact p { font-size:14px; }
}

