

@media (min-width: 768px) {
  :root {
    --gutter: 24px;
  }
}

@media (min-width: 1200px) {
  :root {
    --font-size-base: 13px;
    --line-height-base: 1.6;
    --font-size-h1: 48px;
    --font-size-h2: 45px;
  }
}


@media (min-width: 768px) {
  .l-grid--2,
  .l-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .l-grid--3,
  .l-grid--6 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .l-grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .l-grid--6 {
    grid-template-columns: repeat(6, 1fr);
  }
}

@media (min-width: 1200px) {
  .l-content {
    grid-template-columns: 200px 1fr;
    gap: var(--space-5);
    padding-top: var(--space-2);
  }

  .l-content--single {
    grid-template-columns: 1fr;
  }
}


@media (min-width: 768px) {
  .l-header__logo img {
    width: 300px;
  }

  .l-header__contact-text {
    display: inline;
  }
}

@media (min-width: 1200px) {
  .l-header__top {
    background: rgba(255, 255, 255, 0.9);
  }

  .l-header__top-inner {
    grid-template-columns: auto 1fr;
    grid-template-areas: "logo contact";
    min-height: 106px;
    padding-inline: var(--gutter);
  }

  .l-header__logo {
    min-height: 0;
    padding: var(--space-2) 0;
  }

  .l-header__logo img {
    width: 380px;
  }

  .l-header__toggle,
  .l-header__close,
  .l-header__contact-item--mobile {
    display: none;
  }

  .l-header__contact {
    display: grid;
    grid-template-areas:
      "line fb skype fav"
      "wechat tel tel tel";
    align-items: center;
    justify-content: end;
    gap: 10px 24px;
    min-height: 0;
    padding: 0;
    background: none;
  }

  .l-header__contact-item img {
    width: 28px;
    height: 28px;
  }

  .l-header__contact-item--line { grid-area: line; }
  .l-header__contact-item--fb { grid-area: fb; }
  .l-header__contact-item--skype { grid-area: skype; }
  .l-header__contact-item--fav { grid-area: fav; }
  .l-header__contact-item--wechat { grid-area: wechat; }

  .l-header__contact-item--desktop {
    display: block;
  }

  .l-header__contact-item a,
  .l-header__contact-btn {
    min-height: 28px;
    color: var(--color-primary-dark);
  }

  .l-header__contact-btn {
    cursor: pointer;
  }

  .l-header__contact-item--tel {
    grid-area: tel;
    margin-right: 0;
  }

  .l-header__contact-item--wechat {
    margin-right: 0;
  }

  .l-header__contact-item--wechat {
    position: relative;
  }

  .l-header__contact-item--wechat:hover .l-header__qrcode,
  .l-header__contact-item--wechat:focus-within .l-header__qrcode {
    display: block;
  }

  .l-header__qrcode {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 130;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  }

  .l-header__qrcode img {
    width: 200px;
    max-width: none;
    height: 299px;
  }

  .l-header__contact-item--tel a {
    width: auto;
    height: auto;
    font-size: 23px;
  }

  .l-header__nav {
    position: static;
    width: auto;
    overflow: visible;
    background: var(--color-primary);
    opacity: 1;
    visibility: visible;
    transition: none;
  }

  .l-header__nav-inner {
    display: flex;
    padding: 0 var(--gutter);
  }

  .l-header--overlay {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    background: none;
  }
}


@media (min-width: 768px) {
  .l-footer__partner-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .l-footer__info-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .l-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1200px) {
  .l-main {
    padding-bottom: 0;
  }

  .l-footer {
    margin-top: 30px;
  }

  .l-footer__quick {
    display: none;
  }

  .l-footer__partner-list {
    grid-template-columns: repeat(6, 1fr);
  }

  .l-footer__nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .l-footer__legal {
    margin-top: 0;
  }

  .l-footer__info-inner {
    grid-template-columns: 1fr 1fr 1.3fr;
  }

  .l-footer__brand {
    grid-column: auto;
  }
}


