﻿@charset "utf-8";
html {
  overflow-y: scroll;
  line-height: 1.5;
}

body, div, ul, ol, li, h1, h2 {
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: inherit;
  /* 親要素の色を使用する */
}


/* default */

body {
  background: #fff;
  color: #333;
  font-size: medium;
  font-family: "メイリオ", "Meiryo", verdana, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Osaka", "ＭＳ Ｐゴシック", "MS PGothic", Sans-Serif;
}

.container {
  display: block;
  margin: 0 auto;
  width: 100%;
  border-bottom: solid 20px #323b44;
}


/* ヘッダー
====================================================*/

.header_container {
  width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.header_logo {
  display: block;
  width: 180px;
}

.header_logo img {
  width: 180px;
  padding: 0.6em 0;
}


/* 見出し～体験版メニューボタンまで
====================================================*/

.h1_container {
  width: 100%;
  background-color: #f6f7f9;
  border-top: #2979af solid 5px;
}

h1 {
  width: 1000px;
  background-color: #f6f7f9;
  padding: 0.6em 0;
  text-align: left;
  font-size: 1.4em;
  margin: 0 auto;
  color: #595959;
}

h2 {
  padding-bottom: 0.3em;
  font-size: 1.3em;
  color: #104380;
  border-bottom: #e3e3e3 solid 3px;
}

.explanation_container {
  margin: 2em auto;
  width: 900px;
}

p.attention {
  margin: 0 0 0.1em 0;
  font-size: 0.9em;
}

ul.attention_list {
  margin-left: 1.5em;
  font-size: 0.9em;
}


/* 体験版メニュー
====================================================*/

.taiken_back {
  width: 900px;
  background-color: #f6f7f9;
  margin: 0 auto 100px;
  padding: 30px 0;
}

p.taiken_title {
  font-size: 1.4em;
  font-weight: bold;
  text-align: center;
  color: #595959;
  margin: 0;
}


/* メニューの枠 */

.menu {
  display: flex;
  box-sizing: border-box;
  width: 840px;
  margin: 20px auto 0;
  padding: 15px 15px 0 15px;
  background-color: #fff;
  position: relative;
}


/* メニューのタイトル */

.left {
  position: absolute;
  top: calc(55% - 15px);
  /* 縦の位置指定 */
}


/* 各メニュー */

.menu.login {
  color: #ac3232;
  border-left: solid 10px #e36779;
}

.menu.zandaka {
  color: #b13c17;
  border-left: solid 10px #f1995d;
}

.menu.shikin {
  color: #385723;
  border-left: solid 10px #a9d18e;
}

.menu.kanri {
  color: #104380;
  border-left: solid 10px #5b9bd5;
}


/* ボタンが並んでいるところ */

ul.menu_list {
  display: flex;
  flex-wrap: wrap;
  width: 660px;
  list-style: none;
  margin-left: 155px;
  /*  タイトル分のスペース */
}

.menu_list li {
  width: 200px;
  height: 46px;
  margin: 0 15px 15px 0;
  font-weight: 600;
}

.menu_list li:hover {
  color: #fff !important;
}


/* 各ボタンの色分け */

li.login {
  background-color: #fae4e7;
  color: #a91f33;
}

li.login:hover {
  background-color: #a91f33;
}

li.zandaka {
  background-color: #ffe6dd;
  color: #b13c17;
}

li.zandaka:hover {
  background-color: #b13c17;
}

li.shikin {
  background-color: #e2f0d9;
}

li.shikin:hover {
  background-color: #385723;
}

li.kanri {
  background-color: #deedfa;
}

li.kanri:hover {
  background-color: #1f4e79;
}


/* ボタンの中
====================================================*/

.btn {
  position: relative;
}

.btn_box {
  position: relative;
  display: inline-block;
  padding: 7px 0;
  transition: all 0.3s ease 0s;
  width: 200px;
  height: 32px;
}

.btn_name {
  display: inline-block;
  width: 125px;
  margin-right: 15px;
  text-align: center;
  line-height: 1.1em;
  font-size: 0.9em;
  top: 50%;
  left: 60px;
  position: absolute;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

.btn_icon {
  -webkit-transform: translateY(-50%);
  position: absolute;
  width: 30px;
  height: 30px;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  transition: all 0.2s ease 0s;
  fill: currentColor;
  /* 親要素に指定されている color プロパティの値を継承 */
}


/* iconのリンク */

.btn_icon:hover {
  fill: #fff;
}


/* 吹き出し
====================================================*/

.tooltip {
  display: none;
  position: absolute;
  padding: 10px;
  font-size: 12px;
  color: #333;
  /* 吹き出しの文字色 */
  border-radius: 5px;
  background: #fdf4db;
  /* 吹き出しの色 */
}

.tooltip:before {
  content: "";
  position: absolute;
  top: -24px;
  right: 80%;
  /* 吹き出しの△の位置 */
  border: 15px solid transparent;
  border-top: 15px solid #fdf4db;
  /* 吹き出しの△ */
  margin-left: -15px;
  transform: rotateZ(180deg);
}

.btn:hover .tooltip {
  display: inline-block;
  width: 285px;
  /* 吹き出しの幅 */
  top: 60px;
  left: 0;
  z-index: 10;
}

