/* DMs style */

/* font-family (参考）https://ics.media/entry/200317/ */
body {
    font-family: "Helvetica Neue",
    Arial,
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    "メイリオ",
    sans-serif;
    }

/* Back ground color & font color & button*/
.bg-blue{
    background-color: #2980b9;
}

.bg-lightBlue{
    background-color: #d6e4ed;
}

.bg-green{
    background-color: #16a085;
}

.bg-turquoise{
    background-color: #1abc9c;
}

.bg-yellow{
    background-color: #f1c40f;
}

.bg-ligtYellow{
  background-color: #f1ead5;
}

.bg-alizarin{
    background-color: #e74c3c;
}

.text-blue{
    color: #2980b9;
}

.text-lightBlue{
    color: #acd5f0;
}

.text-green{
    color: #16a085;
}

.text-turquoise{
    color: #1abc9c;
}

.text-yellow{
    color: #f1c40f;
}

.text-alizarin{
    color: #e74c3c;
}

.ht {
    color: #2980b9;
    font-weight: bold;
}

.btn-dms-blue, .btn-dms-green,
.btn-dms-yellow, .btn-dms-alizarin{
  margin-top: 1em;
}

.btn-dms-blue a{
  border-radius: 0.5em;
  background-color: #2980b9;
  align-items: center;
  margin: 0 auto;
  padding: 0.5em 1em;
  color: #fff;
  font-size: 1.25em;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
}

.btn-dms-blue a:hover{
  background-color: #074b79;
  color: #fff;
  text-decoration: none;
}

.btn-dms-green a{
  border-radius: 0.5em;
  background-color: #16a085;
  align-items: center;
  margin: 0 auto;
  padding: 0.5em 1em;
  color: #fff;
  font-size: 1.25em;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
}

.btn-dms-green a:hover{
  background-color: #0b6d5a;
  color: #fff;
  text-decoration: none;
}

.btn-dms-yellow a{
  border-radius: 0.5em;
  background-color: #f1c40f;
  align-items: center;
  margin: 0 auto;
  padding: 0.5em 1em;
  color: #666666;
  font-size: 1.25em;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
}

.btn-dms-yellow a:hover{
  background-color: #b89508;
  color: #fff;
  text-decoration: none;
}

.btn-dms-alizarin a{
  border-radius: 0.5em;
  background-color: #e74c3c;
  align-items: center;
  margin: 0 auto;
  padding: 0.5em 1em;
  color: #fff;
  font-size: 1.25em;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
}

.btn-dms-alizarin a:hover{
  background-color: #df7b6f;
  color: #fff;
  text-decoration: none;
}

.btn-submit {
  border-radius: 0.5em;
  border: none;
  background-color: #2980b9;
  align-items: center;
  margin: 0 auto;
  padding: 0.5em 2em;
  color: #fff;
  font-size: 1em;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
  width: 180px;
}

.btn-submit:hover {
  background-color: #074b79;
  color: #fff;
  text-decoration: none;
}

.btn-reset {
  border-radius: 0.5em;
  border: none;
  background-color: #999999;
  align-items: center;
  margin: 0 auto;
  padding: 0.5em 2em;
  color: #fff;
  font-size: 1em;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
  width: 120px;
}

.btn-reset:hover {
  background-color: #666666;
  color: #fff;
  text-decoration: none;
}

.space-30{
  margin: 30px;
}

.syoukai {
  width: 90%;
  margin:10px 0 10px 2em;
  padding:5px;
}

.syoukai p{
  font-size: 1.1em;
}

.form-text {
  font-size: small;
}

td input {
  margin-top: 5px;
}

.box-tanni{
  max-width: 150px;
}

.resultDisplay{
  display: none;
}

.result-text {
  font-size: 2em;
  color:#e74c3c;
  font-weight: bold;
}
/* Top page のボタン設定 */
.button-dms-blue a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  padding: 1em 2em;
  width: 250px;
  color: #2980b9;
  font-size: 18px;
  font-weight: 700;
  border: 3px solid #2980b9;
  border-radius: 10px;
  text-decoration: none;
}

.button-dms-blue a::after {
  content: '';
  width: 7px;
  height: 7px;
  border-top: 3px solid #2980b9;
  border-right: 3px solid #2980b9;
  transform: rotate(45deg);
}

.button-dms-blue a:hover {
  color: #ffffff;
  text-decoration: none;
  background-color: #2980b9;
}

.button-dms-blue a:hover::after {
  border-top: 3px solid #ffffff;;
  border-right: 3px solid #ffffff;;
}

.button-dms-green a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  padding: 1em 2em;
  width: 250px;
  color: #16a085;
  font-size: 18px;
  font-weight: 700;
  border: 3px solid #16a085;
  border-radius: 10px;
  text-decoration: none;
}

.button-dms-green a::after {
  content: '';
  width: 7px;
  height: 7px;
  border-top: 3px solid #16a085;
  border-right: 3px solid #16a085;
  transform: rotate(45deg);
}

.button-dms-green a:hover {
  color: #ffffff;
  text-decoration: none;
  background-color: #16a085;
}

.button-dms-green a:hover::after {
  border-top: 3px solid #ffffff;;
  border-right: 3px solid #ffffff;;
}

