/* fenixページに合わせたベースタイポグラフィ */
html {
    font-size: 16px;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    letter-spacing: 0.05em;
    -webkit-font-smoothing: antialiased;
}

@media (max-width: 768px) {
    html {
        font-size: 16px;
    }
}

/* 私たちについて */

#top_about,
#top_cars {
    border: 0;
}
/*
.common_section {
    padding-top: 20px;
    padding-bottom: 20px;
}*/

#top_about .subtitle,
#top_cars .subtitle,
#top_services .subtitle,
#top_about_parallax .subtitle,
#top_about_parallax02 .subtitle,
#top_news .subtitle {
    font-family: 'Noto Serif JP', YuMincho, "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: 1.5rem;
    margin-bottom: 40px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-align: center;
}
#top_about .subtitle,
#top_cars .subtitle,
#top_services .subtitle {
  position: relative;
  color: #333333;
  padding-bottom: 0;
}
#top_about_parallax .subtitle,
#top_about_parallax02 .subtitle {
  color: #fff;
  margin-bottom: 20px;
}
/* 見出し下線は使わない */
#top_about .subtitle:before,
#top_cars .subtitle:before,
#top_services .subtitle:before {
  content: none;
  display: none;
}

#top_about.car_ja .subtitle,
#top_cars.car_ja .subtitle{
color: #fff;
}

#top_about.car_ja .subtitle:before,
#top_cars.car_ja .subtitle:before{
content: none;
}

.about .box {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.about .thumb_wrap {
    width: 50%;
}

.about .text_wrap {
    width: 45%;
}

@media (max-width: 768px) {
    .about .box {
        display: block;
        width: 100%;
    }
    .about .thumb_wrap,
    .about .text_wrap {
        width: 100%;
    }
}

#top_about .text_wrap .text,
#top_cars .text_wrap .text,
#top_services .text_wrap .text,
#top_about_parallax .content > p,
#top_about_parallax02 .content > p,
.repair .text,
.facility_Introduction .text,
.access .text {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.9rem;
    line-height: 1.8;
    letter-spacing: 0.04em;
}

.about .about_list .text {
    text-align: justify !important;
}

.btn_wrap {
    margin-top: 20px;
}

#page_top .btn,
.top_about_btn .btn,
#f_contact .btn {
    height: auto;
    min-height: 48px;
    width: auto;
    min-width: 200px;
    padding: 0.85rem 2.2rem;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-indent: 0;
    background-color: #333333;
    border: 1px solid #333333;
    transition: background-color 0.25s ease, color 0.25s ease, opacity 0.25s ease;
}

#page_top .btn:hover,
.top_about_btn .btn:hover,
#f_contact .btn:hover {
    background-color: #333;
    opacity: 1;
}

.top_about_btn .btn {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
}

.top_about_btn .btn:hover {
    background-color: #fff;
    color: #333333;
}

.facility_Introduction .btn {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
}

.facility_Introduction .btn:hover {
    background-color: #fff;
    color: #333333;
}


/* 私たちについて */


/* 対応車種・ジャンル紹介 */

.car_bg {
    background-color: #333333;
    color: #ffffff;
}

.car_bg .text span {
    display: block;
}

.car_bg .box {
    flex-direction: column;
}

.car_bg .about_list {
    display: flex;
    justify-content: center;
    gap: 50px !important;
}

.car_bg .text {
    text-align: center;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    letter-spacing: 0.06em;
}

.car_bg .thumb {
    width: 300px;
    aspect-ratio: 1 / 1;
    position: relative;
    overflow: hidden;
    display: block;
}

.car_bg .thumb picture,
.car_bg .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
}

