/* ======================================== *
 * SP Only
 * ======================================== */
@media screen and (max-width: 700px) { /*SP*/
:root {
    font-size: 14px;
}

.pc {
    visibility: hidden;
    position: absolute;
}

.sp {
    visibility: visible;
}

.f-small {
    font-size: 0.9rem;
    line-height: var(--lh);
}

.f-normal {
    font-size: 1rem;
    line-height: var(--lh);
}

.f-large {
    font-size: 1.5rem;
    line-height: var(--lh);
}

.f-huge {
    font-size: 2rem;
    line-height: var(--lh);
}

/* ======================================== *
 * 全ページ共通
 * ======================================== */
#header {
    grid-area: topbox;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 50px;
    margin-inline: auto;
    position: fixed;
    top: 0px;
    left: 0px;
    background-color: var(--back-color);
    z-index: 15000;
}

#header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 92%;
}

#header-left {
    display: flex;
    justify-content: start;
    align-items: center;
}

.header-logo {
    width: 230px;
}

.head-caption {
    display: none;
}

.head-since {
    display: none;
}

#header-right {
    display: flex;
    justify-content: end;
    align-items: center;
}

.header-padding {
    height: 50px;
}

.icon-humb {
    width: 25px;
}

.icon-humb-close {
    width: 25px;
    margin: 6px 9px 0 auto;
}

.content {
    width: 90%;
    margin-inline: auto;
    padding: 0;
}

#nav-humb {
    width: 200px;
    padding: 0.5rem 0.5rem 2rem 2rem;
    background-color: var(--back-color);
    position: fixed;
    right: -200px;
    top: 0px;
    visibility: hidden;
    opacity: 0;
    z-index: 17000;
    transition: all 500ms;
}

.nav-humb-scrollbox {
    width: 100%;
    height: 100vh;
    overflow: auto;
}

.nav-humb-category {
    display: block;
    font-size: 1.2rem;
    line-height: 1.2;
    font-weight: 700;
    color: var(--char-color);
}

.nav-humb-page {
    display: block;
    font-size: 1.2rem;
    line-height: 2;
    font-weight: 500;
    color: var(--char-color);
}

.nav-humb-icon {
    width: 1rem;
    margin-left: 0.25rem;
}

.nav-humb-submenu {
    max-height: 0px;
    margin-left: 1rem;
    overflow: hidden;
    transition: all 500ms;
}

.nav-pc {
    display: none;
}

.label-okatire {
    display: inline-block;
    font-size: 0.9rem;
    line-height: 1.2;
    padding: .8em 1.6em .4em .8em;
    position: relative;
    color: var(--char-color-w);
    z-index: 1;
    perspective: 500px;
}

.label-okatire::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    background-color: var(--accent-color);
    transform: scaleY(0.65) perspective(.5em) rotateX(-2deg);
    transform-origin: bottom left;
}

.subject-ja {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--char-color);
    text-align: center;
}

.subject-en {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 2rem;
    text-align: center;
}

.flex-box-outer {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.flex-box-inner {
    width: 100%;
}

/* ======================================== */

#footer {
    width: 80%;
    margin-inline: auto;
    background-color: var(--back-color);
}

.footer-nav-outer {
    display: flex;
    flex-direction: row;
    width: fit-content;
    margin-inline: auto;
}

.footer-nav-box {
    display: flex;
    flex-direction: column;
    justify-content: start;
}

.footer-nav-category {
    display: block;
    font-weight: 700;
    line-height: 3.5;
}

.footer-submenu-pad {
    padding: 0;
}

.footer-nav-submenu {
    display: block;
    line-height: 2;
}

.footer-logo {
    width: 172px;
    margin-top: 2rem;
    margin-inline: auto;
}

.footer-address {
    margin: 2rem 0 2rem 0;
    text-align: center;
}

.footer-notes {
    margin: 2rem 0 4rem 0;
    font-size: 0.8rem;
    text-align: center;
}

/* ======================================== *
 * TOP
 * ======================================== */
div.top-image {
    width: 100%;
    height: 50vh;
    overflow: hidden;
}

.top-image-grid {
    display: grid;
    grid-template:
    "layer" auto / minmax(0, auto);
    /* gridの横幅をautoにしたい時はminmax関数で指定しないと子要素によってはサイズが広がってしまう */
}