@media (max-width: 1199px) {
  .l-main {
    padding-bottom: 0;
  }

  .l-footer {
    display: flex;
    flex-direction: column;
    margin-top: 18px;
    background: #85807d url("../images/m_bgc-foot.png") 0 calc(100% - 55px) / 100% 395px no-repeat;
  }

  .l-footer__partners,
  .l-footer__links,
  .l-footer__brand {
    display: none;
  }

  .l-footer__quick {
    order: 1;
    padding: 0 9px 13px;
    background: var(--color-bg);
  }

  .l-footer__quick .c-quicklinks {
    grid-template-columns: 171px 171px;
    gap: 13px 12px;
  }

  .l-footer__quick .c-quicklinks__item:last-child {
    grid-column: 1 / -1;
    margin: -1px -2px 0 0;
  }

  .l-footer__quick .c-quicklink {
    display: block;
    min-height: 147px;
    padding: 0;
    background: center / 100% 100% no-repeat;
  }

  .l-footer__quick .c-quicklinks__item:last-child .c-quicklink {
    min-height: 153px;
  }

  .l-footer__quick .c-quicklink img {
    display: none;
  }

  .l-footer__quick .c-quicklink span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  .l-footer__quick .c-quicklink--blue { background-image: url("../images/m_btn01.png"); }
  .l-footer__quick .c-quicklink--red { background-image: url("../images/m_btn02.png"); }
  .l-footer__quick .c-quicklink--teal { background-image: url("../images/m_btn03.png"); }
  .l-footer__quick .c-quicklink--orange { background-image: url("../images/m_btn04.png"); }
  .l-footer__quick .c-quicklink--yellow { background-image: url("../images/m_btn05.png"); }
  .l-footer__quick .c-quicklink--gray { background-image: url("../images/m_btn06.png"); }
  .l-footer__quick .c-quicklink--purple { background-image: url("../images/m_btn07.png"); }

  /* 一般按鈕是單數顆時，最後一顆寬按鈕前面那顆會獨佔一列：改成橫跨整列，按鈕圖照原比例置中，兩側補圖片邊緣同色 */
  .l-footer__quick .c-quicklinks__item:nth-last-child(2):nth-child(odd) { grid-column: 1 / -1; }
  .l-footer__quick .c-quicklinks__item:nth-last-child(2):nth-child(odd) .c-quicklink { background-size: auto 100%; }
  .l-footer__quick .c-quicklinks__item:nth-last-child(2):nth-child(odd) .c-quicklink--gray { background-color: #aaa; }

  .l-footer__info {
    order: 2;
    margin-top: 19px;
    padding: 18.75px 15px 0;
    background: none;
    font-size: 13px;
    line-height: 18.2px;
  }

  .l-footer__info .l-footer__info-inner {
    display: block;
    padding-inline: 0;
  }

  .l-footer__company {
    display: block;
    margin-bottom: 15px;
    color: #ededed;
    font-size: 21px;
    font-weight: bold;
    line-height: 21px;
  }

  .l-footer__office {
    margin-bottom: 9px;
    color: #ededed;
    font-style: normal;
  }

  .l-footer__office::first-line {
    color: var(--color-bg);
  }

  .l-footer__office:last-child {
    margin-bottom: 0;
  }

  .l-footer__office a {
    display: block;
    margin-top: 9px;
  }

  .l-footer__nav {
    order: 3;
    padding: 20px 15px 13.75px;
    background: none;
  }

  .l-footer__nav .l-footer__nav-inner {
    padding-inline: 0;
  }

  .l-footer__nav .l-footer__legal {
    flex-wrap: nowrap;
    justify-content: space-between;
    margin-top: 0;
    padding-inline: 2px;
    font-size: 15px;
    line-height: 19.5px;
    text-align: center;
  }

  .l-footer__nav .l-footer__legal li {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 43px;
    padding-block: 2px;
  }

  .l-footer__nav .l-footer__legal li:first-child {
    width: 100px;
  }

  .l-footer__nav .l-footer__legal li:last-child {
    width: 117px;
  }

  .l-footer__nav .l-footer__legal a {
    padding-block: 0;
    color: #ededed;
  }

  .l-footer__copyright {
    order: 4;
    padding: 7.5px 15px 3.75px;
    background: #6a6764 url("../images/m_bgc-2018.png") center / cover no-repeat;
    color: #ddd;
    font-size: 13px;
    line-height: 19.5px;
  }

  .l-footer__copyright .l-container {
    padding: 0 0 5px;
  }

  .l-footer__copyright a {
    color: #ddd;
  }

  .l-footer__copyright a:not(.l-footer__copyright-zh) {
    display: none;
  }

  .l-footer__copyright .l-footer__copyright-zh {
    display: inline;
  }
}



@media (min-width: 1200px) {
  .c-mobile-menu {
    display: none;
  }

  .c-menu {
    display: flex;
    flex: 1;
  }

  .c-menu__item {
    flex: 1;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
  }

  .c-menu__link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: var(--header-nav-height);
    padding: 0;
    font-size: var(--font-size-sm);
    font-weight: bold;
    text-align: center;
    white-space: nowrap;
  }

  .c-menu__link:hover {
    background: var(--color-primary-dark);
  }

  .c-menu__sub {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 10;
    min-width: 100%;
    width: max-content;
    padding: 0;
    background: var(--color-bg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }

  .c-menu__item--parent:hover > .c-menu__sub,
  .c-menu__item--parent:focus-within > .c-menu__sub {
    display: block;
  }

  .c-menu__sublink {
    padding: 10px var(--space-2);
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text);
  }

  .c-menu__sublink:hover {
    background: var(--color-bg-light);
    color: var(--color-primary);
  }
}


@media (min-width: 1200px) {
  .c-quick-menu {
    position: relative;
    display: block;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
  }

  .c-quick-menu__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: var(--header-nav-height);
    border: 0;
    background: none;
  }

  .c-quick-menu__list {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 20;
    display: none;
    width: 100px;
  }

  .c-quick-menu.is-open .c-quick-menu__list {
    display: block;
  }

  .c-quick-menu__list .c-quicklink {
    min-height: 100px;
    font-size: 12px;
  }

  .c-quick-menu__list .c-quicklink img {
    width: 32px;
  }
}


@media (min-width: 768px) {
  .c-quicklinks {
    grid-template-columns: repeat(4, 1fr);
  }

  .c-quicklinks__item:last-child:nth-child(odd) {
    grid-column: auto;
  }
}


@media (min-width: 768px) {
  .c-page-banner {
    min-height: 220px;
  }
}

@media (min-width: 1200px) {
  .c-page-banner {
    min-height: 310px;
  }

  .c-page-banner--sitemap,
  .c-page-banner--terms,
  .c-page-banner--privacy {
    min-height: 110px;
  }
}


