/* \\\\\\\\\\\\\\\\\\\スマートフォン\\\\\\\\\\\\\\\\\\\ */
@media screen and (max-width: 1000px) {
  html,
  body {
    /* display: flex; */
    width: 100%;
    height: 100%;
    font-size: 100%;
    font-family: "Armata", sans-serif;
    background: #f0f2f2;
  }

  body {
    opacity: 0;
    transition: opacity 0.6s ease;
  }

  body.fade-in {
    opacity: 1;
  }
  a {
    text-decoration: none;
  }
  :root {
    --myblack: #595959;
  }

  .wrap {
    width: 90%;
    margin: 0 auto;
  }
  /* ^^^^^hamburger^^^^^ */
  #hamburger {
    position: fixed;
    width: 40px;
    height: 30px;
    top: 16px;
    right: 30px;
    z-index: 1000;
  }
  .line_item {
    position: absolute;
    background: #595959;
    height: 2px;
    transition: 0.3s;
    display: block;
    width: 40px;
  }

  #l_1 {
    top: 0;
  }
  #l_2 {
    top: 14px;
  }
  #l_3 {
    bottom: 0;
  }

  .l1 {
    top: 0;
    transform: rotate(-45deg);
    margin-top: 14px;
  }
  .l2 {
    opacity: 0;
  }
  .l3 {
    bottom: 0;
    transform: rotate(45deg);
    margin-bottom: 14px;
  }

  h1 {
    margin-top: 2rem;
    letter-spacing: 2px;
  }
  #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_nav {
    display: block;
  }

  nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #f0f2f2;
    opacity: 0;
    visibility: collapse;
    transition: 0.3s;
    z-index: 100;
  }
  #nav ul {
    width: 84%;
    margin: 0 auto;
    margin-top: 3rem;
  }
  #nav li {
    display: block;
    text-align: center;

    padding: 0.5rem 0;
    transition: 0.3s;
  }
  .nav_item {
    display: block;
    padding: 0 1rem;
    color: var(--myblack);
  }
  .in {
    visibility: visible;
    opacity: 1;
    z-index: 100;
  }
  .nav_item {
    position: relative;
    font-size: 1rem;
    z-index: 1;
    transition: 0.3s;
    letter-spacing: 1px;
    line-height: 2;
    color: #595959;
  }
  a[aria-current="page"] {
    color: #9bb8c3;
    text-decoration: underline;
  }

  .nav_item:hover {
    color: #9bb8c3;
    transition: 0.3s;
  }

  #about {
    
    max-width: 600px;
    width: 90%;
    color: #595959;
    margin: 0 auto;
  }
  #about h1 {
    margin-bottom:1rem;
    font-size: 1.5rem;
    font-weight: bold;
    padding-top: 1rem;

    
  }
  .underline {
    position: relative;
    display: inline-block;
    padding-bottom: 4px; /* テキストとの距離 */
  }
  
  .underline::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 110px; /* 下線の長さ */
    height: 2px;  /* 下線の太さ */
    background: #9bb8c3;
  }
  .history {
    width: 90vw;
    margin: auto 0;
    line-height: 1.5rem;
    color: #595959; /* ベースカラー */

    
  }
  .history * {
    color: inherit; /* 子要素には上書きさせない */
  }

  .history p {
    margin-bottom: 1.8em; /* 段落間の余白 */
    line-height: 1.5; /* 行間を広く */
  }
  
  .history br {
    content: "";
    display: block;
    margin-bottom: 1em; /* 改行の見た目を強調したい場合 */
  }

  .history strong,
.history b {
  font-weight: bold; /* 念のため明示 */
}


  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 {
    /* display: flex; */
    width: 100%;
    height: 100%;
    font-size: 100%;
    font-family: "Armata", sans-serif;
    background: #f0f2f2;
  }
  body {
    opacity: 0;
    transition: opacity 0.6s ease;
  }

  body.fade-in {
    opacity: 1;
  }
  a {
    text-decoration: none;
  }
  :root {
    --myblack: #595959;
  }

  .wrap {
    width: 90%;
    margin: 0 auto;
  }

  header {
    width: 25%;
    position: fixed;
    top: 3rem;
    border-right: 1px solid #cccccc;
    padding-bottom: 70vh;
    h1 {
      margin-left: 1.5rem;
      margin-bottom: 3rem;
    }
  }
 
  #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;
  }
  .nav {
    display: flex;
  }
  .nav_item {
    position: relative;
    padding-left: 2rem;

    font-size: 1rem;
    z-index: 1;
    transition: 0.3s;
    letter-spacing: 1px;
    line-height: 2;
    color: #595959;
  }
  a[aria-current="page"] {
    color: #9bb8c3;
    text-decoration: underline;
  }

  .nav_item:hover {
    color: #9bb8c3;
    transition: 0.3s;
  }

  #about {
    padding-left: 25%;
    color: #595959;
    padding-top: 5rem;
  }
  .about_inner{
    margin-left: 2rem;
  }
  #about h1 {
    font-size: 1.5rem;
    letter-spacing: 2px;
    margin-bottom: 2rem;
  }
  .underline {
    position: relative;
    display: inline-block;
    padding-bottom: 4px; /* テキストとの距離 */
  }
  
  .underline::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 110px; /* 下線の長さ */
    height: 2px;  /* 下線の太さ */
    background: #9bb8c3;
  }
  .history {
    color: #595959; /* ベースカラー */

  }
  .history * {
    color: inherit; /* 子要素には上書きさせない */
  }
  .history p {
    margin-bottom: 1.5em; /* 段落間の余白 */
    line-height: 1.8; /* 行間を広く */
  }
  
  .history br {
    content: "";
    display: block;
    margin-bottom: 1em; /* 改行の見た目を強調したい場合 */
  }

  .history strong,
.history b {
  font-weight: bold; /* 念のため明示 */
}

  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;
    
  }
}