.top-image-overlay {
    grid-area: layer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.top-caption {
    width: 90%;
    opacity: 1;
    z-index: 14000;
}

.top-image-inner {
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.top-visit-grid {
    display: grid;
    grid-template:
    "visit-box" auto / minmax(0, auto);
    /* gridの横幅をautoにしたい時はminmax関数で指定しないと子要素によってはサイズが広がってしまう */
}

.top-visit-outer {
    grid-area: visit-box;
    display: flex;
    justify-content: start;
    align-items: start;
}

.top-visit-inner {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 8% 4%;
}

.top-visit-subject {
    color: var(--char-color-w);
    font-size: 3rem;
    line-height: 1;
    font-weight: 700;
}

.top-visit-head {
    display: flex;
    align-items: center;
    gap: 2rem;
    font-size: 1rem;
}

.top-visit-char {
    width: 30vw;
}

.top-visit-left {
    width: 100%;
}

.top-visit-rigtht {
    width: 100%;
}

.top-tel-box {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-left: 4rem;
}

.top-salespoint-p {
    display: block;
    width: fit-content;
    height: auto;
}

.top-news-subject {
    font-size: 1.25rem;
    line-height: 0.75;
    font-weight: 700;
}

.top-news-line {
    width: 60%;
    height: 8px;
}

table.top-news {
    width: 100%;
    border-top: solid 1px var(--accent-color);
    border-collapse: collapse;
}

table.top-news td {
    border-bottom: solid 1px var(--accent-color);
    height: 2.5rem;
    padding: 1rem 1rem 1rem 1rem;
    vertical-align: top;
}

/* ======================================== *
 * スライダー
 * ======================================== */
.slide-items {
    width: 100%;
    display: flex;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.slide-items li {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
}

.slide-items img {
  width: 100vw;
  height: 50vh;
  object-fit: cover;
}

.slick-prev:before,
.slick-next:before {
      color: black;
}

.slick-dots {
    left: 50%;
    transform: translateX(-50%);
}

.zoom {
    animation: zoomin 10s linear 0s normal both;
}

@keyframes zoomin {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.15);
  }
}

/* ======================================== *
 * 取扱タイヤ
 * ======================================== */
.lineup-banner {
    display: inline-block;
    width: 40vw;
}

/* ======================================== *
 * 店舗案内
 * ======================================== */
.google-map {
    width: 100%;
    height: 400px;
    border: none;
}

.subject-spc {
    height: 2rem;
}

.p-spc {
    height: 2rem;
}

.v-pad {
    display: block;
    height: 1.6vw;
}

table.store {
    width: 100%;
    border-top: solid 1px var(--accent-color);
    border-collapse: collapse;
}

table.store td {
    border-bottom: solid 1px var(--accent-color);
    padding: 0.5rem 0;
    vertical-align: top;
}

/* ======================================== *
 * タイヤ豆知識
 * ======================================== */
.tips-icon {
    width: 45px;
}

.tips-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    width: 100%;
    text-align: center;
}

.tips-nav-icon {
    width: 45px;
}

/* ======================================== *
 * お問い合わせ
 * ======================================== */
.contact-box {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    gap: 6rem;
    text-align: center;
}


/* ======================================== *
 * パララックス
 * ======================================== */
.fade-in {
    animation-name: fade-in-anime;
    animation-duration: 1500ms;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes fade-in-anime {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.fade-left {
    animation-name: fade-left-anime;
    animation-duration: 1500ms;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes fade-left-anime {
    0% {
        opacity: 0;
        /* transform: translateX(200px); */
        position: relative;
        top: 0px;
        left: 50px;
    }

    100% {
        opacity: 1;
        /* transform: translateX(0); */
        position: relative;
        top: 0px;
        left: 0px;
    }
}

.fade-left-trigger {
    opacity: 0;
}

.fade-right {
    animation-name: fade-right-anime;
    animation-duration: 1500ms;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes fade-right-anime {
    0% {
        opacity: 0;
        /* transform: translateX(-200px); */
        position: relative;
        top: 0px;
        left: -50px;
    }

    100% {
        opacity: 1;
        /* transform: translateX(0); */
        position: relative;
        top: 0px;
        left: 0px;
    }
}

.fade-right-trigger {
    opacity: 0;
}

/* ======================================== *
 * コンテンツ共通
 * ======================================== */



/*
 * Slick Slider ========================================================================
 */




/* SP */
}





/* ======================================== *
 * デバッグ用
 * ======================================== */
#debug {
    font-family: "BIZ UDPゴシック", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Noto Sans CJK JP", sans-serif;
    display: none;
    box-sizing: border-box;
    width: 75%;
    margin-top: 40px;
    padding: 0.5rem;
    font-size: 14px;
    line-height: 1.1rem;
    word-wrap: break-word;
    color: #ddd;
    background-color: #222;
}

.bd {
    border: solid 2px #d00;
}

.bg {
    background-color: #d90;
}

/* 
 * PC: 1600px 基準（デザインが1920pxなら約0.8倍）
 * SP: 375px 基準（デザインが750pxなら0.5倍）
 */
