@charset "UTF-8";

/*  ##################################
    CUSTOM
  ################################## */

form.example label {
  width: 0;
  height: 0;
  line-height: 0;
  display: none;
  overflow: hidden;
}

.hatt__list_eg a {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 15vw;
  height: 15vw;
  background: #9d1d26;
  border: 2px solid #9d1d26;
  line-height: 1.2em;
  font-size: 60%;
  fill: #ffffff;
  color: #ffffff;
  transition: 1s;
  text-decoration: none;
  box-sizing: border-box;
}
.hatt__list_eg a:visited,
.hatt__list_eg a:link {
  color: #ffffff;
  text-decoration: none;
}

.hatt__list_eg a:hover {
  background: #ffffff;
  fill: #9d1d26;
  color: #9d1d26;
}

.gnavi__list > a:hover {
  background: #08518f;
}

.gnavi__list > a {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  height: 100%;
  background: none;
  border: none;
  line-height: 1.2em;
  text-decoration: none;
  color: #000000;
  font-weight: 600;
  font-size: 65%;
  transition: 1s;
}

.gnavi__list > a span {
  padding: 5% 0;
}

.gnavi__list > a span svg {
  margin: 0 0 5px 0;
  fill: #08518f;
}

.gnavi__list:hover > a span svg {
  fill: #ffffff;
}

.gnavi__list:hover > a span span {
  color: #ffffff;
}

.shimane-org address p {
  font-size: 90%;
  line-height: 1.6em;
}

/*
 * 自動生成ページ
 */
.sub > main ul.box {
  list-style: none;
  font-size: 90%;
  margin: 0;
}

ul.box > li:first-child,
ul.box > li:last-child {
  padding: 10px;
}

ul.box > li:not(:first-child) {
  padding-top: 20px;
}

ul.box > li {
  width: 100%;
  color: #000000;
}

ul.box > li .box-img a {
  text-decoration: none;
}

ul.box > li .box-img  a:visited {
  color: #000000;
}

ul.box > li img {
  margin: 0;
}

ul.box > li .box-img {
  width: 100%;
  margin: 0 0 10px 0;
}

ul.box > li .box-body {
  width: 100%;
}

ul.box > li .box-button {
  position: relative;
  width: 100%;
  padding: 6%;
  background: #dfeefb;
  border: 3px solid #08518f;
  border-radius: 6px;
  box-sizing: border-box;
  font-size: 120%;
  font-weight: 600;
  color: #000000;
  transition: 1s;
}

ul.box > li .box-button:link {
  text-decoration: none;
}

ul.box > li .box-button:hover {
  background: #08518f;
  color: #ffffff;
}

ul.box > li .box-button::before,
ul.box > li .box-button::after {
  content: "";
  position: absolute;
  color: #000000;
}

ul.box > li .box-button::before {
  width: 12px;
  height: 12px;
  right: 3%;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  border-top: 2px solid #000000;
  border-right: 2px solid #000000;
}

ul.box > li .box-button:hover::before {
  border-top: 2px solid #ffffff;
  border-right: 2px solid #ffffff;
  color: #ffffff;
}

ul.box > li .box-button::after {
  width: 15px;
  height: 2px;
  right: 3%;
  top: 50%;
  transform: translateY(-50%);
  background: #000000;
}

ul.box > li .box-button:hover::after {
  background: #ffffff;
  color: #ffffff;
}

ul.box > li .box-title:before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  margin: 0 10px 0 0;
  padding: 0 0 10px 0;
  background-image: url(/images/clarity/list-02.jpg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  vertical-align: bottom;
}

ul.box > li .box-title {
  margin: 0 10px 0 0;
  padding: 0 0 10px 0;
  font-size: 110%;
  font-weight: bold;
  color: #000000;
}

ul.box > li p.box-text {
  padding-left: 26px;
}

/*
 * etc
 */
.overflow-auto {
  height: auto;
  overflow-y: auto;
}

.no-border {
  border: none;
}

/*
 * Google Search Form
 */

.gsc-control-cse {
  padding: 0 !important;
}

 .gsc-search-box table.gsc-search-box td {
  border: none;
  padding: 0;
}

table.gsc-search-box td.gsc-input  {
  padding: 0 !important;
}

table.gsc-search-box td.gsc-input .gsc-input-box{
  padding: 0 10px;
}

table.gsc-search-box td.gsc-input table {
  margin: 0;
  height: 40px;
}

td.gsc-input table .gsib_a {
  width: calc(100% - 20px);
}

td.gsc-input table .gsib_b {
  width: 20px;
}

td.gsc-input table .gsib_b .gsst_b,
td.gsc-input table .gsib_b .gsst_b .gsst_a {
  padding: 0;
}

table.gsc-search-box td.gsc-search-button {
  width: auto;
  margin: 0;
  padding: 0;
}

table.gsc-search-box button.gsc-search-button {
  min-width: auto;
  height: 40px;
  margin: 0;
}

.footer-content .corp-number {
  pointer-events: none;
  color: #ffffff;
  text-decoration: none;
}

.footer-content .corp-number *:link,
.footer-content .corp-number *:visited,
.footer-content .tel-number *:link,
.footer-content .tel-number *:visited {
  color: #ffffff;
  text-decoration: none;
}