.button-dms-yellow a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  padding: 1em 2em;
  width: 250px;
  color: #f1c40f;
  font-size: 18px;
  font-weight: 700;
  border: 3px solid #f1c40f;
  border-radius: 10px;
  text-decoration: none;
}

.button-dms-yellow a::after {
  content: '';
  width: 7px;
  height: 7px;
  border-top: 3px solid #f1c40f;
  border-right: 3px solid #f1c40f;
  transform: rotate(45deg);
}

.button-dms-yellow a:hover {
  color: #666666;
  text-decoration: none;
  background-color: #f1c40f;
}

.button-dms-yellow a:hover::after {
  border-top: 3px solid #666666;;
  border-right: 3px solid #666666;;
}

@media (max-width: 1000px) {
  .button-dms-blue a,.button-dms-green a,.button-dms-yellow a {
    font-size: 14px;
    padding: 1em 1em;
    width: 150px;
  }
}

@media screen and (max-width: 767px){
  .button-dms-blue a,.button-dms-green a,.button-dms-yellow a {
    font-size: 16px;
    padding: 1em 2em;
    width: 250px;
  }
}

.back-btn {
  padding-top: 50px;
  margin: 10px;
  text-align: center;
}
/* ここまで Top page のボタン設定 */

/* top page お知らせ欄の設定 */
.news-fsmat{
  margin: 5px;
  padding: 5px;
  height: 200px;	/*高さ*/
	overflow: auto;	/*高さの設定を超えるとスクロールが自動で出る設定。全部表示させていたいならこの行と上の行を削除。*/
}

.news-list{
  list-style: none outside;
  margin: 0;
  padding: 0;
}
.news-list .item {
  display: flex;
  flex-wrap: wrap;
  flex-wrap: nowrap;
  text-decoration: none;
  color: #333;
  border-bottom: 1px solid #d6e4ed;
  padding: 20px 20px;
}
.news-list .item:first-child {
  border-top: 1px solid #d6e4ed;
}
.news-list .item .date{
  margin: 0;
  min-width: 140px;
  font-size: 16px;
  color: #999;
  padding: 0 20px 0 0;
}
.news-list .item .category {
  margin: 0;
  min-width: 140px;
  padding: 0 20px 0 0;
}
.news-list .item .category .news{ /*news*/
  background: #1abc9c;
  color: #FFF;
  text-align: center;
  display: inline-block;
  padding: 5px 20px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
}
.news-list .item .category .update{ /*update*/
  background: #df7b6f;
  color: #FFF;
  text-align: center;
  display: inline-block;
  padding: 5px 20px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
}
.news-list .item .category .promotion{ /*promotion*/
  background: #2980b9;
  color: #FFF;
  text-align: center;
  display: inline-block;
  padding: 5px 20px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
}
.news-list .item .title{
  margin: 0;
  width: 100%;
}

@media screen and (max-width: 767px){
.news-list .item {
  flex-wrap: wrap;
}
.news-list .item .date{
  min-width: 100px;
}
.news-list .item .title{
  margin-top: 10px;
}
}
/* 以上、top page お知らせ欄の設定 */

/* ソーシャルボタンを整列 */
.social_buttons{
  margin:2px;
}

.social_buttons > li {
  display: inline-block;
  vertical-align: top;
  margin: 2px;
}

.social_buttons > li:first-child {
  margin-left: 0;
}

.social_buttons > li:last-child {
  margin-right: 0;
}

.social_buttons iframe {
  margin: 0 !important;
}
/* ソーシャルボタンを整列 おわり */
/* 辞典ページのtop */
.sakuin{
  margin:2px;
}

.sakuin > li {
  display: inline-block;
  vertical-align: top;
  margin: 10px;
  font-size: 1.2em;
}

.sakuin li a{
  color:#2980b9;
}

.sakuin li a:hover{
  color:#f1c40f;
}

.word-list{
  margin:10px;
}
.word-list > div {
  border-bottom: solid 1px #d6e4ed;
  margin: 10px;
  padding: 50px 10px 0px 0px;
}
.word-list > div:last-child{
  border-bottom: none;
}

.word-list div ul {
  list-style: none;
}

.word-list div ul li{
  margin: 10px 0px;
  font-size: 1.2em;
}

.word-list div ul li a{
  text-decoration: none;
  color:#2980b9;
}

.word-list div ul li a:hover{
  text-decoration: none;
  color:#f1c40f;
}

@media screen and (max-width: 767px){
  .sakuin > li {
    font-size: 1em;
  }

  .word-list div ul li{
    font-size: 1.1em;
  }
}

.cardboard {
  background-color: #f1ecdd;
  width:400px;
  height:630px;
  box-shadow: 5px 5px 3px #999999;
}
@media (max-width: 1280px) {
  .cardboard{
    width:290px;
    height:550px;
    font-size: 0.8em;
  }
}

@media screen and (max-width: 767px){
  .cardboard{
    width:400px;
    height:630px;
    font-size: 1em;
  }
}

/* 分数の公式 */
.bunsu {
  display: inline-flex;
  flex-direction: column;
  vertical-align: middle;
  text-align: center;
}

.bunshi {
  padding: 0 10px;
  border-bottom: 1px solid #000000;
}

.bunbo {
  padding: 0 10px;
}