@media (min-width: 768px) {
  .c-form--horizontal .c-field {
    grid-template-columns: 160px 1fr;
    align-items: center;
  }

  .c-form--horizontal .c-field__hint,
  .c-form--horizontal .c-field__error {
    grid-column: 2;
  }
}


@media (max-width: 767px) {
  .c-table--stack thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .c-table--stack tr {
    display: block;
    margin-bottom: var(--space-2);
    border: 1px solid var(--color-border);
  }

  .c-table--stack td {
    display: grid;
    grid-template-columns: 40% 1fr;
    gap: var(--space-1);
    border: 0;
    border-bottom: 1px solid var(--color-border);
  }

  .c-table--stack td::before {
    content: attr(data-label);
    color: var(--color-text-muted);
  }

  .c-table--stack .c-table__num {
    text-align: left;
  }
}


@media (max-width: 767px) {
  .c-pagination__item--far {
    display: none;
  }
}


@media (min-width: 768px) {
  .c-map__canvas {
    height: 320px;
  }
}


@media (max-width: 767px) {
  .c-tabs__link {
    font-size: 13px;
  }
}

@media (min-width: 1200px) {
  .c-tabs__link {
    display: block;
    height: 28px;
    padding: 0;
    background-size: 100% 28px;
    line-height: 28px;
  }
}


@media (min-width: 1200px) {
  .c-subnav {
    align-self: start;
    border: 1px solid #8fb0e0;
    background: #e9e7e2;
  }

  .c-subnav__title {
    display: block;
    padding: 4px var(--space-2);
    background: var(--color-primary);
    color: var(--color-bg);
  }

  .c-subnav__list {
    display: block;
    margin: var(--space-1);
    padding: var(--space-1);
    border: 1px solid var(--color-border);
    background: var(--color-bg);
  }

  .c-subnav__link {
    border-color: transparent;
    color: var(--color-text-muted);
  }
}


