

/* =========================================================
   Startline Support
   過去の為替レート・為替相場
========================================================= */

#sls-historical-fx {

  width: 100%;
  max-width: 1000px;

  margin: 0 auto;
  padding: 20px 0;

  color: #333;

  line-height: 1.8;

  box-sizing: border-box;
}


#sls-historical-fx *,
#sls-historical-fx *::before,
#sls-historical-fx *::after {

  box-sizing: border-box;
}


/* =========================================================
   ヘッダー
========================================================= */

#sls-historical-fx
.sls-historical-fx-header {

  margin-bottom: 40px;

  text-align: center;
}


#sls-historical-fx
.sls-historical-fx-en {

  display: block;

  margin-bottom: 8px;

  color: #284c7b;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 12px;

  font-weight: 600;

  letter-spacing: 0.28em;
}


#sls-historical-fx
.sls-historical-fx-header h2 {

  margin: 0 0 15px;

  color: #1e3e68;

  font-size: 30px;

  font-weight: 700;

  line-height: 1.5;
}


#sls-historical-fx
.sls-historical-fx-header p {

  margin: 0;

  color: #555;

  font-size: 15px;

  line-height: 1.9;
}


/* =========================================================
   カード
========================================================= */

#sls-historical-fx
.sls-historical-fx-card {

  margin: 0 0 30px;

  padding: 30px;

  border: 1px solid #e1e6eb;

  border-radius: 8px;

  background: #fff;

  box-shadow:
    0 5px 20px rgba(20, 50, 80, 0.06);
}


#sls-historical-fx
.sls-historical-fx-card h3 {

  margin: 0 0 10px;

  color: #1e3e68;

  font-size: 21px;

  font-weight: 700;
}


/* =========================================================
   英語
========================================================= */

#sls-historical-fx
.sls-fx-section-en {

  margin: 0 0 20px;

  color: #777;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 12px;

  letter-spacing: 0.05em;

  line-height: 1.6;
}


/* =========================================================
   説明
========================================================= */

#sls-historical-fx
.sls-fx-description {

  margin: 0 0 20px;

  color: #666;

  font-size: 14px;

  line-height: 1.8;
}


/* =========================================================
   フォーム
========================================================= */

#sls-historical-fx
.sls-fx-form {

  display: grid;

  grid-template-columns:
    1.2fr
    1fr
    1fr
    220px;

  gap: 15px;

  align-items: end;
}


#sls-historical-fx
.sls-fx-search-row {

  display: grid;

  grid-template-columns:
    1fr
    260px;

  gap: 15px;

  align-items: end;
}


/* =========================================================
   フィールド
========================================================= */

#sls-historical-fx
.sls-fx-field {

  min-width: 0;
}


#sls-historical-fx
.sls-fx-field label {

  display: block;

  margin-bottom: 7px;

  color: #444;

  font-size: 13px;

  font-weight: 700;
}


#sls-historical-fx
input,
#sls-historical-fx
select {

  width: 100%;

  height: 48px;

  margin: 0;

  padding: 0 13px;

  border: 1px solid #ccd4dc;

  border-radius: 5px;

  background: #fff;

  color: #333;

  font-size: 15px;

  outline: none;
}


#sls-historical-fx
input:focus,
#sls-historical-fx
select:focus {

  border-color: #284c7b;

  box-shadow:
    0 0 0 2px rgba(40, 76, 123, 0.1);
}


/* =========================================================
   ボタン
========================================================= */

#sls-historical-fx
.sls-fx-button {

  width: 100%;

  min-height: 48px;

  padding: 0 18px;

  border: 0;

  border-radius: 5px;

  background: #1e4775;

  color: #fff;

  font-size: 14px;

  font-weight: 700;

  line-height: 1.4;

  cursor: pointer;

  transition:
    background .25s ease,
    transform .25s ease;
}


#sls-historical-fx
.sls-fx-button:hover {

  background: #16375d;

  transform: translateY(-1px);
}


#sls-historical-fx
.sls-fx-button:disabled {

  opacity: .65;

  cursor: wait;

  transform: none;
}


/* =========================================================
   通常の為替結果
========================================================= */

#sls-historical-fx
.sls-fx-result {

  display: none;

  margin-top: 25px;

  padding: 25px;

  border-radius: 6px;

  background: #f3f6f9;

  color: #1e3e68;

  text-align: center;

  font-size: 17px;

  line-height: 1.8;
}


