@charset "UTF-8";

/* PC用 */
@media screen and (min-width: 768px) , print {
  
  /* 画像回り込み */
  #float-photo {
    float: left;
    width: 300px;
    margin-left: 150px;
  }
  dl {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 100px;
    padding-left: 40px;
    
  }
  dt {
    display: flex;
    justify-content: flex-start;
    width: 35%;
  }
  dd {
    width: 65%;
  }
  
  /* リンク */
  #link-flex {
    display: flex;
    flex-wrap: wrap;
  }
  #link-flex > div {
    display: flex;
    justify-content: center;
    width: 50%;
  }
  #link-flex > div > a {
    position: relative;
    padding: 10px 60px;
    color: #FFF;
    border-radius: 10px;
    background-color: #2433ff;
    border: 5px outset #2433ff;
    opacity: 1;
  }
  #link-flex > div > a:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%) rotate(45deg);
    border-top: solid 2px #FFF;
    border-right: solid 2px #FFF;
    width: 5px;
    height: 5px;
  }
  #link-flex > div > a:hover {
    opacity: 0.8;
  }
  
}

/* 小さい画面用 */
@media screen and (max-width: 767px) {
  
  /* 画像回り込み */
  #float-photo {
    width: 100%;
    text-align: center;
  }
  dl {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2em;
  }
  dt {
    display: flex;
    justify-content: flex-start;
    width: 35%;
  }
  dd {
    width: 65%;
  }
  
  /* リンク */
  #link-flex {
    width: 100%;
  }
  #link-flex > div {
    width: 100%;
    text-align: center;
  }
  #link-flex > div > a {
    display: inline-block;
    width: calc(100% - 130px);
    position: relative;
    padding: 10px 60px;
    margin-bottom: 20px;
    color: #FFF;
    border-radius: 10px;
    background-color: #2433ff;
    border: 5px outset #2433ff;
    opacity: 1;
  }
  #link-flex > div > a:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%) rotate(45deg);
    border-top: solid 2px #FFF;
    border-right: solid 2px #FFF;
    width: 5px;
    height: 5px;
  }
  #link-flex > div > a:hover {
    opacity: 0.8;
  }
  
}


