:root { color-scheme: light; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #333; background: #f3f3f3; }
* { box-sizing: border-box; }
body { margin: 0; background: #f3f3f3; }
.site-header { position: sticky; top: 0; z-index: 2; border-bottom: 1px solid #e2e2e2; background: #fff; }
.header-inner, .breadcrumb, .page-grid { width: min(100% - 32px, 980px); margin: 0 auto; }
.header-inner { display: flex; align-items: center; gap: 22px; min-height: 58px; }
.header-inner h1 { margin: 0; color: #df2027; font: italic 800 26px Georgia, serif; letter-spacing: -1.5px; }
.header-inner label { display: flex; align-items: center; width: 310px; padding: 7px 10px; border-radius: 5px; background: #f2f2f2; color: #87909a; }
.header-inner input { width: 100%; border: 0; outline: 0; background: transparent; font-size: 13px; }
.header-inner button { margin-left: auto; border: 0; background: transparent; font-size: 21px; color: #66717b; }
.legacy-utility, .legacy-channel-nav { display: none; }
.breadcrumb { padding: 10px 0; color: #7c858d; font-size: 11px; }
.page-grid { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(220px, 1fr); gap: 22px; padding-bottom: 30px; }
.article-card, .comments, .side-card { border: 1px solid #e0e0e0; border-radius: 8px; background: #fff; box-shadow: 0 1px 2px #00000008; }
.article-card { padding: 25px; }
.article-meta { display: flex; gap: 9px; align-items: center; color: #7a7a7a; font-size: 11px; font-weight: 700; }
.article-meta span { padding: 4px 8px; border-radius: 3px; background: #df2027; color: #fff; }
figure { max-width: 360px; margin: 20px auto; overflow: hidden; border-radius: 7px; background: #eee; }
figure img { display: block; width: 100%; max-height: 445px; object-fit: cover; object-position: center; }
figcaption { padding: 8px 10px; background: #f1f1f1; color: #68727a; font-size: 11px; }
.photo-comparison { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 20px 0; }
.photo-comparison figure { max-width: none; margin: 0; }
.photo-comparison figure img { aspect-ratio: 4 / 5; max-height: 390px; object-fit: cover; }
.article-card h2 { margin: 16px 0 9px; font-size: clamp(22px, 3vw, 30px); line-height: 1.42; }
.published { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; color: #78818a; font-size: 11px; }
.published b { padding: 3px 6px; border-radius: 2px; background: #226fc0; color: #fff; font-size: 10px; }
.article-body { font-size: 15px; line-height: 2; }
.article-body p { margin: 0 0 20px; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; padding-top: 10px; }
.tags span { padding: 6px 11px; border: 1px solid #d5d5d5; border-radius: 99px; color: #66717b; font-size: 11px; }
.comments { margin-top: 20px; overflow: hidden; }
.comments > header { display: flex; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid #e6e6e6; }.comments h2 { margin: 0; font-size: 18px; }.comments > header span { color: #7c858d; font-size: 13px; }
.comment-form { padding: 15px; background: #f7faff; }.comment-form textarea { width: 100%; padding: 9px; border: 1px solid #d6dce2; border-radius: 5px; resize: none; font: inherit; }.comment-form button { float: right; margin-top: 7px; padding: 6px 15px; border: 0; border-radius: 4px; background: #2678ca; color: #fff; }.comment-form::after { display: block; clear: both; content: ""; }
.comments nav { display: flex; justify-content: space-around; padding: 12px; border-bottom: 1px solid #e6e6e6; color: #7a858e; font-size: 13px; }.comments nav b { color: #2270c0; }
.comments article { padding: 15px 20px; border-bottom: 1px solid #ececec; }.comments article:last-child { border: 0; }.comments strong { font-size: 13px; }.comments small { margin-left: 8px; color: #9099a0; font-size: 10px; }.comments p { margin: 7px 0 0; font-size: 13px; line-height: 1.65; }
.side-card { margin-bottom: 16px; padding: 17px; }.side-card h2 { margin: 0 0 14px; padding-left: 8px; border-left: 4px solid #df2027; font-size: 14px; }.side-card p, .side-card li { color: #5d666d; font-size: 12px; line-height: 1.65; }.side-card ol { margin: 0; padding-left: 23px; }.side-card li { margin-bottom: 10px; padding-left: 4px; }
.side-ad { position: relative; margin: 0; overflow: hidden; border: 1px solid #e0e0e0; border-radius: 8px; background: #fff; box-shadow: 0 1px 2px #00000008; line-height: 0; }.side-ad span { position: absolute; z-index: 1; top: 7px; left: 7px; padding: 4px 6px; border-radius: 2px; background: rgba(255, 255, 255, .86); color: #78818a; font-size: 9px; line-height: 1; }.side-ad img { display: block; width: 100%; height: auto; }
.page-grid[hidden] { display: none; }
.wahoo-archived-not-found { width: min(100% - 32px, 980px); min-height: 430px; display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(220px, 1fr); gap: 22px; align-items: start; margin: 0 auto; padding: 36px 0 64px; }
.wahoo-archived-not-found[hidden] { display: none; }
.wahoo-archived-not-found section { width: 100%; padding: 56px 46px; border: 1px solid #e1e4e7; border-radius: 7px; background: #fff; box-shadow: 0 1px 2px #00000008; text-align: center; }
.wahoo-archived-not-found h2, .wahoo-archived-not-found p { margin: 0; }
.wahoo-404-code { margin-bottom: 8px !important; color: #a0a8af; font-size: 46px; font-weight: 300; letter-spacing: .08em; }
.wahoo-archived-not-found h2 { color: #343b42; font-size: 20px; font-weight: 600; }
.wahoo-archived-not-found h2 + p { margin-top: 17px; color: #69737c; font-size: 14px; line-height: 1.75; }
.wahoo-archived-not-found a { display: inline-block; margin-top: 27px; color: #176cc1; font-size: 14px; text-decoration: none; }
.wahoo-archived-not-found a:hover { text-decoration: underline; }
.wahoo-legacy-article section { text-align: left; }
.legacy-article-kicker, .legacy-article-time { margin: 0; color: #555; font-size: 13px; }
.wahoo-legacy-article h2 { margin: 15px 0 10px; color: #000; font-size: 24px; line-height: 1.45; }
.legacy-article-image { width: min(100%, 680px); margin: 20px 0 18px; }
.legacy-article-image img { display: block; width: 100%; height: auto; border: 1px solid #9a9a9a; }
.legacy-article-image button { position: relative; display: block; width: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.legacy-article-image button span { position: absolute; right: 7px; bottom: 7px; padding: 4px 7px; border: 1px solid #555; background: #fff; color: #111; font-size: 12px; line-height: 1.2; }
.map-dialog { width: min(92vw, 1120px); max-width: none; padding: 0; border: 1px solid #777; background: #fff; box-shadow: 0 18px 50px #0008; }
.map-dialog::backdrop { background: #000a; }
.map-dialog-toolbar { display: flex; align-items: center; gap: 8px; min-height: 46px; padding: 8px 11px; border-bottom: 1px solid #c7c7c7; background: #f3f3f3; color: #111; font-size: 13px; }
.map-dialog-toolbar select { min-width: 78px; height: 29px; border: 1px solid #888; border-radius: 2px; background: #fff; color: #111; font: inherit; }
.map-dialog-viewport { max-height: calc(92vh - 48px); overflow: auto; background: #e9e9e9; }
.map-dialog img { display: block; width: 100%; max-width: none; height: auto; }
.map-dialog-close { margin-left: auto; min-width: 80px; min-height: 30px; padding: 4px 10px; border: 1px solid #555; border-radius: 3px; background: #fff; color: #111; font-size: 13px; font-weight: 700; line-height: 1.2; cursor: pointer; }
.map-dialog-close:hover { background: #e7e7e7; }
.legacy-article-body { margin-top: 22px; }
.legacy-article-body p { margin: 0 0 16px; color: #111; font-size: 15px; line-height: 1.8; }
.wahoo-broken-link { margin: 12px 0 0 !important; color: #b00020 !important; font-size: 12px !important; }
.wahoo-archived-ranking { padding: 17px; border: 1px solid #e0e0e0; border-radius: 8px; background: #fff; box-shadow: 0 1px 2px #00000008; }
.wahoo-archived-ranking h2 { margin: 0 0 14px; padding-left: 8px; border-left: 4px solid #df2027; color: #333; font-size: 14px; }
.wahoo-archived-ranking ol { margin: 0; padding-left: 23px; }
.wahoo-archived-ranking li { margin-bottom: 11px; padding-left: 4px; color: #5d666d; font-size: 12px; line-height: 1.55; }
.wahoo-archived-ranking li:last-child { margin-bottom: 0; }

/* 2021–2025: 角丸を抑えた、一世代前のニュースサイト。 */
body.wahoo-era-2020 { background: #f5f6f8; font-family: Arial, "Hiragino Kaku Gothic ProN", sans-serif; }
body.wahoo-era-2020 .site-header { position: static; border-top: 3px solid #d81f2a; box-shadow: 0 1px 2px #00000012; }
body.wahoo-era-2020 .header-inner h1 { color: #d81f2a; font-family: Arial Black, Arial, sans-serif; font-style: normal; letter-spacing: -1px; }
body.wahoo-era-2020 .wahoo-archived-not-found section, body.wahoo-era-2020 .wahoo-archived-ranking { border-radius: 2px; box-shadow: none; }

/* 2016–2020: 情報量が多く、淡い青と直線的なパネルが主流だった頃。 */
body.wahoo-era-2015 { background: #eef2f7; font-family: Arial, "Hiragino Kaku Gothic ProN", sans-serif; }
body.wahoo-era-2015 .site-header { position: static; border-top: 4px solid #1e5ba9; border-bottom-color: #b9c9dc; }
body.wahoo-era-2015 .header-inner h1 { color: #1d5faa; font-family: Arial Black, Arial, sans-serif; font-style: normal; letter-spacing: -.8px; }
body.wahoo-era-2015 .wahoo-archived-not-found { gap: 14px; padding-top: 20px; }
body.wahoo-era-2015 .wahoo-archived-not-found section, body.wahoo-era-2015 .wahoo-archived-ranking { border-color: #c5d2e1; border-radius: 0; box-shadow: none; }
body.wahoo-era-2015 .wahoo-archived-ranking h2 { border-left-color: #1c64b6; color: #1c4f87; }

/* 2011–2015: 固定幅、強めの青い見出し、立体的でない枠線。 */
body.wahoo-era-2010 { background: #fff; font-family: Arial, "MS PGothic", sans-serif; }
body.wahoo-era-2010 .site-header { position: static; border-top: 3px solid #164d9a; border-bottom: 2px solid #164d9a; }
body.wahoo-era-2010 .header-inner, body.wahoo-era-2010 .breadcrumb, body.wahoo-era-2010 .wahoo-archived-not-found { width: min(980px, calc(100% - 20px)); }
body.wahoo-era-2010 .header-inner { min-height: 50px; }
body.wahoo-era-2010 .header-inner h1 { color: #124a98; font-family: "Trebuchet MS", Arial, sans-serif; font-style: normal; font-size: 28px; letter-spacing: -1px; }
body.wahoo-era-2010 .wahoo-archived-not-found { gap: 10px; padding-top: 12px; }
body.wahoo-era-2010 .wahoo-archived-not-found section, body.wahoo-era-2010 .wahoo-archived-ranking { border-color: #aebed3; border-radius: 0; box-shadow: none; }
body.wahoo-era-2010 .wahoo-archived-ranking h2 { margin-right: -17px; margin-left: -17px; padding: 8px 17px; border-left: 0; background: #dce6f4; color: #173f75; }
body.wahoo-era-2010 .wahoo-archived-not-found a { color: #0645ad; text-decoration: underline; }
body.wahoo-era-2010 .wahoo-archived-ranking li { color: #111; text-decoration: none; }

/* 2006–2010: 初期ポータル風。大きなロゴ、青い下線リンク、濃い罫線。 */
body.wahoo-era-2000 { background: #fff; color: #000; font-family: "MS PGothic", Osaka, Arial, sans-serif; }
body.wahoo-era-2000 .site-header { position: static; border-bottom: 1px solid #777; background: #fff; }
body.wahoo-era-2000 .header-inner { position: relative; width: calc(100% - 28px); max-width: none; min-height: 71px; }
body.wahoo-era-2000 .header-inner h1 { color: #e30018; font-family: "Times New Roman", Georgia, serif; font-size: 0; font-style: normal; font-weight: 800; letter-spacing: -2px; text-shadow: 1px 1px 0 #9a0030; }
body.wahoo-era-2000 .header-inner h1::after { content: "W! NEWS"; margin-left: 0; color: #e30018; font-size: 39px; font-style: normal; letter-spacing: -2px; text-shadow: 1px 1px 0 #9a0030; }
body.wahoo-era-2000 .header-inner label, body.wahoo-era-2000 .header-inner > button { display: none; }
body.wahoo-era-2000 .legacy-utility { display: flex; gap: 7px; margin-left: auto; font-family: Arial, sans-serif; font-size: 14px; }
body.wahoo-era-2000 a { color: #0000cc; text-decoration: underline; }
body.wahoo-era-2000 .legacy-utility, body.wahoo-era-2000 .legacy-channel-nav { color: #000; }
body.wahoo-era-2000 .legacy-channel-nav { display: flex; width: min(1100px, calc(100% - 28px)); gap: 9px; margin: 21px auto 0; padding: 0 0 4px; border-bottom: 5px solid #100c87; font: 16px/1.3 Arial, sans-serif; white-space: nowrap; }
body.wahoo-era-2000 .legacy-channel-nav span:first-child { padding: 5px 9px; background: #100c87; color: #fff; }
body.wahoo-era-2000 .breadcrumb { display: none; }
body.wahoo-era-2000 .wahoo-archived-not-found { width: calc(100% - 12px); max-width: none; grid-template-columns: minmax(0, 1fr) 500px; gap: 6px; padding: 5px 0 30px; }
body.wahoo-era-2000 .wahoo-archived-not-found section, body.wahoo-era-2000 .wahoo-archived-ranking { border: 1px solid #aaa; border-radius: 0; box-shadow: none; }
body.wahoo-era-2000 .wahoo-archived-not-found section { min-height: 250px; padding: 31px 26px; }
body.wahoo-era-2000 .wahoo-legacy-article section { min-height: 0; padding: 16px 20px 20px; text-align: left; }
body.wahoo-era-2000 .wahoo-legacy-article h2 { margin: 9px 0 7px; color: #0000cc; font-size: 23px; line-height: 1.38; text-decoration: underline; }
body.wahoo-era-2000 .wahoo-legacy-article .legacy-article-kicker, body.wahoo-era-2000 .wahoo-legacy-article .legacy-article-time { color: #000; font-size: 14px; }
body.wahoo-era-2000 .wahoo-legacy-article .legacy-article-body { margin-top: 16px; }
body.wahoo-era-2000 .wahoo-legacy-article .legacy-article-image { width: min(100%, 660px); margin: 16px 0; }
body.wahoo-era-2000 .wahoo-legacy-article .legacy-article-image img { border: 1px solid #777; }
body.wahoo-era-2000 .legacy-article-image button span { border-color: #000; color: #000; font-family: "MS PGothic", Osaka, sans-serif; }
body.wahoo-era-2000 .wahoo-legacy-article .legacy-article-body p { margin-bottom: 13px; color: #000; font-size: 16px; line-height: 1.65; }
body.wahoo-era-2000 .wahoo-404-code { color: #777; font: bold 36px Arial, sans-serif; }
body.wahoo-era-2000 .wahoo-archived-not-found h2 { font: bold 19px "MS PGothic", sans-serif; }
body.wahoo-era-2000 .wahoo-archived-not-found h2 + p { color: #000; font-size: 14px; }
body.wahoo-era-2000 .wahoo-archived-ranking { padding: 0 10px 12px; }
body.wahoo-era-2000 .wahoo-archived-ranking h2 { margin: 0 -10px 10px; padding: 7px 10px; border-left: 0; background: #d8d8ee; color: #000; font-size: 18px; }
body.wahoo-era-2000 .wahoo-archived-ranking li { margin-bottom: 10px; color: #000; font-size: 14px; line-height: 1.4; text-decoration: none; }

/* 親の擬似ブラウザがスマホ幅でもiframeにデスクトップ幅を渡す場合があるため、
   クエリ文字列で受け取ったモバイル表示は幅の判定に依存せず一段組にする。 */
html:has(body.wahoo-embedded-mobile),
body.wahoo-embedded-mobile { min-width: 0; overflow-x: hidden; }
html:has(body.wahoo-embedded-mobile) { height: 100%; min-width: 0; overflow-x: hidden; overflow-y: auto; }
body.wahoo-embedded-mobile { min-height: 100%; padding-bottom: calc(140px + env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior-y: contain; -webkit-overflow-scrolling: touch; }
body.wahoo-embedded-mobile .site-header { position: static; }
body.wahoo-embedded-mobile .header-inner,
body.wahoo-embedded-mobile .breadcrumb,
body.wahoo-embedded-mobile .page-grid,
body.wahoo-embedded-mobile .wahoo-archived-not-found {
  width: min(calc(100% - 20px), calc(var(--wahoo-mobile-frame-width, 390px) - 20px));
  max-width: calc(var(--wahoo-mobile-frame-width, 390px) - 20px);
  margin-right: 0;
  margin-left: 10px;
}
body.wahoo-embedded-mobile .header-inner { min-height: 50px; gap: 10px; }
body.wahoo-embedded-mobile .header-inner h1 { font-size: 24px; }
body.wahoo-embedded-mobile .header-inner label,
body.wahoo-embedded-mobile .legacy-utility { display: none; }
body.wahoo-embedded-mobile .header-inner button { font-size: 18px; }
body.wahoo-embedded-mobile .breadcrumb { padding: 8px 0; overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
body.wahoo-embedded-mobile .page-grid,
body.wahoo-embedded-mobile .wahoo-archived-not-found { grid-template-columns: minmax(0, 1fr); gap: 12px; padding-bottom: 150px; }
body.wahoo-embedded-mobile .main-column,
body.wahoo-embedded-mobile .article-card,
body.wahoo-embedded-mobile .comments,
body.wahoo-embedded-mobile .comments article,
body.wahoo-embedded-mobile .article-body,
body.wahoo-embedded-mobile .article-body p { width: 100%; min-width: 0; max-width: 100%; }
/* PCの右欄は隠さず、本文・コメントの後に続ける。 */
body.wahoo-embedded-mobile .page-grid > aside,
body.wahoo-embedded-mobile .wahoo-archived-not-found > aside {
  display: block;
  grid-column: 1;
  min-width: 0;
}
body.wahoo-embedded-mobile .page-grid > aside { margin-top: 2px; }
body.wahoo-embedded-mobile .side-card { margin-bottom: 12px; padding: 14px 15px; }
body.wahoo-embedded-mobile .side-ad { margin-bottom: 28px; }
body.wahoo-embedded-mobile .wahoo-archived-ranking { margin-bottom: 28px; padding: 14px 15px; }
body.wahoo-embedded-mobile .article-card { padding: 15px; border-radius: 6px; }
body.wahoo-embedded-mobile .article-card h2 { margin-top: 13px; font-size: 21px; line-height: 1.45; }
body.wahoo-embedded-mobile .article-meta { flex-wrap: wrap; font-size: 10px; }
body.wahoo-embedded-mobile .photo-comparison { grid-template-columns: minmax(0, 1fr); gap: 11px; max-width: 330px; margin-right: auto; margin-left: auto; }
body.wahoo-embedded-mobile figure,
body.wahoo-embedded-mobile figure img,
body.wahoo-embedded-mobile .photo-comparison figure,
body.wahoo-embedded-mobile .photo-comparison figure img { display: block; width: 100%; max-width: 100%; max-height: none; aspect-ratio: auto; object-fit: contain; }
body.wahoo-embedded-mobile .article-body { font-size: 14px; line-height: 1.85; }
body.wahoo-embedded-mobile .article-body p { margin-bottom: 16px; }
body.wahoo-embedded-mobile .tags span { padding: 5px 8px; font-size: 10px; }
body.wahoo-embedded-mobile .comments { margin-top: 13px; border-radius: 6px; }
body.wahoo-embedded-mobile .comments > header { padding: 13px 15px; }
body.wahoo-embedded-mobile .comments article { padding: 13px 15px; overflow-wrap: anywhere; }
body.wahoo-embedded-mobile .comments p { max-width: 100%; overflow-wrap: anywhere; font-size: 12px; }
body.wahoo-embedded-mobile .comments article:last-child { margin-bottom: 26px; }
body.wahoo-embedded-mobile .wahoo-archived-not-found { min-height: 0; padding: 18px 0 32px; }
body.wahoo-embedded-mobile .wahoo-archived-not-found section { padding: 32px 20px; }
body.wahoo-embedded-mobile .wahoo-legacy-article section { padding: 16px 15px 18px; }
body.wahoo-embedded-mobile .wahoo-legacy-article h2 { font-size: 20px; }
body.wahoo-embedded-mobile .legacy-article-body p { font-size: 14px; line-height: 1.75; }
body.wahoo-embedded-mobile .legacy-channel-nav { width: calc(var(--wahoo-mobile-frame-width, 390px) - 20px); max-width: none; margin: 10px 0 0 10px; overflow-x: auto; font-size: 13px; }
body.wahoo-embedded-mobile .map-dialog { width: calc(var(--wahoo-mobile-frame-width, 390px) - 18px); max-width: calc(100% - 18px); }
body.wahoo-embedded-mobile .map-dialog-toolbar { flex-wrap: wrap; font-size: 12px; }
body.wahoo-embedded-mobile .map-dialog-close { margin-left: 0; }
body.wahoo-embedded-mobile.wahoo-era-2000 .header-inner,
body.wahoo-embedded-mobile.wahoo-era-2010 .header-inner,
body.wahoo-embedded-mobile.wahoo-era-2010 .breadcrumb,
body.wahoo-embedded-mobile.wahoo-era-2010 .wahoo-archived-not-found { width: min(calc(100% - 20px), calc(var(--wahoo-mobile-frame-width, 390px) - 20px)); }
body.wahoo-embedded-mobile.wahoo-era-2000 .header-inner h1::after { font-size: 29px; }
body.wahoo-embedded-mobile.wahoo-era-2000 .wahoo-archived-not-found { grid-template-columns: minmax(0, 1fr); }
body.wahoo-embedded-mobile.wahoo-era-2000 .wahoo-legacy-article h2 { font-size: 20px; }
body.wahoo-embedded-mobile.wahoo-era-2000 .header-inner h1 { font-size: 0; }
body.wahoo-embedded-mobile.wahoo-era-2000 .wahoo-archived-not-found {
  display: block;
  width: calc(var(--wahoo-mobile-frame-width, 390px) - 20px);
  max-width: calc(100% - 20px);
}
body.wahoo-embedded-mobile.wahoo-era-2000 .wahoo-archived-not-found section {
  width: 100%;
  min-width: 0;
  overflow: hidden;
}
body.wahoo-embedded-mobile .page-grid[hidden],
body.wahoo-embedded-mobile .wahoo-archived-not-found[hidden] { display: none !important; }
body.wahoo-embedded-mobile.wahoo-era-2000 .wahoo-archived-not-found h2,
body.wahoo-embedded-mobile.wahoo-era-2000 .wahoo-archived-not-found p,
body.wahoo-embedded-mobile .article-card h2,
body.wahoo-embedded-mobile .article-body p,
body.wahoo-embedded-mobile .comments p {
  max-width: 100%;
  min-width: 0;
  overflow-wrap: anywhere !important;
  word-break: break-all !important;
  white-space: normal !important;
}
@media (max-width: 700px) {
  body { min-width: 0; overflow-x: hidden; }
  .site-header { position: static; }
  .header-inner, .breadcrumb, .page-grid, .wahoo-archived-not-found { width: calc(100% - 20px); }
  .header-inner { min-height: 50px; gap: 10px; }
  .header-inner h1 { font-size: 24px; }
  .header-inner label, .legacy-utility { display: none; }
  .header-inner button { font-size: 18px; }
  .breadcrumb { padding: 8px 0; overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
  .page-grid, .wahoo-archived-not-found { grid-template-columns: minmax(0, 1fr); gap: 12px; padding-bottom: 22px; }
  .page-grid > aside, .wahoo-archived-not-found > aside { display: none; }
  .article-card { padding: 15px; border-radius: 6px; }
  .article-card h2 { margin-top: 13px; font-size: 21px; line-height: 1.45; }
  .article-meta { flex-wrap: wrap; font-size: 10px; }
  .photo-comparison { grid-template-columns: 1fr; gap: 11px; max-width: 330px; margin-right: auto; margin-left: auto; }
  .article-body { font-size: 14px; line-height: 1.85; }
  .article-body p { margin-bottom: 16px; }
  .tags span { padding: 5px 8px; font-size: 10px; }
  .comments { margin-top: 13px; border-radius: 6px; }
  .comments > header { padding: 13px 15px; }
  .comments article { padding: 13px 15px; }
  .comments p { font-size: 12px; }
  .wahoo-archived-not-found { min-height: 0; padding: 18px 0 32px; }
  .wahoo-archived-not-found section { padding: 32px 20px; }
  .wahoo-legacy-article section { padding: 16px 15px 18px; }
  .wahoo-legacy-article h2 { font-size: 20px; }
  .legacy-article-body p { font-size: 14px; line-height: 1.75; }
  .legacy-channel-nav { width: calc(100% - 20px); max-width: none; margin-top: 10px; overflow-x: auto; font-size: 13px; }
  .map-dialog { width: calc(100vw - 18px); }
  .map-dialog-toolbar { flex-wrap: wrap; font-size: 12px; }
  .map-dialog-close { margin-left: 0; }
  body.wahoo-era-2000 .header-inner, body.wahoo-era-2010 .header-inner, body.wahoo-era-2010 .breadcrumb, body.wahoo-era-2010 .wahoo-archived-not-found { width: calc(100% - 20px); }
  body.wahoo-era-2000 .header-inner h1::after { font-size: 29px; }
  body.wahoo-era-2000 .wahoo-archived-not-found { grid-template-columns: minmax(0, 1fr); }
  body.wahoo-era-2000 .wahoo-legacy-article h2 { font-size: 20px; }
}

/* Android Chromeのiframe内でも、記事とコメントの末尾まで縦スクロールを受け取る。 */
html:has(body.wahoo-embedded-mobile) {
  height: auto !important;
  min-height: 100%;
  overflow-y: auto !important;
  touch-action: pan-y;
}
body.wahoo-embedded-mobile {
  height: auto !important;
  min-height: 100svh;
  padding-bottom: max(180px, calc(140px + env(safe-area-inset-bottom))) !important;
  touch-action: pan-y;
  overscroll-behavior-y: auto;
}
body.wahoo-embedded-mobile .page-grid {
  min-height: min-content;
  padding-bottom: 180px;
}
