@charset "UTF-8";

/* -----------------------------------------------------------
    共通
----------------------------------------------------------- */

@media screen and (max-width: 1200px) {
  .page-header-area .logo {
    max-width: 130px;
}
}

@media screen and (max-width: 960px) {
  .page-header-area{
    padding: 1.6rem 2rem;
  }
  .page-header-area .logo img{
    margin-top: 10px;
  }
  .header-gnav {
    display: none;
  }
  .header-hamburger-btn {
    display: flex;
  }
  footer .img{
    max-width: 140px;
  }
}

@media screen and (max-width: 550px) {
  .header-contact-btn__text{
    font-size: 14px;
    padding-right: 1rem;
  }
  .header-contact-btn{
    padding: 0.8rem 0.8rem 0.8rem 2.5rem;
  }
  .header-right-wrapper{
    gap: 1.5rem;
  }
  .page-header-area {
    padding: 1.6rem 1.5rem;
  }
}
@media screen and (max-width: 370px) {
  .page-header-area .logo {
    max-width: 120px;
  }
  .header-contact-btn__text{
    font-size: 14px;
  }
  .header-contact-btn {
    padding: 0.5rem 0.5rem 0.5rem 2rem;
}
}

/* -----------------------------------------------------------
    TOP MV
----------------------------------------------------------- */

.br-sp768{
  display: none;
}
.br-sp550{
  display: none;
}

@media screen and (max-width: 1280px) {
  .top-mv__heading-box.f-size-46 {
    font-size: clamp(2.4rem, 0.2rem + 3.2vw, 4.6rem);
  }
  .top-mv__heading-box.top-mv__heading-box02.f-size-30 {
    font-size: clamp(1.8rem, 0.2rem + 2.2vw, 3rem);
  }
  .top-mv__visual {
    max-width: min(350px, 34vw);
  }
  .top-mv__visual img {
    width: 100%;
    height: auto;
  }
  .top-point__list{
    gap: 1.8rem;
  }
  .top-point__item{
    padding: 4rem 1rem 3rem;
  }
}

@media screen and (max-width: 768px) {
  .br-sp768{
    display: block;
  }
  .top-mv__inner {
    gap: 2rem;
  }
  .top-mv__heading-box02 {
    margin-top: 0.5rem;
  }
  .top-mv__visual {
    max-width: min(350px, 30vw);
  }
  .top-mv__inner{
    padding: 7rem 0 9rem;
  }
}

@media screen and (max-width: 550px) {
  .br-sp550{
    display: block;
  }
  .top-mv__lead{
    font-size: 22px;
  }
  .top-mv__sub{
    font-size: 12px;
  }
  .top-mv::before {
    background: url(../image/top/top-mv-back-sp.png) no-repeat left center;
    background-size: cover;
  }
  .top-point__list{
    flex-direction: column;
    gap: 4.5rem;
  }
  .top-point__list .br-sp768{
    display: none;
  }
  .top-mv__content{
    position: relative;
    z-index: 2;
  }
  .top-mv__visual{
    position: absolute;
    right: 0;
    top: 30px;
    z-index: 1;
  }
  .service-about__box{
    padding: 3rem 4rem;
  }
  .service-about__body{
    gap: 0.8rem;
  }
  .service-discovery__visual img{
    width: 80%;
    margin: 0 auto;
  }
}


/* -----------------------------------------------------------
    TOP サービス
----------------------------------------------------------- */

/* 768px以下では CTA リングの hover アニメーションを無効化 */
@media screen and (max-width: 960px) {
  .cta-section__card-icon-ring-bg,
  .cta-section__card-icon-ring-fill {
    transition: none;
  }

  .cta-section__item:hover .cta-section__card-icon-ring-fill {
    stroke-dashoffset: 295;
  }

  .cta-section__item:hover .cta-section__card-icon-ring-bg {
    stroke: #DADFE5;
  }
}

