/* \\\\\\\\\\\\\\\\\\\スマートフォン\\\\\\\\\\\\\\\\\\\ */
@media screen and (max-width: 1000px) {
  html,
  body {
    width: 100%;
    height: 100%;
    font-size: 100%;
    font-family: "Armata", sans-serif;
    background: #f0f2f2;
    display: flex;
    flex-direction: column;
  }

  a {
    text-decoration: none;
  }
  :root {
    --myblack: #595959;
  }

  .wrap {
    width: 90%;
    margin: 0 auto;
  }

  header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 120px;
  
  }
  #h_top a {
    color: #595959;
  }

  .my_job {
    font-size: 0.75rem;
    line-height: 2.5;
    letter-spacing: 1px;
  }

  .my_name {
    font-size: 1.25rem;
    letter-spacing: 2px;
  }
  main{
    display: flex;
    justify-content: center; /* 横方向の中央 */
    align-items: center; 
    height: 70vh;
    overflow: hidden;

  }

  .home_img {    
    width: 70%;
    height: 100%;
    overflow-y: hidden;
  
  }
  .home_img img {
    width: auto;
    max-height: auto;
    object-fit: contain;
    
  }
  /* クリック前は通常のサムネイル状態 */
  .zoom-image {
    display: block;
    max-width: 100%;
    height: auto;
    transition: all 0.5s ease;
    cursor: pointer;
  }

  /* ---------- 全体のフェードアウト ---------- */
  body {
    opacity: 1;
    transition: opacity 0.6s ease; /* フェードアニメーション */
  }

  body.fade-out {
    opacity: 0;
  }

  /* ---------- 画像リンクエリア ---------- */
  .zoom-link {
    display: inline-block;
    cursor: pointer;
  }

  /* ---------- 画像スタイル ---------- */
  .zoom-image {
    display: block;
    max-width: 100%;
    height: auto;
    object-fit: cover; /* 縦横比を保って枠を埋める */
    object-position: center; /* 中央寄せ */
    transition: opacity 0.6s ease; /* フェード用にオプションで付けてもOK */
  }

  .nav_item {
    position: relative;
    font-size: 1rem;
    z-index: 1;
    transition: 0.3s;
    letter-spacing: 1px;
    line-height: 2;
    color: #595959;
  }

  .nav_item:hover {
    color: #9bb8c3;
    transition: 0.3s;
  }

  a[aria-current="page"] {
    color: #9bb8c3;
    text-decoration: underline;
  }

  footer{
    width: 100%;
    position: fixed;
    bottom: 0;       /* 画面の下に固定 */
    justify-content: center;
  }
  .copyright {
    width: 90%;
    font-size: 0.75rem;
    margin-bottom: 2rem;
    text-align: end;
    color: #595959;
    
  }
}

/* \\\\\\\\\\\\\\\\\\\\\\\PC\\\\\\\\\\\\\\\\\\\\\\\\\\\\ */
@media screen and (min-width: 1000px) {
  html,
  body {
    width: 100%;
    height: 100%;
    font-size: 100%;
    font-family: "Armata", sans-serif;
    background: #f0f2f2;
  }

  a {
    text-decoration: none;
  }
  :root {
    --myblack: #595959;
  }

  .wrap {
    width: 90%;
    margin: 0 auto;
  }

  header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 120px;
  }
  #h_top a {
    color: #595959;
  }

  .my_job {
    font-size: 0.75rem;
    line-height: 2.5;
    letter-spacing: 1px;
  }

  .my_name {
    font-size: 1.25rem;
    letter-spacing: 2px;
  }
  main{
    display: flex;
    justify-content: center; /* 横方向の中央 */
    align-items: center;  
  }

  .home_img {
    height: 80vh;
    margin: 0 auto;
  }
  .home_img img {
    width: 100%;
    height: auto;
  }
  /* クリック前は通常のサムネイル状態 */
  .zoom-image {
    display: block;
    max-height: 70vh;
    transition: all 0.5s ease;
    cursor: pointer;
  }

  /* ---------- 全体のフェードアウト ---------- */
  body {
    opacity: 1;
    transition: opacity 0.6s ease; /* フェードアニメーション */
  }

  body.fade-out {
    opacity: 0;
  }

  /* ---------- 画像リンクエリア ---------- */
  .zoom-link {
    display: inline-block;
    cursor: pointer;
  }

  /* ---------- 画像スタイル ---------- */
  .zoom-image {
    display: block;
    height: auto;
    object-fit: cover; /* 縦横比を保って枠を埋める */
    object-position: center; /* 中央寄せ */
    transition: opacity 0.6s ease; /* フェード用にオプションで付けてもOK */
  }

  .nav_item {
    position: relative;
    font-size: 1rem;
    z-index: 1;
    transition: 0.3s;
    letter-spacing: 1px;
    line-height: 2;
    color: #595959;
  }

  .nav_item:hover {
    color: #9bb8c3;
    transition: 0.3s;
  }

  a[aria-current="page"] {
    color: #9bb8c3;
    text-decoration: underline;
  }
  footer{
    width: 100%;
    position: fixed;
    bottom: 0;       /* 画面の下に固定 */
    justify-content: center;
    z-index: 1;
  }
  .copyright {
    margin-bottom: 2rem;
    text-align: end;
    color: #595959;
  }
}

