@charset "UTF-8";

html,
body {
  /* ページ内設定　*/
  min-height: 100vh;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-flow: column;
  position: relative;
  box-sizing: border-box;
  padding: 0 0 0 0;
  margin: 0;

}

.header {
  /* ヘッダー設定 */
  width: 100%;
  position: sticky;
  left: 0px;
  background: #cfcece;
  align-items: center;
  padding: 10px 10px 10px 50px;
  line-height: 2;
  z-index: 0;
}

#drawer {
  /* メニューリスト設定 */
  position: fixed;
  top: 0;
  left: -300px;
  height: 100%;
  width: 300px;
  background: #d293ff;
  color: #000000;
  overflow-x: hidden;
  overflow-y: scroll;
  padding: 20px;
  -webkit-overflow-scrolling: touch;
}

#page-content {
  /* 主文設定 */
  width: 100%;
  height: calc(100% - 50px);
  overflow-x: hidden;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  padding: 15px 15px 20px 20px;
  background-color: #b1a7ff;
  font-size: 15px;
  line-height: 1.5;
  flex: 1;
}

#custom-card {
  /* 主文テキストボックス設定 */
  background-color: white;
  margin-top: 20px;
  padding: 15px 30px 15px 30px;
  width: 95%;
  color: #000000;
  font-size: 15px;
}

footer {
  /* フッター設定 */
  position: absolute;
  bottom: 0;
  background-color: #868686;
  color: #dddddd;
  width: 100%;
  height: 40px;
  line-height: 1.2;
}

img {
  /* 画像設定 */
  max-width: 100%;
  height: auto;
}

#texticon {
  /* 画像設定 */
  height: 15px;
  max-width: 15px;
}

iframe {
  /* リンク埋め込み画像設定 */
  max-width: 100%;
  height: 600px;
}

m1 {
  /* 見出し1設定 */
  text-align: center;
  font-weight: bold;
  font-size: 30px;
}

m2 {
  /* 見出し2設定 */
  font-size: 25px;
  font-weight: bold;
}

m3 {
  /* 見出し3設定 */
  font-size: 18px;
  font-weight: bold;
}

m4 {
  /* 見出し4設定 */
  font-size: 18px;
}

f1 {
  /* フッター用小文字設定 */
  font-size: 10px;
  color: #dddddd;
}

mr {
  /* 赤字設定 */
  color: #ff0000;
}

.flex {
  display: flex;
  flex-wrap: no-wrap;
  text-decoration: none;
  align-items: stretch;
  align-items: flex-start;
}

.flex div {
  width: 100%;
  line-height: 1;
  margin-top: 10px;
}

.flex img {
  height: 50px;
  width: auto;
  margin-top: 10px;
}

.homepagelink a:link,
.homepagelink a:visited,
.homepagelink a:hover,
.homepagelink a:active {
  color: #393939;
  text-decoration: none;
}

p {
  text-indent:1em;
  margin: 0px 0px 0px;
}
a:link {
  /* リンクテキスト設定 */
  color: #1980ff;
  text-decoration: none;
  border-bottom: 2px dotted #c8c8c8;
}

a:hover {
  /* カーソルが合わさった時のリンクテキスト設定 */
  font-size: 105%;
}

a:visited {
  /* 訪問済みリンクテキスト設定 */
  color: #cd19ff;
}

#money dt {
  float: left;
  width: 150px;
}
.yearly dt {
  float: left;
  width: 120px;
}
dd{
 margin-left: 15px;
}

@media screen and (max-width: 768px) {

  /* タブレット以下のサイズの時用の設定 */
  .header {
    /* ヘッダー設定 */
    align-items: left;
    padding: 10px 10px 10px 10px;
    height: 60px;
  }

  .flex img {
    height: 30px;
    width: auto;
    margin-top: -5px;
    margin-left: -20px;
  }

  .flex div {
    width: 100%;
    line-height: 1;
    margin-top: -5px;
    font-size: 10px;
  }

  m1 {
    /* 見出し1設定 */
    text-align: left;
    font-weight: bold;
    font-size: 18px;
  }

  m2 {
    /* 見出し2設定 */
    font-size: 20px;
    font-weight: bold;
  }

  m3 {
    /* 見出し3設定 */
    font-size: 18px;
    font-weight: bold;
  }

  iframe {
    height: 400px;
  }

  #money dt {
    float: none;
    width: 150px;
  }
  .yearly dt {
    float: none;
    width: 120px;
  }
}