@media (max-width: 1200px) {
  /* ----------shared elements---------- */
  .container {
    max-width: 800px;
  }

  section {
    padding-top: 80px;
  }

  .en-title {
    font-size: 88px;
  }

  .page-subtitle {
    font-size: 40px;
  }

  .contact-title {
    font-size: 40px;
  }

  .contact-info img {
    width: 100%;
  }

  .mail-icon {
    width: 200px;
  }

  /* ----------service---------- */
  .plan-titles {
    font-size: 40px;
  }

  /* ----------portfolio----------- */
  #movies .container {
    gap: 48px;
  }

  .video-container {
    width: calc((100% - 48px) / 2);
  }

  /* ----------about---------- */
  :root {
    --content-width: 745px;
  }

  .detail-section {
    font-size: 18px;
  }

  .self-photo img {
    width: clamp(320px, 35vw, 400px);
  }

  .workDetail-wrapper {
    flex-wrap: wrap;
    justify-content: initial;
    gap: 0px;
    padding-bottom: 40px;
  }

  .work-details:nth-child(2) {
    padding-left: 80px;
  }

  .work-description {
    padding-top: 48px;
    line-height: 1.5em;
    max-width: var(--content-width);
    margin: 0 auto;
  }

  .work-description {
    padding-top: 8px;
  }

  /* ----------price---------- */
  .card-plans {
    font-size: 28px;
    font-weight: 400;
  }

  #op-cx {
    gap: 48px;
  }

  #cancellation {
    flex: none;
    width: 390px;
  }

  #op-cx .plan-titles {
    font-size: 38px;
  }

  #op-cx .plan-titles::before {
    content: "";
    width: 40px;
    height: 2px;
    background: #fff;
  }

  .cx-titles h3 {
    font-size: 24px;
    font-weight: 300;
  }
}

/* Tablet 横〜小さめPC */
@media (max-width: 1024px) {
  /* ----------shared elements---------- */
  .container {
    max-width: 600px;
  }

  .en-title {
    font-size: 80px;
  }

  .page-subtitle {
    font-size: 38px;
    padding-left: 48px;
  }

  .page-subtitle::before {
    width: 40px;
  }

  .contact-title {
    font-size: 40px;
  }

  .mail-icon {
    display: none;
  }

  /*  footer  */
  footer .container {
    position: initial;
  }

  .copyright,
  .sns-icons {
    position: initial;
    top: initial;
    transform: initial;
    text-align: center;
  }

  .sns-icons {
    position: initial;
    font-size: 20px;
  }

  .sns-icons ul {
    justify-content: space-around;
    padding: 24px 160px 0;
  }

  .sns-icons li {
    padding-left: 0;
  }

  /* ----------service---------- */
  .plan-titles {
    font-size: 38px;
  }

  .plan-titles::before,
  .plan-titles::after {
    width: 40px;
  }

  .plan-contents {
    padding-top: 48px;
  }

  #movie-plan .plan-contents {
    flex-direction: column;
  }

  #movie-plan .plan-img {
    max-width: 100%;
  }

  #movie-plan .plan-details {
    padding: 24px 0 0 0;
  }

  .movieplan-flow {
    padding-top: 24px;
  }

  /* ----------portfolio----------- */
  #movies .container {
    gap: 32px;
  }

  .company-name {
    font-size: 18px;
  }

  .video-container {
    width: calc((100% - 32px) / 2);
  }

  /* ----------about---------- */
  .about-lines {
    padding-top: 0px;
    font-size: 18px;
  }

  .detail-section {
    justify-content: space-between;
    padding-bottom: 40px;
  }

  .self-photo {
    width: 40%;
  }

  .self-photo img {
    width: 100%;
    height: 320px;
  }

  .work-details:nth-child(2) {
    padding-left: 24px;
  }

  /* ----------price---------- */
  #page-intro::before {
    background-position: 0 28%;
  }

  .card-holder {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .card {
    flex-direction: initial;
    min-height: 220px;
  }

  .divider {
    height: 120px;
    width: 1px;
    background: linear-gradient(
      to bottom,
      transparent,
      rgba(255, 255, 255, 0.3),
      transparent
    );
  }

  #op-cx {
    flex-direction: column;
  }

  #option {
    flex: none;
    width: 390px;
    padding-bottom: 24px;
  }
}