@media (max-width: 1199px) {
  .l-main:has(> .c-page-banner) {
    display: flex;
    flex-direction: column;
  }

  .l-main:has(> .c-page-banner) > .c-breadcrumb {
    order: 1;
    padding: 8px 12px;
    border: 0;
    background: #333;
    color: var(--color-bg);
    font-size: 12px;
    line-height: 12px;
  }

  .l-main:has(> .c-page-banner) .c-breadcrumb__list {
    padding-inline: 0;
  }

  .l-main:has(> .c-page-banner) .c-breadcrumb__item a,
  .l-main:has(> .c-page-banner) .c-breadcrumb__item + .c-breadcrumb__item::before {
    color: var(--color-bg);
  }

  .l-main > .c-page-banner {
    display: contents;
  }

  .l-main > .c-page-banner::before {
    content: "";
    order: 2;
    aspect-ratio: 960 / 185;
    background: var(--color-primary-dark) center / 100% 100% no-repeat;
  }

  .l-main > .c-page-banner--company::before { aspect-ratio: 960 / 168; background-image: url("../images/m_bn01.jpg"); }
  .l-main > .c-page-banner--business::before { background-image: url("../images/m_bn02.jpg"); }
  .l-main > .c-page-banner--sell::before { background-image: url("../images/m_bn03.jpg"); }
  .l-main > .c-page-banner--tokyo::before { background-image: url("../images/m_bn04.jpg"); }
  .l-main > .c-page-banner--knowledge::before { background-image: url("../images/m_bn05.jpg"); }
  .l-main > .c-page-banner--trial::before { background-image: url("../images/m_bn06.jpg"); }
  .l-main > .c-page-banner--member::before { background-image: url("../images/m_bn07.jpg"); }
  .l-main > .c-page-banner--contact::before { background-image: url("../images/m_bn08.jpg"); }
  .l-main > .c-page-banner--epaper::before { aspect-ratio: 960 / 168; background-image: url("../images/m_bn10.png"); }
  .l-main > .c-page-banner--download::before { aspect-ratio: 960 / 168; background-image: url("../images/m_bn11.png"); }
  .l-main > .c-page-banner--sitemap::before,
  .l-main > .c-page-banner--terms::before,
  .l-main > .c-page-banner--privacy::before { background-image: url("../images/m_bn09.jpg"); }

  .l-main:has(> .c-page-banner):not(:has(.c-subnav)) .c-page-banner__title {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  .l-main > .c-page-banner > .l-container {
    order: 4;
  }

  .l-main:has(.c-subnav) > .c-page-banner > .l-container {
    padding-inline: 9px;
    border-top: 1px solid #ccc;
  }

  .l-main:has(.c-subnav) .c-page-banner__title {
    display: flex;
    align-items: center;
    min-height: 39px;
    margin: 27px 0 14px 5px;
    color: #78a5eb;
    font-size: 25px;
    line-height: 35px;
    letter-spacing: 0;
    text-shadow: none;
  }

  .l-main:has(.c-subnav) .c-page-banner__title::before {
    content: "";
    flex: none;
    width: 24px;
    height: 24px;
    margin-right: 10px;
    background: url("../images/m_title.png") center / contain no-repeat;
  }

  .l-main:has(> .c-page-banner) > .l-content {
    display: contents;
  }

  .l-main:has(> .c-page-banner) .l-content__main {
    order: 5;
    margin-inline: var(--gutter);
    margin-top: 30px;
  }

  .l-main:has(.c-subnav) .l-content__main {
    margin-top: 0;
  }

  .l-main:has(> .c-page-banner) .c-subnav {
    order: 3;
    margin: 28px 10px 20px 9px;
  }

  .c-subnav__list {
    --subnav-cell-h: 56px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px 0;
  }

  .c-subnav__list:not(:has(> li:nth-child(4))) {
    --subnav-cell-h: 36px;
  }

  .c-subnav__list > li {
    min-height: var(--subnav-cell-h);
    overflow: hidden;
    border: solid var(--color-primary);
    border-width: 1px 0;
  }

  .c-subnav__list > li:nth-child(3n + 1) {
    border-left-width: 1px;
    border-radius: 6px 0 0 6px;
  }

  .c-subnav__list > li:nth-child(3n),
  .c-subnav__list > li:last-child {
    border-right-width: 1px;
    border-radius: 0 6px 6px 0;
  }

  .c-subnav__list > li:nth-child(3n + 1):last-child {
    border-radius: 6px;
  }

  .c-subnav__link {
    justify-content: center;
    min-height: calc(var(--subnav-cell-h) - 2px);
    height: 100%;
    padding: 0 5px;
    border: 0;
    border-radius: 0;
    color: var(--color-primary);
    font-size: 16px;
    line-height: 1.3;
    text-align: center;
  }

  .c-subnav__link:hover {
    color: var(--color-primary);
  }

  .c-subnav__link[aria-current] {
    background: var(--color-primary);
    color: var(--color-bg);
  }

  .l-main:has(.p-tokyo) .l-content__main,
  .l-main:has(.p-tokyo) .p-tokyo {
    display: contents;
  }

  .l-main:has(.p-tokyo) > .c-page-banner > .l-container {
    padding-inline: 9px;
    border-top: 1px solid #ccc;
  }

  .l-main:has(.p-tokyo) .c-tabs {
    order: 3;
    margin: 28px 10px 20px 9px;
  }

  .l-main:has(.p-tokyo) .c-notice,
  .l-main:has(.p-tokyo) .p-tokyo__panel {
    order: 5;
    margin: 30px var(--gutter) 0;
  }

  .l-main:has(.p-tokyo) .c-tabs__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px 0;
  }

  .l-main:has(.p-tokyo) .c-tabs__list > li {
    min-height: 56px;
    overflow: hidden;
    border: solid var(--color-primary);
    border-width: 1px 0;
  }

  .l-main:has(.p-tokyo) .c-tabs__list > li:nth-child(3n + 1) {
    border-left-width: 1px;
    border-radius: 6px 0 0 6px;
  }

  .l-main:has(.p-tokyo) .c-tabs__list > li:nth-child(3n),
  .l-main:has(.p-tokyo) .c-tabs__list > li:last-child {
    border-right-width: 1px;
    border-radius: 0 6px 6px 0;
  }

  .l-main:has(.p-tokyo) .c-tabs__link {
    min-height: 54px;
    padding: 0 5px;
    background: none;
    color: var(--color-primary);
    font-size: 16px;
    font-weight: normal;
    line-height: 1.3;
  }

  .l-main:has(.p-tokyo) .c-tabs__link[aria-current] {
    background: var(--color-primary);
    color: var(--color-bg);
  }
}



@media (min-width: 1200px) {
  .p-home .c-carousel__slide img {
    height: 890px;
    aspect-ratio: auto;
  }
}


@media (min-width: 1200px) {
  .p-home__group-body--list {
    flex-direction: column;
    gap: 10px;
    padding: 16px;
  }

  .p-home__group-body--list .c-check {
    min-height: 19px;
    font-size: 16px;
    line-height: 1;
  }

  .p-home__group-body--list .c-check input {
    width: 13px;
    height: 13px;
  }
}


