@charset "UTF-8";
/*
 * Studio KEYA｜本プロジェクト共通の追加CSS
 * 今後、このプロジェクトで追加・調整するCSSは、この newcss.css に追記する。
 * 既存の共通CSSとFONTPLUSの指定は維持する。
 * ページ専用の指定には専用クラスを付け、他ページへ影響させない。
 * 同名ファイルをページごとに作り直さず、既存の内容を残して更新する。
 */

/* サブメニューの入れ子修正に伴う補正。寸法は既存CSSと同じ。 */
#submenu ul > li { display: contents; }
#submenu ul > li:not(:last-child) > a { margin-right: 8px; }
#submenu ul > li:nth-child(3) > a { width: 20%; }
@media only screen and (max-width: 767px) {
  #submenu ul > li:nth-child(3) > a { width: 33.333%; margin-right: 0; }
}
@media only screen and (max-width: 520px) {
  #submenu ul > li:nth-child(2) > a, #submenu ul > li:nth-child(4) > a { margin-right: 0; }
  #submenu ul > li:nth-child(3) > a { width: calc(50% - 5px); margin-right: 10px; }
}


/* C2PA記事。赤い印と横線は既存の h2.t_text を使用。 */
#c2pa-article { line-height: 2; }
#c2pa-article p { margin: 0 0 1.4em; }
#c2pa-article section > :last-child { margin-bottom: 0; }
#c2pa-article .c2pa-section { display: flow-root; clear: both; margin-top: 3em; }
#c2pa-article h2.t_text { display: block; float: none; clear: both; box-sizing: border-box; width: 100%; margin: 0 0 1.3em; }
#c2pa-article .c2pa-photo { margin: 1.6em 0; }
#c2pa-article .c2pa-intro > .c2pa-photo:first-child,
#c2pa-article h2.t_text + .c2pa-photo { margin-top: 0; }
#c2pa-article .c2pa-photo img { display: block; width: 100%; height: auto; }
#c2pa-article .c2pa-table { width: 100%; table-layout: fixed; border-collapse: collapse; border-spacing: 0; margin: 1.4em 0; }
#c2pa-article .c2pa-concept-column { width: 28%; }
#c2pa-article .c2pa-table th,
#c2pa-article .c2pa-table td { box-sizing: border-box; padding: 12px 14px; border: 1px solid #d5d5d5; color: inherit; background: #fff; font: inherit; letter-spacing: inherit; line-height: inherit; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
#c2pa-article .c2pa-table th { color: inherit; background: #f2f2f2; }
#c2pa-article .c2pa-table th[scope="row"] { width: 28%; background: #fff; }
#c2pa-article sup { line-height: 0; }
#c2pa-article .c2pa-references { overflow-wrap: anywhere; }
#c2pa-article .c2pa-references ol { margin: 0 0 1.4em; padding-left: 1.8em; }
#c2pa-article .c2pa-references li { margin-bottom: 0.7em; }
@media only screen and (max-width: 767px) {
  #c2pa-article p { margin-bottom: 1.2em; }
  #c2pa-article .c2pa-section { margin-top: 2.5em; }
  #c2pa-article h2.t_text { margin-bottom: 1.1em; }
  #c2pa-article .c2pa-table th,
  #c2pa-article .c2pa-table td { padding: 10px; letter-spacing: 1px; }
  #c2pa-article .c2pa-table th[scope="row"] { width: 34%; }
  #c2pa-article .c2pa-concept-column { width: 34%; }
  #c2pa-article .c2pa-term { display: block; font-size: 11px; letter-spacing: 0; white-space: nowrap; }
  #c2pa-article .c2pa-separator { display: none; }
}
