@charset "UTF-8";

/* --- Base Styles & Resets --- */
html, body, div, span, img, h1, p, a, form, input {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
  font-weight: normal;
}

body {
  font-family: "M PLUS 1", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: #333;
  line-height: 1.6em;
  font-size: 87.5%;
  background: #eee;
  margin: 0 auto;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

a {
  color: #4881ff;
  text-decoration: none;
}
a:link, a:visited {
  color: #4881ff;
  text-decoration: none;
}
a:hover, a:active {
  text-decoration: underline;
  color: #f00;
}

img {
  vertical-align: middle;
}

h1, h2, h3, h4 {
  font-size: 16px;
}
@media screen and (max-width: 768px) {
  h1, h2, h3, h4 {
    font-size: 14px;
  }
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/* --- レイアウトと主要コンポーネント --- */

/* .container: ページ全体のコンテンツ幅を制限 */
.container {
  max-width: 960px;
  margin: 0 auto;
}
@media screen and (max-width: 48em) { /* 768px */
  .container {
    padding-top: 0; /* bodyのpadding-topを0に設定するルールが適用されるため、ここでは0に */
  }
}

/* .header: ヘッダーエリア */
header { /* HTMLではclass="header"ですが、CSSはelement selector "header"で定義 */
  padding: 9px 0;
  height: 32px;
  background: #fff;
  position: unset; /* 新しいHTMLのheader { position: unset; } を反映 */
}
@media screen and (max-width: 48em) { /* 768px */
  header {
    position: fixed;
    z-index: 999;
    width: 100%;
    top: 0;
    left: 0;
  }
}

/* #logo: ヘッダー内のロゴ */
#logo {
  float: left;
  width: 60%;
}
#logo img {
  vertical-align: middle;
}
@media screen and (max-width: 960px) {
  #logo {
    width: 100%;
    margin-left: 10px;
  }
  #logo img {
    max-width: 40%;
  }
}

/* .clear: float要素のクリアフィックス */
.clear {
  zoom: 1; /* IE向け */
}
.clear:before,
.clear:after {
  content: "";
  display: table;
}
.clear:after {
  clear: both;
}

/* .ttlBlue: ページタイトル */
.ttlBlue {
  color: #1d852e; /* 緑色 */
  font-weight: bold; /* 追加（元のCSSには明示的な太字指定がありませんが、タイトルとして一般的） */
  font-size: 160%; /* h1要素のデフォルトサイズ16pxからの相対指定 */
  text-align: center;
  margin-top: 1.5em; /* 適切な上余白 */
  margin-bottom: 1em; /* 適切な下余白 */
}

/* body > .container内の直下のp要素（ダウンロード説明文） */
body > .container > p {
  text-align: center; /* 中央寄せを適用 */
  margin-bottom: 1em; /* 適度な下余白 */
}

/* .cf: float要素のクリアフィックス */
.cf {
  zoom: 1;
}
.cf:before,
.cf:after {
  content: "";
  display: table;
}
.cf:after {
  clear: both;
}

/* .dland: ダウンロードボタンのコンテナ */
.dland {
  text-align: center;
  margin: auto;
}
/* #later はIDですが、提供されたCSSにはスタイル定義がありませんでした。 */

/* .scpfButton: 画像ボタンを囲むdiv */
.scpfButton {
  display: inline-block; /* 画像ボタンを中央寄せするための親要素 */
}

/* .scpfButton input[type="image"] / #win: ダウンロードボタン画像 */
.scpfButton input[type="image"] {
  max-width: 100%;
  height: auto;
  border: 0;
}

/* .iconLink: インストール方法へのリンク */
.iconLink {
  text-align: center;
  margin: 1.5em auto; /* 上下マージンと中央寄せ */
  font-size: 110%; /* アイコン付きリンクのフォントサイズ調整 */
}
/* i.icon-file-alt のスタイルはFont Awesomeなどのライブラリに依存します。 */
/* そのライブラリのCSSが別途必要です。 */

/* --- フッター部分 --- */
.footer { /* HTMLのclass="footer"は、element selector "footer"でも定義されていますが、ここでは.footerとして抽出 */
  border-top: 1px solid #ccc;
  background: #fff;
}

.stxt {
  font-size: 80%;
  text-align: center;
  padding-top: 1em;
}

.seals {
  text-align: center;
  padding: 1em 0;
}
.seals a {
  margin: 0 0.5em;
}
.seals img {
  vertical-align: middle;
  height: auto;
  max-width: 100%;
}