/* 対応車種紹介：スマホはスライドショー */
@media (max-width: 768px) {
    .car_bg .about_list.js-cars-slider {
        display: block;
        gap: 0 !important;
        max-width: none;
        margin: 0 -15px 36px;
        padding: 0;
    }
    .car_bg .about_list.js-cars-slider .box {
        width: 100%;
        padding: 0 8px;
        box-sizing: border-box;
    }
    .car_bg .about_list.js-cars-slider .thumb {
        width: 100%;
        max-width: none;
        margin: 0 auto;
    }
    .car_bg .about_list.js-cars-slider .slick-list {
        overflow: hidden;
    }
    .car_bg .about_list.js-cars-slider .effect_up {
        opacity: 1;
        transform: none;
    }
    .car_bg .about_list.js-cars-slider .slick-dots {
        bottom: -28px;
    }
    .car_bg .about_list.js-cars-slider .slick-dots li button:before {
        font-size: 10px;
        color: #fff;
        opacity: 0.55;
    }
    .car_bg .about_list.js-cars-slider .slick-dots li.slick-active button:before {
        opacity: 1;
        color: #fff;
    }
}


/* 対応車種・ジャンル紹介 */


/* 修理・整備サービス一覧 */

.repair {
    padding-top: 30px;
    padding-bottom: 30px;
}

.repair .head_text,
.top_about01 .head_text,
.facility_Introduction .head_text {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

@media (max-width: 600px) {
    .repair .head_text,
    .top_about01 .head_text,
    .facility_Introduction .head_text {
        font-size: 1.2rem;
    }
    #top_about .text_wrap .text,
    #top_cars .text_wrap .text,
    #top_services .text_wrap .text,
    #top_about_parallax .content > p,
    #top_about_parallax02 .content > p,
    .repair .text,
    .facility_Introduction .text,
    .access .text {
        font-size: 0.8rem;
        line-height: 1.5;
    }
}

.repair .text {
    text-align: left !important;
}

.repair .about_list {
    width: 100%;
    position: relative;
    height: 450px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}


/* 背景画像 */

.repair_bgi1 {
    background-image: url(../images/tatemichi/repair_bgi1.png);
}

.repair_bgi2 {
    background-image: url(../images/tatemichi/repair02.jpg);
}

.repair_bgi3 {
    background-image: url(../images/tatemichi/repair03.jpg);
}

.repair_bgi4 {
    background-image: url(../images/tatemichi/repair04.jpg);
}

.repair .right_box {
    position: absolute;
    right: 10px;
    bottom: 30px;
    width: 70%;
    max-width: 1000px;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 20px;
}

.repair .left_box {
    position: absolute;
    left: 10px;
    bottom: 30px;
    width: 70%;
    max-width: 1000px;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 20px;
}

.repair .about_list .btn_wrap {
    text-align: right !important;
}


@media (max-width: 768px) {
.repair .left_box {
  width: 95%;
}
.repair .right_box {
     width: 95%;
}
}

.top_about01 .head_text {
  letter-spacing: 0.06em;
  font-weight: 600;
  color: #333333;
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
}

.top_about01 .head_text::after {
  content: none;
}

/* コンテンツがスライドして出てくる */


/* 初期状態 */

.about_list.scroll_slide {
    opacity: 0;
    transform: translateX(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}


/* 左からスライド */

.about_list.scroll_slide.left_slide {
    transform: translateX(-80px);
}


/* 右からスライド */

.about_list.scroll_slide.right_slide {
    transform: translateX(80px);
}


/* 表示時 */

.about_list.scroll_slide.show {
    opacity: 1;
    transform: translateX(0);
}


/* 修理・整備サービス一覧 */


/* 施工実績のご紹介 */

.works-section {
    padding-top: 70px;
    padding-bottom: 80px;
    background: #111;
    color: #fff;
}

.works-section .subtitle {
    color: #fff !important;
    margin-bottom: 36px !important;
}

.works-eyebrow {
    text-align: center;
    font-size: 0.75rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 10px;
}

.works-slider {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.works-track {
    display: flex;
    width: 100%;
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.works-card {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    min-height: 460px;
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    background: #1a1a1a;
    overflow: hidden;
}

.works-card__media {
    position: relative;
    min-height: 460px;
    overflow: hidden;
}

.works-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.02);
    transition: transform 1.2s ease;
}

.works-slider:hover .works-card__media img {
    transform: scale(1.06);
}

.works-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    //background: linear-gradient(90deg, rgba(0,0,0,0.05) 40%, rgba(17,17,17,0.75) 100%);
    pointer-events: none;
}

.works-card__body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px 40px 48px 28px;
    background: #111;
}

