/* ========================================
  TABLET / SMALL PC
======================================== */

@media (max-width: 1024px) {
  :root {
    --header-height: 72px;
  }

  #intro,
  #brands {
    scroll-margin-top: -50px;
  }

  #company {
    scroll-margin-top: 20px;
  }

  .header {
    mix-blend-mode: normal;
    background: var(--color-bg);
  }

  .header__inner {
    min-height: var(--header-height);
    padding-inline: 24px;
    gap: 16px;
    background: var(--color-bg);
  }

  /* LOGO */

  .header__logo {
    width: 136px;
  }

  .header__logo img {
    filter: brightness(0);
  }

  .header__nav-list-item a,
  .header__lang {
    color: var(--color-text);
  }

  .header__lang::before {
    bottom: -2px;
    width: 106%;
    content: "";
    position: absolute;
    bottom: 0;
    background: #232323;
    transform: scaleX(1);
    left: unset;
    transform-origin: unset;
  }

  .header__lang::after {
    content: unset;
  }

  .header__nav-list-item:last-child {
    display: none;
  }

  .header__nav-cta-mobile {
    position: relative;
    display: block;
    border: 1px solid var(--color-text);
    padding: 20px 90px 20px 16px;
    text-align: center;
    margin: 14px 0 0 0;
  }

  .header__nav-cta-mobile::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 23%;
    width: 7px;
    height: 7px;
    border-top: 1px solid var(--color-text);
    border-right: 1px solid var(--color-text);
    transform: translateY(-50%) rotate(45deg);
  }

  /* ACTIONS */

  .header__actions {
    gap: 28px;
  }

  /* HAMBURGER BUTTON */

  .header__menu-button {
    position: relative;
    display: block;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
  }

  .header__menu-line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--color-text);
    transition:
      top 0.3s ease,
      transform 0.3s ease;
  }

  .header__menu-line:first-child {
    top: 10px;
  }

  .header__menu-line:last-child {
    top: 18px;
  }

  /* OPEN → CLOSE ICON */

  .header.is-menu-open .header__menu-line:first-child {
    top: 14px;
    transform: rotate(45deg);
  }

  .header.is-menu-open .header__menu-line:last-child {
    top: 14px;
    transform: rotate(-45deg);
  }

  /* FULLSCREEN NAVIGATION */

  .header__nav {
    position: fixed;
    inset: 0;
    z-index: 2;

    width: 100%;
    height: 100vh;
    height: 100dvh;
    margin: 0;

    padding: calc(var(--header-height)) 24px 36px;

    background: var(--color-bg);

    overflow-y: auto;
    overscroll-behavior: contain;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);

    transition:
      opacity 0.3s ease,
      visibility 0.3s ease,
      transform 0.3s ease;
  }

  /* OPEN STATE */

  .header.is-menu-open .header__nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  /* NAV LIST */

  .header__nav-list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .header__nav-list-item {
    width: 100%;
  }

  .header__nav-list-item:not(:nth-last-child(2)) {
    border-bottom: 1px solid var(--color-border);
  }

  .header__nav-list-item a {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 80px;
    font-size: 14px;
    letter-spacing: 0.1em;
    line-height: 1.6;
    white-space: normal;
  }

  /* PREVENT BACKGROUND SCROLL */

  html.is-menu-open {
    overflow: hidden;
  }

  /* ANCHOR OFFSET */

  html {
    scroll-padding-top: 84px;
  }

  /* BRANDS */
  .brands__content {
    display: flex;
    flex-direction: column;
    gap: 46px;
  }

  .brands__media {
    position: relative;
    left: -24px;
    width: clamp(343px, calc(-36.622px + 101.233vw), 1000px);
    height: clamp(234px, calc(-52.595px + 76.425vw), 730px);
  }

  .brands__map iframe {
    aspect-ratio: 16 / 7.8;
  }

  .company__media {
    position: relative;
    bottom: -1px;
    width: 100%;
  }

  /* MENU */
  .menu__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Footer */
  .footer__nav {
    flex-direction: column;
    gap: 40px;
  }

  .footer__list {
    grid-template-columns: repeat(2, max-content);
    grid-template-rows: auto;
    grid-auto-flow: row;
    row-gap: 18px;
  }

  .footer__contact {
    grid-template-columns: max-content;
    gap: 40px;
    padding-top: 40px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .fv__content-block {
    --fv-left: max(24px, calc((100% - 1200px) / 2));
    --fv-gap: max(40px, var(--fv-gap-old));
  }

  .fv__content-copy {
    font-size: 4dvw;
    padding-bottom: 10px;
  }

  .fv__content-text {
    /* font-size: 1.5dvw; */
    font-size: clamp(0.875rem, 0.4985rem + 0.7843vw, 1rem);
  }

  .intro__content-text {
    font-size: clamp(12px, calc(2.8px + 1.1979vw), 15.067px);
    letter-spacing: 9%;
  }
}