/* ヘッダースライドメニュー：タップ時に押下が分かる背景色 */
@media screen and (max-width: 960px) and (hover: none) and (pointer: coarse) {
  .header-menu-list a:not(.header-menu-list__contact) {
    transition: background-color 0.15s ease;
  }

  .header-menu-list a:not(.header-menu-list__contact):active,
  .header-menu-list a:not(.header-menu-list__contact):focus,
  .header-menu-list a:not(.header-menu-list__contact):focus-visible,
  .header-menu-list a:not(.header-menu-list__contact).is-pressed {
    background-color: #f2f2f2;
  }

  /* お問い合わせ（スライドメニュー内）は header-contact-btn と同じ押下表現に寄せる */
  .header-menu-list__contact {
    transition: none !important;
  }
  .header-menu-list__contact:hover {
    background-color: var(--accent-color) !important;
    color: var(--text-color) !important;
  }
  .header-menu-list__contact:active,
  .header-menu-list__contact:focus,
  .header-menu-list__contact:focus-visible,
  .header-menu-list__contact.is-pressed {
    background-color: var(--main-navy) !important;
    color: var(--white) !important;
  }
  .header-menu-list__contact:active .header-menu-list__contact-text,
  .header-menu-list__contact:focus .header-menu-list__contact-text,
  .header-menu-list__contact:focus-visible .header-menu-list__contact-text,
  .header-menu-list__contact.is-pressed .header-menu-list__contact-text {
    color: var(--white) !important;
  }
  .header-menu-list__contact:active .header-menu-list__contact-arrow,
  .header-menu-list__contact:focus .header-menu-list__contact-arrow,
  .header-menu-list__contact:focus-visible .header-menu-list__contact-arrow,
  .header-menu-list__contact.is-pressed .header-menu-list__contact-arrow {
    transform: scale(1.1);
  }
}

@media screen and (max-width: 768px) {
  .top-service__list{
    gap: 8rem;
  }
  .top-service__item{
    flex-direction: column;
    width: 80%;
    margin: 0 auto;
    gap: 3rem;
  }
  ul.top-service__list li.top-service__item:nth-of-type(even) {
    flex-direction: column;
  }
  ul.top-service__point-list li.top-service__point-item:not(:first-of-type) {
    margin-top: 3px;
  }
  .service-discovery__body{
    flex-direction: column;
    gap: 4rem;
  }
  .service-discovery__visual{
    margin: 0 auto;
  }
  .service-discovery__list{
    flex: none;
    width: 100%;
    min-width: auto;
  }
  .service-about{
    padding: 6rem 0 8rem;
  }
  .service-discovery{
    padding: 12rem 0 8rem;
  }
}

/* 768px以下のタッチ端末では hover ではなく tap で押下フィードバック（伸びる演出は無効） */
@media screen and (max-width: 960px) and (hover: none) and (pointer: coarse) {
  /* 既存 hover が疑似hoverで残るのを抑止 */
  .top-service__link:hover {
    color: var(--text-color);
  }
  .top-service__link:hover::before {
    width: 5.6rem;
  }

  /* SPでは「伸びる」演出を無効化し、リンク全体を薄くして押下を分かりやすくする */
  .top-service__link {
    transition: opacity 0.2s ease;
  }
  .top-service__link::before {
    width: 5.6rem;
    transition: none;
  }

  .top-service__link:active,
  .top-service__link:focus,
  .top-service__link:focus-visible,
  .top-service__link.is-pressed {
    opacity: 0.5;
  }
}

@media screen and (max-width: 550px) {
  .top-service {
    padding: 4rem 0 5rem;
}
  .top-service__item{
    width: 100%;
  }
  .service-discovery__box{
    padding: 3rem;
  }
  .service-discovery__visual{
    min-width: auto;
  }
  .layer-mv__label {
    font-size: 1.8rem;
  }
  .layer-mv__title{
    font-size: 2.8rem;
  }
}

/* -----------------------------------------------------------
    比較表（service-merit）
----------------------------------------------------------- */