.works-card__tag {
    display: inline-block;
    width: fit-content;
    margin-bottom: 18px;
    padding: 6px 12px;
    border: 1px solid rgba(255,255,255,0.35);
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
}

.works-card__title {
    font-size: 1.7rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.06em;
    margin-bottom: 18px;
    color: #fff;
}

.works-card__text {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.9rem;
    line-height: 1.9;
    letter-spacing: 0.04em;
    color: rgba(255,255,255,0.72);
    margin: 0;
}

.works-nav {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255,255,255,0.45);
    border-radius: 50%;
    background: rgba(0,0,0,0.35);
    cursor: pointer;
    transform: translateY(-50%);
    transition: background 0.25s ease, border-color 0.25s ease;
}

.works-nav:hover {
    background: rgba(255,255,255,0.12);
    border-color: #fff;
}

.works-nav--prev {
    left: 16px;
}

.works-nav--next {
    right: 16px;
}

.works-nav::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 9px;
    height: 9px;
    border-top: 1.5px solid #fff;
    border-right: 1.5px solid #fff;
}

.works-nav--prev::before {
    transform: translate(-40%, -50%) rotate(-135deg);
}

.works-nav--next::before {
    transform: translate(-60%, -50%) rotate(45deg);
}

.works-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 18px;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 5;
    margin: 0;
    padding: 0;
    list-style: none;
}

.works-dots .list {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.7);
    background: transparent;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
}

.works-dots .list.is-active {
    background: #fff;
    transform: scale(1.15);
}

@media (max-width: 900px) {
    .works-card {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .works-card__media {
        min-height: 260px;
    }
    .works-card__media::after {
        //background: linear-gradient(180deg, rgba(0,0,0,0.05) 50%, rgba(17,17,17,0.85) 100%);
    }
    .works-card__body {
        padding: 28px 22px 56px;
    }
    .works-card__title {
        font-size: 1.35rem;
    }
    .works-nav--prev {
        left: 10px;
    }
    .works-nav--next {
        right: 10px;
    }
}

/* 施工実績のご紹介 */


/* 先進設備のご紹介 */

.facility-section {
    padding: 80px 0 90px;
    background: #0f0f0f;
    color: #fff;
}

.facility-eyebrow {
    text-align: center;
    font-size: 0.75rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 10px;
}

.facility-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
    color: #fff;
}

.facility-lead {
    text-align: center;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 48px;
}

.facility-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    grid-template-rows: auto auto;
    gap: 18px;
}

.facility-card {
    position: relative;
    overflow: hidden;
    background: #1a1a1a;
    min-height: 280px;
    display: flex;
    flex-direction: column;
}

.facility-card--large {
    grid-row: span 2;
    min-height: 580px;
}

.facility-card--wide {
    grid-column: 1 / -1;
    min-height: 320px;
    flex-direction: row;
}

.facility-card__media {
    position: relative;
    flex: 1;
    min-height: 180px;
    overflow: hidden;
}

.facility-card--wide .facility-card__media {
    flex: 1.4;
    min-height: 320px;
}

.facility-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.02);
    transition: transform 1s ease;
}

.facility-card:hover .facility-card__media img {
    transform: scale(1.07);
}

.facility-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    //background: linear-gradient(180deg, rgba(0,0,0,0.05) 35%, rgba(0,0,0,0.72) 100%);
    pointer-events: none;
}

