/**************************/
/*    CSS for Template    */
/**************************/

body{
  background-image:url(images/bg.jpg);
  background-repeat:repeat-x;
  margin:0px;
  font-family: MS UI Gothic, Osaka, tahoma, Verdana, sans-serif;
  font-size: 10pt;
  line-height: 120%;
  }
  
  .holder{
  width:748px;
  margin-left:auto;
  margin-right:auto;
  margin-top:10px;
  background-image:url(images/curve_mid.jpg);
  background-repeat:repeat-y;
  }
  
  .header{
  height:46px;
  padding:5px;
  padding-left:22px;
  }
  
  .navigation{
  float:right;
  font-size: 10pt;
  font-weight: normal;
  color: #EEEEEE;
  padding-right:14px;
  padding-top:6px;
  }
  
  .block_left{
  background-image:url(images/nav_block.jpg);
  background-repeat:no-repeat;
  float:left;
  width:227px;
  height:191px;
  margin-left:22px;
  }
  
  *html .block_left{
  background-image:url(images/nav_block.jpg);
  background-repeat:no-repeat;
  float:left;
  width:227px;
  height:191px;
  margin-left:10px;
  }
  
  .block_right{
  background-image:url(images/side_banner_bg.jpg);
  background-repeat:no-repeat;
  float:right;
  width:437px;
  height:86px;
  margin-right:22px;
  font-size: 36px;
  padding-left: 10px;
  padding-top: 105px;
  color: #FFFFFF;
  }
  
  *html .block_right{
  background-image:url(images/side_banner_bg.jpg);
  background-repeat:no-repeat;
  float:right;
  width:437px;
  height:86px;
  margin-right:10px;
  font-size: 36px;
  padding-left: 10px;
  padding-top: 120px;
  color: #FFFFFF;
  }
  
  .top_curve{
  background-image:url(images/curve_top.jpg);
  background-repeat:no-repeat;
  height:16px;
  }
  
  .left_shade1
  {
  background-image:url(images/curve_left.jpg);
  background-repeat:no-repeat;
  width:5px;
  float:left;
  height:600px;
  }
  
  .center_content{
  width:738px;
  background-color:#FFFFFF;
  float:left;
  }
  
  .right_shade1{
  background-image:url(images/curve_right.jpg);
  background-repeat:no-repeat;
  width:5px;
  float:left;
  height:600px;
  }
  
  .left_content{
  float:left;
  width:227px;
  margin-left:22px;
  margin-top:10px;
  }
  
  .link {
  color: #FF0000;
  text-align: right;
  margin-bottom: 0.5em;
  padding: 0;
  }
  
  .link a {
  color: #FF0000;
  text-align: right;
  margin-bottom: 0.5em;
  margin-right: 0.1em;
  padding: 0.1em;
  }
  
  .link a:hover {
  color: #FFFFFF;
  background: #FF6600;
  text-align: right;
  margin-bottom: 0.5em;
  padding: 0.1em;
  }
  
  *html .left_content{
  float:left;
  width:227px;
  margin-left:10px;
  margin-top:10px;
  }
  
  .right_content{
  margin-top:10px;
  float:right;
  width:437px;
  margin-right:22px;
  padding-left: 10px;
  border-left: solid 1px #F2F2F2;
  }
  
  *html .right_content{
  margin-top:10px;
  float:right;
  width:437px;
  margin-right:10px;
  padding-left: 10px;
  border-left: solid 1px #F2F2F2;
  }
  
  .bottom_curve{
  height:17px;
  background-image:url(images/curve_btm.jpg);
  background-repeat:no-repeat;
  background-position: center center;
  clear:both;
  }
  
  
  .footer{
  font-size:10pt;
  width:748px;
  margin-left:auto;
  margin-right:auto;
  text-align:center;
  margin-top:10px;
  margin-bottom:25px;
  padding-bottom: 1em;
  }
  
  h2 {
  margin: 0;
  color: #006699;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 0;
  padding-left: 0;
  }
  
  h2 a:link, h2 a:hover, h2 a:visited {
  text-decoration: none;
  }
    
  h1 {
  font-size: 19px;
  font-weight: bold;
  line-height: 130%;
  color: #006699;
  margin-bottom: 5px;
  padding-top: 0.1em;
  }
  
  h1 a:link, h1 a:visited, h1 a:hover {
  text-decoration: none;
  color: #003366;
  }
    
  h4 {
  margin: 0;
  color: #FFFFFF;
  font-size: 11pt;
  padding:0.3em 0 0.2em 0.2em;
  border-top: dotted 1px #006666;
  border-bottom: dotted 1px #006666;
  background-color: #009900;
  background-repeat:repeat-x;
  }
  
  h3 {
  margin: 0.5em 0 0.5em 0;
  color: #FF0066;
  font-size: 11pt;
  font-weight: bold;
  letter-spacing: -1px;
  }
  
  h5 {
  margin: 0 0 8px 0;
  color: #999;
  font-size: 12px;
  font-weight: normal;
  text-transform: uppercase;
  }
  
  h6 {
  margin: 0;
  color: #009900;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 0;
  padding-left: 0;
  }
  
  .date {
  margin: 0;
  width: 437px;
  color: #006666;
  text-align: right;
  padding: 0 0.3em 0.2em 0;
  font-family: times, tahoma, Verdana, sans-serif;
  font-size: 10pt;
  font-weight: normal;
  }
  
  .hr{
  width:100%;
  height:8px;
  background-image:url(images/dots-hr.gif);
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 10px;
  background-repeat: repeat-x;
  background-position: center;
  }
  
  a:link, a:visited {
  color: #009900;
  text-decoration: none;
  }
    
  a:hover {
  color: #FFFFFF;
  background: #009900;
  }
  
  p {
  color: #000000;
  margin-top: 0.2em;
  margin-bottom: 1em;
  line-height: 130%;
  }
  
  /* CSS Document
  .nav{
  color:#006699;
  text-decoration:none;
  padding-left:20px;
  padding-right:5px;
  background-image:url(images/nav_buddy.gif);
  background-repeat:no-repeat;
  background-position: 7px 9px;}
  
  .nav:hover{
  color:#003366;
  text-decoration:none;
  padding-left:20px;
  padding-right:5px;
  background-image:url(images/nav_buddy.gif);
  background-repeat:no-repeat;
  background-position: 7px -9px;
  }
  */
  
  /* レスポンシブデザイン用の新しいスタイル */
  .content-wrapper {
    display: flex;
  }

  .flex-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  @media screen and (max-width: 768px) {
    h4 {
      padding: 5px 10px;
    }
    .top_curve {
      display: none;
    }
    body {
        font-size: 14px;
    }

    .holder {
        width: 100%;
        margin: 0;
        background-image: none;
    }

    .center_content {
        width: 100%;
    }

    .left_shade1, .right_shade1 {
        display: none;
    }

    .header {
        padding: 10px;
    }

    .navigation {
        float: none;
        text-align: center;
        padding: 10px 0;
    }

    .focus_block {
        flex-direction: column;
        min-height: auto;
        align-items: center;
    }

    .block_left {
        flex: none;
        width: 227px;
        margin: 0 auto;
        background-position: center;
    }

    .block_right {
        display: none;
    }

    .left_content, .right_content {
        width: auto;
        float: none;
        margin: 10px 0;
    }

    .right_content {
        border-left: none;
        padding: 0 10px;
    }
    
    
    .left_content p {
      padding: 5px 10px;
      width: auto;
    }
    
    .right_content p {
    }

    .footer {
        width: 100%;
    }
    .date {
      width: 100%;
    }
  }

  @media screen and (min-width: 769px) {
    .flex-container {
        flex-direction: row;
    }

    .left_content {
        flex: 0 0 227px;
        margin-left: 22px;
    }

    .right_content {
        flex: 0 0 437px;
        margin-right: 22px;
        border-left: solid 1px #F2F2F2;
        padding-left: 20px;
    }

    .holder {
        width: 748px;
        margin-left: auto;
        margin-right: auto;
    }

    .center_content {
        width: 738px;
    }
  }

  .focus_block {
    display: flex;
    min-height: 191px;
    justify-content: space-between;
  }

  .block_left {
    flex: 0 0 227px;
  }

  .block_right {
    flex: 0 0 437px;
  }