@media (max-width: 1024px) {
  .service-merit__grid--hrtools {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 768px) {
  .service-merit {
    clip-path: polygon(0 0, 45% 0, 50% 3rem, 55% 0, 100% 0, 100% 100%, 0 100%);
  }
  .service-merit__table-wrap {
    margin-top: 4rem;
    padding: 0 2%;
    -webkit-overflow-scrolling: touch;
  }
  .service-comp-table {
    min-width: 800px;
  }
  .service-comp-table__head-row .service-comp-table__th,
  .service-comp-table__subhead .service-comp-table__th {
    padding: 1rem 1.2rem;
    font-size: 1.4rem;
  }
  .service-comp-table__body-row td,
  .service-comp-table__body-row th {
    padding: 1rem 1.2rem;
    font-size: 1.4rem;
  }
  .service-comp-table__legend {
    gap: 1.5rem 2rem;
    margin-top: 1.5rem;
    font-size: 1.3rem;
  }
  .service-merit__grid--hrtools {
    grid-template-columns: minmax(0, 1fr);
  }
  .service-merit-card-list {
    grid-template-columns: minmax(0, 1fr);
  }
  .service-merit{
    padding: 8rem 0 6rem;
  }
}

@media screen and (max-width: 550px) {
  .service-merit {
    clip-path: polygon(0 0, 40% 0, 50% 3rem, 60% 0, 100% 0, 100% 100%, 0 100%);
  }

}


/* -----------------------------------------------------------
    複合機ラインナップ（service-lineup）
----------------------------------------------------------- */
@media screen and (max-width: 768px) {
  .service-lineup {
    padding: 6rem 0;
  }
  .service-lineup__header {
    margin-bottom: 3rem;
  }
  .service-lineup__block-body {
    flex-direction: column;
    padding: 2rem 2rem 3rem;
    gap: 2rem;
  }
  .service-lineup__block-visual {
    flex: none;
    min-width: 0;
  }
  .service-lineup__list {
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  .service-lineup__item {
    flex: none;
    max-width: none;
  }

  .service-lineup__item.service-lineup__item_wide .service-lineup__card-body{
    flex-direction: column;
  }

}

@media screen and (max-width: 550px) {
  .service-lineup__item{
    min-width: auto;
    width: 100%;

  }
}

/* -----------------------------------------------------------
    lineup-recommend（豊富なラインナップ）
----------------------------------------------------------- */
@media screen and (max-width: 768px) {
  .lineup-recommend {
    margin-top: 3rem;
  }
  .lineup-recommend__header-title {
    font-size: 1.6rem;
  }
  .lineup-recommend__categories {
    gap: 2.5rem;
    margin-bottom: 2.5rem;
  }
  .lineup-recommend__makers-title::before,
  .lineup-recommend__makers-title::after {
    max-width: 60px;
  }
  .lineup-recommend__icon{
    width: 15rem;
    height: 15rem;
  }
  .lineup-recommend__icon img{
    width: 80%;
  }
  .lineup-recommend__icon.lineup-recommend__icon--mobile img{
    width: 70%;
  }
}

@media screen and (max-width: 550px) {
  .lineup-recommend__categories {
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
  }
}

/* -----------------------------------------------------------
    メガが選ばれるポイント（service-point）
----------------------------------------------------------- */
@media screen and (max-width: 768px) {
  .service-point {
    padding: 6rem 0;
  }
  .service-point__header {
    margin-bottom: 3rem;
  }
  .service-point__list {
    gap: 2rem;
  }
  .service-point__card-head {
    padding: 1rem 1.6rem;
  }
  .service-point__card-body {
    flex-direction: column-reverse;
    padding: 8rem 4rem 4rem;
  }
  .service-point__card-visual {
    flex: 1 1 100%;
    min-width: 0;
    text-align: center;
  }
  .service-point__card-visual img {
    margin-left: 0;
    margin-right: auto;
    max-width: 180px;
  }
  .service-point__card-content{
    flex: none;
  }
  .service-point__card-title{
    text-align: center;
  }
}


/* -----------------------------------------------------------
    お問い合わせ
----------------------------------------------------------- */

@media screen and (max-width: 768px) {

  .contact-form-section {
    padding: 7rem 0;
  }
  .contact-form-section__inner{
    padding: 3rem 3rem 4rem;
  }

  .contact-form-section__body .megaservice-cf7-name-wrap {
    grid-template-columns: 1fr;
  }

}