/* ======================================== *
 * 変数
 * ======================================== */
:root {
    --font: "Zen Kaku Gothic Antique", "游ゴシック体", "YuGothic", "游ゴシック", "Yu Gothic","BIZ UDPゴシック", "メイリオ", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Noto Sans CJK JP", sans-serif;
    --font-cf: "Comfortaa", sans-serif;
    --char-color: #000000;
    --char-color-w: #ffffff;
    --accent-color: #E60012;
    --link-color : #E60012;
    --link-hover-color : #c0d1b1;
    --bg-hover-color: #f3cece;
    --back-color: #ffffff;
    --gray: #727171;
    --lightgray: #a4a4a4;
    --line-color: #727171;
    --test: #d00;
    --dultime: 500ms;
    --fullhd-vertical: calc(9 / 16);
    --sp-vertical: calc(600 / 375);
    --lh: 1.5; /* 標準 line-height */
    font-size: 16px;
}

/* ======================================== *
 * タグ
 * ======================================== */
* {
    box-sizing: border-box;
}

html {
    font-family: var(--font);
    touch-action: manipulation;
    -ms-touch-action: manipulation;
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    height: 100%;
}

body {
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    /* letter-spacing: 0.1em; */
    margin: 0;
    padding: 0;
    border: none;
    color: var(--char-color);
    background-color: var(--back-color);
    background-attachment: fixed;
    transition: all;
    transition-duration: 500ms;
    opacity: 0;
}

div, span, section, header, footer, nav, p {
    margin: 0;
    padding: 0;
    text-align: justify;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    border: none;
    padding: 0;
    font-size: 1rem;
    line-height: 1rem;
    font-weight: 500;
}

img {
    width: 100%;
    border: none;
    vertical-align: middle;
}

a {
    color: inherit;
    text-decoration: none;
    transition: opacity;
    transition-duration: 500ms;
}

a:hover {
    text-shadow: 3px 3px 4px var(--lightgray);
    /* 影 右ズレ, 下ズレ, ぼかし広さ, 影の拡大, 色 */
    opacity: 0.7;
    transition: all;
    transition-duration: 500ms;
}

nav a:link {
    color: var(--char-color);
}

nav a:visited {
    color: var(--char-color);
}

nav a:hover {
    color: var(--char-color);
    text-shadow: 3px 3px 10px var(--gray);
    /* 影 右ズレ, 下ズレ, ぼかし広さ, 影の拡大, 色 */
    transition: all;
    transition-duration: 500ms;
}

nav a:active {
    color: var(--char-color);
}

table.regular {
    box-sizing: border-box;
    font-family: var(--font);
    border: solid 1px var(--gray);
    border-collapse: collapse;
    border-spacing: 0px;
    padding: 0px;
}

table.regular th {
    box-sizing: border-box;
    border: solid 1px var(--gray);
    border-collapse: collapse;
    border-spacing: 0px;
    padding: 6px;
    font-weight: 500;
    text-align: center;
}

table.regular td {
    box-sizing: border-box;
    border: solid 1px var(--gray);
    border-collapse: collapse;
    border-spacing: 0px;
    padding: 6px;
    font-weight: 500;
}

ol, ul {
    margin: 0;
    border: none;
    padding: 0;
}

input {
    font-family: var(--font);
    font-size: 1rem;
    border: solid 1px var(--line-color);
    margin: 2px;
    line-height: 1rem;
}

input[type="checkbox"] {
    margin: 2px;
    transform: scale(1.5);
}

select {
    font-family: var(--font);
    font-size: 1rem;
    border: solid 1px var(--line-color);
    margin: 2px;
}

textarea {
    font-family: var(--font);
    font-size: 1rem;
    border: solid 1px var(--line-color);
    margin: 2px;
    line-height: 1rem;
}

button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: auto;
    min-width: 10rem;
    height: 3rem;
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    background-color: var(--buttonback-color);
    border: solid 1px var(--buttonborder-color);
    border-radius: 4px;
    user-select: none;
    cursor: pointer;
}

/* ======================================== *
 * 表
 * ======================================== */
table.common {
    font-family: var(--font);
    border: solid 1px #606060;
    border-collapse: collapse;
    border-spacing: 0px;
    box-sizing: border-box;
}

table.common td {
    box-sizing: border-box;
    border: solid 2px #b0b0b0;
    border-collapse: collapse;
    border-spacing: 0px;
    padding: 2px 8px 2px 8px;
}

