@charset "utf-8";
img {
  border: 0;
}
li {
  list-style-type: none;
}
.clear {
  clear: both;
}
.clearfix:after {
  clear: both;
  content: ".";
  display: block;
  height: 0;
  visibility: hidden;
}
.clearfix {
  min-height: 1px;
}
/* bugfix */
.clearfix:after {
  content: "."; /* 新しい要素を作る */
  display: block; /* ブロックレベル要素に */
  clear: both;
  height: 0;
  visibility: hidden;
}
.clearfix {
  min-height: 1px;
}
* html .clearfix {
  height: 1px;
  /*\*/ /*/
  height: auto;
  overflow: hidden;
  /**/
}
section {
  padding: 0 1em;
  margin-bottom: 2em;
}
a {
    color: #36448C;
    text-decoration: underline;
}

a:hover {
    color: #36448C;
    background-color: #FFF740;
    text-decoration: none;
}

/* contents */
h3 {
  border-left: 8px solid #f60;
  border-bottom: 1px solid #f93;
  padding: 0 0 2px 10px;
  line-height: 1.6;
}
h3 span {
  font-weight: 300;
  font-size: .9em;
}
h4 {
  margin: .5em 0 0 0;
}
.small {
  font-size: 0.8em;
}
.data {
  text-align: right;
    padding: 0 1em;
}
#contents {
  width: 900px;
  margin: 15px auto 0;
  font-family: 'Lucida Grande', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
  font-size: 95%;
  line-height: 1.4;
}
#contents p {
  margin: 0 0 1em 0;
  text-indent: 1em;
}
#lead {
    text-align: justify;
}
ul li {
  list-style-type: decimal;
  margin: 0 0 15px 0;
}
#contents ul.patronage p {
  margin: 0;
  text-indent: 0;
}
.photo_left {
  width: 400px;
  margin: 0 10px 5px 0;
  float: left;
}
.sub_title {
  /* border-bottom: 3px solid #ccc;*/
  display: block;
  margin-bottom: 0.5em;
  position: relative;
}
#data {
  position: relative;
}
#data span {
  position: absolute;
  right: 15px;
  top: 0;
  font-size: .9em;
}
/* table */
#contents table {
  border-collapse: collapse;
  font-size: 90%;
  width: 95%;
  margin: 1em auto;
  border-top: solid 1px #777;
  border-left: solid 1px #777;
}
#contents th, #contents td {
  padding: 5px;
  border-bottom: solid 1px #777;
  border-right: solid 1px #777;
  font-weight: 300;
}
#contents th {
  width: 8%;
}
#contents th.kikaku {
  background: #f1d6e3;
}
#contents th.tokuten {
  background: #cde9f7;
}
#contents thead th, #contents thead td {
  background: #333;
  font-weight: 600;
  text-align: center;
  color: #fff;
}
/*上下左右中央*/
.outer {
  display: table;
  width: 100%;
}
.inner {
  display: table-cell;
  vertical-align: middle;
}
/*上下左右中央2*/
.outer2 {
  position: relative;
}
.inner2 {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  width: 80%;
  height: 2rem;
}
.flexbox-container-vertical-center {
  display: flex; /* 子要素をflexboxで揃える */
  flex-direction: column; /* 子要素をflexboxにより縦方向に揃える */
  justify-content: center; /* 子要素をflexboxにより中央に配置する */
  align-items: center; /* 子要素をflexboxにより中央に配置する */
  /*width:; /* 見た目用 */
  /*height:; /* 見た目用 */
  border: 0px solid; /* 見た目用 */
}
/*info表*/
dl {
  display: flex;
  flex-wrap: wrap;
  border: 1px solid #ccc;
  border-top: none;
}
.info dt {
  background: #E0E3F3;
  font-weight: 600;
  width: 20%;
  padding: 1em;
  box-sizing: border-box;
  border-top: 1px solid #ccc;
  text-align: center;
}
dd {
  padding: 1em;
  margin: 0;
  border-left: 1px solid #ccc;
  border-top: 1px solid #ccc;
  width: 80%;
  background: #fff;
  box-sizing: border-box;
}
#sagami {
  padding: 1em 1.5em;
  border: 1px solid #ccc;
  border-radius: 4px;
}
/**/
.indent {
  padding-left: 5em;
}
#contents th.subtitle {
  background: #ddd;
}
.address {
  border: #ccc 1px solid;
  padding: 10px;
}
.red {
    color: #9e0000;
}
.norap {
    white-space: nowrap;
  }

@media only screen and (max-width: 769px) {
  #contents {
    width: 98%;
    margin: 0 1%;
  }
  h3 {
    padding: 5px 0 5px 10px;
    font-size: 1.2em;
  }
  p#data {
    text-align: right;
    padding-right: 10px;
  }
  /*info表*/
  dl {
    display: inline;
    border: none;
  }
  .info dt {
    background: #3E4D9D;
    color: #fff;
    font-weight: 600;
    width: 100%;
    padding: 10px 1em;
    box-sizing: border-box;
    text-align: left;
    border: 0px solid #2D3872;
  }
  dd {
    padding: 1em;
    margin: 0;
    width: 100%;
    background: #fff;
    box-sizing: border-box;
    border: none;
  }
  .flexbox-container-vertical-center {
    display: flex; /* 子要素をflexboxで揃える */
    flex-direction: column; /* 子要素をflexboxにより縦方向に揃える */
    justify-content: center; /* 子要素をflexboxにより中央に配置する */
    align-items: flex-start; /* 子要素をflexboxにより左に配置する */
    /* width:; /* 見た目用 */
    /* height:; /* 見た目用 */
    border: 0px solid; /* 見た目用 */
  }
}
@media only screen and (min-width: 769px) {
  /* contents */
  h3 {
    width: 900px;
  }
  #contents {
    width: 900px;
    margin: 15px auto 0;
  }
  .photo_left {
    width: 400px;
    margin: 0 10px 5px 0;
    float: left;
  }
  #contents p.cap {
    font-size: 90%;
    line-height: 1.25;
    text-indent: 0;
    margin-top: 5px;
  }
  .sub_title {
    /* border-bottom: 3px solid #ccc;*/
    display: block;
    margin-bottom: 0.5em;
    position: relative;
  }
  #data {
    position: relative;
  }
  #data span {
    position: absolute;
    right: 15px;
    top: 0;
    font-size: .9em;
  }
  /* table */
  table .norap {
    white-space: nowrap;
  }
}

