@charset "utf-8";

/* dimond(ダイヤに対する考え方）
--------------------------------------------------------------------*/
#diamond_wrap {
  margin: 30px auto;
  max-width: 780px;
  padding: 100px 60px;
  color: #444;
  font-family:
    Quicksand, 游ゴシック体, "Yu Gothic", YuGothic, "ヒラギノ角ゴシック Pro",
    "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-size: 14px;
  letter-spacing: 0.25em;
  background:
    url(image/border_tl.jpg) left top no-repeat,
    url(image/border_tr.jpg) right top no-repeat,
    url(image/border_bl.jpg) left bottom no-repeat,
    url(image/border_br.jpg) right bottom no-repeat,
    url(image/border_h.jpg) top repeat-x,
    url(image/border_v.jpg) left repeat-y,
    url(image/border_v.jpg) right repeat-y,
    url(image/border_h.jpg) bottom repeat-x;
}

#diamond_wrap h2 {
  font-size: 48px;
  text-align: center;
  font-family: "ＭＳ Ｐ明朝", "MS PMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", serif;
  letter-spacing: 0.4em;
  margin-bottom: 0px;
}

#diamond_wrap h2 span {
  color: #ccc;
  font-size: 18px;
  font-family: メイリオ, Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-weight: normal;
  letter-spacing: 1.4em;
  line-height: 4em;
}

#diamond_wrap ul {
  list-style: none;
  display: flex;
  margin: 0px;
  padding: 25px 200px 70px 0px;
  background: url(image/title_bg.jpg) right top no-repeat;
}

#diamond_wrap ul li a {
  font-weight: bold;
  font-size: 12px;
  color: #fff;
  padding: 8px;
  margin: 5px;
  width: 80px;
  height: 80px;
  text-align: center;
  vertical-align: middle;
  border-radius: 50%;
  line-height: 1.6em;
  text-decoration: none;
  display: flex;
  display: -webkit-flex;
  align-items: center;
  -webkit-align-items: center;
  justify-content: center;
  -webkit-justify-content: center;
}

#diamond_wrap ul li.color1 a {
  background-color: #dab663;
}

#diamond_wrap ul li.color2 a {
  background-color: #dacb63;
}

#diamond_wrap ul li.color3 a {
  background-color: #dcd961;
}

#diamond_wrap ul li.color4 a {
  background-color: #cddc61;
}

#diamond_wrap ul li.color5 a {
  background-color: #bddc61;
}

#diamond_wrap section {
  margin: 1em 30px 4em 30px;
}

#diamond_wrap h3 {
  font-size: 24px;
  letter-spacing: 0.2em;
  font-weight: normal;
  margin: 4em 0 2em 0;
}

#diamond_wrap section p {
  margin: 2em 0;
}

#diamond_wrap section p img {
  display: block;
  margin: 0 auto;
  width: 100%;
  height: auto;
}

.table {
  margin: 3em 0;
}

.table table {
  width: 100%;
  margin: 0px;
  text-align: center;
  background: #dfdfdf;
  border-collapse: separate;
  border-spacing: 0;
  line-height: 1.5;
}

.table table td {
  border: 1px solid #fff;
  padding: 5px;
  width: 19%;
  margin: 0px;
}

.table .t_cap {
  background: #ccc;
}

.table span {
  font-size: 10px;
}

.link_arrow a {
  color: #3f3a2c;
  text-decoration: none;
  font-weight: bold;
  text-decoration: none;
  margin: 0px;
  padding-left: 38px;
  position: relative;
  font-size: 16px;
  line-height: 2em;
}

.link_arrow a:hover {
  color: #896c36;
}

.link_arrow {
  position: relative;
}

.link_arrow:before {
  content: "";
  width: 30px;
  height: 30px;
  background: #999;
  border-radius: 50%;
  position: absolute;
  top: 23px;
  left: 0;
  margin-top: -15px;
}

.link_arrow:after {
  content: "";
  width: 0;
  height: 0;
  border: solid 10px transparent;
  border-left: solid 12px #ffffff;
  position: absolute;
  top: 23px;
  left: 13px;
  margin-top: -10px;
}

.link_arrow_sub {
  display: block;
  position: relative;
  top: 19px;
  left: 6px;
  width: 10px;
  height: 8px;
  background: #fff;
}

/* スマホ first(はじめに）
--------------------------------------------------------------------*/

@media (max-width: 780px) {
  #diamond_wrap {
    margin: 55px 15px 10px 0px;
    padding: 30px 0;
    width: 100%;
  }

  #diamond_wrap h2 {
    font-size: 5vw;
  }

  #diamond_wrap h2 span {
    font-size: 4vw;
    letter-spacing: 0.4em;
    line-height: 3em;
  }

  #diamond_wrap ul {
    padding: 230px 0px 0px 0px;
    background: url(image/title_bg.jpg) center top no-repeat;
    width: 100%;
    display: block;
  }

  #diamond_wrap ul li a {
    font-size: 16px;
    /* 縦書き
	writing-mode: vertical-rl;
	  -webkit-writing-mode: vertical-rl;
      -ms-writing-mode: tb-rl;
----*/
    padding: 0.5em;
    margin: 5px auto;
    line-height: 1.4em;
    width: 80%;
    border-radius: 10px;
    height: auto;
  }

  #diamond_wrap h3 {
    font-size: 20px;
    letter-spacing: 0.1em;
    font-weight: normal;
    margin: 5em 0 1em 0;
  }

  #diamond_wrap section p {
    margin: 1.4em 0;
    letter-spacing: 0;
  }
}

/* CSS
--------------------------------------------------------------------*/

.clearfix:after {
  content: "";
  clear: both;
  display: block;
}

#totp {
  position: fixed;
  bottom: 3%;
  right: 3%;
  width: 70px;
}

#totp img {
  width: 100%;
}

#totp a {
  background: none;
}

/* スマホCSS
--------------------------------------------------------------------*/

@media (max-width: 780px) {
  #totp {
    position: fixed;
    bottom: 8%;
    right: 0%;
    width: 40px;
  }
}