@media (min-width: 768px) {
  .p-home__search-form {
    grid-template-columns: repeat(2, 1fr);
  }

  .p-home__submit {
    grid-column: 1 / -1;
  }

  .p-home__merits {
    grid-template-columns: repeat(3, 1fr);
  }

  .p-home__merit {
    padding: var(--space-3);
    font-size: 15px;
  }

  .p-home__news {
    grid-template-columns: repeat(2, 1fr);
  }

  .p-home__articles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .p-home__search {
    padding-block: var(--space-4) var(--space-5);
  }

  .p-home__search-title {
    font-size: 27px;
  }

  .p-home__search-form {
    grid-template-columns: repeat(5, 1fr) 96px;
    align-items: start;
  }

  .p-home__submit {
    grid-column: auto;
    align-self: center;
    justify-self: stretch;
    min-width: 0;
    min-height: 76px;
    padding-inline: 0;
    font-size: 24px;
    white-space: nowrap;
  }

  .p-home__articles {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .p-home__tabs {
    min-height: 30px;
  }

  .p-home__tab {
    min-height: 25px;
  }
}


@media (min-width: 768px) {
  .p-company__brand {
    grid-template-columns: 1fr auto;
    align-items: start;
  }

  .p-company__brand-photo {
    grid-column: 2;
    grid-row: 1 / span 3;
  }

  .p-company__group {
    grid-template-columns: 256px 1fr;
    align-items: start;
  }

  .p-company__office {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}


@media (min-width: 768px) {
  .p-business__service {
    display: grid;
    grid-template-columns: 1fr 318px;
    gap: var(--space-3);
    align-items: start;
  }
}


@media (min-width: 1200px) {
  .p-tokyo {
    margin-top: -17px;
    padding-top: 15px;
    background: url("../images/contact-shadow01.png") center top repeat-x;
  }

  .p-tokyo__panel {
    grid-template-columns: 200px 976px;
    gap: 15px;
    width: 1221px;
    padding: 15px;
  }

  .p-tokyo__list,
  .p-tokyo__content {
    height: 560px;
    max-height: none;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .p-tokyo__items {
    width: 178px;
  }

  .p-tokyo__items--photo {
    gap: 0;
    padding: 0;
  }

  .p-tokyo__items--photo li {
    padding: 10px 10px 20px;
  }

  .p-tokyo__article--photo {
    padding: 2px 25px 0;
  }
}


@media (min-width: 1200px) {
  .p-knowledge__list {
    padding: 27px 32px 20px;
  }

  .p-knowledge__q,
  .p-knowledge__a {
    font-size: 15px;
    line-height: 23px;
  }
}


@media (min-width: 1200px) {
  .c-prose .p-form__success-title {
    font-size: 35px;
  }

  .p-form-frame {
    margin-top: -16px;
    padding-top: 15px;
    background: url("../images/contact-shadow01.png") center top no-repeat;
  }

  .p-form--table {
    padding: 20px;
    background: #f4f4f4;
    color: #000;
    line-height: normal;
  }

  .p-form--table > * {
    width: 90%;
    margin-inline: auto;
  }

  .c-prose .p-form__heading--contact {
    height: 80px;
    background: url("../images/contacttit.jpg") no-repeat;
    font-size: 0;
  }

  .c-prose .p-form--table .p-form__title {
    height: auto;
    padding: 5px;
    background: #bbddff;
    color: #000;
    font-weight: bold;
    line-height: normal;
  }

  .p-form__table,
  .p-form__questions {
    display: grid;
    gap: 1px;
    padding: 1px;
    border: 0;
    background: #ccc;
    font-size: 15px;
  }

  .p-form__table {
    grid-template-columns: 18% 1fr;
    margin-bottom: 22px;
  }

  .p-form__label,
  .p-form__cell {
    padding: 5px;
    background: #fff;
  }

  .p-form__label {
    justify-content: center;
    border-right: 0;
  }

  .p-form__input {
    width: 177px;
    height: 21px;
    vertical-align: middle;
  }

  .p-form__cell .p-form__input {
    vertical-align: top;
  }

  .p-form__choice,
  .p-form__question--thirds .p-form__choice,
  .p-form__question--rows .p-form__choice {
    width: auto;
    margin: 0 12px 0 0;
    line-height: 20px;
    vertical-align: baseline;
  }

  .p-form__choice input {
    width: 13px;
    height: 13px;
    vertical-align: -2px;
  }

  .p-form--table .p-form__question {
    padding: 10px;
    border: 0;
    background: #fff;
  }

  .p-form--table .p-form__question legend,
  .p-form--table .p-form__legend {
    margin-bottom: 0;
    font-weight: bold;
  }

  .p-form__textarea {
    box-sizing: content-box;
    width: 95%;
    height: 75px;
  }

  .p-form--table .p-form__captcha {
    margin: 0;
  }

  .p-form--table .p-form__captcha .p-form__legend {
    display: inline-block;
    width: 63px;
    margin-left: 2px;
  }

  .p-form--table .c-captcha__img {
    vertical-align: middle;
  }

  .p-form__captcha .p-form__input {
    width: 93px;
    margin: 0 4px 0 0;
  }

  .p-form__actions {
    margin-top: 0;
    padding: 10px;
  }

  .p-form__submit {
    all: revert;
  }
}


@media (min-width: 1200px) {
  .p-invest {
    margin-top: -17px;
    color: #000;
  }

  .p-invest__colon {
    display: inline;
  }

  .p-invest__intro {
    display: block;
    margin-bottom: 12px;
  }

  .p-invest__intro img {
    height: auto;
  }

  .p-invest .c-tabs {
    display: block;
  }

  .p-invest__frame {
    padding-top: 15px;
    background: url("../images/contact-shadow01.png") center top repeat-x;
  }

  .p-invest__sessions {
    display: table;
    width: 980px;
    border: 1px solid #b8b8b8;
    border-collapse: collapse;
    color: #000;
  }

  .p-invest__sessions thead {
    position: static;
    display: table-header-group;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
  }

  .p-invest__sessions tbody {
    display: table-row-group;
  }

  .p-invest__sessions tr {
    display: table-row;
    border: 0;
  }

  .p-invest__sessions tr::before,
  .p-invest__sessions td[data-label]::before {
    content: none;
  }

  .p-invest__sessions th,
  .p-invest__sessions td,
  .p-invest__sessions td[data-label] {
    display: table-cell;
    padding: 3px;
    border: 1px solid #b8b8b8;
    vertical-align: middle;
  }

  .p-invest__sessions th {
    background: #f5f5f5;
    color: #039;
    font-weight: normal;
  }

  .p-invest__sessions th:nth-child(1) { width: 41px; }
  .p-invest__sessions th:nth-child(2) { width: 150px; }
  .p-invest__sessions th:nth-child(3) { width: 175px; }
  .p-invest__sessions th:nth-child(4) { width: 167px; }
  .p-invest__sessions th:nth-child(5) { width: 176px; }

  .p-invest__pick,
  .p-invest__date {
    text-align: center;
  }

  .p-invest__pick input {
    width: 13px;
    height: 13px;
  }

  .p-invest__val {
    padding: 0;
    border: 0;
  }

  .p-invest__val p {
    margin: 13px 0;
  }

  .p-invest__date br {
    display: inline;
  }

  .p-invest__num {
    color: #c00;
  }

  .p-invest__map {
    width: auto;
    height: auto;
    background: none;
  }

  .p-invest__map img {
    display: inline;
  }

  .c-prose .p-invest__heading {
    margin: 60px 0 49px;
    color: #000;
    font-size: 15px;
  }

  .p-invest__heading span {
    top: -11px;
    padding: 5px 15px;
    line-height: normal;
  }

  .p-invest__box {
    width: 648px;
    margin: 0 auto;
    padding: 0 15px 25px;
    background: #f7f7f7;
    color: #000;
  }

  .c-prose .p-invest__lead {
    margin: 18px 0 0;
    font-size: 14px;
  }

  .c-prose .p-invest__lead:first-child {
    margin-top: 19px;
    line-height: normal;
  }

  .p-invest__fields {
    grid-template-columns: 92px 205px 78px 1fr;
    row-gap: 15px;
    margin-top: 19px;
  }

  .p-invest__label {
    display: block;
    padding: 0;
    font-size: 14px;
    line-height: 19px;
  }

  .p-invest__control {
    display: block;
    grid-column: 2 / -1;
    min-height: 0;
    padding: 0;
    line-height: 19px;
  }

  .p-invest__control--name {
    grid-row: 1;
  }

  .p-invest__control--gender {
    display: flex;
    height: 19px;
    padding-top: 0;
  }

  .p-invest__input {
    width: 175px;
    height: 19px;
    padding: 1px 2px;
    border: 1px solid #ddd;
    font: 13.3333px Arial, sans-serif;
    vertical-align: top;
  }

  .p-invest__choice {
    gap: 0;
    margin-right: 4px;
    line-height: 19px;
  }

  .p-invest__sources .p-invest__choice {
    gap: 0;
    margin-right: 0;
  }

  .p-invest__choice input {
    width: 13px;
    height: 13px;
    margin: 3px 3px 3px 4px;
  }

  .p-invest__hint {
    grid-column: 2 / -1;
    padding: 0;
    color: #000;
    font-style: normal;
    line-height: 19px;
    text-align: left;
  }

  .p-invest__hint--name {
    grid-row: 1;
    margin-left: 178px;
  }

  .p-invest__control--applicant {
    grid-column: 2;
  }

  .p-invest__label--people {
    grid-column: 3;
    font-size: 13px;
  }

  .p-invest__control--people {
    display: flex;
    grid-column: 4;
    gap: 10px;
    height: 19px;
    font-size: 13px;
  }

  .p-invest__select {
    width: 38px;
    height: 21px;
    font: 13.3333px Arial, sans-serif;
  }

  .p-invest__label--wide,
  .p-invest__label--content,
  .p-invest__label--code {
    grid-column: 1;
    margin: 0;
    padding: 0;
    white-space: nowrap;
  }

  .p-invest__control--wide {
    grid-column: 2 / -1;
    margin-top: 0;
    padding: 0;
  }

  .p-invest__sources {
    margin: -5px 0 -4px;
    padding-left: 55px;
    font-size: 13px;
    line-height: 24px;
  }

  .p-invest__sources .p-invest__choice input {
    margin: 5px 10px;
  }

  .p-invest__sources .p-invest__choice:nth-of-type(4) {
    margin-right: 15px;
  }

  .p-invest__sources .p-invest__choice:nth-of-type(5) {
    margin-right: 11px;
  }

  .p-invest__other {
    width: 106px;
    margin: 0 0 0 10px;
  }

  .p-invest__label--content {
    margin-top: 6px;
  }

  .p-invest__textarea {
    box-sizing: border-box;
    width: 506px;
    border-color: #ddd;
  }

  .p-invest__label--code {
    margin-top: 2px;
  }

  .p-invest__captcha {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin-top: -2px;
  }

  .p-invest__captcha .p-invest__input {
    width: 175px;
  }

  .p-invest__captcha .c-captcha__img {
    width: auto;
    height: 42px;
  }

  .p-invest__terms {
    box-sizing: content-box;
    width: 550px;
    height: 100px;
    margin: 16px 17px 0;
    padding: 5px 15px;
    overflow-y: scroll;
    border-color: #ddd;
    color: #000;
  }

  .c-prose .p-invest__terms-title {
    margin: 13px 0;
    color: #000;
    font-size: 13px;
    font-weight: normal;
  }

  .p-invest__agree {
    gap: 0;
    font-size: 13px;
  }

  .p-invest__agree input {
    margin: 3px 3px 3px 4px;
  }

  .p-invest__actions {
    margin-top: 20px;
  }

  .p-invest__submit {
    width: auto;
    height: 42px;
    padding: 0 20px;
    border-radius: 3px;
    background: url("../images/submit_btn.png") left top / contain repeat-x;
    font-family: Arial, sans-serif;
  }
}

@media (min-width: 1200px) {
  .p-invest {
    padding-bottom: 20px;
  }
}


@media (min-width: 1200px) {
  .p-trial {
    display: grid;
    grid-template-columns: 306px 674px;
    justify-content: center;
    align-items: start;
    padding: 20px;
    background: #f4f4f4;
  }

  .p-trial__photo {
    display: block;
    width: 261px;
  }

  .p-trial__main {
    padding: 15px 15px 30px;
    border: 1px solid #d2d3d4;
    border-radius: 5px;
    background: #fff url("../images/bg02.jpg");
    color: #000;
    line-height: normal;
  }

  .p-trial__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 36px;
    margin: 0;
  }

  .c-prose .p-trial__head p {
    margin: 0;
    font-size: 15px;
    line-height: normal;
  }

  .p-trial__yahoo {
    width: 131px;
    height: 24px;
    border-radius: 0;
    background: url("../images/trial-yahoo.jpg") no-repeat;
    font-size: 0;
  }

  .c-prose .p-trial__title {
    height: 36px;
    background: url("../images/tit-bg02.jpg");
    font-weight: bold;
    line-height: 36px;
  }

  .p-trial__fields {
    grid-template-columns: 167px 1fr;
    margin: 0;
    border: 1px solid #b8b8b8;
    border-width: 1px 0 0 1px;
    font-size: 15px;
  }

  .p-trial__label,
  .p-trial__cell {
    padding: 10px;
    border: 0 solid #b8b8b8;
    border-width: 0 1px 1px 0;
  }

  .p-trial__label {
    background: #f5f5f5;
    color: #039;
  }

  .p-trial__input,
  .p-trial__input--year {
    width: 177px;
    height: 21px;
  }

  .p-trial__radio {
    line-height: 20px;
  }

  .p-trial__radio input {
    width: 13px;
    height: 13px;
    margin: 3px 3px 0 5px;
  }

  .c-prose .p-trial__note {
    margin-top: 21px;
    color: #333;
    font-size: 13px;
  }

  .p-trial__go {
    margin-top: 17px;
  }

  .p-trial__main:has(.p-trial__form[hidden]) .p-trial__head {
    display: flex;
  }

  .p-trial__main:has(.p-trial__form[hidden]) .p-trial__head p {
    visibility: hidden;
  }

  .p-trial__result {
    line-height: normal;
  }

  .c-prose .p-trial__title--total {
    margin-top: 21px;
    background: url("../images/tit-bg03.jpg");
  }

  .p-trial__fields--result {
    margin: 0;
  }

  .p-trial__fields--result .p-trial__label {
    background: #f5f5f5;
  }

  .p-trial__fields--total {
    grid-template-columns: 167px 1fr;
  }

  .p-trial__value {
    color: #c00;
    font-weight: bold;
  }

  .p-trial__table {
    font-size: 13px;
  }

  .p-trial__table th,
  .p-trial__table td {
    padding: 3px;
    border-color: #b8b8b8;
    line-height: normal;
  }

  .p-trial__table thead tr {
    background: none;
  }

  .p-trial__table th {
    color: #039;
  }

  .p-trial__table th:first-child {
    width: 58px;
  }

  .p-trial__table td + td {
    color: #c00;
  }

  .p-trial__btn {
    all: revert;
    margin: 0 2px;
  }

  .p-trial__submit {
    width: 202px;
    height: 38px;
    border: 0;
    border-radius: 0;
    background: url("../images/06-1.png") no-repeat;
    font-size: 0;
  }
}

@media print {
  body:has(.p-trial) :is(header, footer, .c-page-banner, .c-breadcrumb),
  .p-trial__photo,
  .p-trial__head,
  .p-trial__actions {
    display: none;
  }

  .p-trial {
    display: block;
  }

  body:has(.p-trial) .c-table-wrap {
    overflow: visible;
  }
}


@media (min-width: 768px) {
  .p-sitemap {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .p-sitemap {
    grid-template-columns: repeat(5, 222px);
    padding: 30px 15px 15px;
    background: url("../images/contact-shadow01.png") center top no-repeat;
  }
}


@media (min-width: 768px) {
  .p-member {
    padding: 20px;
  }

  .p-member__login {
    grid-template-columns: 222px 1fr;
    align-items: start;
    max-width: 860px;
    margin-inline: auto;
  }

  .p-member__register {
    max-width: 858px;
    margin-inline: auto;
  }

  .p-member__row {
    grid-template-columns: 27% 1fr;
  }

  .p-member__panel-body {
    grid-template-columns: 1fr auto;
  }

  .p-member__grid {
    grid-template-columns: 16% 1fr 15% 1fr;
  }

  .p-member__cell--wide {
    grid-column: span 3;
  }

  .p-member__cell--skip {
    grid-column-start: 3;
  }

  .p-member__cell--tall {
    grid-row: span 2;
  }

  .p-rent__info,
  .p-rent__detail {
    grid-template-columns: auto 1fr auto 1fr;
  }

  .p-rent__detail-wide {
    grid-column: 2 / span 3;
  }
}

@media (min-width: 1200px) {
  .p-member__panel {
    padding: 25px;
  }

  .p-download > .p-download__panel {
    margin-inline: 59px;
    padding-inline: 45px;
  }

  .p-download .c-tabs {
    margin-left: 69px;
  }
}

@media print {
  .l-header,
  .l-footer,
  .c-page-banner,
  .c-breadcrumb,
  .p-member__tabs,
  .p-rent__year,
  .p-rent__actions {
    display: none;
  }

  .p-member {
    padding: 0;
    background: #fff;
  }

  .p-rent__more:not([open]) .p-rent__detail {
    display: grid;
  }
}


@media (min-width: 768px) {
  .p-sell__intro {
    grid-template-columns: 1fr 67px 57px;
  }

  .p-sell__table tbody {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .p-sell__table tbody tr {
    margin-bottom: 0;
  }

  .p-sell__table tbody tr.p-sell__empty {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1200px) {
  .p-sell__intro {
    grid-template-columns: 205px 1fr 67px 57px;
    gap: 0;
  }

  .p-sell__intro-title {
    grid-column: auto;
    font-size: 25px;
  }

  .p-sell__bar {
    justify-content: flex-end;
    gap: 28px;
    margin-top: -68px;
  }

  .p-sell {
    pointer-events: none;
  }

  .p-sell > *,
  .p-sell__keyword {
    pointer-events: auto;
  }

  .p-sell > .p-sell__bar {
    pointer-events: none;
  }

  .p-sell-more .p-sell__bar {
    margin-top: -52px;
  }

  .p-sell__sort {
    display: block;
    text-align: center;
  }

  .p-sell__table td.p-sell__area {
    white-space: nowrap;
  }

  .p-sell__table th:nth-child(1) { width: 137px; }
  .p-sell__table th:nth-child(3) { width: 94px; }
  .p-sell__table th:nth-child(4) { width: 81px; }
  .p-sell__table th:nth-child(5) { width: 49px; }
  .p-sell__table th:nth-child(7) { width: 58px; }
  .p-sell__table th:nth-child(8) { width: 85px; }
  .p-sell__table th:nth-child(9) { width: 81px; }

  .p-sell__group.is-orange .p-sell__check,
  .p-sell__group.is-green .p-sell__check,
  .p-sell__group.is-row .p-sell__check {
    gap: 2px;
    margin-right: 4px;
  }

  .p-sell__body {
    grid-template-columns: 210px 1fr;
    gap: 10px;
    align-items: start;
  }

  .p-sell__filter-head {
    cursor: default;
  }

  .p-sell__filter-head::after {
    display: none;
  }

  .p-sell__filter-body {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .p-sell__check {
    min-height: 20px;
  }

  .p-sell__check input {
    width: 13px;
    height: 13px;
  }

  .p-sell__group.is-orange,
  .p-sell__group.is-green,
  .p-sell__group.is-row {
    font-size: 13px;
  }

  .p-sell__table {
    display: table;
    width: 100%;
    border: 1px solid #b8b8b8;
    border-collapse: collapse;
  }

  .p-sell__table thead {
    display: table-header-group;
  }

  .p-sell__table tbody {
    display: table-row-group;
  }

  .p-sell__table thead tr,
  .p-sell__table tbody tr {
    display: table-row;
    margin: 0;
    padding: 0;
    border: 0;
  }

  .p-sell__table th,
  .p-sell__table th.is-sortable {
    display: table-cell;
    padding: 3px;
    border: 1px solid #b8b8b8;
    background: #f5f5f5;
    color: #003399;
    vertical-align: middle;
  }

  .p-sell__table td,
  .p-sell__table td[data-label],
  .p-sell__table td.p-sell__photo,
  .p-sell__table td.p-sell__name {
    display: table-cell;
    padding: 3px;
    border: 1px solid #b8b8b8;
    vertical-align: middle;
  }

  .p-sell__table td[data-label]::before {
    display: none;
  }

  .p-sell__table td.p-sell__num {
    text-align: center;
  }

  .p-sell__unit {
    display: inline;
  }

  .p-sell__sort {
    white-space: nowrap;
  }

  .p-sell__sort-btn {
    min-width: 0;
    min-height: 0;
    padding: 0 1px;
  }

  .p-sell__table td.p-sell__photo {
    text-align: center;
  }

  .p-sell__table td.p-sell__name {
    font-size: 13px;
    font-weight: normal;
  }

  .p-sell__table tbody tr.p-sell__empty {
    display: table-row;
  }

  .p-sell__empty td {
    padding: 40px 0;
  }
}


@media (min-width: 1200px) {
  .p-sell-map__main {
    max-width: 955px;
  }

  .p-sell-map__canvas {
    height: 630px;
  }
}


@media (min-width: 768px) {
  .p-sell-more .p-sell__frame {
    position: relative;
  }

  .p-sell-more__inquiry:not(.p-sell-more__inquiry--small) {
    position: absolute;
    top: 5px;
    right: 0;
    margin: 0;
  }

  .p-sell-more__title {
    padding-right: 160px;
  }

  .p-sell-more__fx-link {
    position: absolute;
    top: 10px;
    right: 8px;
    margin: 0;
  }

  .p-sell-more__gallery {
    grid-template-columns: 1fr 1fr;
  }

  .p-sell-more__thumbs {
    grid-column: 1 / -1;
  }

  .p-sell-more__company {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .p-sell-more__summary {
    grid-template-columns: 550px 1fr;
  }

  .p-sell-more__spec th {
    width: 123px;
    white-space: nowrap;
  }

  .p-sell-more__overview th {
    width: 212px;
  }
}