#sls-historical-fx
.sls-fx-result.show {

  display: block;
}


#sls-historical-fx
.sls-fx-result strong {

  font-size: 1.35em;
}


#sls-historical-fx
.sls-fx-result small {

  display: block;

  margin-top: 8px;

  color: #666;

  font-size: 12px;
}


/* =========================================================
   月次・年次結果
========================================================= */

#sls-historical-fx
.sls-fx-data-result {

  display: none;

  margin-top: 25px;

  overflow-x: auto;
}


#sls-historical-fx
.sls-fx-data-result.show {

  display: block;
}


/* =========================================================
   TTS / TTB テーブル
========================================================= */

#sls-historical-fx
.sls-fx-table {

  width: 100%;

  min-width: 760px;

  border-collapse: collapse;

  font-size: 14px;
}


#sls-historical-fx
.sls-fx-table th,
#sls-historical-fx
.sls-fx-table td {

  padding: 13px 10px;

  border: 1px solid #dfe3e7;

  text-align: center;

  vertical-align: middle;
}


#sls-historical-fx
.sls-fx-table th {

  background: #f3f5f7;

  color: #1e3e68;

  font-weight: 700;

  line-height: 1.5;
}


#sls-historical-fx
.sls-fx-table tbody tr:nth-child(even) td {

  background: #fafafa;
}


#sls-historical-fx
.sls-fx-table td {

  font-variant-numeric:
    tabular-nums;
}


#sls-historical-fx
.sls-fx-table .sls-fx-number {

  color: #1e3e68;

  font-weight: 700;
}


/* =========================================================
   結果タイトル
========================================================= */

#sls-historical-fx
.sls-fx-result-title {

  margin-bottom: 15px;

  color: #1e3e68;

  font-size: 17px;

  font-weight: 700;
}


/* =========================================================
   情報ボックス
========================================================= */

#sls-historical-fx
.sls-historical-fx-info {

  margin: 35px 0;

  padding: 25px;

  border-radius: 8px;

  background: #f5f7fa;
}


#sls-historical-fx
.sls-historical-fx-info h3 {

  margin: 0 0 15px;

  color: #1e3e68;

  font-size: 20px;
}


#sls-historical-fx
.sls-historical-fx-info p {

  margin: 0 0 15px;

  color: #555;

  font-size: 14px;

  line-height: 1.9;
}


#sls-historical-fx
.sls-historical-fx-info p:last-child {

  margin-bottom: 0;
}


/* =========================================================
   データソース
========================================================= */

#sls-historical-fx
.sls-fx-source {

  margin: 15px 0 0;

  color: #888;

  font-size: 11px;

  line-height: 1.8;

  text-align: right;
}


/* =========================================================
   タブレット
========================================================= */

@media screen and (max-width: 900px) {

  #sls-historical-fx
  .sls-fx-form {

    grid-template-columns:
      1fr
      1fr;
  }


  #sls-historical-fx
  .sls-fx-form
  .sls-fx-button {

    grid-column: 1 / -1;
  }

}


/* =========================================================
   スマートフォン
========================================================= */

@media screen and (max-width: 600px) {

  #sls-historical-fx {

    padding: 10px 0;
  }


  #sls-historical-fx
  .sls-historical-fx-header {

    margin-bottom: 30px;
  }


  #sls-historical-fx
  .sls-historical-fx-header h2 {

    font-size: 26px;
  }


  #sls-historical-fx
  .sls-historical-fx-header p {

    font-size: 14px;

    text-align: left;
  }


  #sls-historical-fx
  .sls-fx-pc-only {

    display: none;
  }


  #sls-historical-fx
  .sls-historical-fx-card {

    padding: 20px 15px;
  }


  #sls-historical-fx
  .sls-historical-fx-card h3 {

    font-size: 18px;
  }


  #sls-historical-fx
  .sls-fx-form,
  #sls-historical-fx
  .sls-fx-search-row {

    grid-template-columns: 1fr;
  }


  #sls-historical-fx
  .sls-fx-form
  .sls-fx-button {

    grid-column: auto;
  }


  #sls-historical-fx
  .sls-historical-fx-info {

    padding: 20px 15px;
  }


  #sls-historical-fx
  .sls-fx-table {

    min-width: 720px;

    font-size: 13px;
  }


  #sls-historical-fx
  .sls-fx-table th,
  #sls-historical-fx
  .sls-fx-table td {

    padding: 10px 7px;
  }

}

