body {
    text-align: center;
    color: #4e4e4e;
    font-family: 'Avenir','Helvetica Neue','Helvetica','Arial','Hiragino Sans','ヒラギノ角ゴシック',YuGothic,'Yu Gothic','メイリオ', Meiryo,'ＭＳ Ｐゴシック','MS PGothic'
}

.line_btn img{
  width:auto;
  height:28px;
}

.ul1{
  text-align: right;
  margin-right:10%;
}

ul{
  margin:0;
  padding:0;
}

ul li{
  display: inline-block;
}

div#content_bg {
    overflow: hidden;
}
a{
   text-decoration: none;
}
a img {
    border: none;
    width: 15%;
    margin-left: 52px;
    margin-top: 5px;
}
img{
    border: solid 1px;
}
html {
    overflow-x: hidden;
}
div#content {
    position: relative;
    display: inline-flex;
    padding: 35px 44px;
    background-color: #ffffff;
    margin: 7px 80px;
}
div#content img {
    max-width: 100%;
}
div#contents_text {
    margin-left: 40px;
}
div#content_bg {
    background: -moz-linear-gradient(bottom, #fff5a6,#ffcece);
    background: -webkit-linear-gradient(bottom, #fff5a6,#ffcece);
    background: linear-gradient(to bottom, #fff5a6,#ffcece);
    background-attachment: fixed;
}
div#contents_text_bg {
    border-radius: 10px;
}
h1 {
    font-size: 37px;
    margin-bottom: 0;
}
h2 {
    background-color: #385780;
    padding: 5px;
    color: #ffffff;
    letter-spacing: 2px;
    font-size: 28px;
}
h3 {
    font-weight: bold;
    border-bottom: dotted #a2a2a2;
    border-top: dotted #a2a2a2;
    font-size: 21px;
    padding: 6px;
    letter-spacing: 5px;
}
h4 {
    margin: 0;
    background-color: #003d7b;
    color: #ffffff;
    padding: 10px;
    font-size: 25px;
}
h5 {
    text-align: left;
    border-left: solid 9px #95b4f3;
    border-bottom: solid 1px;
    margin-left: 35px;
    margin-right: 35px;
    font-size: 18px;
    padding-left: 15px;
}
.head {
    background-color: #f3f1e0;
    text-align: left;
}
.headerimg {
    border-bottom: solid #385780 9px;
}
.text {
    line-height: 42px;
    letter-spacing: 1px;
    font-weight: bold;
    font-size: 25px;
}
.text_box {
    margin-bottom: 30px;
}
.popupModal1 {
    margin: auto;
}
.under_content_text {
    line-height: 24px;
    letter-spacing: 1px;
    font-weight: bold;
    font-size: 19px;
}
.under_content_text ul {
    width: 58%;
    text-align: left;
    margin: auto;
}
.under_content {
    background-color: #ffffff;
}
.under_contentbox {
    padding-bottom: 84px;
    padding-top: 25px;
}
label img {
    min-width: 460px;
}
.footer {
    background-color: #385780;
}
.footer img {
    width: 23%;
    border: solid 0;
}
.text.left {
    font-size: 18px;
    line-height: 33px;
    color: #868686;
}
span.text_1, span.text_2 {
    color: #000;
    padding: 10px 18px;
    font-size: 22px;
    border-bottom: dotted 3px;
    display: inherit;
    font-weight: bold;
}
@media screen and  (max-width: 450px){
  div#content {
    display: block;
    margin: 0;
    padding:0;
}
.popupModal1 {
    width: 100%;
    margin: auto;
    margin-top: -5px;
}
div#contents_text {
    margin-left: 0px;
    margin-right: 0px;
}
.text {
    margin: 0px 28px;
    font-size: 17px;
}
h1 {
    font-size: 27px;
    padding: 8px 14px;
}
h2 {
    font-size: 25px;
    margin-bottom: 26px;
}
label img {
    min-width: 0;
    margin-top: -1px;
}
.under_content_text {
    font-size: 15px;
}
.text_box {
    margin-bottom: 35px;
    padding-bottom: 16px;
}

.text_box:last-of-type{
    margin-bottom: 0;
    padding-bottom: 0;
}

.footer img {
    width: 75%;
    margin-top: 10px;
}
.text_box img {
    margin-bottom: 18px;
}
.twitter {
    padding: 13px 0px;

}
a img {
    width: 125px;
    margin-left: 0px;
}
.head {
    text-align: center;
}
.twitte_1 {
    text-align: center;
}
}


@media screen and (min-width: 451px) and ( max-width:900px){
  .ul1{
    text-align: center;
    margin-right:0;
  }

  div#content {
    display: block;
    margin: 0;
}
.head {
    height: 50%;
    text-align: center;
}
a img {
    width: 35%;
    margin-left: 0px;
}
.popupModal1 {
    width: 100%;
    margin: auto;
}
div#contents_text {
    margin-left: -43px;
    margin-right: -43px;
}
.text {
    margin: 0px 28px;
}
h1 {
    font-size: 33px;
    padding: 13px 23px;
}
label img {
    min-width: 0;
}
.footer img {
    width: 52%;
}
.text_box {
    margin-bottom: 50px;
}
.text_box img {
    margin-bottom: 30px;
}
h2 {
    margin-bottom: 50px;
}
}


@media screen and (min-width: 900px) and ( max-width:1250px){
  div#content {
    margin: 0px 0px;
    margin-top: -4px;
    padding: 35px 27px;
}
.head {
    height: 50%;
}
div#contents_text {
    margin-left: 52px;
}
h1 {
    font-size: 31px;
}
h2 {
    font-size: 23px;
}
h4 {
    font-size: 23px;
}
.text {
    font-size: 19px;
    line-height: 30px;
}
.under_content_text {
    font-size: 16px;
}
label img {
    min-width: 450px;
}
.twitte_1 {
    text-align: right;
    margin-right: 106px;
}
}
@media screen and ( min-width:1250px){
  div#content {
      padding: 35px 50px;
  }
  .head {
    height: 50%;
}
div#content {
    margin: 0px 105px;
}
.twitte_1 {
    text-align: right;
    margin-right: 106px;
}
}
@media all and (-ms-high-contrast:none){
  *::-ms-backdrop, .text_box img { width: 100%; }/* IE11 */
}

@media all and (-ms-high-contrast:none){
  .text_box img { width: 100%; } /* IE10 */
}

@media (max-width: 399px) {
  .ul1{
    text-align: center;
    margin-right:0;
  }

}