/* ======================================== *
 * コンテンツ
 * ======================================== */
#container {
    box-sizing: border-box;
    max-width: 1600px;
    width: 100%;
    margin-inline: auto;
    overflow-x: hidden;
}

.ok {
    color: #03909c;
}

.caution {
    color: #ff0000;
    font-weight: 900;
    background-color: #fff;
}

.char-color {
    color: var(--char-color);
}

.char-color-w {
    color: var(--char-color-w);
}

.accent-color {
    color: var(--accent-color);
}

.back-color {
    color: var(--back-color);
}

.uline-accent {
    text-decoration: underline;
    text-decoration-color: solid var(--accent-color) 1px;
}

/* ======================================== *
 * PC Only
 * ======================================== */
@media screen and (min-width: 700px) { /*PC*/
:root {
    font-size: 15px;
}

.pc {
    visibility: visible;
}

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

.f-small {
    font-size: 0.8rem;
    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: 2.5rem;
    line-height: var(--lh);
}

/* ======================================== *
 * 全ページ共通
 * ======================================== */
#header {
    grid-area: topbox;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100px;
    margin-inline: auto;
    padding: 0;
    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: 530px;
}

.head-caption {
    width: 120px;
}

.head-since {
    font-size: 1.2rem;
    font-weight: 700;
}

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

.header-padding {
    height: 100px;
}

.icon-humb {
    width: 30px;
}

.icon-humb-close {
    width: 30px;
    margin: 28px 3.3vw 0 auto;
}

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

#nav-humb {
    width: 300px;
    height: auto;
    padding: 0.5rem 0.5rem 2rem 2rem;
    background-color: var(--back-color);
    position: fixed;
    right: -300px;
    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: 1rem;
    line-height: 1.5;
    font-weight: 500;
    color: var(--char-color);
}

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

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

.nav-pc {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    height: 4rem;
    margin-inline: auto;
}

.nav-pc-category {
    font-size: 1.2rem;
    line-height: 1.2;
    font-weight: 700;
}

.nav-pc-line {
    height: 2px;
    border-top: solid 2px var(--accent-color);
}

.nav-pc-submenu-outer {
    height: 0;
    overflow: visible;
}

.nav-pc-submenu-inner {
    width: 100%;
    max-height: 0px;
    overflow: hidden;
    position: relative;
    transition: all 500ms;
}

.nav-pc-submenu {
    display: block;
    border-bottom: solid 1px var(--accent-color);
    border-left: solid 1px var(--accent-color);
    border-right: solid 1px var(--accent-color);
    padding: 4px;
    background-color: var(--back-color);
    text-align: center;
}

.nav-pc-submenu:hover {
    background-color: var(--bg-hover-color);
}

.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;
}

.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 {
    color: var(--char-color);
    font-size: 1.5rem;
    line-height: 1;
    font-weight: 700;
    text-align: center;
}

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

.flex-box-outer {
    display: flex;
    flex-wrap: wrap;
    column-gap: 6%;
    row-gap: 8rem;
}

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


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




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

.footer-nav-outer {
    display: flex;
    flex-direction: column;
}

.footer-nav-box {
    display: flex;
    justify-content: space-between;
}

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

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

.footer-nav-submenu {
    display: block;
}

.footer-logo {
    width: 206px;
    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: 80vh;
    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: 60%;
    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;
    gap: 2rem;
    padding: 5% 10%;
}

.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: 1.5rem;
}

.top-visit-char {
    width: min(10vw, 300px);
}

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

.top-visit-right {
    width: 50%;
}

.top-tel-box {
    display: flex;
    justify-content: space-between;
}

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

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

.top-news-line {
    width: 30%;
    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);
    padding: 1rem 3rem 1rem 3rem;
    vertical-align: top;
}

td.top-news-date {
    width: 6rem;
}

/* ======================================== *
 * スライダー
 * ======================================== */
.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: 100vh;
  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: 17vw;
}

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

.subject-spc {
    height: 4rem;
}

.p-spc {
    height: 3rem;
}

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

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: 68px;
}

.tips-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
}

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

.tips-link {
    display: block;
    text-align: center;
}

/* ======================================== *
 * お問い合わせ
 * ======================================== */
.contact-box {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 2rem;
    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: 200px;
    }

    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: -200px;
    }

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

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



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




/* PC */
}

