@media screen and (min-width: 960px) {
  /* PC */
  /* ----------  ---------- */
  header {
    height: 100%;

    position: relative;
    user-select: none;
  }

  /* -----  ----- */
  .header-app-logo {
    width: 85px;
    height: fit-content;

    position: absolute;

    top: -1.95vh;
    left: 5.75vw;
    z-index: 1;
  }

  .header-app-logo a {
    max-width: 100%;
    width: fit-content;
    max-height: 100%;
    height: fit-content;

    display: block;
  }

  .header-app-logo a object {
    width: 100%;
    height: 100%;
  }


  .header-menu {
    width: 100%;
    height: 100%;

    z-index: 1;
  }

  /* -----  ----- */
  .header-menu__navigation {
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* -----  ----- */
  .header-menu__nav-button {
    width: 30px;
    height: 30px;

    margin-bottom: 2.05rem;
    flex-shrink: 0;
  }

  .header-menu__nav-button button span {
    background-color: var(--main-color-code);
  }

  /* -----  ----- */
  .header-nav__list {
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .header-nav__list li {
    width: 100%;
    text-align: center;
    margin-bottom: 2rem;
  }

  .header-nav__list li a {
    writing-mode: vertical-rl;
    text-decoration: none;
    color: var(--main-color-code);

    transition-property: all;
    transition-duration: var(--animation-duration);
    transition-timing-function: ease;
  }

  .header-nav__list li a:hover {
    opacity: 0.75;
  }




  /* -----  ----- */
  .header-menu__body {
  }

  /* -----  ----- */
  .header-menu__body__contents {
    width: 100%;
    height: 100%;
    min-height: 100vh;
  
    background-color: #ffffff;
    box-shadow: 0px 0px 1px 0px darkgrey;
    overflow-x: hidden;
  
    transition-property: all;
    transition-duration: 0.33s;
    transition-timing-function: ease;

    position: fixed;
    top: 0;
    left: var(--width-of-header);
    /* z-index: 1; */
  }

  .header-menu__body__contents::-webkit-scrollbar {
    display: none;
  }

  .header-menu__body__contents {
    max-width: 0;
    overflow-y: hidden;
  }
  .header-menu__body.is-active .header-menu__body__contents {
    max-width: 52.5vw;
    overflow-y: scroll;
  }

  .header-menu__body .content-body, 
  .header-menu__body .content-footer
  {
    opacity: 0;
    transform: translateY(1.75vh);
  }

  .header-menu__body .header-menu__body__contents hr {
    opacity: 0;
  }
  .header-menu__body.is-active .header-menu__body__contents hr {
    opacity: 1;
    transition-duration: 0.575s;
    transition-delay: 0.475s;
  }


  .header-menu__body.is-active .content-body, 
  .header-menu__body.is-active .content-footer
  {
    transition-duration: 0.575s;
    transition-delay: 0.475s;
    opacity: 1;
    transform: translateY(0);
  }

  .header-menu__body__contents .content-body, 
  .header-menu__body__contents .content-footer
  {
    padding-right: 1.15rem;
    padding-left: 1.15rem;

    transition-property: all;
    transition-timing-function: ease;
  }

  .header-menu__body__contents .content-body {
    width: 100%;

    padding-top: 5.75rem;
    padding-bottom: 2.25rem;
  }

  
  .header-menu__body__contents section.menu-content {
    padding-top: 1.15rem;
    padding-bottom: 0.875rem;
  }

  .header-menu__body__contents section.menu-content h3 {
    font-size: calc(var(--font-size-normal) + 0.15rem);
    color: var(--main-color-code);

    margin-bottom: 0.45rem;
  }

  .header-menu__body__contents section.menu-content ul {
    width: 100%;
    display: flex;
    align-items: center;
  }

  .header-menu__body__contents section.menu-content ul li {
    margin-right: 1.35rem;
  }
  .header-menu__body__contents section.menu-content ul li:last-of-type {
    margin-right: 0;
  }

  .header-menu__body__contents section.menu-content ul li a {
    display: inline-block;
    width: 100%;

    color: #000000;
    font-size: var(--font-size-normal);
    text-decoration: none;

    transition-property: all;
    transition-duration: 0.33s;
    transition-timing-function: ease;
  }

  .header-menu__body__contents section.menu-content ul li a:hover {
    opacity: 0.55;
  }


  .header-menu__body__contents hr {
    width: calc(100% - 2.3rem);
    height: 1px;

    background-color: var(--secondary-base-color-code);
    margin-right: auto;
    margin-left: auto;

    transition-property: all;
    transition-timing-function: ease;
  }

  .header-menu__body__contents .content-footer {
    width: 100%;
    
    padding-top: 1.05rem;
    padding-bottom: 1.05rem;
  }

  .header-menu__body__contents .footer-nav-links {
    display: flex;
    align-items: center;
  }

  .header-menu__body__contents .footer-nav-links li {
    margin-right: 1.35rem;
  }

  .header-menu__body__contents .footer-nav-links li:last-of-type {
    margin-right: 0;
  }

  .header-menu__body__contents .footer-nav-links li a {
    text-decoration: none;
    color: #000000;
    font-size: calc(var(--font-size-normal) - 0.225rem);

    transition-property: all;
    transition-duration: 0.33s;
    transition-timing-function: ease;
  }

  .header-menu__body__contents .footer-nav-links li a:hover {
    opacity: 0.55;
  }



  /* -----  ----- */
  .header-menu__body__black-background {
    position: fixed;
    top: 0;
    left: var(--width-of-header);

    width: calc(100vw - var(--width-of-header));
    height: 100vh;
    overflow: hidden;

    background-color: rgb(0 0 0 / 0.25);

    transition-property: all;
    transition-duration: 0.33s;
    transition-timing-function: ease;
  }

  .header-menu__body__black-background {
    opacity: 0;
    visibility: hidden;
  }
  .header-menu__body.is-active .header-menu__body__black-background {
    opacity: 1;
    visibility: visible;
  }

}

@media screen and (max-width: 959px) {
  /* Tablet and Mobile */
  /* ----------  ---------- */
  header {
    position: relative;
    user-select: none;
  }

  /* -----  ----- */
  .header-app-logo {
    width: 55px;
    height: fit-content;

    position: absolute;
    z-index: 2;

    top: 6.5vh;
    left: calc(var(--width-of-header) + var(--primary-horizontal-padding));
  }

  .header-app-logo a {
    max-width: 100%;
    width: fit-content;
    max-height: 100%;
    height: fit-content;

    display: block;
  }

  .header-app-logo a object {
    width: 100%;
    height: 100%;
  }


  .header-menu {
    width: fit-content;
    height: 100vh;

    background-color: rgb(var(--primary-base-color-rgb) / 0.775);
    box-shadow: 0px 0px 1px 0px var(--main-color-code);


    padding-top: 6.5vh;
    padding-right: 0.375rem;
    padding-bottom: 6.5vh;
    padding-left: 0.375rem;

    position: fixed;
    top: 0;
    z-index: 1;
  }

  /* -----  ----- */
  .header-menu__navigation {
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* -----  ----- */
  .header-menu__nav-button {
    width: 30px;
    height: 30px;

    margin-bottom: 2.05rem;
    flex-shrink: 0;
  }

  .header-menu__nav-button button span {
    background-color: var(--main-color-code);
  }

  /* -----  ----- */
  .header-nav__list {
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .header-nav__list li {
    width: 100%;
    text-align: center;
    margin-bottom: 2rem;
  }

  .header-nav__list li a {
    writing-mode: vertical-rl;
    text-decoration: none;
    color: var(--main-color-code);
    font-size: var(--font-size-small);

    transition-property: all;
    transition-duration: var(--animation-duration);
    transition-timing-function: ease;
  }

  .header-nav__list li:hover a {
    opacity: 0.75;
  }




  /* -----  ----- */
  .header-menu__body {
  }

  /* -----  ----- */
  .header-menu__body__contents {
    --padding-x: 0.85rem;
    width: 100%;
    height: 100%;
    min-height: 100vh;
  
    background-color: #ffffff;
    box-shadow: 0px 0px 1px 0px darkgrey;
    overflow-x: hidden;
  
    transition-property: all;
    transition-duration: 0.33s;
    transition-timing-function: ease;

    position: fixed;
    top: 0;
    left: var(--width-of-header);
    /* z-index: 1; */
  }

  .header-menu__body__contents::-webkit-scrollbar {
    display: none;
  }

  .header-menu__body__contents {
    max-width: 0;
    overflow-y: hidden;
  }
  .header-menu__body.is-active .header-menu__body__contents {
    max-width: calc(100vw - var(--width-of-header));
    overflow-y: scroll;
  }

  .header-menu__body .content-body, 
  .header-menu__body .content-footer
  {
    opacity: 0;
    transform: translateY(1.75vh);
  }

  .header-menu__body .header-menu__body__contents hr {
    opacity: 0;
  }
  .header-menu__body.is-active .header-menu__body__contents hr {
    opacity: 1;
    transition-duration: 0.575s;
    transition-delay: 0.475s;
  }


  .header-menu__body.is-active .content-body, 
  .header-menu__body.is-active .content-footer
  {
    transition-duration: 0.575s;
    transition-delay: 0.475s;
    opacity: 1;
    transform: translateY(0);
  }

  .header-menu__body__contents .content-body, 
  .header-menu__body__contents .content-footer
  {
    padding-right: var(--padding-x);
    padding-left: var(--padding-x);

    transition-property: all;
    transition-timing-function: ease;
  }

  .header-menu__body__contents .content-body {
    width: 100%;

    padding-top: calc(6.5vh + 2.5rem);
    padding-bottom: 2.25rem;
  }

  
  .header-menu__body__contents section.menu-content {
    padding-top: 0.75rem;
    padding-bottom: 0.875rem;
  }

  .header-menu__body__contents section.menu-content h3 {
    font-size: calc(var(--font-size-normal) + 0.1rem);
    color: var(--main-color-code);

    margin-bottom: 0.275rem;
  }

  .header-menu__body__contents section.menu-content ul {
    width: 100%;
    display: flex;
    align-items: center;
  }

  .header-menu__body__contents section.menu-content ul li {
    margin-right: 0.85rem;
  }
  .header-menu__body__contents section.menu-content ul li:last-of-type {
    margin-right: 0;
  }

  .header-menu__body__contents section.menu-content ul li a {
    display: inline-block;
    width: 100%;

    color: #000000;
    font-size: var(--font-size-tiny);
    text-decoration: none;

    transition-property: all;
    transition-duration: 0.33s;
    transition-timing-function: ease;
  }

  .header-menu__body__contents section.menu-content ul li a:hover {
    opacity: 0.55;
  }


  .header-menu__body__contents hr {
    width: calc(100% - calc(var(--padding-x) * 2));
    height: 1px;

    background-color: var(--secondary-base-color-code);
    margin-right: auto;
    margin-left: auto;

    transition-property: all;
    transition-timing-function: ease;
  }

  .header-menu__body__contents .content-footer {
    width: 100%;
    
    padding-top: 1.05rem;
    padding-bottom: 1.05rem;
  }

  .header-menu__body__contents .footer-nav-links {
    display: flex;
    align-items: center;
  }

  .header-menu__body__contents .footer-nav-links li {
    margin-right: 1.35rem;
  }

  .header-menu__body__contents .footer-nav-links li:last-of-type {
    margin-right: 0;
  }

  .header-menu__body__contents .footer-nav-links li a {
    text-decoration: none;
    color: #000000;
    font-size: var(--font-size-tiny);

    transition-property: all;
    transition-duration: 0.33s;
    transition-timing-function: ease;
  }

  .header-menu__body__contents .footer-nav-links li a:hover {
    opacity: 0.55;
  }



  /* -----  ----- */
  .header-menu__body__black-background {
    position: fixed;
    top: 0;
    left: var(--width-of-header);

    width: calc(100vw - var(--width-of-header));
    height: 100vh;
    overflow: hidden;

    background-color: rgb(0 0 0 / 0.25);

    transition-property: all;
    transition-duration: 0.33s;
    transition-timing-function: ease;
  }

  .header-menu__body__black-background {
    opacity: 0;
    visibility: hidden;
  }
  .header-menu__body.is-active .header-menu__body__black-background {
    opacity: 1;
    visibility: visible;
  }
}