@media (min-width: 1024px) and (max-width: 1400px) {
  .fv__content-copy {
    padding-bottom: clamp(1rem, -5.8085rem + 10.6383vw, 3.5rem);
  }
}

/* ========================================
  SP
======================================== */

@media (max-width: 767px) {
  :root {
    --section-padding-top-bot: 80px;
  }

  .section-heading__en {
    font-size: 32px;
    line-height: 1.2;
  }

  .section-heading__title {
    font-size: clamp(0.75rem, 0.6307rem + 0.5089vw, 0.875rem);
  }

  .fv__inner {
    width: 100%;
  }

  .fv__content-block {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
  }

  /* COPY BLOCK */

  .fv__content-copy-block {
    width: 100%;
    min-width: 0;
    flex: none;
    margin: 0;
    padding: 24px 32px 0;
    align-items: flex-start;
  }

  /* MAIN COPY */

  .fv__content-copy {
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 0;
    width: 100%;
    writing-mode: horizontal-tb;
    font-size: 40px;
    line-height: 1.55;
    padding: 0;
  }

  .fv__content-copy--1,
  .fv__content-copy--2 {
    writing-mode: horizontal-tb;
    white-space: normal;
    padding: 0;
    line-height: 1.4;
    letter-spacing: 0;
  }

  .fv__content-copy--2 > span {
    color: var(--color-highlight);
  }

  /* DESCRIPTION */

  .fv__content-text {
    width: 100%;
    max-width: none;
    flex: none;
    margin: 24px 0 0;
    padding: 0;

    font-size: 14px;
    line-height: 2.4;
    overflow-wrap: normal;
  }

  /* IMAGE */

  .fv__content-media {
    width: 100%;
    max-width: none;
    min-width: 0;
    flex: none;
    margin: 44px 0 0;
    padding: 0;
  }

  .fv__content-media img {
    /* width: 100%;
    max-width: 100%;
    transform: none; */
    width: 100%;
    max-width: 100%;
    transform: none;
  }

  /* INTRO */
  .intro__inner {
    gap: 48px;
    flex-direction: column;
    align-items: center;
  }

  .intro__content {
    padding-top: unset;
  }

  .intro__media {
    padding-bottom: unset;
    display: grid;
    width: 100%;
    grid-template-columns: minmax(0, 34fr) minmax(0, 66fr);
    gap: 27px;
    align-items: start;
  }

  .intro__media-item--1,
  .intro__media-item--2 {
    width: 100%;
    min-width: 0;
    max-width: none;
  }

  .intro__content-text {
    font-size: clamp(0.75rem, 0.6307rem + 0.5089vw, 0.875rem);
  }

  /* BRANDS */
  .brands__infor-num,
  .brands__infor-name-hira {
    font-size: clamp(0.75rem, 0.6307rem + 0.5089vw, 0.875rem);
  }

  .brands__content {
    padding-top: 40px;
  }

  .brands__infor-name {
    font-size: 24px;
  }

  .brands__infor-text {
    font-size: 14px;
    padding-top: 8px;
    letter-spacing: 9%;
  }

  .brands__infor-name-hira {
    padding-bottom: 8px;
  }

  .brands__shop-info {
    font-size: clamp(0.75rem, 0.6307rem + 0.5089vw, 0.875rem);
  }

  .company__content {
    display: flex;
    flex-direction: column;
    padding: 16px 0 0 0;
    gap: 80px;
  }

  .company__infor-row {
    grid-template-columns: 1fr;
    padding: 24px 0;
    gap: 16px;
  }

  .company__infor {
    width: 100%;
    padding: 0 24px;
  }

  .company__infor-label {
    font-size: clamp(0.75rem, 0.6307rem + 0.5089vw, 0.875rem);
  }

  .company__infor-value {
    font-size: clamp(0.875rem, 0.7557rem + 0.5089vw, 1rem);
  }

  .company__inner {
    padding-bottom: unset;
    width: 100%;
  }

  .company__inner img {
    width: 100%;
  }

  /* MEMU */

  .menu__item {
    padding: 32px 16px;
  }

  .menu {
    padding-left: 12px;
    padding-right: 12px;
  }

  .menu__content {
    padding-top: 40px;
  }

  .menu__more {
    font-size: 14px;
  }

  .menu__info-name {
    font-size: 14px;
  }

  .menu__info-detail {
    font-size: 12px;
  }

  /* ========================================
   NEWS - SP
======================================== */

  .news--home {
    padding: 80px 24px 80px;
  }

  .news--home .news__inner {
    display: block;
  }

  .news--home .section-heading {
    margin-bottom: 40px;
    text-align: left;
  }

  .news--archive .section-heading {
    margin-bottom: 40px;
    text-align: center;
  }

  .news--archive .news__main {
    max-width: none;
  }

  .news .section-heading__en {
    font-size: 32px;
  }

  .news__item-link {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    min-height: 0;
    padding: 20px 0;
  }

  .news__item-date {
    font-size: 14px;
    line-height: 1.6;
  }

  .news__item-title {
    font-size: 14px;
  }
  .news__more {
    margin-top: 24px;
  }

  .news__more-link {
    font-size: 14px;
  }

  .news__pagination {
    margin-top: 30px;
  }

  .news__pagination .nav-links {
    gap: 18px;
  }

  .news__pagination .page-numbers {
    font-size: 13px;
  }

  .news__empty {
    font-size: 13px;
  }

  .news-detail {
    padding: 72px 24px 100px;
  }

  .news-detail__en {
    font-size: 32px;
  }

  .news-detail__date {
    margin-top: 40px;
    font-size: 12px;
  }

  .news-detail__title {
    margin-top: 16px;
    font-size: 20px;
  }

  .news-detail__body {
    margin-top: 40px;
    font-size: 14px;
  }

  .news-detail__back {
    margin-top: 64px;
  }

  .contact-page__heading {
    margin-bottom: 48px;
  }

  .contact-page__form {
    padding-top: 40px;
  }

  .contact-page__heading-en {
    font-size: 32px;
  }

  .contact-page__heading-ja {
    font-size: 11px;
  }

  .contact-form__field {
    margin-bottom: 32px;
  }

  .contact-form__label {
    margin-bottom: 8px;
  }

  .contact-form__grid {
    /* grid-template-columns: 1fr; */
    gap: 0px;
  }

  .contact-form__grid-input {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .contact-form__required {
    padding: 0px 5px;
    margin-left: 4px;
    line-height: 1.5;
  }

  .contact-page .contact-form__control {
    height: 60px;
  }

  .contact-page .contact-form__textarea {
    height: 200px;
  }

  .contact-form__privacy {
    margin-top: 40px;
    font-size: 14px;
  }

  .contact-page .contact-form__privacy .wpcf7-list-item label {
    gap: 10px;
  }

  .contact-page .contact-form__privacy input[type="checkbox"] {
    width: 16px !important;
    height: 16px !important;
    min-width: 20px;
    flex-basis: 20px;
  }

  .contact-form__privacy-link {
    margin-top: 12px;
  }

  /* ACTION */

  .contact-form__actions {
    gap: 12px;
  }

  .contact-form__actions > p {
    width: 100%;
  }

  .contact-form__button,
  .contact-page .contact-form__submit {
    width: 100%;
    font-size: 14px;
  }

  .contact-page {
    padding-top: calc(var(--header-height) + var(--section-padding-top-bot));
  }

  .contact-form__button--back {
    max-width: 240px;
    padding-top: 12px;
    padding-bottom: 12px;
    margin: 0 auto;
    justify-content: center;
  }

  .contact-form__button--back::before {
    left: 12px;
  }

  .contact-form__submit-wrap {
    width: 100%;
    margin-bottom: 32px;
  }

  .contact-form__actions--confirm {
    margin-top: 40px;
    flex-wrap: wrap-reverse;
  }

  .contact-form__confirm-bottom-border {
    padding-bottom: 20px;
  }

  .contact-thanks__heading h1 {
    font-size: 32px;
  }

  .contact-thanks__title {
    margin-top: 40px;
    font-size: 16px;
  }

  .contact-thanks__message {
    font-size: 14px;
    line-height: 2;
  }

  .contact-thanks__back {
    margin-top: 40px;
  }

  .contact-form__privacy input[type="checkbox"] {
    width: 16px;
    height: 16px;
  }

  .contact-form__privacy label {
    gap: 16px;
  }

  .footer__contact {
    grid-template-columns: 1fr;
  }

  .footer__contact-btn {
    margin-left: unset;
    width: 100%;
  }

  .footer__contact-text {
    line-height: 2;
    letter-spacing: 0;
  }
}

/* ========================================
   SMALL SP
======================================== */

@media (max-width: 374px) {
  .header__inner {
    padding-inline: 20px;
  }

  .header__nav {
    padding-inline: 20px;
  }

  .header__nav-list-item a {
    min-height: 88px;
  }

  .fv__content-text {
    font-size: 12px;
  }
}