/* Tablet 縦 */
@media (max-width: 768px) {
  /* ----------shared elements---------- */
  .container {
    max-width: 400px;
  }

  body.is-no-scroll,
  html.is-no-scroll {
    overflow: hidden;
  }

  header {
    display: flex;
    position: fixed;
    top: 0;
    width: 100%;
    height: 56px;
    background: #0e0e0e;
    z-index: 900;
    align-items: center;
  }

  .humberger-logo {
    position: fixed;
    left: 16px;
  }

  .logo-img {
    width: 48px;
  }

  .header-inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 24px;
  }

  /* humberger button */
  .menu-button {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    z-index: 950;
    cursor: pointer;
  }

  .menu-button span {
    width: 24px;
    height: 2px;
    background: #fff;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .menu-button.is-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-button.is-active span:nth-child(2) {
    opacity: 0;
  }

  .menu-button.is-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* humberger menu */
  .nav {
    height: 100vh;
    inset: 0;
    transform: translateX(100%);
    transition: transform 0.4s ease;
    z-index: 800;
  }

  .header-logo {
    display: none;
  }

  .nav.is-open {
    transform: translateX(0);
  }

  .nav-inner {
    height: 100%;
  }

  .nav ul {
    flex-direction: column;
    gap: 32px;
    justify-content: normal;
    position: absolute;
    top: 160px;
    left: 0;
  }

  .page {
    font-size: 24px;
  }

  /* main */
  .title-box {
    padding-bottom: 64px;
  }

  .en-title {
    font-size: 60px;
  }

  .page-subtitle {
    font-size: 32px;
  }

  .contact-title {
    font-size: 32px;
  }

  dt {
    padding: 0 40px 0 8px;
  }

  dd {
    max-width: 400px;
  }

  /* footer */
  .sns-icons ul {
    padding: 24px 120px 0;
  }

  /* ----------service---------- */
  .plan-titles {
    font-size: 32px;
  }

  .plan-titles::before,
  .plan-titles::after {
    width: 40px;
  }

  .plan-contents {
    padding-top: 48px;
  }

  .plan-contents {
    flex-direction: column;
  }

  .plan-img {
    max-width: 100%;
  }

  .plan-details {
    padding: 24px 0 0 0;
  }

  .movieplan-flow {
    padding-top: 24px;
  }

  /* ----------portfolio----------- */
  #movies .container {
    flex-direction: column;
    padding-top: 0;
  }

  .video-container {
    width: 100%;
  }

  /* ----------about---------- */
  #aboutPage-intro .title-box {
    padding-bottom: 28px;
  }

  #aboutPage-intro .page-subtitle {
    font-size: 24px;
    padding-left: 38px;
  }

  #aboutPage-intro .page-subtitle::before {
    width: 32px;
  }

  #about-intro {
    padding-top: 40px;
  }

  .detail-section {
    flex-direction: column;
  }

  .self-photo {
    width: 100%;
  }

  .self-photo img {
    height: 220px;
  }

  .workDetail-wrapper {
    flex-direction: column;
    gap: 32px;
  }

  .work-details {
    width: initial;
    padding-bottom: 0;
  }

  .work-details:nth-child(2) {
    padding-left: 0px;
  }

  .about-lines {
    text-align: left;
  }

  /* ----------price---------- */
  #page-intro::before {
    background-position: 0 15%;
  }

  .card-holder {
    font-size: 17px;
  }

  .card {
    padding: 22px;
  }

  .card-plans {
    font-size: 24px;
  }

  .divider {
    height: 140px;
    margin: 20px;
  }

  #op-cx .plan-titles {
    font-size: 32px;
  }

  .price-list {
    font-size: 18px;
  }
}

/* Smartphone until 320px*/
@media (max-width: 480px) {
  /* ----------shared elements---------- */
  body {
    font-size: 14px;
  }

  .container {
    max-width: 300px;
  }

  section {
    padding-top: 48px;
  }

  /* nav */
  header {
    height: 64px;
  }

  .logo-img {
    width: 40px;
  }

  .page {
    font-size: 16px;
  }

  /* main */
  .title-box {
    padding-bottom: 40px;
  }

  .en-title {
    font-size: 48px;
  }

  .page-subtitle {
    font-size: 28px;
    padding-left: 38px;
  }

  .page-subtitle::before {
    width: 32px;
  }

  #contact {
    padding-bottom: 48px;
  }

  .contact-title {
    font-size: 22px;
  }

  .contact-details {
    padding-top: 24px;
    line-height: 1.4em;
  }

  .contact-list {
    padding-top: 32px;
  }

  dd {
    width: 120px;
  }

  .contact-svg {
    width: 120px;
  }

  .contact-text text {
    font-size: 26px;
  }

  /* footer */
  .copyright {
    font-size: 14px;
  }
  .sns-icons ul {
    padding: 24px 72px 0;
  }

  /* ----------service--------- */
  #page-intro {
    padding: 80px 0 16px;
  }

  .plan-titles {
    font-size: 24px;
  }

  .plan-titles::before,
  .plan-titles::after {
    width: 32px;
    height: 1px;
  }

  .plan-contents {
    padding-top: 32px;
  }

  .movieplan-flow {
    padding: 16px 0;
  }

  /* ----------portfolio---------- */

  .company-name {
    font-size: 16px;
  }

  /* ----------about---------- */
  #aboutPage-intro {
    padding-top: 80px;
  }

  #aboutPage-intro .page-subtitle {
    font-size: 20px;
    padding-left: 28px;
  }

  #aboutPage-intro .page-subtitle::before {
    width: 24px;
  }

  .about-lines {
    font-size: 16px;
  }

  .detail-section {
    font-size: 16px;
  }
  /* ----------price---------- */
  #page-intro::before {
    background-position: 0 0;
  }

  #price-cards {
    margin-top: 56px;
  }

  .card {
    flex-direction: column;
  }

  .description {
    min-height: initial;
    font-size: 16px;
  }

  .card-plans {
    font-size: 22px;
  }

  .card-price {
    padding-top: 24px;
  }

  .divider {
    height: 1px;
    width: initial;
    background: linear-gradient(
      to right,
      transparent,
      rgba(255, 255, 255, 0.3),
      transparent
    );
    margin: 24px 0;
  }

  #option,
  #cancellation {
    width: 300px;
    padding-bottom: 18px;
  }

  #op-cx .plan-titles {
    font-size: 22px;
  }

  .cx-titles h3 {
    font-size: 20px;
    font-weight: 300;
  }

  #op-cx .plan-titles::before {
    width: 32px;
    height: 1px;
  }

  .price-list {
    font-size: 16px;
  }
}

@media (max-width: 768px) and (orientation: landscape) and (max-height: 530px) {
  /*---------------humberger menu---------------*/

  .nav ul {
    flex-direction: initial;
    flex-wrap: wrap;

    gap: 56px;
    justify-content: center;
    align-items: center;
    height: 50vh;
    margin: auto;
  }

  .nav li {
    width: 30%;
  }
}

@media (max-width: 768px) and (orientation: landscape) and (max-height: 430px) {
  /*---------------humberger menu---------------*/

  .nav ul {
    top: 80px;
  }
}