.facility-card__media02::after {
    background: linear-gradient(180deg, rgba(0,0,0,0.05) 35%, rgba(0,0,0,0.72) 100%);
}

.facility-card--wide .facility-card__media::after {
    //background: linear-gradient(90deg, rgba(0,0,0,0.1) 30%, rgba(15,15,15,0.85) 100%);
}

.facility-card__body {
    position: relative;
    z-index: 1;
    padding: 22px 24px 26px;
    background: #141414;
}

.facility-card--large .facility-card__body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    padding: 28px 28px 32px;
}

.facility-card--wide .facility-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 36px 40px;
    background: #141414;
}

.facility-card__num {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 10px;
}

.facility-card__title {
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    line-height: 1.5;
    margin-bottom: 10px;
    color: #fff;
}

.facility-card__text {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.85rem;
    line-height: 1.8;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.68);
    margin: 0;
}

@media (max-width: 900px) {
    .facility-section {
        padding: 60px 0 70px;
    }
    .facility-grid {
        grid-template-columns: 1fr;
    }
    .facility-card--large,
    .facility-card--wide {
        grid-row: auto;
        grid-column: auto;
        min-height: auto;
        flex-direction: column;
    }
    .facility-card--large {
        min-height: 420px;
    }
    .facility-card--wide .facility-card__media {
        min-height: 220px;
    }
    .facility-card--wide .facility-card__body {
        padding: 24px 22px 28px;
    }
    .facility-card--large .facility-card__body {
        position: absolute;
    }
}

/* 先進設備のご紹介 */


/* アクセス */

.access-section {
    padding: 90px 0 100px;
    background: #111;
    color: #fff;
}

.access-eyebrow {
    text-align: center;
    font-size: 0.75rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 10px;
}

.access-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    margin-bottom: 16px;
    color: #fff;
}

.access-lead {
    text-align: center;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.92rem;
    line-height: 1.9;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 48px;
}

.access-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 28px;
    align-items: stretch;
}

.access-map {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    background: #1a1a1a;
}

.access-map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    filter: grayscale(0.15) contrast(1.05);
}

.access-panel {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.access-landmark {
    padding: 28px 26px;
    background: linear-gradient(135deg, #1c1c1c 0%, #2a2a2a 100%);
    border-left: 3px solid #fff;
}

.access-landmark__label {
    display: inline-block;
    font-size: 0.7rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 12px;
}

.access-landmark__text {
    font-size: 1.05rem;
    line-height: 1.85;
    letter-spacing: 0.06em;
    font-weight: 500;
    color: #fff;
}

.access-address {
    padding: 8px 4px 0;
}

.access-address__name {
    font-size: 1.1rem;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
    color: #fff;
}

.access-address__text {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.9rem;
    line-height: 1.95;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.75);
}

.access-address__text a {
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.access-address__text a:hover {
    border-bottom-color: #fff;
}

.access-ways {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.access-way {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 14px;
    padding: 20px 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.access-way__num {
    font-family: 'Noto Serif JP', serif;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.4);
    padding-top: 2px;
}

.access-way__title {
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
    color: #fff;
    font-weight: 500;
}

.access-way__text {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.84rem;
    line-height: 1.85;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.65);
}

.access-map-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    min-width: 220px;
    height: 48px;
    padding: 0 28px;
    margin-top: 4px;
    background: #fff;
    color: #111;
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    transition: background 0.25s ease, color 0.25s ease;
}

.access-map-btn:hover {
    background: transparent;
    color: #fff;
    box-shadow: inset 0 0 0 1px #fff;
}

@media (max-width: 900px) {
    .access-section {
        padding: 70px 0 80px;
    }

    .access-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .access-map {
        min-height: 300px;
        order: 2;
    }

    .access-panel {
        order: 1;
    }

    .access-lead {
        margin-bottom: 36px;
    }

    .access-map-btn {
        width: 100%;
    }
}

/* アクセス */