@charset "UTF-8";

/* PC用 */
@media screen and (min-width: 768px) , print {
  /* コンテンツ */
  #content_area {
    line-height: 1.6em;
  }
  #content_area > section > p {
    padding-left: 10px;
    margin-bottom: 20px;
    line-height: 1.6em;
  }
  
  #content_area > section > h2 {
    width: 100%;
    line-height: 1.6em;
    text-align: center;
    padding: 10px 0;
    margin: 20px 0;
    background-color: #CCC;
  }
  #content_area > section > .text_all {
    width: calc(100%);
    margin-bottom: 20px;
    line-height: 1.6em;
  }
  #content_area > section > .text_all > .p2 > .position-center .outset-btn {
    width: calc(55% - 130px);
  }
  #content_area > section > .text_right {
    width: calc(100% - 320px);
    margin-right: 20px;
    margin-bottom: 20px;
    line-height: 1.6em;
    float: left;
  }
  #content_area > section > .text_right > h3 ,#content_area > section > .text_all > h3 {
    position: relative;
    padding: 0 40px;
  }
  #content_area > section > .text_right > h3:before ,#content_area > section > .text_all > h3:before {
    position: absolute;
    top: calc(50% - 1px);
    left: 0;
    width: 100%;
    height: 2px;
    content: '';
    background: #000;
  }
  #content_area > section > .text_right > h3 > span ,#content_area > section > .text_all > h3 > span {
    position: relative;
    padding: 0 1em;
    background-color: #fff;
  }
  
  #content_area > section > .text_right > div > p {
    border: 2px dotted #333;
    padding: 10px;
  }
  #content_area > section > .photo_right {
    width: 300px;
    float: right;
    text-align: center;
  }
  
  /* 30％ 251021 */
  .flex-30_area {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .flex-30 {
    width: calc(30% - 10px - 20px);
    padding: 5px;
    margin-right: 20px;
  }
  .flex-30:nth-child(2n) {
    display: flex;
    align-items: center;
    width: calc(70% - 10px);
    padding: 5px;
    margin-right: 0;
  }
  .flex-30 > img {
    display: block;
    margin: 0 auto;
  }
  
  /* 50％ 251015 */
  .flex-50_area {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .flex-50 {
    width: calc(50% - 10px);
    padding: 5px;
  }
  .flex-50 > img {
    display: block;
    margin: 0 auto;
  }
  .flex-50 > h4 {
    font-size: 1em;
    text-align: center;
    padding: 5px 10px;
    border: 1px solid #00427a;
    color: #00427a;
  }
  .flex-50 > .figcap {
    text-align: center;
  }
  
  /* 立体ボタン調整用 251021 */
  a.outset-btn {
    display: inline-block;
    width: calc(80% - 130px);
  }
  
}
 
/* 小さい画面用 */
@media screen and (max-width: 767px) {
  /* コンテンツ */
  #content_area {
    line-height: 1.6em;
  }
  #content_area > section > p {
    padding-left: 10px;
    margin-bottom: 20px;
    line-height: 1.6em;
  }
  
  #content_area > section > h2 {
    width: 100%;
    line-height: 1.6em;
    text-align: center;
    padding: 10px 0;
    margin: 20px 0;
    background-color: #CCC;
  }
  
  #content_area > section > .text_all {
    width: calc(100% - 20px);
    margin: 0 10px 20px;
    line-height: 1.6em;
  }
  #content_area > section > .text_right {
    width: calc(100% - 20px);
    margin: 0 10px 20px;
    line-height: 1.6em;
  }
  #content_area > section > .text_right > div > p {
    border: 2px dotted #333;
    padding: 10px;
  }
  #content_area > section > .photo_right {
    width: calc(100% - 20px);
    margin: 0 10px 20px;
    text-align: center;
  }
  
  /* 30％ 251021 */
  .flex-30_area {
    
  }
  .flex-30 {
    width: calc(100% - 10px);
    padding: 5px;
  }
  .flex-30 > img {
    display: block;
    margin: 0 auto;
  }
  
  /* 50％ 251015 */
  .flex-50_area {
    
  }
  .flex-50 {
    width: calc(100% - 10px);
    padding: 5px;
  }
  .flex-50 > img {
    display: block;
    margin: 0 auto;
  }
  .flex-50 > h4 {
    font-size: 1em;
    text-align: center;
    padding: 5px 10px;
    border: 1px solid #00427a;
    color: #00427a;
  }
  .flex-50 > .figcap {
    text-align: center;
  }
  
  /* 立体ボタン調整用 251021 */
  a.outset-btn {
    display: inline-block;
    width: calc(100% - 130px);
  }
  
}




